Re: Formulas

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38617
interpreted = N
texte = Shidan Bateni wrote: > > Hi All, > > I have a shopping cart, Some of the items have a percentage > of increase in their prices. > > I tired to use [unitshipcost] or [taxrate] but non of these > help. [unitshipcost] is a fixed value not a percentage of > price. [taxrate] is applied to the whole order. > > How can I do this using formulas? > Any time you want to adjust the price when you add the item to the cart, you should change the formula for price in formulas.db. If you need to retroactively change the price (i.e. after the item is already in the cart), use a [lineitems] loop and [setlineitem] to change the price (remember to include the price change password when you do this).HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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: [WebDNA] Formulas question (Donovan Brooke 2011)
  2. [WebDNA] Formulas question (Dave Stengel 2011)
  3. Re: Formulas.db not working ( Donovan Brooke 2006)
  4. Re: Formulas.db not working ( Brian Fries 2006)
  5. Re: Formulas.db not working ( Charles Kline 2006)
  6. Re: Formulas.db not working ( Donovan Brooke 2006)
  7. Re: Formulas.db not working ( Donovan Brooke 2006)
  8. Re: Formulas.db not working ( Charles Kline 2006)
  9. Re: Formulas.db not working ( Donovan Brooke 2006)
  10. Re: Formulas.db not working ( Charles Kline 2006)
  11. Re: Formulas.db not working ( "Dan Strong" 2006)
  12. Re: Formulas.db not working ( Charles Kline 2006)
  13. Re: Formulas.db not working ( Donovan Brooke 2006)
  14. Re: Formulas.db not working ( Charles Kline 2006)
  15. Re: Formulas.db not working ( Donovan Brooke 2006)
  16. Re: Formulas.db not working ( Donovan Brooke 2006)
  17. Re: Formulas.db not working ( Donovan Brooke 2006)
  18. Re: Formulas.db not working ( Gary Krockover 2006)
  19. Formulas.db not working ( Charles Kline 2006)
  20. Re: formulas.db [feature request] ( Donovan 2003)
  21. Re: formulas.db ( Stuart Tremain 2003)
  22. Re: formulas.db ( Kenneth Grome 2003)
  23. formulas.db ( Tim Robinson 2003)
  24. Re: [shippingtotal] & Formulas.db prob (WJ Starck 2003)
  25. Re: [shippingtotal] & Formulas.db prob (Gary Krockover 2003)
  26. Re: [shippingtotal] & Formulas.db prob (dbrooke 2003)
  27. Re: [shippingtotal] & Formulas.db prob (WJ Starck 2003)
  28. Re: [shippingtotal] & Formulas.db prob (dbrooke 2003)
  29. Re: [shippingtotal] & Formulas.db prob (WJ Starck 2003)
  30. [shippingtotal] & Formulas.db prob (WJ Starck 2003)
  31. Re: Formulas.db (dbrooke 2003)
  32. Re: Formulas.db (John Peacock 2003)
  33. Formulas.db (dbrooke 2003)
  34. [Mac 3.0.8] Formulas.db Question (Jesse Williams-Proudman 2003)
  35. Re: UnitShipCost, Formulas.db and passwords (John Peacock 2003)
  36. Re: UnitShipCost, Formulas.db and passwords (Alphonse MacDonald 2003)
  37. Re: UnitShipCost, Formulas.db and passwords (Donovan 2003)
  38. Re: UnitShipCost, Formulas.db and passwords (Donovan 2003)
  39. Re: UnitShipCost, Formulas.db and passwords (Donovan 2003)
  40. UnitShipCost, Formulas.db and passwords (Alphonse MacDonald 2003)
  41. Re: [shippingtotal] in Formulas.db (WJ Starck 2002)
  42. Re: [shippingtotal] in Formulas.db (Donovan Brooke 2002)
  43. Re: [shippingtotal] in Formulas.db (WJ Starck 2002)
  44. Re: [shippingtotal] in Formulas.db (Donovan Brooke 2002)
  45. [shippingtotal] in Formulas.db (WJ Starck 2002)
  46. Re: Formulas.db question (Donovan 2002)
  47. Formulas.db question (charles kline 2002)
  48. Re: !@#$$@@# formulas database, tax and freight. (Donovan Brooke 2002)
  49. Re: !@#$$@@# formulas database, tax and freight. (Inkblot Media 2002)
  50. Re: !@#$$@@# formulas database, tax and freight. (Andrew Simpson 2002)
  51. Re: !@#$$@@# formulas database, tax and freight. (Inkblot Media 2002)
  52. Re: !@#$$@@# formulas database, tax and freight. (Alain Russell 2002)
  53. Re: !@#$$@@# formulas database, tax and freight. (Andrew Simpson 2002)
  54. Re: !@#$$@@# formulas database, tax and freight. (Stuart Tremain 2002)
  55. !@#$$@@# formulas database, tax and freight. (Andrew Simpson 2002)
  56. Re: Formulas.db (Donovan Brooke 2001)
  57. Re: Formulas.db (Brian Fries 2001)
  58. Re: Formulas.db (John Peacock 2001)
  59. Formulas.db (Donovan Brooke 2001)
  60. Re: Formulas.db (John Peacock 2001)
  61. Re: Formulas.db (Donovan Brooke 2001)
  62. Re: Formulas.db (Glenn Busbin 2001)
  63. Re: Formulas.db (Donovan Brooke 2001)
  64. Re: Formulas.db (John Peacock 2001)
  65. Formulas.db (Donovan Brooke 2001)
  66. Re: Formulas (John Peacock 2001)
  67. Formulas (Shidan Bateni 2001)
  68. Re: where's Formulas.db? (Samuel Renkert 2001)
  69. Re: where's Formulas.db? (John Peacock 2001)
  70. Re: where's Formulas.db? (Charles Kline 2001)
  71. where's Formulas.db? (Brian Wachter 2001)
  72. Formulas and Prices (Glenn Busbin 2000)
  73. Formulas and Multiple Prices (Glenn Busbin 2000)
  74. Re: formvars available in formulas.db? (John Butler 2000)
  75. formvars available in formulas.db? (John Butler 2000)
  76. Re: shipcost and Formulas.db (John Butler 2000)
  77. Re: shipcost and Formulas.db (Chris Vargas 2000)
  78. Re: shipcost and Formulas.db (Chris Vargas 2000)
  79. Re: shipcost and Formulas.db (John Butler 2000)
  80. shipcost and Formulas.db (Chris Vargas 2000)
  81. Re: Formulas.db (Jesse Williams Proudman 2000)
  82. Re: Formulas.db (PCS Technical Support 2000)
  83. Formulas.db (Jesse Williams Proudman 2000)
  84. Re: Frustration with formulas.db (Brian Boegershausen 1999)
  85. Re: Frustration with formulas.db (Kevin Lippert 1999)
  86. Re: Frustration with formulas.db (Brian Boegershausen 1999)
  87. Re: Frustration with formulas.db (Brian Boegershausen 1999)
  88. Re: Frustration with formulas.db (Kenneth Grome 1999)
  89. Frustration with formulas.db (Kevin Lippert 1999)
  90. Re: Problem with Formulas.db (Brian Boegershausen 1999)
  91. Problem with Formulas.db (Karim Ardalan 1999)
  92. Re: Calculate UnitShipCost in Formulas.db (Smith Micro Support 1999)
  93. Re: Calculate UnitShipCost in Formulas.db (Rodolfo de la Garza 1999)
  94. Re: Calculate UnitShipCost in Formulas.db (Chris Vargas 1999)
  95. Calculate UnitShipCost in Formulas.db (Rodolfo de la Garza 1999)
  96. Re: Formulas What if. (PCS Technical Support 1999)
  97. Formulas What if. (Bob Minor 1999)
  98. Re: 3 card formulas! (PCS Technical Support 1999)
  99. Re: 3 card formulas! (Bob Minor 1999)
  100. Re: 3 card formulas! (PCS Technical Support 1999)
  101. Re: formulas.db (Bob Minor 1999)
  102. 3 card formulas! (Bob Minor 1999)
  103. Re: formulas.db (PCS Technical Support 1999)
  104. formulas.db (Mícheál O Sé 1999)
  105. formulas.db (Mícheál O Sé 1999)
  106. formulas.db and prices (Mike Jones 1999)
  107. Re: Custom formulas.db (PCS Technical Support 1998)
  108. Re: Custom formulas.db (Tim Taylor 1998)
  109. Re: Custom formulas.db (PCS Technical Support 1998)
  110. Re: Custom formulas.db (Kenneth Grome 1998)
  111. Re: Custom formulas.db (Tim Taylor 1998)
  112. Re: Custom formulas.db (Grant Hulbert 1998)
  113. Re: Custom formulas.db (Kenneth Grome 1998)
  114. Re: Custom formulas.db (PCS Technical Support 1998)
  115. Re: Custom formulas.db (Kenneth Grome 1998)
  116. Re: Custom formulas.db (PCS Technical Support 1998)
  117. Custom formulas.db (Tim Taylor 1998)
  118. i luv formulas! (was Re: Cool! formulas) (Brian Drum 1998)
  119. Re: Cool! formulas (PCS Technical Support 1998)
  120. #$%@! formulas (Brian Drum 1998)
  121. Re: Problem with Formulas.db (Mike Heininger 1998)
  122. Re: Problem with Formulas.db (Mike Heininger 1998)
  123. Re: Problem with Formulas.db (Kenneth Grome 1998)
  124. Re: Problem with Formulas.db (PCS Technical Support 1998)
  125. Re: Problem with Formulas.db (Mícheál O Sé 1998)
  126. Problem with Formulas.db (Mike Heininger 1998)
  127. Re: formulas.db problem solved (Mark Mesenko 1998)
  128. Re: formulas.db ?? (Peter Ostry 1998)
  129. Re: formulas.db ?? (Kenneth Grome 1998)
  130. Re: formulas.db ?? (Mark Mesenko 1998)
  131. Re: formulas.db ?? (Kenneth Grome 1998)
  132. formulas.db ?? (Mark Mesenko 1998)
  133. Re: Allowed fields in formulas.db (Paul Willis 1998)
  134. Re: Formulas.db / Quantity Discount problem (PCS Technical Support 1998)
  135. Re:Formulas.db / Quantity Discount problem (PCS Technical Support 1998)
  136. Re: Allowed fields in formulas.db (PCS Technical Support 1998)
  137. Allowed fields in formulas.db (Paul Willis 1998)
  138. Re:Formulas.db / Quantity Discount problem (Paul Uttermohlen 1998)
  139. Re:Formulas.db / Quantity Discount problem (Jay Van Vark 1998)
  140. Formulas.db / Quantity Discount problem (Paul Uttermohlen 1998)
  141. Re: Formulas.db (Grant Hulbert 1997)
  142. Formulas.db (Ray Hatch 1997)
  143. ShowIf inside formulas (Grant Hulbert 1997)
  144. Re: [search] in formulas.db (Grant Hulbert 1997)
  145. [search] in formulas.db (Mike Heininger 1997)
  146. Re: [quantity] within formulas (Grant Hulbert 1997)
  147. [quantity] within formulas (Kevin Furuta 1997)
  148. Looking up two prices in Formulas.db ( 1997)
  149. Looking up two prices in Formulas.db ( 1997)
  150. RE: Formulas.db + Users.db (A. Waldeck 1997)
  151. RE: Formulas.db + Users.db (Grant Hulbert 1997)
  152. RE: Formulas.db + Users.db (Kenneth Grome 1997)
  153. RE: Formulas.db + Users.db (Kenneth Grome 1997)
  154. RE: Formulas.db + Users.db (grichter@panavise.com (Gary Richter) 1997)
  155. RE: Formulas.db + Users.db (Marc Eagle 1997)
  156. Re: Formulas.db + Users.db (Sven U. Grenander 1997)
  157. Re: Formulas.db + Users.db (Express Communications 1997)
  158. Re: Formulas.db + Users.db (Richard Wylie 1997)
  159. Formulas.db + Users.db (Paul Keen 1997)
  160. Re: Variable prices and Formulas.db (Grant Hulbert 1997)
  161. Variable prices and Formulas.db (Austin H. Spiegelman 1997)
  162. Re: WebCat2: Formulas.db question (Grant Hulbert 1997)
  163. WebCat2: Formulas.db question (Ed Trefzger 1997)
  164. Re: WC2b12: Yes, Formulas.db is for real (Kenneth Grome 1997)
  165. WC2b12: Yes, Formulas.db is for real (Grant Hulbert 1997)
  166. formulas.db (Terry Wilson The )
Shidan Bateni wrote: > > Hi All, > > I have a shopping cart, Some of the items have a percentage > of increase in their prices. > > I tired to use [unitshipcost] or [taxrate] but non of these > help. [unitshipcost] is a fixed value not a percentage of > price. [taxrate] is applied to the whole order. > > How can I do this using formulas? > Any time you want to adjust the price when you add the item to the cart, you should change the formula for price in formulas.db. If you need to retroactively change the price (i.e. after the item is already in the cart), use a [lineitems] loop and [setlineitem] to change the price (remember to include the price change password when you do this).HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

WebCatalog NT beta 18 now available (1997) [shell]? (2000) AJAX with WebDNA (2006) searchable list archive (1997) [SHOWIF AND/OR] (1997) Formula Question (1998) WebCatalog and WebMerchant reviewed by InfoWorld (1997) webcat- multiple selection in input field (1997) UPPERCASE (1997) [WebDNA] Setting Content-Type within [returnraw] - not working (2010) Using ticks (2000) Reselecting popup menu (2002) 'does not contain' operator needed ... (1997) sort without the or a (1998) Cart Template (1997) Location of Browser Info.txt file (1997) Email within tmpl ? (1997) Max Record length restated as maybe bug (1997) finding the next thursday (2000) Bad Cookie / Internet Option / Internet Explorer (2004)