Re: [price] maddness

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43707
interpreted = N
texte = Do you mean you need to have the price change because of the adjusted quantities? Meaning that the price is the same, but the multiplier * quantity ordered needs to be changed and thus the subtotal adjust accordingly? If so, I use this little ditty in my carts:
GK | Ok here is the deal. I know that [price] gets calculated when an item is | added to the shopping cart. I know that it gets the price from | formulas.db. | | In my shopping cart an item gets added and once is added then one can | update the quantities in shoppingcart.tpl. | | I use [showcart] to do this. The price of the product changes depending | on the quantity. | | I saw that there is price[lineindex] available, but it says it still | needs to get the price from the formulas.db. | | I am a bit confused now as to how to change the price once the product | has been added to the shopping cart. | | Help!! | | Art | | | ------------------------------------------------------------- | 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/ ------------------------------------------------------------- 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:

    
  1. Re: [price] maddness (Andrew Simpson 2002)
  2. Re: [price] maddness (Arturo Vargas 2002)
  3. Re: [price] maddness (Donovan 2002)
  4. Re: [price] maddness (Arturo Vargas 2002)
  5. Re: [price] maddness (Donovan 2002)
  6. Re: [price] maddness (Arturo Vargas 2002)
  7. Re: [price] maddness (Arturo Vargas 2002)
  8. Re: [price] maddness (Gary Krockover 2002)
  9. Re: [price] maddness (Glenn Busbin 2002)
  10. Re: [price] maddness (John Peacock 2002)
  11. Re: [price] maddness (Glenn Busbin 2002)
  12. Re: [price] maddness (Donovan 2002)
  13. [price] maddness (Arturo Vargas 2002)
Do you mean you need to have the price change because of the adjusted quantities? Meaning that the price is the same, but the multiplier * quantity ordered needs to be changed and thus the subtotal adjust accordingly? If so, I use this little ditty in my carts:
[cart]>
[cart]>
GK | Ok here is the deal. I know that [price] gets calculated when an item is | added to the shopping cart. I know that it gets the price from | formulas.db. | | In my shopping cart an item gets added and once is added then one can | update the quantities in shoppingcart.tpl. | | I use [showcart] to do this. The price of the product changes depending | on the quantity. | | I saw that there is price[lineindex] available, but it says it still | needs to get the price from the formulas.db. | | I am a bit confused now as to how to change the price once the product | has been added to the shopping cart. | | Help!! | | Art | | | ------------------------------------------------------------- | 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/ ------------------------------------------------------------- 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/ Gary Krockover

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:

[OT] iFrame (body) Q (2004) db (2003) [WebDNA] How to code a 301 redirect (2008) url value (2002) SiteEdit Pro Update Announcement (1997) [input] [/input] (1997) Email notification to one of multiple vendors ? (1997) Banner DNA (1997) [Announce]: Web server security and password protection (1997) Nesting FoundItem Context (1997) WebCat and PIXO (2000) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] [PROTECT] - Log Out (2011) runtime (2000) WebCatalog can't find database (1997) [lookup] is case-sensitive, [lookup] is case sensitive... (2003) Gil's in the lead (1999) [WebDNA] Send Mail and Outlook Express (2008) Browser based content... (2004) New public beta available (1997)