
Originally Posted by
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 Code:
$shipping_surcharge = ($order->info['subtotal'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100));
to
PHP Code:
$shipping_surcharge = ($order->info['shipping_cost'] * ((float)MODULE_ORDER_TOTAL_SHIPPINGSURCHARGE_AMOUNT/100));