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:
>>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:
Cart Unique After Rolling Back Time? (2001)
emailer (1997)
Generating Report Totals (1997)
Resume Catalog ? (1997)
[WebDNA] Random Numbers no repeat within a range (2014)
Merry Christmas! :) (1998)
RE: Languages (1997)
Request for page test (2003)
[WebDNA] Syntax Error? (2009)
emailer (1997)
TCP Connect (2000)
WebCatalog.acgi quitting with error Type 2 (1998)
WebDNA Windows 5.0 sendmail bug (2003)
Upload Plugin (1998)
Lookup question (2001)
[INCLUDE] Limitations (1998)
Help name our technology! (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Modifying order output (1997)
[setcookie] & [redirect] (1998)