[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
On the fly Item Deletion from Basket
Hello,
Does anyone know of a line or two of code that would remove an item on
the fly? I have already searched the Docs and Mail list archieve but my
approach is different than the perl example given. I haven't used perl in the
condition and selection statements. I have a products database in SQL. As
best as I can tell, a product is removed from the basket in the basket page
form demo code and the perl example in this list's archieve by setting the
quantity field in the basket to zero. I have tried many versions of this..
[item-list]
[if data database........
[sql type=list.......
[if ordered.........
I am ready to remove the current item from the basket if it made it through
all the previous condition and selection statements above. I have confirmed
that items have met this criteria and made it here in my test store.
All combinations of this and [item-quantity] with and without [calc] and
scratch
[calc][set mv_order_quantity]value=0[/set][/calc]
[/if]
[/sql]
[/if]
[/item-list]
Any help will be appreciated. I'm using RH 5.2 and MiniVend 3.14-3
Thanks
Karl