Re:Can anyone help me with this shipping thing?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16747
interpreted = N
texte = Kevin,Sorry for the no response earlier -- there wasn't enough info for me at least to answer it fast...From your earlier note...----I have tried in vain to fix whatever it is that is wrong with my [shipcost] code, that got messed up when I moved from 2.01 to 2.1.So, I was wondering if you could help me figure out a new way of doing things.In shipping our product we have 5 different unique shipping costs that is determined by1. Total Unit Quantity 2. Express or Regular Mail shipping method 3. Locality.For instance1 box to Los Angeles via Express = 15.00 1 box to Los Angeles via Regular = 5.00 1 box to Paris via Express = 30.00 1 box to Paris via Regular = 10.00 2 box to Los Angeles via Express = 17.00My code had a setlineitem so that [textc]=[quantity] and then in the formula.db, would have a lookup that judged the [shipto] , [shipmeth and [textc].For some reason, the formula.db file does not want to recognize [quantity] in any way, shape or form.----Are you using quantity in a line or in the ShipCost formula? It has no meaning for the entire order -- We don't currently have a variable that is the total quantity - it is a line item variable only...To get the total for the whole order [MATH show=f]totQty=0[/math] [lineitems] [MATH show=f]totQty=totQty+[quantity][/math] [/lineitems]Should give you a math variable with the total quantity....I hope this helps -- otherwize please post your formula etc --BTW -- the questions on the list are not just answered by PCS folks -- often the advice is faster from other members of the list ... Good luck! >Hi, > >Can anyone from PCS with my shipping calculation problem, that I posted >earlier? > >If not, can you at least tell me if the [quantity] tag is at all usable >within the formulas.db? I have tried everything I know, and cannot get it >to work right. > >Kev Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Associated Messages, from the most recent to the oldest:

    
  1. Re:Can anyone help me with this shipping thing? (Jay Van Vark 1998)
Kevin,Sorry for the no response earlier -- there wasn't enough info for me at least to answer it fast...From your earlier note...----I have tried in vain to fix whatever it is that is wrong with my [shipcost] code, that got messed up when I moved from 2.01 to 2.1.So, I was wondering if you could help me figure out a new way of doing things.In shipping our product we have 5 different unique shipping costs that is determined by1. Total Unit Quantity 2. Express or Regular Mail shipping method 3. Locality.For instance1 box to Los Angeles via Express = 15.00 1 box to Los Angeles via Regular = 5.00 1 box to Paris via Express = 30.00 1 box to Paris via Regular = 10.00 2 box to Los Angeles via Express = 17.00My code had a setlineitem so that [textc]=[quantity] and then in the formula.db, would have a lookup that judged the [shipto] , [shipmeth and [textc].For some reason, the formula.db file does not want to recognize [quantity] in any way, shape or form.----Are you using quantity in a line or in the ShipCost formula? It has no meaning for the entire order -- We don't currently have a variable that is the total quantity - it is a line item variable only...To get the total for the whole order [MATH show=f]totQty=0[/math] [lineitems] [MATH show=f]totQty=totQty+[quantity][/math] [/lineitems]Should give you a math variable with the total quantity....I hope this helps -- otherwize please post your formula etc --BTW -- the questions on the list are not just answered by PCS folks -- often the advice is faster from other members of the list ... Good luck! >Hi, > >Can anyone from PCS with my shipping calculation problem, that I posted >earlier? > >If not, can you at least tell me if the [quantity] tag is at all usable >within the formulas.db? I have tried everything I know, and cannot get it >to work right. > >Kev Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Jay Van Vark

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:

math a various prices (1997) Re:2nd WebCatalog2 Feature Request (1996) Digest Version (2000) BBEdit and WebCatalog 2.0? (1997) Open Market's Transact & Macintosh (1998) Mac WebCat 4.0 Day Planner Hang (2000) No Wanna Duppys (1998) Help! WebCat2 bug (1997) [Lookup] on secure page not returning anything (2000) Text data with spaces in them... (1997) Possible Bug in 2.0b15.acgi (1997) DreamWeaver extension (2000) Testing (2003) success - serial numbers and webmerch (1997) pc (1997) SetCookie / GetCookie Problem.... (2004) Multiple fields on 1 input (1997) Re:listfiles-looking for slick solution (1997) Almost a there but..bye bye NetCloak (1997) PCS Customer submissions ? (1997)