Hide vendor address in Local Pickup

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Hide vendor address in Local Pickup

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #137907
      LucG
      Participant

      Hello,
      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, Luc

      Attachments:
      You must be logged in to view attached files.
    • #138038
      Henriette
      Participant

      Try 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]);
      });
    • #138059
      LucG
      Participant

      Hi !
      Thanks for your help, I added the snippet to the function.php but unfortunately I still have the address display in brackets.
      Sorry!

      Attachments:
      You must be logged in to view attached files.
    • #138123
      LucG
      Participant

      Hi again,

      I refresh all the caches (navigator and website) … and it works !!!

      Thanks a lot’s ! you save me 🙂

Viewing 3 reply threads
  • You must be logged in to reply to this topic.