Page 1 of 1

php item Weight

Posted: Tue Sep 06, 2011 12:18 pm
by YoussefSiblini
Hi Guys,
I am creating a shopping cart.
I have 3 items:

Red (1kg) (shipping cost is: £ 3.85)
Blue (2kg) (shipping cost is: £ 3.95)
Black (3kg) (shipping cost is: £ 4.85)

What I want to achieve is for the shipping cost to stay the same for up to 3kg once weight is above 3kg the shipping goes up by 20% per kg (which is 20% of the 3.85).
I am desperate for some help I don't have an idea from where to begin even.

Youssef

Re: php item Weight

Posted: Tue Sep 06, 2011 1:19 pm
by Celauran
YoussefSiblini wrote:I have 3 items:

Red (1kg) (shipping cost is: £ 3.85)
Blue (2kg) (shipping cost is: £ 3.95)
Black (3kg) (shipping cost is: £ 4.85)

What I want to achieve is for the shipping cost to stay the same for up to 3kg once weight is above 3kg the shipping goes up by 20% per kg (which is 20% of the 3.85).
So shipping cost is dependent on both the item's weight and its cost? If I had two items that weighed the same, the more expensive item would cost more to ship?

Re: php item Weight

Posted: Tue Sep 06, 2011 1:56 pm
by YoussefSiblini
No shipping cost is only dependent on item weight.

Re: php item Weight

Posted: Tue Sep 06, 2011 2:27 pm
by YoussefSiblini
I sorted it out Thank you any way :)