Page 1 of 1

Flat Rate Shipping per Seller

PostPosted: Wed Mar 14, 2018 12:04 pm
by webmaster_15807
Hi,

Is it possible to set flat rate shipping per seller? I see an option to add an extra charge per unit for shipping but not a flat rate.

If this option is not available then maybe you know where in the code this is could be changed to make the extra charge per unit only set the fee once.

Thanks.

Re: Flat Rate Shipping per Seller

PostPosted: Wed Mar 14, 2018 12:14 pm
by shokinro
Thanks for using our modules.

Is it possible to set flat rate shipping per seller? I see an option to add an extra charge per unit for shipping but not a flat rate.
If this option is not available then maybe you know where in the code this is could be changed to make the extra charge per unit only set the fee once.


Currently we do not have this feature.
But this can be done via custom development. If you are interested please contact [email protected] to get quote.

If you would like to make the change by your own, you can look into following file

/override/classes/Cart.php

Note - we will not be responsible for any issue that related to your own custom changes.

Re: Flat Rate Shipping per Seller

PostPosted: Wed Mar 14, 2018 2:08 pm
by webmaster_15807
Thank you. I understand you will not be responsible.

The Agile Override only works if you have the Seller Shipping Module installed too else it's in the PS:

I found the line:
classes/Cart.php:3484: $shipping_cost += $product['additional_shipping_cost'] * $product['cart_quantity'];

It took me a couple hours to track this down, what the heck :lol:

Re: Flat Rate Shipping per Seller

PostPosted: Thu Mar 15, 2018 12:27 am
by shokinro
Yes, shipping fee per seller logic is available only when Agile Seller Shipping is installed.
But you can remove this condition for that logic, if I understand your requirement correctly, it should only need to modify the funciton getOrderShippingCostPerSeller()

Re: Flat Rate Shipping per Seller

PostPosted: Fri Mar 16, 2018 7:40 pm
by webmaster_15807
You're understanding me correctly. I got it working how I wanted it. Thanks.

Re: Flat Rate Shipping per Seller

PostPosted: Sat Mar 17, 2018 1:05 am
by shokinro
thanks for your feedback, I am glad you figured out and made it work - good job!