Re: pricing continued
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21093
interpreted = N
texte = >I'm still trying to get Webcatalog to provide me with pricing based on the>customer ID, and I think that I have it narrowed down to not finding my>formulas.db for some reason. For example, when I place the code:>[lookup db=price1.db&lookinfield=SKU&value=[SKU]&returnfield=price]>in my results.tpl, it displays the price I want. However, when I set my>formulas.db as follows I get 0.00 returned for the price in my cart.tpl:>price [lookup db=price1.db&lookinfield=SKU&value=[SKU]&returnfield=price]After you modified the Formulas.db, did you tell WebCatalog to flush itsdatabases so it can reload the new one from disk? And is there arecarriage return after the end of the line...WebCatalog can't see the lastline of a database if the last byte of the file is not a carriage return.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I'm still trying to get Webcatalog to provide me with pricing based on the>customer ID, and I think that I have it narrowed down to not finding my>
formulas.db for some reason. For example, when I place the code:>[lookup db=price1.db&lookinfield=SKU&value=[SKU]&returnfield=price]>in my results.tpl, it displays the price I want. However, when I set my>
formulas.db as follows I get 0.00 returned for the price in my cart.tpl:>price [lookup db=price1.db&lookinfield=SKU&value=[SKU]&returnfield=price]After you modified the
formulas.db, did you tell WebCatalog to flush itsdatabases so it can reload the new one from disk? And is there arecarriage return after the end of the line...WebCatalog can't see the lastline of a database if the last byte of the file is not a carriage return.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical 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:
Webcat run amuk (2002)
authorizenet and netscape (2002)
Does [Sendmail] create html? (2002)
Opinion: [input] should be called [output] ... (1997)
Secured Order Forms (1998)
[date] formatting bug inside [orderfile]? (1998)
Major Security Hole (1998)
Error Lob.db records error message not name (1997)
[PROTECT] Problem (2003)
Webmessage Hyperboard (1998)
WebCat2b12--[searchstring] bug (1997)
WebCatalog does not have enough memory message... HELP (2001)
WebCat and PIXO (2000)
WC Database Format (1997)
PLEASE REMOVE MY EMAIL ADDRESS (1997)
Opinion: [input] should be called [output] ... (1997)
Shell script within a sandbox (2005)
Need help with emailer- 2 issues (1997)
[Summary] re: Emailer setup (1997)
Do .tpls A Max File Size? (1998)