[ic] How can i handle two different carts for the same order?
interchange-users@icdevgroup.org
interchange-users@icdevgroup.org
Wed Apr 30 17:27:01 2003
On 30 Apr 2003 at 17:43, Luiz Carlos Maciel Junior wrote:
> 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
> _______________________________
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
Try searching for Multiple Carts on the icdevgroup website tons of info.
A link to get you started:
http://www.icdevgroup.org/doc-5.0/frames/ic_ecommerce_8.html
You will have to code your pages to reflect your changes there is no plugnplay
component.
Remember to put [cart cartname] on the top of all pages/components where you display
the cart info, it bit me when I was setting a two cart system.
Regards,
Gurs