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:

WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Databases going to sleep (1998) RequiredFields template (1997) OT Weird Messenger Service message (2002) empty order (2004) WebCat2b12plugin - [search] is broken ... not! (1997) gateway application timeouts (1998) Need help with emailer- 2 issues (1997) WebDNA 6 (2004) RAM variables (1997) Multiple Pulldowns (1997) Emailer choke (1997) Hosts who have upgraded to v5.0? (2003) Getting total number of items ordered (1997) WC2.0 Memory Requirements (1997) NT Version on IIS 4.0 (1997) quantity minimum problem (1997) Part Html part WebDNA (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) [WebDNA] Can webDNA be forced to be able to read ANY file in ANY folder in a (2018)