WCMp Core
Tagged: Shipping Class, shipping per product
-
AuthorPosts
-
-
June 10, 2022 at 9:55 PM #137854webmaster.midParticipant
Hi!
I have a vendor who sells two products: productA and productB;
The products have different shipping classes (and the same vendor).How will it be shown in the cart, considering that it’s currently grouped by vendor?
I’m asking because I’ll need to set different shipping methods per product.
-
June 11, 2022 at 5:40 PM #137871NerdySupportExpert MoumitaKeymaster
Hi, the flow you want to achieve i.e. let vendor products have seperate shipping classes, for this you need to stop our flow.
Becasue whenever a vendor is created, we create their own shipping class. Now whenever vendors will add a product, their own shipping class will be automatically assigned with the product.
So, use this code to remove vendor’s sutomated shipping class :
/* Disable autocreate vendor shipping class */ add_filter('wcmp_add_vendor_shipping_class', '__return_false');
CopyNow to let vendor assign other shipping class, for this use this code
/* Allow vendors to view/choose admin created shipping classes */ 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); }
CopyHowever in this cart it will show as a groped product of this vendir, like : https://prnt.sc/m7hHXLZP2Wu4
-
June 11, 2022 at 6:05 PM #137878webmaster.midParticipant
Ok thanks.
My problem is that my vendor has 2 shipping method
Product A: nhipping-class A: small product- use Courrier service
Product B: shipping-Class B: big, need truck for delivery.In cart I should have:
Seller 1
Package one shipping: courrier
Package two shipping: truck
Or something like that allowing so separate packages per seller + shipping class.How can I achieve that ?
-
June 13, 2022 at 11:54 AM #137895NerdySupportExpert MoumitaKeymaster
@webmaster.mid, as per our flow, we consider all products are under same package of a vendor.
Hence the flow you need i.e. separate packages per seller requires a huge custom code. Becasue it needs to create a custom shipping module and flow.
Do yo have any coding knowledge, especially with how woocommerce shipping creating works? -
June 13, 2022 at 11:55 AM #137896NerdySupportExpert MoumitaKeymaster
@webmaster.mid, you may also use another option i.e. WooCommerce per product shipping (https://woocommerce.com/products/per-product-shipping/)
This may help you achieve the flow as this is compatible with WCMp Advance Frontend Manager.
-
June 13, 2022 at 5:27 PM #137910webmaster.midParticipant
I am not shipping per product:
Let s say I sell
an iPhone, a ssd and a desk.
The ssd and the iPhone should be shipped together through DHL in the same package and desk + chair are two big volume that only can be shipped by truck.So I need to separate all for products in separate shipping to be able to use one kind of shipping for small product and another one for big ones.
On the other side it s not a per peosiduct shipping as, as per example, ssd + iPhone should be shipped in one single box.
-
June 13, 2022 at 10:41 PM #137918NerdySupportExpert MoumitaKeymaster
@webmaster.mid, let me run some tests on how can you achieve this.
-
June 14, 2022 at 1:22 PM #137930NerdySupportExpert MoumitaKeymaster
@webmaster.mid, I did some tests, with WooCommerce products. But still not able to add this.
Can you please let us know how will you achieve this flow, for woocommerce products from the admin end?
-
June 14, 2022 at 4:04 PM #137938webmaster.midParticipant
Have a look at this: https://woocommerce.com/document/woocommerce-advanced-shipping-packages/
The flow should split the Vendor shipping in seperates packages, each one shipped by different shipping method.
Cart contains products of shipping class “A”, And Vendor = vendor1
Cart contains products of shipping class “B”, And Vendor = vendor1
In cart, each package have its own shipping method.
WCMp is already using packages to split shipping between sellers. This functions sounds compatible with the way WCMp works.
Please let me know.
-
June 15, 2022 at 5:45 PM #137961NerdySupportExpert MoumitaKeymaster
@webmaster.mid, we haven’t tested this plugin on our end.
Can you please do some tests on your end and let us know what flow are you looking for, so we can assist you accordingly.
-
June 15, 2022 at 6:37 PM #137962webmaster.midParticipant
In fact I only named this plugin to ilustrate my question. Quite sure it wiould not be compatible as WCMp already use “packages” to split cart between sellers
we need answer and help from WCMp on this point.
-
June 15, 2022 at 8:30 PM #137973NerdySupportExpert MoumitaKeymaster
@webmaster.mid, as I shared earlier we split the shipping cost based on each vendor.
Therefore the flow you are looking for to split the shipping cart as per each shipping class, then it require goos amount of custom code.
-
June 15, 2022 at 8:34 PM #137975webmaster.midParticipant
So ? No solution to be expected ?
-
June 16, 2022 at 12:06 PM #137989NerdySupportExpert MoumitaKeymaster
@webmaster.mid, the flow you are looking for is not supported by default. That is why you need to do custom code to add this module in your site.
Do you have any developers so we can assist them on how to develop this.
-
October 22, 2022 at 3:00 PM #144924MVX Support NinjaKeymaster
Hi , we haven’t heard back from you for a while.
So we presume this issue has been fixed. We are closing this for now.
-
-
AuthorPosts
The topic ‘Product with different shipp’ is closed to new replies.