fbpx

Remove Shipping Link from AFM

WCMp Advanced Frontend Manager

Remove Shipping Link from AFM Resolved

Viewing 5 reply threads
  • Author
    Posts
    • #115387
      Andrew Austin
      Participant

      Hello,

      We manage the shipping for our vendors. Is there a way to remove this link from the navigation menu?

      Thank you for any help.

    • #115425

      Hello,

      Thank you for reaching out to us.

      Kindly go to WCMp admin dashboard >> WCMp >> settings >> as you can see here https://prnt.sc/yyleuj

      Kindly let us know if you need any further assistance.

    • #116047
      Andrew Austin
      Participant

      Unfortunately that won’t work – when that setting is disabled the shipping fee is not calculated separately for each vendor. We still want to charge a separate fee for each vendor.

      We only need to remove that shipping link from the vendor’s AFM dashboard. How can we customize the navigation? Thanks.

    • #116102

      Please add this code in the function.php of the current active theme :

      add_filter('wcmp_vendor_dashboard_nav', 'callback_wcmp_vendor_dashboard_nav', 99);
      function callback_wcmp_vendor_dashboard_nav($vendor_nav){
        unset($vendor_nav['store-settings']['submenu']['vendor-shipping']); // for shipping
        return $vendor_nav;
      }
      Copy
    • #116296
      Andrew Austin
      Participant

      That worked, thank you!

    • #116320

      Thank you for the update. We are closing the ticket now. In case any issue arises kindly raise a new ticket.

Viewing 5 reply threads

The topic ‘Remove Shipping Link from AFM’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price