Zen Follower
- Join Date:
- Apr 2019
- Posts:
- 370
- Plugin Contributions:
- 0
Shipping Surcharge [Support Thread]
I see. Thanks for your info.
Views: 7,133
Zen Follower
I see. Thanks for your info.
Zen Follower
Can this module be used to apply a shipping surcharge when items from specific categories are added to the cart? For example, I offer free shipping on orders over $500, but if a customer is buying certain supplies I need to add a $5 surcharge (so the total shipping is $5 instead of free) to offset the higher shipping costs (BUT ONLY WHEN FREE SHIPPING IS ELIGIBLE)--I have other shipping modules calculate correct shipping price when order total is below $500. What would be the best/easiest way to implement this, if it's even possible?
Zen Follower
njcyx:
Another issue, but it is not critical to me.
Under the order-total, there is an option under this surcharge plug-in: Charge a Shipping Surcharge. By default, it is set to true. I checked my checkout page, and the surcharge only applied to the sub-total number. Shipping is not included. But anyway, I don't plan to apply surcharge on the shipping.
In actual fact I want to surcharge the shipping only - this would be useful - as in the case right now - where fuel costs are going up and you either do your own local deliveries or your courier is passing on a fuel charge so you want to pass this onto your customer.
To do this change line 114 from -
```php
$shipping_surcharge = ($order->info['subtotal'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100));
to
```php
$shipping_surcharge = ($order->info['shipping_cost'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100));
Tell staff why this post should be reviewed.