Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Cart Totals – Tax and Shipping (free) questions
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Cart Totals – Tax and Shipping (free) questions
- This topic has 26 replies, 4 voices, and was last updated 10 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
July 8, 2014 at 2:59 pm #89060
Hi,
First a little background to give you context…
On my trade only site, people will not pay at checkout, instead their order is sent via email. It is then verified manually by our sales team. We then we take payment and quote shipping by telephone.So, as you will see in the attached image, I have created a (sort of) custom message for shipping. But it is displaying (Free) afterwards – can i remove “(free)”? If so, how and where?
July 8, 2014 at 4:04 pm #89110think I’ve worked it out, this is what I’ve used, will test thoroughly tomorrow but it seems to have done it.
(file:functions.php)
/*Remove (Free) label on cart page for “Shipping and Handling” if cost is $0*/
function sv_change_cart_shipping_free_label( $free_label ) {
return “Shipping will be quoted at Invoice”;
}
add_filter( ‘woocommerce_cart_shipping_method_full_label’ , ‘sv_change_cart_shipping_free_label’ );July 9, 2014 at 5:49 am #89227Hi,
Great! I am glad that you managed to resolve the issue .Thanks ๐
With Best Regards
Swift IdeasJuly 18, 2014 at 4:37 pm #92654Hello GroovyUK, I’m interested in the same thing but yr code gives me a syntax error…is it working for you? Have you modified it since?
Thks for yr help!July 18, 2014 at 5:25 pm #92662Hi,
@lobbybros – Please explain syntax error problem with screenshot so i can suggest a quick exact solution.
ThanksJuly 21, 2014 at 6:13 am #92993This reply has been marked as private.July 21, 2014 at 6:22 am #92995Hi,
Please remove that code and use given below custom css code:-
.wc-new-badge{display:none !important}
Thanks ๐
With Best Regards
Swift IdeasJuly 21, 2014 at 6:34 am #93000Hi Mohammad,
I’ve just added that that into the css but it doesn’t work.
Attachments:
You must be logged in to view attached files.July 21, 2014 at 6:39 am #93002Hi,
I need to your website url and wordpress admin login so i can check and resolve it easily.
Thanks ๐
With Best Regards
Swift IdeasJuly 21, 2014 at 6:57 am #93012This reply has been marked as private.July 21, 2014 at 7:28 am #93027Hi,
I made changes in functions.php so please check at cart page.
Thanks ๐
With Best Regards
Swift IdeasJuly 21, 2014 at 7:34 am #93030This reply has been marked as private.July 21, 2014 at 7:52 am #93038Hi,
I have done it so please check and let me know your feedback.
Code used-:function sf_change_cart_shipping_free_label( $free_label ) { $free_label = str_replace('(Free)','',$free_label); return $free_label;//'Shipping will be quoted at Invoice'; } add_filter( 'woocommerce_cart_shipping_method_full_label' , 'sf_change_cart_shipping_free_label' );
Thanks ๐
With Best Regards
Swift IdeasJuly 22, 2014 at 1:51 pm #93693Hi Mohammed,
Thks for yr reply.
I tried yr new code, but unfortunately “(Free)” is still showing.
However, I am using shipping through WooCommerce Table Rate Shipping, does that make any differencce?Thks and kind regards
ClaudiaJuly 22, 2014 at 2:47 pm #93741Hi,
@lobbybros – please provide me wordpress admin login detail so i can check and resolve the issue.
Thanks -
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.