Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Hide vendor address in Local Pickup
Tagged: localpickup
- This topic has 3 replies, 2 voices, and was last updated 4 years, 10 months ago by
LucG.
- AuthorPosts
- June 3, 2020 at 11:07 am #137907
LucG
ParticipantHello,
I wanted to know how to delete the seller’s address which appears after the name of the Local Pickup, see the print screen.
In my case, the different Local Pickups are not necessarily at the seller’s address.
Alternative, is there a plugin that allows you to manage the Local Pickup (with different addresses) and compatible with your Plugin?
In advance thank you, LucAttachments:
You must be logged in to view attached files. - June 3, 2020 at 6:00 pm #138038
Henriette
ParticipantTry this snippet. They gave it to me a while ago (can not find the post anymore) and it worked.
Add it to your child theme’s functions.php or use code snippet plugin.
add_filter('wcfmmp_local_pickup_shipping_option_label', function($label) { return trim(explode("(", $label)[0]); });
- June 3, 2020 at 7:02 pm #138059
- June 3, 2020 at 9:37 pm #138123
LucG
ParticipantHi again,
I refresh all the caches (navigator and website) … and it works !!!
Thanks a lot’s ! you save me 🙂
- AuthorPosts
- You must be logged in to reply to this topic.