[ic] OrderLineLimit error

Jerry jerry@data-logic.com
Fri, 24 Nov 2000 18:43:08 -0500


Upon closer examination and realizing this was intended
for a "robot defense system", the behavior works fine
for OrderLineLimit. 

What I needed was to allow employees to select only ONE
free gift as a safe driving award. This was looking
for a difficult solution to a simple problem.

Emptying the cart with:
[perl arg="carts"]
$Safe{carts}->{main} = [];
[/perl]
each time they view the results page works great!

Jerry


> -----Original Message-----
> From: interchange-users-admin@minivend.com
> [mailto:interchange-users-admin@minivend.com]On Behalf Of Jerry
> Sent: Friday, November 24, 2000 5:51 PM
> To: interchange-users@minivend.com
> Subject: [ic] OrderLineLimit error
> 
> 
> Anyone successfully using the OrderLineLimit option?
> I'm finding when the limit is reached it produces the
> follow:
> Sorry, there was an error in processing this form action. Please 
> report the
> error or try again later. (Undefined subroutine &Vend::Order::do_lockout
> called at /d01/inter/lib/Vend/Order.pm line 1842. )
> 
> This is returned to the browser window, not the error.log.
> The cart however is emptied and the next selected product
> works as you'd expect and is placed in the cart.
> 
> do_lockout is defined in Error.pm, at least in the last
> CVS version I'm running from a day or so ago.
> 
> Jerry Uphoff
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@www.minivend.com
> http://www.minivend.com/mailman/listinfo/interchange-users
>