Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Product views and amount of downloads

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-26-2008, 07:44 AM
 
pixelposh pixelposh is offline
 

Member
  
Join Date: May 2008
Posts: 19
 

Default Product views and amount of downloads

Hi All, Hope everybody is good and your stores are booming with business

Wanted to check for some advice or if anyone knows of some mods for the following.

I am building an xcart store that will sell just digital downloads,I want to show the customer in the product details pages how manny times a product has been viewed or purchased.

your help and thoughts would be great.

Thanks in advance.
Barry
__________________
4.1.10
Reply With Quote
  #2  
Old 09-26-2008, 07:50 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Product views and amount of downloads

The table "xcart_product" have next fields:
- view_stats;
- sales_stats.

You can use this.
Reply With Quote
  #3  
Old 09-26-2008, 08:29 AM
 
pixelposh pixelposh is offline
 

Member
  
Join Date: May 2008
Posts: 19
 

Default Re: Product views and amount of downloads

Hi Yurij

Thanks for the response

Would I have to create something in the php file and add some smarty code to pull in/update the values?

or can I just pull exisiting data from these tables?
__________________
4.1.10
Reply With Quote
  #4  
Old 09-26-2008, 08:48 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Re: Product views and amount of downloads

You can used these just the way there are in product.tpl

Viewed:{$product.views_stats}

Sold:{$product.sales_stats}

of course you can change "Viewed" or "Sold" to whatever you want
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #5  
Old 09-26-2008, 11:07 AM
 
pixelposh pixelposh is offline
 

Member
  
Join Date: May 2008
Posts: 19
 

Default Re: Product views and amount of downloads

Great Stuff, Thanks

Il give those a go
__________________
4.1.10
Reply With Quote
  #6  
Old 09-26-2008, 12:04 PM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Re: Product views and amount of downloads

Let me you if that doesnt work I already tested on the latest release.
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #7  
Old 09-27-2008, 12:24 AM
 
pixelposh pixelposh is offline
 

Member
  
Join Date: May 2008
Posts: 19
 

Default Re: Product views and amount of downloads

Lingerieblowout, Thank you so much, That works perfect and so easy
__________________
4.1.10
Reply With Quote
  #8  
Old 09-27-2008, 06:56 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Re: Product views and amount of downloads

Anytime
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:51 PM.

   

 
X-Cart forums © 2001-2020