Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1352787
    SWH_Layout
    Participant

    Hi,
    Like many others i have problems with getting the freight classes to work in woocommerce checkout. No matter what I only get “Freght cost will be calculated when delivery adress is stated”. This seems to be sometheing the developers are recluctant to fix.
    Since all our products are shipped free of charege the best for us would be to replace the Freight cost line entirely and have it replaced with “Always free shipping”.
    If you can provide a snippet that will solve this for me I would appreciate it.

    Please make my day, guys!

    Thanks
    /Staffan

    #1353288
    Rupok
    Member

    Hi Staffan,

    Thanks for writing in! Certainly we can’t control this as it’s a plugin functionality. You can edit the plugin or reach to the plugin developer for help. We might help you to replace the text with some JS but it won’t be a prominent solution. If you still want, let’s provide your URL where we can see this.

    Cheers!

    #1356922
    SWH_Layout
    Participant
    This reply has been marked as private.
    #1357321
    Nabeel A
    Moderator

    Hi again,

    To resolve the issue, add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery(document).ready(function($){
    	$('.x-cart-empty .return-to-shop a').html('Återgå Till Butiken').attr('href', 'http://www.recaremed.se/butik/')
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1357911
    SWH_Layout
    Participant

    Hi,
    Absolutely perfect! So, you made my day after all! 🙂
    Many thanks!

    /Staffan

    #1358071
    Rad
    Moderator

    You’re so much welcome!

  • <script> jQuery(function($){ $("#no-reply-1352787 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>