Re: quickfix for view cart in storebuilder ???

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45698
interpreted = N
texte = 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-- [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]



[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.netcheers, DonovanJoe 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/ 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)
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-- [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]



[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.netcheers, DonovanJoe 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/ Donovan Brooke

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:

WebCatalog stalls (1998) [ShowNext] feature in 2.0 (1997) Summing fields (1997) Classified (1999) Credit card processing - UK (1997) Separate SSL Server (1997) Searching Groups for multiple matches (1998) Week # problem (1998) Adding Multiple Items to Shopping Cart from a Results page (1997) New Featured Site (1999) Execute Applescript (1997) problem: type 2 errors (1997) WC2.0 Memory Requirements (1997) Search/sort in URL Was: GuestBook example (1997) problems with 2 tags (1997) How to Display text in empty fields (1997) Need relative path explanation (1997) [WebDNA] anyone get MaxMind geolite city working? (2012) killer-format in cart (1998) Download capabilities (1997)