Re: [addlineitems]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15047
interpreted = N
texte = On 11/20/97 5:40 PM Grant Hulbert wrote >The idea for adding multiple items is to simply put as many [AddLineItem] >tags into the template as you need, one after the other.Ok I hope I am coming to realize how this tag works.I am doing a contextual search for a certain product, I list each of the types/colors of this product and the customer can check off a box to indicate that he would like to purchase this item. If he checks off 2 out of three. He/She would then depress the add this to my cart button and voila. It returns the shoppingcart.tpl with the added items. Given this I would then place in this results page a [addlineitem] pair for each of the products listed. ie here is the resultant code for the search page minus the pair.[search db=whittle.db&skusort=1&eqcategorydata=[url][category][/url]] [founditems] way slow (1997) [LOOKUP] (1997) WebCatb15 Mac CGI -- [purchase] (1997) Requiring that certain fields be completed (1997) Adding insurance to an order, round 2 (2003) Protecting a folder (2000) Price Not Appearing (2000) two unique banners on one page (1997) Checking whether remote image exists? (2004)