[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: How to delete item programmatically?
I think there was a solution to only having one instance of an item in the
cart. As I recall you set the quantities of one to the sum of the
quantities and set the other's quantity to zero.
Christopher Thompson
> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [mailto:owner-minivend-users@minivend.com]On Behalf Of Lee Nelson
> Sent: Thursday, July 22, 1999 11:13 PM
> To: minivend
> Subject: How to delete item programmatically?
>
>
> ****** message to minivend-users from Lee Nelson
> <jld123@pobox.com> ******
>
> Hello everyone,
>
> I would like to be able to delete items from the
> cart automatically, with Perl code. My Perl is
> pretty good, but I'm having some trouble getting
> this to work.
>
> Do I just need to undef the item? What's the
> syntax please?
>
> In case you're curious, I only want one instance
> of the item to appear in the cart... If the user
> tries to add another, the first should disappear.
> I can do this on the form, or from a user tag.
>
> I checked back through the mailing list archives,
> and couldn't find anything like this.
>
> Thanks Much,
>
> Lee Nelson
> -
> To unsubscribe from the list, DO NOT REPLY to this message.
> Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>