numero = 14062
interpreted = N
texte = >2) I could also put the HTML in the db to create a menu the shopper>would use to select the desired size.... something using>[ShowIf] so the option is available only when Size applies, and then>insert the form fields in the right place on the template so that [size]>is replaced with something like:>>
Size 5>
Size 6>
Size 7>
Size 8Depending on how many variations you have, this can go several ways. In all cases, I recommend using [include] to help you maintain consistency throughout your site.1) All products that are sizeable use the exact same list of sizes, and you have a database field called [needsSize] that is 'T' or 'F' if the product needs a size popup.--- SizePopup.inc ---Then use [ShowIf [needsSize]=T][include SizePopup.inc][/Showif]2) There are just a few different lists of sizesCreate SizePopup1.inc, SizePopup2.inc, SizePopup3.inc, each of which have the unique lists of sizes in them. Add a field to the database called [SizeType] that indicates which type of size poup it needs, 1, 2 or 3Then use [ShowIf [needsSize]=T][include SizePopup[SizeType].inc][/ShowIf]3) There is a huge variety of size lists, basically unique to each productEither put the literal HTML for the whole popup into a field in the database, or create a related database (linked by SKU) that has all the size listings in it for each SKU.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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...