Shipping: Looking to have a flat rate per vendor in the order.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hi All,

I am looking forward to have a flat shipping charge per vendor in the order.
For ex:

My flat rate is 50 Rs.
Order has products from:
Vendor 1 - 2 products
Vendor 2 - 3 products
Vendor 3 - 1 product

I will like to charge total of 3 * 50 = 150 Rs as shipping to the customer.

Please guide me what changes can I make in the standard shipping to achieve this. Currently, if we put additional amount as 50 Rs, it adds shipping of only 50 in spite of 3 vendors.

Regards,
Saurabh.
3 years ago
I would suggest to contact with @New York and test his Shipping Director. It has some advanced options, but not sure if your case may be solved by it. If this will not work for you, customization will be required.

Regards,
Tom
3 years ago
See similar example in Shipping Director.

In your case you would have an Option rule with the Rate Expression as

Items.Select(Product.VendorId).Distinct().Count() * 50.00

If you don't want to use Shipping Director, you can use a similar expression in your code (e.g. modify the Fixed or By Weight By Total plugin).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.