Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1145830
    l3kilos
    Participant

    Hi,

    I have products on backorder and I’m trying to change the message in the Cart from “Available on backorder” to “Will ship on September 19”. I’ve read some of the solutions, but they always seem to recommend changing the /woocommerce/cart/cart.php file. The problem is that I don’t have that file in my installation!

    Could you please suggest a way to change this message?

    Thanks!
    Peter

    #1146091
    Rupok
    Member

    Hi Peter,

    You need to use Child Theme to edit the cart page template or by directly editing the plugin. You will find that on wp-content/plugins/woocommerce/templates/cart/cart.php

    I can give you a simple solution though. You can try adding this under Custom > JavaScript in the Customizer.

    jQuery ( function( $ ) { 
      $('.backorder_notification').text("Will ship on September 19"); 
    } );

    Hope this helps.

    #1146874
    l3kilos
    Participant

    Thank you, that worked great!!

    #1146917
    Rahul
    Moderator

    Glad that worked for you.

    If you still have anything to ask, let us know. We’d be happy to assist you with that.

    Thanks for using the X Theme.

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