[ic] How can i handle two different carts for the same order?

Luiz Carlos Maciel Junior interchange-users@icdevgroup.org
Wed Apr 30 16:41:00 2003


Hi guys,

We develop and manage interchange stores that works on B2B.

All customers must be pre-identified to gain access to it.

In my country (I'm in Brazil), almost all resellers sell products in two (or
more) ways, with prices based on payment date (i.e payment after 30 days of
delivery and payment after 7 days of delivery).

That's the situation (for the same product):
price for payment after 30 days of delivery = 100
price for payment after 7 days of delivery = 97 (3% discount) or (for few
items) special promotional price (using merchandising table).

I have no problem on calculating the 3% discount price and no problem in
using promotional prices.

That's the problem:

My customer will put in the same order items to be payd after 7 and after 30
days, and i need to have different totals in the same order (like have two
carts for the same order - one for items to be payd after 7 and other after
30 days, using the same order number).

At the flypage (i.e.), customer will see:

"
	Product A Price: for 30 days = $ xxx.xx   (buy button)
			     for  7 days = $ yyy.yy   (buy button)
"

He chooses wich buy button to press (for 7 days or for 30 days) and the
correspondent basket will add the item.

At the end of the order it would show:

"
SubTotal for items to be paid after 30 days: x
SubTotal for items to be paid after  7 days: y
Total to be paid for this order            : x+y
"

Now come the question.

How can i handle two (or more) different carts (and, of course, subtotals)
for the same order, based on itens that will be payd on different days?

I'm using ic 4.8.5, RH 7.3 and Mysql 3.23.54


Thank you all.
_______________________________

Luiz Carlos Maciel Junior

Interchange Consultant in Brazil
Linux Registered User # 297217
Novell Small Business Specialist
Microsoft Reseller

lmacieljr@mknet.com.br
ICQ#: 24911730
_______________________________