Re: Can this be done?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12272
interpreted = N
texte = >Is it possible to have WebCat. randomly pick (4) of you 2,000 products/sku's,>take 5% off of the price, display the info., i.e. name, description, sku,>etc..., on a page for 24 hours, and than change it to (4) other items for the>next 24hrs.?Not a problem, although it requires some thorough knowledge of databases and WebDNA. Ken uploaded a sample called DailyTotals, I think, that shows how to perform something only once a day. As for the rest, you can pick 4 by doing a search with a random sort and max=4, then either render those 4 out to a static HTML page, or mark them in your catalog as being today's specials. If you add a field that marks them as specials, then you can create a price formula that does the discount if it sees the 'specials' flag set.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Is it possible to have WebCat. randomly pick (4) of you 2,000 products/sku's,>take 5% off of the price, display the info., i.e. name, description, sku,>etc..., on a page for 24 hours, and than change it to (4) other items for the>next 24hrs.?Not a problem, although it requires some thorough knowledge of databases and WebDNA. Ken uploaded a sample called DailyTotals, I think, that shows how to perform something only once a day. As for the rest, you can pick 4 by doing a search with a random sort and max=4, then either render those 4 out to a static HTML page, or mark them in your catalog as being today's specials. If you add a field that marks them as specials, then you can create a price formula that does the discount if it sees the 'specials' flag set.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
random random links (1999)
Problems with Summary and WEBCAT (1999)
[WebDNA] How to stop cutting a word (2008)
WebCat2b12--[searchstring] bug (1997)
Problem with updating to 2.1.1 (1998)
restarting service remotely on NT (1997)
purchase.log file (1997)
WebCat 5 Intranet Question (2003)
[isfile] ? (1997)
Bug Report, maybe (1997)
Virtual Domains (1998)
Custom WebCat Prefs ... (1997)
searchable list archive (1997)
Restart of DBserver (1997)
[CART] (1997)
Img in goodpath (2001)
Change 2.0 to 2.1: Carts files not written to disk automatically (1998)
Showing unopened cart (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
[WebDNA] SMTP via gmail is NOT POSSIBLE (2013)