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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

InternetWeek E-Commerce article (1998) [Sum] function? (1997) using showpage and showcart commands (1996) Superfilous Characters (1998) webcat method for waiting specific amount of time? (2000) Tracking (2004) Moment of Thanks (1997) (no subject) (1997) [GROUPS] followup (1997) Help name our technology! I found it (1997) hiding links (1999) For those of you not on the WebCatalog Beta... (1997) Re:2nd WebCatalog2 Feature Request (1996) Protecting a folder (2000) Bug Report, maybe (1997) Search bug. Help (2002) Bug Report, maybe (1997) Trouble Searching (1999) OFF Topic - Web-Stat App (2003) Help! (2000)