Re:

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47324
interpreted = N
texte = Sure.Change the target of the link to the page that they are on from checkout.tpl to whatever page they are on. The page will then submit to itself. Add a snippet on the page like so:[orderfile [cart]] [lineitems] [showif [lineindex]>0] There are [lineindex] items in your shopping cart [[/showif] [/lineitems] [/orderfile]Having said that, I know nothing of StoreBuilder, which is what I assume you are talking about - my stuff is all custom built. There may be code on checkout.tpl that adds items to the cart, etc., so you'll have to move this code to the page in question if you want it to work properly.Good luck, let us know if you need help getting it working once you get started... On Friday, January 31, 2003, at 10:37 AM, Mark D. Laws wrote:> The built in options in Webcatalog for add to cart are 1) take the > customer to the shopping cart (checkout.tpl), or 2) take them back to > the home page (default.tpl). > > Anyone know of a way to keep the customer on the current page and > display a little item has been added to cart' message? > -- > > > > Mark D. Laws > Information Systems and eCommerce Manager > Campus Computer Store, The Scholar's Workstation > University of California, Berkeley > 2200 University Hall, Rm 41 > Berkeley, CA 94720 > > voice: (510) 642-3135 > fax: (510) 643-6201 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > --Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
Sure.Change the target of the link to the page that they are on from checkout.tpl to whatever page they are on. The page will then submit to itself. Add a snippet on the page like so:[orderfile [cart]] [lineitems] [showif [lineindex]>0] There are [lineindex] items in your shopping cart [[/showif] [/lineitems] [/orderfile]Having said that, I know nothing of StoreBuilder, which is what I assume you are talking about - my stuff is all custom built. There may be code on checkout.tpl that adds items to the cart, etc., so you'll have to move this code to the page in question if you want it to work properly.Good luck, let us know if you need help getting it working once you get started... On Friday, January 31, 2003, at 10:37 AM, Mark D. Laws wrote:> The built in options in Webcatalog for add to cart are 1) take the > customer to the shopping cart (checkout.tpl), or 2) take them back to > the home page (default.tpl). > > Anyone know of a way to keep the customer on the current page and > display a little item has been added to cart' message? > -- > > > > Mark D. Laws > Information Systems and eCommerce Manager > Campus Computer Store, The Scholar's Workstation > University of California, Berkeley > 2200 University Hall, Rm 41 > Berkeley, CA 94720 > > voice: (510) 642-3135 > fax: (510) 643-6201 > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > --Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ WJ Starck

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:

SSL and reg web*L and reg web* (1997) Entry point? Security w/ dbase helper? (1997) I think WebDNA-Talk died ... :( (1997) bug in Webcat OSX (1999) WebCat2 - [format thousands] (1997) re:check boxes (1997) [WebDNA] WebDNA not interpreting for directory (2014) For those of you not on the WebCatalog Beta... (1997) [WriteFile] problems (1997) Canadian Postal Codes (2001) [dos] command question (1997) Where is f2? (1997) [thisurl] file name? (1999) carriage returns in data (1997) Browser frames and URLs in the Location field (2004) date display (1999) HTML encoding in URLs (1997) Re:2nd WebCatalog2 Feature Request (1996) Bug or syntax error on my part? (1997) Webcat 2.0.1 date math bug -> Crash! (1997)