Re: [PHPLIB] cart questions From: Bob Bowker (bowker <email protected>)
Date: 12/10/99

Martin --

See the message from Andre Anneck RE: [PHPLIB] cart questions - an even
better solution than mine!

Bob.

At 01:05 AM 12/10/99 , you wrote:
>would you mind to show me your cart.inc? I would really appreciate it, as
>I am not that much of a coder.
>
>MartinAt 09:11 09.12.99 -0800, you wrote:
>>Hi --
>>
>>In the one site where we needed to store additional information, I added
>>4 characters to the beginning of the product id number, 2 for each of the
>>additional attributes I needed to save. Then, by extending cart in
>>local, I added a couple of substr($art,0,2) and substr($art,2,2) lines to
>>pull out the added data. Works like a charm on a 250,000 record database ...
>>
>>Good luck!
>>
>>Bob.
>>
>>At 09:02 AM 12/9/99 , you wrote:
>>>Hello everybody,
>>>
>>>Unfortunately, nobody could answer my question of how to extend the cart
>>>to hold additional attributes.
>>>I need to modify cart.inc, because I have an additional field called
>>>"stock". When the user buys 5 pieces
>>>of product 1 from stock1 and 2 pieces from stock2, the orders are not
>>>allowed to be summed up! There
>>>have to be two seperate entries in the cart.
>>>
>>>How can I do that?
>>>
>>>I would greatly appreciate any help!
>>>
>>>Thanks in advance,
>>>
>>>Martin
>>>
>>>
>>>*****************************************
>>>Martin Decker, martin.decker <email protected>
>>>Telekommunikationstechnik und -systeme
>>>Fachhochschule Salzburg
>>>Jakob-Haringer-Str. 1a/II/12
>>>Tel. 0664 5775697
>>>
>>>-
>>>PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
>>>To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
>>>the body, not the subject, of your message.
>
>*****************************************
>Martin Decker, martin.decker <email protected>
>Telekommunikationstechnik und -systeme
>Fachhochschule Salzburg
>Jakob-Haringer-Str. 1a/II/12
>Tel. 0664 5775697

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.