Re: Can't use old cart file (was Re: One more try)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14193
interpreted = N
texte = On 10/28/97 8:55 AM, natasha wrote:>2. The Add to new cart adds the products fron this template to shopping >cart, but then if I try to add some products also from the catalog, It adds >them to some new cart, and not to the same cart I was adding items from >previous order. It looks like when I go to catalog items, WC creates another > cart inspite of the fact, that another one (to which I've been adding from >old order) already exists.You have to pass the cart variable from page to page. Even if they go to inconsequential pages. If the variable isn't passed through the link ie then it must be hidden in a form. When I develop webcat sites I take the easy way out and make my index page index.tmpl, then my cart gets assigned and all my links, unless they contain real webdna, look like this: links to the homepage look like: This way there is no opportunity for my shopper to exit the shopping cart and get assigned another number. This works on the mac if you are using a product like welcome clearlyhome or homedoor2.0. Be sure all of your pages have the tag or webcat won't know to process the page Robert Minor__________________________________________________________ CyberMill Website Designers & Publishers 8616 Joseph Ave St. Louis, MO 63144 voice 314-962-4024 email: webmaster@cybermill.com http://www.cybermill.com/ __________________________________________________________ We are not responsible for any misspelling or misinformation please check with your internet provider for defects. Associated Messages, from the most recent to the oldest:

    
On 10/28/97 8:55 AM, natasha wrote:>2. The Add to new cart adds the products fron this template to shopping >cart, but then if I try to add some products also from the catalog, It adds >them to some new cart, and not to the same cart I was adding items from >previous order. It looks like when I go to catalog items, WC creates another > cart inspite of the fact, that another one (to which I've been adding from >old order) already exists.You have to pass the cart variable from page to page. Even if they go to inconsequential pages. If the variable isn't passed through the link ie
[cart]> then it must be hidden in a form. When I develop webcat sites I take the easy way out and make my index page index.tmpl, then my cart gets assigned and all my links, unless they contain real webdna, look like this: [cart]> links to the homepage look like: [cart]> This way there is no opportunity for my shopper to exit the shopping cart and get assigned another number. This works on the mac if you are using a product like welcome clearlyhome or homedoor2.0. Be sure all of your pages have the tag or webcat won't know to process the page Robert Minor__________________________________________________________ CyberMill Website Designers & Publishers 8616 Joseph Ave St. Louis, MO 63144 voice 314-962-4024 email: webmaster@cybermill.com http://www.cybermill.com/ __________________________________________________________ We are not responsible for any misspelling or misinformation please check with your internet provider for defects. Bob Minor

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:

Opinion: [input] should be called [output] ... (1997) Admin User - Users.db (1999) Weird error/limit - something amiss? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Nesting format tags (1997) How do I specify a & character in Grep? (2000) New Command prefs ... (1997) [BULK] [WebDNA] Suggested Platform (2013) WebCat2 Append problem (B14Macacgi) (1997) Strange error (2000) Math Bug - more testing (1999) [isfile] ? (1997) ShowNext (1997) Problem: 3.0 doesn't update carts (1997) Limit on nested [ShowIf]'s? (1997) Follow-Up to: Removing [showif] makes a big difference in speed (1997) Pithy questions on webcommerce & siteedit (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) dynamic list of form variables (2003) Is there an easier way? (1998)