Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

text problem in Shiping Methods checkout box

Theme and Plugin Support

Tagged: 

Resolved
Viewing 21 reply threads
  • Author
    Posts
    • #131584
      Criss
      Participant

      Hello, I have a small issue and I cannot understand how it’s generated. See image attached: In my cart checkout, in the shipping method box, the name of the vendor is next to the word “Shipping”. By inspecting the page is looks like <th>VendornameShippingmethod</th><td data-title=”VendornameShippingmethod”> but how can it be fixed?

    • #131614

      Hi, thank you for getting in touch with us. let me help you out with our flow, if you enable the “shipping” option via WCMp >> Settings >> General, then the vendor can add their own shipping rate. Sp whenever vendor gets added to a site, we create a shipping class of them. So, when they add a product, their shipping class gets added to that product.
      Therefore, WooCommerce display’s vendor’s shipping class beside shipping in the cart checkout page as the “vendor’s shipping class name”.

    • #131615
      Criss
      Participant

      yes, I’m aware of all that, and since it caused confusion to the way my site is built then I have disabled the “Vendor-ShippingClass” and the “Shipping” menu is the backend. I did it with this snippet you provided me:

      // VENDOR SHIPPING CLASS
      /* Disable autocreate vendor shipping class */
      add_filter(‘wcmp_add_vendor_shipping_class’, ‘__return_false’);
      /* Allow vendors to view/choose shipping classes created by Admin */
      add_filter(‘wcmp_allowed_only_vendor_shipping_class’, ‘__return_false’);
      add_action(‘init’, ‘init_wcmp’);
      function init_wcmp(){
      global $WCMp;
      remove_filter(‘woocommerce_product_options_shipping’, array($WCMp->vendor_dashboard, ‘wcmp_product_options_shipping’), 5);
      }

      // VENDOR SHIPPING CLASS
      /* disable Shipping menu… */
      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’]);
      return $vendor_nav;
      }
      /*..and relative message box*/
      add_filter( ‘wcmp_vendor_profile_completion_progress_fields’ , ‘progress_fields_function’, 10, 2 );
      function progress_fields_function( $progress_fields, $vendor_id ) {
      unset($progress_fields[‘vendor_shipping_data’]);
      return $progress_fields;
      }

      For this reason I expect the Vendor’s Shipping class not to appear in the checkout.

    • #131631

      Can you kindly explain what you need to do in your site.
      Also share your staging site access so that we can check your settings.
      Please do not forget to mark the response as private while sharing the access.

    • #131655
      Criss
      Participant
      This reply has been marked as private.
    • #131700
      This reply has been marked as private.
      • #131705
        Criss
        Participant
        This reply has been marked as private.
    • #131787
      This reply has been marked as private.
      • #131793
        Criss
        Participant
        This reply has been marked as private.
    • #131809
      This reply has been marked as private.
    • #131810
      Criss
      Participant
      This reply has been marked as private.
    • #131848

      Our team will get back to you. Kindly provide us some time.

    • #131884
      This reply has been marked as private.
    • #131889
      Criss
      Participant
      This reply has been marked as private.
    • #131921
      This reply has been marked as private.
    • #131924
      Criss
      Participant
      This reply has been marked as private.
    • #132012
      This reply has been marked as private.
    • #132248
      This reply has been marked as private.
    • #132251
      Criss
      Participant
      This reply has been marked as private.
    • #132326
      This reply has been marked as private.
    • #132710
      Criss
      Participant

      Hello again and happy new year! Have you had the chance to look into this unresolved problem?

    • #132748

      Hi,
      Use This below code to remove vendor name from shipping

      add_filter('woocommerce_shipping_package_name', function($package_name, $vendor_id, $package) {
          return  __(' Shipping', 'dc-woocommerce-multi-vendor');
      }, 99, 3);
      Copy
      • #132751
        Criss
        Participant

        very well RajuTheCool, I confirm that the snippet has removed the vendor’s name. 🙂

        Let me just ask you something: in regards of issues like that which might affect every website and not justy mine, are these small snippets solutions being added to the core of any WCMP future releases, so that I can delete the snippet later on, or do I have to keep them always?

    • #132781

      Hi.
      The code snippet provided to you was only for your site as this is not included in our default flow.
      I’m afraid currently we can not add this code snippet in WCMp update since this is site specific requirement

    • #134401

      @Criss We are closing this thread now as requested by you.

Viewing 21 reply threads

The topic ‘text problem in Shiping Methods checkout box’ is closed to new replies.