Re: Calculate UnitShipCost in Formulas.db

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24864
interpreted = N
texte = > >I tried this and doesn't work. >in the invoice.tmpl I put inside the [lineitems] context something like: >[line items] >[SetLineItem >cart=[cart]&index=[lineindex]&db=products.db]unitShipCost=[math][unitShipCo >st]*[lookup >db=FactorFlete.db&value=[shipVia]&lookinfield=ShipCity&returnfield=ShipFact >or][/math][/SetLineItem]$[format thousands .2f][unitShipCost][/format] >[/lineitems] > >It show the unitShipCost I have in the database but not the one >calculated into the [setlineitems] context.You must use the price change password to change the unitshipcost in a setlineitem context. The default password is password this can be changed in the WebCatalog preferences.Here is the syntax: [setlineitem cart=[cart]&index=[lineindex]]unitshipcost=[whatever]&password=passwor d[/setlineitem]This is a security feature of WebCatalog.John Jakovich | ==Ecommerce and Beyond== Smith Micro Software Inc. | http://www.smithmicro.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Calculate UnitShipCost in Formulas.db (Smith Micro Support 1999)
  2. Re: Calculate UnitShipCost in Formulas.db (Rodolfo de la Garza 1999)
  3. Re: Calculate UnitShipCost in Formulas.db (Chris Vargas 1999)
  4. Calculate UnitShipCost in Formulas.db (Rodolfo de la Garza 1999)
> >I tried this and doesn't work. >in the invoice.tmpl I put inside the [lineitems] context something like: >[line items] >[SetLineItem >cart=[cart]&index=[lineindex]&db=products.db]unitShipCost=[math][unitShipCo >st]*[lookup >db=FactorFlete.db&value=[shipVia]&lookinfield=ShipCity&returnfield=ShipFact >or][/math][/SetLineItem]$[format thousands .2f][unitShipCost][/format] >[/lineitems] > >It show the unitShipCost I have in the database but not the one >calculated into the [setlineitems] context.You must use the price change password to change the unitshipcost in a setlineitem context. The default password is password this can be changed in the WebCatalog preferences.Here is the syntax: [setlineitem cart=[cart]&index=[lineindex]]unitshipcost=[whatever]&password=passwor d[/setlineitem]This is a security feature of WebCatalog.John Jakovich | ==Ecommerce and Beyond== Smith Micro Software Inc. | http://www.smithmicro.com------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Smith Micro Support

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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Anybody free... (2003) I have observed and I am gone. (1998) [shownext] and sort (1998) emailer w/F2 (1997) Three new problems, maybe a fourth (1997) problems with 2 tags (1997) Another calendar... (2002) Shopping Cart variation... (1997) Re:2nd WebCatalog2 Feature Request (1996) Location of Browser Info.txt file (1997) WebMerchant / Authorize.net and Secure order processing (2000) WebCat2 several catalogs? (1997) best way to test for the existence of a parameter in a url (2003) New syntax feedback for 4.0 (2000) Menu to select product variations (1997) Header info in content (1998) setcookie expires (2004) Email Set-Up? (1997) WC1.6 to WC2 date formatting (1997)