Re: setting the price of goods after its added to the cart
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33681
interpreted = N
texte = > I'm trying to change the price of items already in the cart using the> setlineitem context. I want the price to be recalculated from formulas.db> when the form is reloaded. The page shows the price of each lineitem> within a showcart command.. and i want this to show the new price when> the submit button is pressed but the problem is that it still shows the> old price.> Inside my showcart command and within the lineitems tag i have> [setlineitem cart=[cart]&index=[lineindex]]price=[price][/setlineitem]..What you need to do is add the price change password, as set in the adminarea, to the tag above so it looks like this.[setlineitem cart=[cart]&index=[lineindex]]price=[price]&password=XXXXXXXX[/setlineitem]This will allow you to override the price.-Jason Tylerwww.3ip.net-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> I'm trying to change the price of items already in the cart using the> setlineitem context. I want the price to be recalculated from formulas.db> when the form is reloaded. The page shows the price of each lineitem> within a showcart command.. and i want this to show the new price when> the submit button is pressed but the problem is that it still shows the> old price.> Inside my showcart command and within the lineitems tag i have> [setlineitem cart=[cart]&index=[lineindex]]price=[price][/setlineitem]..What you need to do is add the price change password, as set in the adminarea, to the tag above so it looks like this.[setlineitem cart=[cart]&index=[lineindex]]price=[price]&password=XXXXXXXX[/setlineitem]This will allow you to override the price.-Jason Tylerwww.3ip.net-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jason Tyler
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WML (2000)
Webcat XML/XSLT Performance vs. static Html (2006)
Summing fields (1997)
[OT] .php3 extension (2000)
Newbie search question (between two dates) (2001)
WebCat2b13 Command Reference Doc error (1997)
Summing fields (1997)
Fwd: Protect Tag and Groups (1998)
[OT] SSL (2003)
Running _every_ page through WebCat ? (1997)
Non-repeating Random Numbers - CORRECTION (2002)
WebCat2 beta 11 - new prefs ... (1997)
Exclamation point (1997)
Search Question (2003)
(1997)
Webcatalog and IIS4b2 (1997)
WebCommerce: Folder organization ? (1997)
frames & carts (1997)
WebCat Error Log problem (2.0.1, acgi, Mac) (1997)
Help with nested search (1998)