Theme and Plugin Support
Tagged: checkout
-
AuthorPosts
-
-
December 5, 2021 at 10:06 PM #131584CrissParticipant
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?
-
December 6, 2021 at 3:32 PM #131614MVX Support NinjaKeymaster
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”. -
December 6, 2021 at 3:56 PM #131615CrissParticipant
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.
-
December 6, 2021 at 8:05 PM #131631MVX Support NinjaKeymaster
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. -
December 7, 2021 at 1:26 AM #131655CrissParticipantThis reply has been marked as private.
-
December 7, 2021 at 7:25 PM #131700MVX Support NinjaKeymasterThis reply has been marked as private.
-
December 8, 2021 at 10:07 PM #131787NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
December 9, 2021 at 7:08 PM #131809NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
December 9, 2021 at 7:12 PM #131810CrissParticipantThis reply has been marked as private.
-
December 10, 2021 at 6:21 PM #131848MVX Support NinjaKeymaster
Our team will get back to you. Kindly provide us some time.
-
December 11, 2021 at 2:09 PM #131884MVX Support NinjaKeymasterThis reply has been marked as private.
-
December 11, 2021 at 5:33 PM #131889CrissParticipantThis reply has been marked as private.
-
December 13, 2021 at 10:08 AM #131921NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
December 13, 2021 at 1:54 PM #131924CrissParticipantThis reply has been marked as private.
-
December 14, 2021 at 8:56 PM #132012NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
December 21, 2021 at 2:27 PM #132248NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
December 21, 2021 at 2:42 PM #132251CrissParticipantThis reply has been marked as private.
-
December 22, 2021 at 8:54 PM #132326NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
January 4, 2022 at 9:47 PM #132710CrissParticipant
Hello again and happy new year! Have you had the chance to look into this unresolved problem?
-
January 5, 2022 at 8:42 PM #132748Raju The Cool GuyKeymaster
Hi,
Use This below code to remove vendor name from shippingadd_filter('woocommerce_shipping_package_name', function($package_name, $vendor_id, $package) { return __(' Shipping', 'dc-woocommerce-multi-vendor'); }, 99, 3);
Copy-
January 5, 2022 at 9:01 PM #132751CrissParticipant
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?
-
-
January 6, 2022 at 7:05 PM #132781MVX Support NinjaKeymaster
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 -
February 14, 2022 at 2:34 PM #134401MVX Support NinjaKeymaster
@Criss We are closing this thread now as requested by you.
-
-
AuthorPosts
The topic ‘text problem in Shiping Methods checkout box’ is closed to new replies.