[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: patch for slipping modification index
mikeh@minivend.com
>
...
>
> But what are you using $::Values->{foo0} for anyway? It is totally
> meaningless except as an indication of what the original form was. At one
> point I was deleting it after update, but it became convenient to have
> it there as a record of the form. MiniVend never uses that value.
>
That makes sense. Since cgi & values are usually the same I guess I
got into the habit of assuming that they were merely alternative
references to the same variable. I tend to use [values ...] a lot and
stuck with it in my usertags.
> >
...
>
> The attributes are updated before you get to ord/basket, so that shouldn't
> be a problem if you put it on the page.
>
> This will require some more thought, I think. But there is no easy way to
> handle all contingencies, at least one that comes directly to mind. The
> best thing to do is know what you are doing to the cart and update the
> CGI values yourself.
>
Like I said, I don't have time to devote to this issue right now. I
quickly re-installed the Interpolate.pm and took out all of the
$::Value stuff from my usertags. My slippage problem returned. As
soon as I get a chance I'll try to setup an example that reliably
shows the misbehavior with stock Minivend and get back to you.
> --
> Mike Heins http://www.minivend.com/ ___
--
John Edstrom | edstrom @ teleport.com