fbpx

Enable Vendor Shipping Options

WCMp Advanced Frontend Manager

Enable Vendor Shipping Options Open

Viewing 15 reply threads
  • Author
    Posts
    • #123698
      DragNfLy
      Participant

      Hi,

      I have Vendor Shipping enabled, but do not want the Vendor to have access to Dashboard > Sore Settings > Shipping menu. I need this to be only for admin to set shipping zones for each vendor.

      If I Disable Vendor Shipping then the Vendor does not have access to the Product > Shipping > Weight and Dimensions options.

      Can you please assist with code to remove the Shipping Menu from the Vendor Dashboard.

      I tried the code from this Support topic but it does not work > https://wc-marketplace.com/support-forum/topic/remove-shipping-from-side-menu/#post-78594

      Kind regards,
      Dale

    • #123737

      Dale, please use this code :

      add_filter('wcmp_vendor_dashboard_nav', 'callback_wcmp_vendor_dashboard_nav', 99);
      function callback_wcmp_vendor_dashboard_nav($vendor_nav){
         unset($vendor_nav['vendor-shipping']); // for shipping
         return $vendor_nav;
      }
      Copy
    • #123741

      Hi,
      Disable shipping option from the general settings. Then use

      add_action('wcmp_disabled_product_shipping_tab', '__return_false');
      Copy

      this code to access shipping tab from product.
      Thanks

    • #123821
      DragNfLy
      Participant

      Perfect thanks Raju

    • #123822
      This reply has been marked as private.
    • #127513
      DragNfLy
      Participant

      Hi Raju,

      My setup has changed and I now have Vendor Shipping enabled as I need Vendors to choose either ‘Free Shipping’ or ‘Local Pickup’ as options when I have only “Vendor Shipping” enabled as a WooCommerce Shipping method.

      How do I remove the ‘Flat Rate’ option from the Vendor Dashboard > ‘Store Settings’ > ‘Shipping’ > ‘Zones’ > ‘Add Shipping Method’ popup menu options as depicted in the attached pic?

      I look forward to hearing from you.

      Kind regards,
      Dale

    • #127583

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

      add_filter( 'wcmp_vendor_shipping_methods', 'wcmp_remove_flatrate' );
      function wcmp_remove_flatrate( $shipping_methods ) {
          unset( $shipping_methods['flat_rate'] );
          return $shipping_methods;
      }
      Copy

      Regards,

    • #127608
      DragNfLy
      Participant

      Fantastic, thank you so much.

      You can close the ticket again.

      #AllTheBest

    • #127609
      DragNfLy
      Participant

      Oh sorry, one more thing.

      How do I change the wording of “Free shipping” to “Free national shipping” on the popup menu?

      Kind Regards,

    • #127614

      Hi DragNfly,
      Our answers are in line with yours.
      Using the loco plugin you can change the strings are per your need (Loco Translate – WordPress plugin | WordPress.org )
      You can go through this documentation for a better understanding of the flow :
      https://wc-marketplace.com/knowledgebase/wcmp-translation-guide/

    • #127618
      DragNfLy
      Participant

      Hi Ninja,

      Why does WCMp not have a en_US.po language file that can be edited with POEDIT http://www.poedit.net/ like WooCommerce and most high-end plugins?

      Adding another plugin to do these translations seems like overkill.

      Kind regards,
      Dale

    • #127620
      DragNfLy
      Participant

      Hi Ninja,

      I have installed the plugin and translated a phrase in the WCMp Dashboard which works fine. I am however unable to find the “Free shipping” text that translates that pop=up menu text. I found 1 instance of Free Shipping which i translated to my preferred text although this does not target the Pop-up.

      Where do I change the wording of “Free shipping” to “Free national shipping” on the popup menu?

      Kind regards,
      Dale

    • #127645
      DragNfLy
      Participant

      … it is a WooCommerce field. I managed to update the text with POEDIT and the WooCommerce language file located in the ‘/wp-content/languages/plugins/’ folder. I managed to create the .mo file with POEDIT and I am able to Update with POEDIT so all is good thanks.

      Why does WCMp not keep the language file with the other plugin language files?

      Kind regards,
      Dale

    • #127704

      Dale, generally the translation plugins are used to translating a whole site into the user’s desired language.

      That is why we provided support of WooCommerce’s string, so the user doesn’t need to translate them again.

    • #127719
      DragNfLy
      Participant

      OK thanks Moumita,

      I have managed to do my translations.
      I just think the language file should be located with all the other plugin language files > in the ‘/wp-content/languages/plugins/’ folder.

      Perhaps in a future update.

      All the best.

      Kind regards,
      Dale

    • #127755

      Sure Dale, we have notified the team.

Viewing 15 reply threads

Please LOGIN to reply to this topic

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price