News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shipping with Insurance

Started by aomegax, April 30, 2010, 10:26:40 AM

Previous topic - Next topic

aomegax

Hi, I must add insurance to shipping cost but it is calculated on taxable income (1% on price without VAT cost) which total up to fix cost of shipping.
I have inserted in backend a field where I insert insurance value...but now I don't know where I can calculate 1% of order cost and sum to shipping cost.

Can help me, please?

aomegax

hi, how can I take the total order value in shipping page? If I know this I have solved!
please help me! this is very very important

richsung

Hey,

I would make the change in my shipping class directly, and you can just provide a note on the shipping page itself that the shipping total includes 1% insurance.

For example, if I'm using flex shipping, I'd make the change to the list_rates function in flex.php, and the $total is available right there. Depending on whether tax is included in the total, you'd either use $total or ($total - $tax_total) for your calculation.