Tagged: x
-
AuthorPosts
-
August 24, 2016 at 9:07 pm #1145830
l3kilosParticipantHi,
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!
PeterAugust 25, 2016 at 12:05 am #1146091
RupokMemberHi 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.
August 25, 2016 at 11:36 am #1146874
l3kilosParticipantThank you, that worked great!!
August 25, 2016 at 12:03 pm #1146917
RahulModeratorGlad 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1145830 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
