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:

WebCat/PDF Integration Time Est (2000) Bug: MySQL WebDNA 6 int bigint fail case (2004) RE: protect tag not working (1998) You can't buy something twice... (1997) Re:quit command on NT (1997) Tab Charactor (1997) [searchString] (1997) ShowCart (2001) HELP WITH DATES (1997) Where's Cart Created ? (1997) creating a ShipCosts database (1997) Emailer setup (1997) PARAMETER vs. OPERATOR (was The BUG is BACK ...) (1998) Nav4 not specifying cart (1997) [WebDNA] Issues regarding static vs. dynamic pages (2011) Snake Bites (1997) need help with [sendmail] and [showif]s (1998) Looking For WebCatalog Migration Assistance (2003) FEW QUESTIONS (1997) Where is f2? (1997)