Re: Counter for SKUs viewed

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43877
interpreted = N
texte = Or... You could do something like this with the addition of a VIEWS field to your catalog.db [search catalog.db&eqSKUdatarq=[sku]] [founditems] Blah... [founditems] [replacefounditems]VIEWS=[math][VIEWS]+1[/math][/replacefounditems] [/search]Saves a step anyhow..- Charles On 9/29/02 2:31 AM, Andrew Simpson wrote:> > put this in your products page that loads the product information by sku. > > [replace db=/db/counter.db&append=T]SKU=[SKU]&VIEW_COUNT=[math]1+[lookup > db=/db/counter.db&value=[SKU]&lookinfield=SKU&returnfield=VIEW_COUNT¬foun > d=0][/math][/replace] > > hth > > ----- Original Message ----- > From: Paul > To: WebCatalog Talk > Sent: Sunday, September 29, 2002 6:12 PM > Subject: Counter for SKUs viewed > > >> I would like to have a counter that logs the number of times a product is >> viewed so over time I can see which products people look at which are the >> most popular and which are never viewed etc. >> >> How would I go about doing this with webcat >> >> I dont really need any other info just a small database with sku and the >> number of times this sku was selected >> >> has anyone done this previously? >> >> Thanks >> Paul >> >> >> >> ------------------------------------------------------------- >> 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://search.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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Counter for SKUs viewed (charles kline 2002)
  2. Re: Counter for SKUs viewed (Andrew Simpson 2002)
  3. Counter for SKUs viewed (Paul 2002)
Or... You could do something like this with the addition of a VIEWS field to your catalog.db [search catalog.db&eqSKUdatarq=[sku]] [founditems] Blah... [founditems] [replacefounditems]VIEWS=[math][VIEWS]+1[/math][/replacefounditems] [/search]Saves a step anyhow..- Charles On 9/29/02 2:31 AM, Andrew Simpson wrote:> > put this in your products page that loads the product information by sku. > > [replace db=/db/counter.db&append=T]SKU=[SKU]&VIEW_COUNT=[math]1+[lookup > db=/db/counter.db&value=[SKU]&lookinfield=SKU&returnfield=VIEW_COUNT¬foun > d=0][/math][/replace] > > hth > > ----- Original Message ----- > From: Paul > To: WebCatalog Talk > Sent: Sunday, September 29, 2002 6:12 PM > Subject: Counter for SKUs viewed > > >> I would like to have a counter that logs the number of times a product is >> viewed so over time I can see which products people look at which are the >> most popular and which are never viewed etc. >> >> How would I go about doing this with webcat >> >> I dont really need any other info just a small database with sku and the >> number of times this sku was selected >> >> has anyone done this previously? >> >> Thanks >> Paul >> >> >> >> ------------------------------------------------------------- >> 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://search.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://search.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://search.smithmicro.com/ charles kline

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:

New public beta available (1997) FW: Shipping calculations (1997) Extended [ConvertChars] (1997) Bug or syntax error on my part? (1997) presetting variables ... (2000) Dubble Sku's in a Database (1999) [isfile] ? (1997) change the number format (1997) email server and webdna (2006) emailer stuck (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) No luck with taxes (1997) Sku numbers (1997) Setting up shop (1997) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) Reminder for beta testers (2000) Silly Question (2003) WebCat2: Found Items syntax, etc. (1997) Press Release hit the NewsWire!!! (1997) SetHeader Requirements (2002)