Shipcost Prob solved, new one arises
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16771
interpreted = N
texte = Hi,I solved my shipcost problem by doing a writefile of the total quantityinto a [cart].db file. Then, in the formula.db, I have it do a quick searchof that cart.db file and the cost that is found, based on that search,returns as the shipping cost.So basically it is as follows:writefile [cart].db and include in the file totqtyin formula.db, it does a search a shipcosts.db based on:[shipmeth][shipto][lookup] in the [cart].db of the totqtyand returns the appropriate cost.However, a new problem as arises, where as I have a quantity of 18.00 thatis in the db but, an amount of 18.01 is returned. I have had the sameproblem with the tax line too.Kevin
Associated Messages, from the most recent to the oldest:
| |
- Shipcost Prob solved, new one arises (Kevin Furuta 1998)
|
Hi,I solved my shipcost problem by doing a writefile of the total quantityinto a
[cart].db file. Then, in the formula.db, I have it do a quick searchof that cart.db file and the cost that is found, based on that search,returns as the shipping cost.So basically it is as follows:writefile
[cart].db and include in the file totqtyin formula.db, it does a search a shipcosts.db based on:[shipmeth][shipto]
[lookup] in the
[cart].db of the totqtyand returns the appropriate cost.However, a new problem as arises, where as I have a quantity of 18.00 thatis in the db but, an amount of 18.01 is returned. I have had the sameproblem with the tax line too.Kevin
Kevin Furuta
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:
WebCat2 several catalogs? (1997)
best way to store prefs (1998)
[date format] w/in sendmail (1997)
Problems adding stuff to the shopping cart. (1997)
[subtotal] and others (1997)
[WebDNA] Error: Can't open order file. Ignoring [OrderFile] context (2011)
[WebDNA] Captcha question (and free code) (2009)
Multiple Pulldowns (1997)
webcat and OS 8 (1997)
Need Sample Template - just purchased (1997)
(1997)
Upgrading old WebCat Database Files (1997)
upgrading (1997)
WebMerchant when CC network is down (1998)
version 2 for NT (1997)
eMailer replacement? (1998)
Triggers (1999)
form data submission gets truncated (1997)
Our Webcat site launched (1997)
[ShowIf] and empty fields (1997)