MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Passing discounted total along (answering my question myself)



Quoting dallas (dallas@newdream.net):
> ******    message to minivend-users from dallas  <dallas@newdream.net>     ******
> 
> dallas had this to say...
> 
> 
> I never figured out how to pass the discount through to the end of the order 
> process, but I got things to work with Cybercash by adding my discount tags 
> into the checkout profile in the checkout.html page.
> 
> It works now, but I think it's quite strange that I have to put the same 
> exact code in 5 places.  I could just include an external file I suppose, but 
> couldn't there just be an option to the discount tag to specify if the 
> discount is global or just local?
> 

The discount will stick for each individual user unless it is reset
somewhere. I know this for a fact, because I maintain several sites that
rely on it. If it is resetting, the only thing I can think is that you
have a [discount ENTIRE_ORDER][/discount] leaking in somewhere.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Few blame themselves until they     131 Willow Lane, Floor 2  | ||  _ \
have exhausted all other            Oxford, OH  45056         | || |_) |
possibilities.                      <mikeh@minivend.com>     |___|  _ <
 -- anonymous                       513.523.7621 FAX 7501        |_| \_\


Search for: Match: Format: Sort by: