• Hi ya,
    So I’m trying this plugin and it seems like one of the better currency switcher ones out there in terms of working.

    But I can’t get [woocommerce_currency_switcher_convert_price] shortcode to display on my checkout or basket pages.

    These are pages created by WooCommerce and already have shortcode in them…

    But the currency switcher shortcode works.

    I’m finding that I can’t use the currency switcher because it sends the amount to the credit card processor as the currency it’s switched to, not the default currency.

    The reason I need to be able to switch currencies is that I want to give customers an option to pay by cheque or direct bank payment into either a US account or NZ account. And in order to do that, I’d like to be able to supply them the converted amount. So the currency switcher works fine for that. But if someone then uses credit card, and it’s switched to an alternate currency, then it uses that currency to charge the credit card. It should charge the credit card in my default currency. But there’s no way of doing that.

    I can change the currency switcher options so it changes it back to the default currency on the checkout page, but then it won’t sow the US amount for people paying with cheques.

    Related to this issue, the currency switcher doesn’t affect the amounts on the order received page. /checkout/order-received/

    If I put the currency switcher on this page, it changes the currency symbol, but not the numbers. I expect this is because the order has been fulfilled. But yeah, any way to get this to work? That would probably actually solve my problem because I could put the currency switcher just on the Thank you page, and so if someone is paying by cheque they can just do the currency conversion, and send the correct amount.

    Thanks,
    Norm

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @normancates,

    [woocommerce_currency_switcher_convert_price] shortcode converts price, so one of the params must be price, e.g.:

    [woocommerce_currency_switcher_convert_price price="100"]

    Unfortunately it’s not designed to retrieve price automatically from order total.

    As you probably already know (but just in case…), to put switcher itself on the checkout or basket pages, you can use one of these shortcodes:

    [woocommerce_currency_switcher_radio_list]
    [woocommerce_currency_switcher_drop_down_box]
    [woocommerce_currency_switcher_link_list]

    As for showing one currency on checkout and passing another to the gateway, or adding switcher to the “order received” page – I will have to look into it, maybe I will able to add it to the plugin.

    Hope that helps.

    Best regards,
    Tom

    Hi @normancates,

    We’ve just released new plugin version 2.8.6. There I’ve modified the [woocommerce_currency_switcher_convert_price] shortcode and added %cart_total% special price option. So now to display cart total in selected currency (e.g. USD), you can use:

    [woocommerce_currency_switcher_convert_price price="%cart_total%" currency="USD"]

    Hope that helps and please let me know if it’s not working as expected, or if you have any other feedback.

    And if you like the plugin, please leave us a rating.

    Best regards,
    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with shotcodes…’ is closed to new replies.