• Resolved linusl

    (@linusl)


    A few updates ago something changed were the word Free Shipping in checkout was not translsated to what I have added in Loco Translate for my language. Instead it still said Free Shipping.

    This is what Ive figured not related to any issues with my plugin Table Rate Shipping for WooCommerce . Ive made changes and set to inactive. The phrase “Free Shipping” is in woocommerce files and as mentioned changing it with Loco translate does nothing.

    To temp fix this Ive edited the function file and added a gettext and changing to my language when detected. But everytime Astra is updated I have to update the functions file.

    I started noticing this at the same time I found issues with a woocommerce version update.

    Just wondering if anyone else have issues with some things not getting picked up by loco translate and changed correctly, perhaps due to it being handled differently in woocommerce after a few updates ago?

    Sorry in advance if I am describing the issue in a bad way. Having troubles understanding what can cause this issue for me and how to report it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @linusl,

    Thank you for reaching out and for the clarification. Issues like this can indeed be overwhelming as I can tell you’ve put effort into this but still can’t find a permanent solution.

    To better understand where the “Free Shipping” text is coming from, could you please confirm how the free shipping method was added? If possible, share a screenshot of your free shipping setup on your site.

    Thread Starter linusl

    (@linusl)

    @mosesmedh
    I will try to explain.

    Im using table rate shipping were I have 2 options, delivery to homeadress or to company adress.
    If you reach a certain value shipping is free.

    There is nothing in the table rate shipping addon were this (Free Shipping) is an option/text. The only place were Ive found Free Shipping is in the language files for woocommerce and with loco translate Ive changed it to Gratis frakt. This have worked until a few weeks or month ago. “Free Shipping” is added out of the box as far as I understand if shipping is free by woocommerce itself. And it adds it after the delivery/shipping rows with () like this (Free Shipping). If I put table rate shipping plugin to inactive and make shipping default to free it still sais (Free Shipping) so that is why I have excluded this being anytthing to do with the table rate shipping plugin at all.

    Ive put some screenshots here

    https://ibb.co/Wpqn7QBy
    https://ibb.co/6f4SYpm
    https://ibb.co/VcGVrmSr
    https://ibb.co/DHdHwvFZ




    Note that were it sais “Gratis frakt” (swedish for free shipping) that is because I have added gettext replace in the themes functions.php file to fix this. If I remove that it will say Free Shipping again even though all places I look with loco translate it is correctly changed.

    Hi @linusl,

    Thank you for the clarification and detailed explanation. From what you described, it seems the free shipping method was created using the Table Rate Shipping plugin.

    If that’s the case, the “Free Shipping” text shown at checkout is likely coming from the plugin itself, not from WooCommerce, since the method wasn’t created within WooCommerce. While WooCommerce does include its own “Free Shipping” label, it wouldn’t apply here because the method originates from the third-party plugin.

    The best next step would be to reach out to the Table Rate Shipping plugin’s support team or post in their support forum for guidance.

    As an alternative, you could also use a code snippet to add your workaround instead of modifying the theme directly, or make the change within a child theme.

    Please feel free to reach out again if you have any further questions.

    Thread Starter linusl

    (@linusl)

    @mosesmedh As mentioned, when I deactivate this shipping plugin and set shipping to free this also appears in checkout (Free Shipping) and I can see only this set in woocommerce and no other plugin or place. Someone told me it could be some update with blocks on woocommerce or wordpress side were this (Free Shipping) that is triggered by woocommerce when it detects no price is not returned correct after some update therefore it does not work to translate with Loco Translate because it is happeing in some other magic woocommerce way.

    As mentioned, when I deactivate this shipping plugin and set shipping to free this also appears in checkout (Free Shipping) and I can see only this set in woocommerce and no other plugin

    Thank you for the clarification and for detailed explanation. Could you please disable the shipping table plugin, then edit the free shipping method you added through WooCommerce, and share a screenshot of the settings for that free shipping method?

    Thread Starter linusl

    (@linusl)

    @mosesmedh I did again and noticed last time I had not cleared cache. Doing so this time it did not render “Free Shipping” but other values. Meaning you are correct that this issue is most likely related to the plugin and I will contact them for further assistance.

    Super @linusl,

    Thank you for performing additional tests on your end to help pinpoint the issue and its source. Great job!

    If you found our responses helpful and appreciated the quick support, we would be grateful if you could take a moment to leave us a review here: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.