Re: Adding freight and percentages
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32523
interpreted = N
texte = Look in the on-line docs under File Formats for the page on Formulas.When you add a line to the cart, WebCatalog will look for the price,unitshipcost, taxable, taxrate, and shipcost. You can add records totheFormulas.db to calculate any or all those based on the sku involved. Inaddition, you can use a formvariable for taxrate and shipcost.To give you a hint, you want to use [lookup] to find the appropriate unitshipcost from your table and mutiply by the appropriate percentbasedon the method chosen. The important thing to remember is that this hasto happen on the page after the user makes their choices! One way todeal with that is to ask the user to chose a shipping method first, thenadd the line to the cart. The other way to do it is to update the cartafter they have chosen the method of shipping.HTHJohn PeacockMartin Mansly wrote:> > I read them 50 times but don't get the sequence> of> > searching: Want the subtotal to look for the price in the> shipping cost db and come up with right amount.> > then> > add a percentage based on the pull down menu.> > I've tried switching around the General Store and> have had 20 different answers... none of them right.> > Any idea how start?> > I know the subtotal comes through.> > I just want to switch the freight amount because the> General Store is not realistic as it only ads one amount> on the whole shipment.>-------------------------------------------------------------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:
Look in the on-line docs under File Formats for the page on Formulas.When you add a line to the cart, WebCatalog will look for the price,unitshipcost, taxable, taxrate, and shipcost. You can add records totheformulas.db to calculate any or all those based on the sku involved. Inaddition, you can use a formvariable for taxrate and shipcost.To give you a hint, you want to use [lookup] to find the appropriate unitshipcost from your table and mutiply by the appropriate percentbasedon the method chosen. The important thing to remember is that this hasto happen on the page after the user makes their choices! One way todeal with that is to ask the user to chose a shipping method first, thenadd the line to the cart. The other way to do it is to update the cartafter they have chosen the method of shipping.HTHJohn PeacockMartin Mansly wrote:> > I read them 50 times but don't get the sequence> of> > searching: Want the subtotal to look for the price in the> shipping cost db and come up with right amount.> > then> > add a percentage based on the pull down menu.> > I've tried switching around the General Store and> have had 20 different answers... none of them right.> > Any idea how start?> > I know the subtotal comes through.> > I just want to switch the freight amount because the> General Store is not realistic as it only ads one amount> on the whole shipment.>-------------------------------------------------------------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:
Lookup within a Search (2005)
Initiating NewCart (1997)
[OT] (waaaay OT) my photo (2004)
SSL and reg web* (1997)
Webmerch Error (1998)
[WebDNA] WebDNA Roll Call (2013)
Location of Browser Info.txt file (1997)
Keep away (1997)
Online magazine- monthly updates and such (1999)
Sorting (2000)
WebCatalog for Postcards ? (1997)
docs for WebCatalog2 (1997)
WCS Newbie question (1997)
Webcatalog, Webstar and Crasharama (1999)
Re:quit command on NT (1997)
Sort Order on a page search (1997)
Exclude by date - multiple (1997)
Time Display from Database (1997)
Hiding HTML and breaking the page (1997)
[append] vs. [appendfile] delta + question? (1997)