We use Magento 18.104.22.168.
Each product have a addiotinal attribute "shipping_cost".
In magento admin product page i add the product weight in the "weight" attribute.
After i click the product save button i need a module to calculate the shipping cost and write the result in the "shipping_cost" attribute based on the product weight.
The formula is: [weight] * shipping_rate = [shipping_cost]
For example: If the product weight is 3,20kgs the automated calculation is:
3,20kgs * 6,50 Euro = 20,80 Euro.
The script need to write the result (20,80) in the shipping_cost attribute.
We have diffrent shipping rates:
Up to 1kgs -> 4,90 Euro
From 1kgs to 3kgs -> 5,50 Euro
From 3kgs to 5kgs -> 6,50 Euro
From 5kgs to 10kgs -> 7,90 Euro
From 10kgs to 20kgs -> 10,50 Euro
From 20kgs to 31,50kgs -> 13,90 Euro
Do you have a idea how i can solve this problem? Or do you can write us a module to solve this problem?
[url removed, login to view]