Banner Logo

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

Product with different shipp

WCMp Core

Resolved
Viewing 14 reply threads
  • Author
    Posts
    • #137854
      webmaster.mid
      Participant

      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.

    • #137871

      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');
      Copy

      Now 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);
      }
      Copy

      However in this cart it will show as a groped product of this vendir, like : https://prnt.sc/m7hHXLZP2Wu4

    • #137878
      webmaster.mid
      Participant

      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 ?

    • #137895

      @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?

    • #137896

      @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.

    • #137910
      webmaster.mid
      Participant

      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.

    • #137918

      @webmaster.mid, let me run some tests on how can you achieve this.

    • #137930

      @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?

    • #137938
      webmaster.mid
      Participant

      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.

    • #137961

      @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.

    • #137962
      webmaster.mid
      Participant

      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.

    • #137973

      @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.

    • #137975
      webmaster.mid
      Participant

      So ? No solution to be expected ?

    • #137989

      @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.

    • #144924

      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.

Viewing 14 reply threads

The topic ‘Product with different shipp’ is closed to new replies.