Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

E-Commerce Shipping Help

Posted 18 Aug 2004 20:29:50
1
has voted
18 Aug 2004 20:29:50 Peter Lent posted:
Hi All,

I need help figuring out the best way to do my shipping for an on-line store.

I have 4 different types of items, and the shipping charged is based on the total quantity of each four types. When the buyer adds the item to the cart, I store the item type in the cart.

On my checkout page, what is the best way to collect the total qty of each type, multiply that times the shipping amount for that item type, then add all 4 together?

I am pretty green at ASP and need some direction.

THANKS

Peter

Replies

Replied 20 Aug 2004 17:40:03
20 Aug 2004 17:40:03 Rene Bandsma replied:
ProductPrice1 * Quantity1 = SubPrice1
ProductPrice2 * Quantity2 = SubPrice2
ProductPrice3 * Quantity3 = SubPrice3
ProductPrice4 * Quantity4 = SubPrice4

TotalPrice = SubPrice1 + SubPrice2 + SubPrice3 + SubPrice4

VAT = SubPrice / 100 * 19 (example of Dutch VAT)

EndPrice = TotalPrice + VAT
Replied 20 Aug 2004 18:07:01
20 Aug 2004 18:07:01 Peter Lent replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
ProductPrice1 * Quantity1 = SubPrice1
ProductPrice2 * Quantity2 = SubPrice2
ProductPrice3 * Quantity3 = SubPrice3
ProductPrice4 * Quantity4 = SubPrice4

TotalPrice = SubPrice1 + SubPrice2 + SubPrice3 + SubPrice4

VAT = SubPrice / 100 * 19 (example of Dutch VAT)

EndPrice = TotalPrice + VAT
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Thanks for the information. One more question, I need to adjust the price if there is more than 1 items per item type. I.E. Item type 1 is $10.00 for 1 qty, then $5.00 for each additional.

What would be the best way to handle rthis?

THANKS

Peter

Reply to this topic