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:
Links inside of Text Areas (2000)
no global [username] or [password] displayed ... (1997)
Template not found error messages (1997)
2nd WebCatalog2 Feature Request (1996)
Re:2nd WebCatalog2 Feature Request (1996)
Attn iTools / WebCat users.... (2004)
Location of Browser Info.txt file (1997)
emailer w/F2 (1997)
Forcing price recalculation in shopping cart (1998)
Summing fields (1997)
Exclude by date - multiple (1997)
Emailer error 550? (1999)
Bug? (1997)
search form problem.. (1997)
problem: search crashes webstar (1997)
question: webdelivery folder and file (1997)
multi-paragraph fields (1997)
Nested Includes (2001)
building / customizing stores (2000)
math on date? (1997)