Banner Logo

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

Shipping cost based on Number of Vendors

WCMp Vendor Membership

Resolved
Viewing 7 reply threads
  • Author
    Posts
    • #114090
      waqas-4549
      Participant

      Hello Team

      We would like to configure Shipping costs based on the Number of Vendors for the particular order.

      Example. In 1 order if there are 2 products from 2 different vendors we need to set shipping costs. As the number of vendor goes up shipping cost will change accordingly,

      Please advise any solution or suggestion of this requirement

    • #114219
      WCMp Admin
      Keymaster

      Hi @waqas_4549,

      Apologies for keeping you await. Can you please elaborate your requirement with an example (detail calculation) , so that we can assist you accordingly.

      Regards,

    • #114691
      waqas-4549
      Participant

      Hi,

      Sorry for the late reply, we have been busy resolving some other crucial issues,
      In terms of the shipping calculation we would like to set the prices as follows:
      Products from 1 or 2 Vendors = 40 QAR Shipping Fee
      Products from 3 or 4 Vendors = 80 QAR Shipping Fee
      Products from more than 5 Vendors = 120 QAR Shipping Fee

      Thank you!

    • #114745
      WCMp Admin
      Keymaster

      @waqas-4549, thanks for explaining the flow further.

      Currently, the shipping cost is calculated per vendor only or on the whole product. However, in order to add your required flow, you may do some custom code. If you need a reference of the coding procedure, let us know.

    • #114804
      waqas-4549
      Participant

      Hi,
      Can you please send me the reference coding procedure

    • #114974

      @waqas-4549, do you have any developer with you, because we don’t have any ready-made code for this.

      I would request your developer to look into our code here and modify this as per their requirement: https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/5f1bc0b15c4c332bbe6d95b1b8a86715f9038646/classes/class-wcmp-order.php#L629 and ask them to study wcmp_vendor_create_order_shipping_item to adjust the calculation as per your requirement.

    • #116716
      waqas-4549
      Participant

      I got a coder to modify it as per our needs,
      Thank you for the help!
      You may close this support ticket.

    • #116734

      Thank you for the update. We are closing the ticket now. In case any issue arises kindly raise a new ticket.

Viewing 7 reply threads

The topic ‘Shipping cost based on Number of Vendors’ is closed to new replies.