Re: quickfix for view cart in storebuilder ???

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45702
interpreted = N
texte = FWIW, I am upgrading a store I built using the Storebuilder stuff about a year and a half ago, and I am going to [include] a 'mini-cart' on each page so people can always see (basically) what is in their cart and click it to go to the full cart.No, I don't have working code at the moment, but I figure it's pretty easy using the existing cart code and some [getchars] magic.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------On Sun, 24 Nov 2002 20:17:55 -0600 Donovan Brooke wrote: >I didn't like this also. I made a simple fix for this for one of my sites. >put this in the matching 's in the default.tpl > >-- > > ![LEFT_PANEL_GRAPHIC]]background=[LAYOUT_GRAPHIC_PATH][LEFT_PANEL_GRAPHIC] >[/ShowIf]WIDTH=[LEFT_PANEL_WIDTH] valign=top [ShowIf >![LEFT_PANEL_COLOR]]bgcolor=[LEFT_PANEL_COLOR][/ShowIf] align=center>[include >file=search.inc] > [orderfile cart=[cart]] > [text]count=0[/text] > [lineitems] > [showif [lineindex]>[count]] > [text]count=[lineindex][/text] > [/showif] > [/lineitems] > [/orderfile] > [showif [count]>0] > You currently have
> [count] item[showif [count]>1]s[/showif] in your
> Basket

> Click Here to
> view your cart

>
> [/showif]



> > ![BODY_PANEL_GRAPHIC]]background=[LAYOUT_GRAPHIC_PATH][BODY_PANEL_GRAPHIC] >[/ShowIf][ShowIf ![BODY_PANEL_COLOR]]bgcolor=[BODY_PANEL_COLOR][/ShowIf]>[include >file=[body_include]] > > >-- > >(you only need the added WebDNA of course.. but I tagged on some surrounding code >so you know where I put it.) > >See it in action at: >www.crystalforge.net > >cheers, >Donovan > > > >Joe D'Andrea wrote: > >> A store built with storebuilder does not do anything to show to >> shopper that something has happened when they add an item to the >> shopping cart. Sure, the shopper can clikc on View Cart and see if >> there is anything in the cart. Most (many) other carts either show >> the cart or say something like Item added to cart after each time >> that an item is added. I can go ahead and code something up, but I'm >> wondering if someone has already done something that they would like >> to share. >> >> Thaknks, >> ~joe >> >> > > >------------------------------------------------------------- >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/------------------------------------------------------------- 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:

    
  1. Re: quickfix for view cart in storebuilder ??? (Dan Strong 2002)
  2. Re: quickfix for view cart in storebuilder ??? (Donovan Brooke 2002)
  3. quickfix for view cart in storebuilder ??? (Joe D'Andrea 2002)
FWIW, I am upgrading a store I built using the Storebuilder stuff about a year and a half ago, and I am going to [include] a 'mini-cart' on each page so people can always see (basically) what is in their cart and click it to go to the full cart.No, I don't have working code at the moment, but I figure it's pretty easy using the existing cart code and some [getchars] magic.-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------On Sun, 24 Nov 2002 20:17:55 -0600 Donovan Brooke wrote: >I didn't like this also. I made a simple fix for this for one of my sites. >put this in the matching 's in the default.tpl > >-- > > ![LEFT_PANEL_GRAPHIC]]background=[LAYOUT_GRAPHIC_PATH][LEFT_PANEL_GRAPHIC] >[/ShowIf]WIDTH=[LEFT_PANEL_WIDTH] valign=top [ShowIf >![LEFT_PANEL_COLOR]]bgcolor=[LEFT_PANEL_COLOR][/ShowIf] align=center>[include >file=search.inc] > [orderfile cart=[cart]] > [text]count=0[/text] > [lineitems] > [showif [lineindex]>[count]] > [text]count=[lineindex][/text] > [/showif] > [/lineitems] > [/orderfile] > [showif [count]>0] > You currently have
> [count] item[showif [count]>1]s[/showif] in your
> Basket

> [cart]&ra=[random][random]>Click Here to
> view your cart

>
> [/showif]



> > ![BODY_PANEL_GRAPHIC]]background=[LAYOUT_GRAPHIC_PATH][BODY_PANEL_GRAPHIC] >[/ShowIf][ShowIf ![BODY_PANEL_COLOR]]bgcolor=[BODY_PANEL_COLOR][/ShowIf]>[include >file=[body_include]] > > >-- > >(you only need the added WebDNA of course.. but I tagged on some surrounding code >so you know where I put it.) > >See it in action at: >www.crystalforge.net > >cheers, >Donovan > > > >Joe D'Andrea wrote: > >> A store built with storebuilder does not do anything to show to >> shopper that something has happened when they add an item to the >> shopping cart. Sure, the shopper can clikc on View Cart and see if >> there is anything in the cart. Most (many) other carts either show >> the cart or say something like Item added to cart after each time >> that an item is added. I can go ahead and code something up, but I'm >> wondering if someone has already done something that they would like >> to share. >> >> Thaknks, >> ~joe >> >> > > >------------------------------------------------------------- >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/------------------------------------------------------------- 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/ Dan Strong

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:

[OT] SSL (2003) PSC recommends what date format yr 2000??? (1997) Possible Macv2.1b2 Merge Bug (1997) Summing fields (1997) Re:WebCatalog/WebMerchant III (1998) WebCat2.0 [format thousands .0f] no go (1997) Use WebCat to search files in a folder like a search engine? (2001) ShowNext (1997) Aaron kant add (or whatever it was) (2000) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Exclamation point (1997) system crashes, event log (1997) Thanks Grant (1997) WebCat2 beta 11 - new prefs ... (1997) View order not right (1997) 2nd WebCatalog2 Feature Request (1996) no global [username] or [password] displayed ... (1997) Relevancy Rating (1998) [WebDNA] v7 with SSL (2012) expired beta (1997)