numero = 20528
interpreted = N
texte = I think some of the confusion comes down to the method used in the Tiny Store to add items to the cart. The method used is dependent on a particular sort order, but does not specify the order. It would be better to do the following on the entry page:[Search db=catalog.db&neSKUdata=[blank]][FoundItems]BuySize:Qty:[title]: $[price] [/foundItems][/Search]Then, on the invoice page, use the [formvariables] context to add the skus of all the form varaibles checked:[formvariables name=item&exact=f][math show=f]the_index=[getchars start=6][name][/getchars][/math][AddLineItem db=[db]&cart=[cart]&sku=[url][value][/url]]quantity=[interpret][qty_[math]the_index[/math]][/interpret]&textA=[interpret][size_[math]the_index[/math]][/interpret] [/AddLineItem][/formvariables]This eliminates the guess-work out of which items to add to the cart and hopefully makes the interaction easier to understand.John. John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Tiny Store / Checkboxes (John Hill 1998)
I think some of the confusion comes down to the method used in the Tiny Store to add items to the cart. The method used is dependent on a particular sort order, but does not specify the order. It would be better to do the following on the entry page:[Search db=catalog.db&neSKUdata=[blank]][founditems]BuySize:Qty:[title]: $[price] [/foundItems][/Search]Then, on the invoice page, use the [formvariables] context to add the skus of all the form varaibles checked:[formvariables name=item&exact=f][math show=f]the_index=[getchars start=6][name][/getchars][/math][AddLineItem db=[db]&cart=[cart]&sku=[url][value][/url]]quantity=[interpret][qty_[math]the_index[/math]][/interpret]&textA=[interpret][size_[math]the_index[/math]][/interpret] [/AddLineItem][/formvariables]This eliminates the guess-work out of which items to add to the cart and hopefully makes the interaction easier to understand.John. John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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...