Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! Which currency switcher do you use? If the currency is properly stored in the order, it should be picked up by the PDF invoice plugin.

    Thread Starter Tushar Tajane

    (@tushonline)

    I’m using this https://www.ads-software.com/plugins/woocommerce-currency-switcher/

    It’s working fine & shows correct currency symbol on Order Details page.

    Let me know if you need more info.

    Thanks

    Plugin Contributor Ewout

    (@pomegranate)

    I installed this plugin on a test site but could not get it working. Send me admin credentials at [email protected] and I’ll take a look for you!

    Thread Starter Tushar Tajane

    (@tushonline)

    Email sent.

    Plugin Contributor Ewout

    (@pomegranate)

    For anyone else reading this:
    This appeared to be an issue with the currency switcher (pro), which was using a wrong filter to set the currency, in a way that was not compatible with Sequential Order Numbers Pro. The currency switcher developers should be able to help.

    technical version:
    The plugin uses a hack that would normally make it compatible using the wpo_wcpdf_order_number filter, but doesn’t work in combination with Sequential Order Numbers Pro (which replaces the order number with something other than the order_id).
    Since you’re using the Pro version, I recommend that you contact the PluginUs.net support about this issue. Please tell them to use the wpo_wcpdf_process_template_order action for the plugin or if that’s not possible, to access the order_id via the global $wpo_wcpdf object in $wpo_wcpdf->export->order->id.

    We recommend to use the the Aelia currency switcher – this is definitely the best plugin there is for currency switchers! This is fully compatible with the PDF invoice plugin.

    Ewout

    @ewout

    Hello Ewout

    I tested the plugin ‘WooCommerce PDF Invoices & Packing Slips’ and https://www.ads-software.com/plugins/woocommerce-currency-switcher/ without any changes and it works fine: https://clip2net.com/s/3y1i7AO -> https://clip2net.com/s/3y1icfK

    Reason why symbol not changed in pdf invoice of tushonline site was hook conflict between WOOCS and another plugin https://clip2net.com/s/3y1u3St . So such deals…

    Plugin Contributor Ewout

    (@pomegranate)

    @realmag777

    I disagree it’s a hook conflict. As written in my last post above, it’s because you’re using a filter for the order number (wpo_wcpdf_order_number). On a vanilla WooCommerce installation, the order number is the same as the order id. But that doesn’t always hold true, they’re two separate entities and there are many plugins that modify the order number. The order ID is what should be used if you want to do anything with the order (that’s never changed). Hence my advice to:

    use the wpo_wcpdf_process_template_order action for the plugin or if that’s not possible, to access the order_id via the global $wpo_wcpdf object in $wpo_wcpdf->export->order->id.

    Hope that helps!
    Ewout

    @ewout

    Hello Ewout

    I just updated WOOCS to 1.1.7 with fix you advised (wpo_wcpdf_process_template_order) and it works fine, thank you for cooperation …

    Plugin Contributor Ewout

    (@pomegranate)

    Thank you so much – very glad to hear that!

    Have a fantastic day!
    Ewout

    Thank you ??

    Thread Starter Tushar Tajane

    (@tushonline)

    Thanks guys for the amazing support.
    Cheers

    We have been contacted by a user who spotted this discussion and wanted to know if the issue was related to our Currency Switcher as well (the original one).

    For the benefit of other readers who might stumble upon this discussion, the Aelia Currency Switcher still works fine with the PDF Invoices & Packing Slips, this issue doesn’t affect our product.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Multi-currency on invoices’ is closed to new replies.