• Hi,

    I use your plugin with Advanced Shipment Tracking for Woocommerce and I have a strange compatibility issue. Everything works fine except for one thing:

    Advanced Shipment Tracking provides a checkbox to automatically change the order status from Proceeding to Completed at the same time as the tracking number is entered. If I leave the checkbox checked, the completed order email is sent but the email subject and main header field don’t get translated, they remain in my main language (FR).

    If I just enter the tracking number, save and then change manually order status to Completed and then save again, the whole Completed order email gets translated… (all the fields are translated with WPML).

    If I deactivate Kadence, the standard woocommerce email gets translated correctly even if I leave the checkbox checked.

    Well I could complete the orders in 2 steps (first tracking number, then order status) to get the email correctly translated but if I do that I have another very annoying side effect, so I would prefer using the checkbox.

    Do you see where this problem could come from ?

    Regards,

    Pierre

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,
    Because this works when you manually run, it tells me that WPML can find the translation information. And that it’s properly registered through our plugin.

    Not to mention “email subject and main header field” are not fields saved within our plugin, we just allow editing them within the customizer. The fields are saved as part of WooCommerce core data.

    Since our plugin doesn’t control the automated trigger or the translation I wouldn’t know where to apply a fix because the issue has to be coming from one of those areas.

    I suggest you check your php error logs. It’s possible something is showing that that would explain why the translation is not taking effect.

    Ben

    Thread Starter psivel

    (@psivel)

    Hi,

    Thank you for your answer. Error logs don’t show nothing but I’ve noticed something: When I change manually the order status, the order page is reloaded but if I change the order status with the Tracking plugin it seems that the script is invoked via Ajax. Could this be the reason of the issue ?

    Could this be the reason for the issue?

    It could, it would mean WPML isn’t being fired to force a language switch internally before the email is sent. Doesn’t really explain everything but it still comes down to WPML and the trigger which are things this plugin doesn’t control.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility issue with Advanced Shipment Tracking’ is closed to new replies.