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:
Webcat 3 Bug?!?! Netscape + Protect + Posted Form (1998)
WebCAT 3.x (2002)
FileMaker and WebCat - .hdr OK Merge not OK (1999)
Unique SKU Numbers (2000)
SendMail - Idea (2000)
This might sound silly... (2000)
[WebDNA] anyone build a webdna tab library for dreamweaver? (2008)
WebCatalog2 Feature Feedback (1996)
WebCat website for developers and hosters (2001)
Database field limit? (1998)
[OT] was SQL Query Question (2001)
[WriteFile] problems (1997)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Appending Information from one db to another (1998)
WebCatalog can't find database (1997)
Problem with updating 2.1b7 -> 2.1.1 (1998)
WebCat2: Master Counter snippet (1997)
Shipping charges depending on tax rate? (1997)
psst (1997)
browser info.txt and SSL (1997)