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

Downloads or how many times one product was sold.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-21-2008, 07:06 AM
  clik's Avatar 
clik clik is offline
 

Advanced Member
  
Join Date: Mar 2006
Location: Canada
Posts: 30
 

Default Downloads or how many times one product was sold.

Hi,

I have a store with e-Goods and I'm trying to find a post (solution) on how to display "Downloads" on the product's description page. I assume that it should function the same way as Bestsellers function:
count how many times a product was purchased and then display this number on the product's page.

This could be good for any other stores as well not only for e-Goods.
I would appreciate if somebody knows how to do it.

Thank you.
__________________
__________________
XC5: 5.3.4.4
PHP: 7.0.26
MySQL server: 5.5.56-MariaDB
Reply With Quote
  #2  
Old 10-21-2008, 04:38 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Downloads or how many times one product was sold.

Since the downloads are sold shouldn't it work the same as any other product sold, meaning the most downloaded would be the best seller?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 10-21-2008, 06:23 PM
  clik's Avatar 
clik clik is offline
 

Advanced Member
  
Join Date: Mar 2006
Location: Canada
Posts: 30
 

Default Re: Downloads or how many times one product was sold.

Quote:
Originally Posted by JWait
Since the downloads are sold shouldn't it work the same as any other product sold, meaning the most downloaded would be the best seller?

yes, it should. I just need to be able to display it on the product's description page. Any idea how?
__________________
__________________
XC5: 5.3.4.4
PHP: 7.0.26
MySQL server: 5.5.56-MariaDB
Reply With Quote
  #4  
Old 10-22-2008, 12:35 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Downloads or how many times one product was sold.

Quote:
Originally Posted by clik
yes, it should. I just need to be able to display it on the product's description page. Any idea how?

add next code for the file "skin1/customer/main/product.tpl"
PHP Code:
sales: {$product.sales_stats}<br /> 
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 02:52 PM.

   

 
X-Cart forums © 2001-2020