X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Downloads or how many times one product was sold. (https://forum.x-cart.com/showthread.php?t=43134)

clik 10-21-2008 07:06 AM

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.

:wink: 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.

JWait 10-21-2008 04:38 PM

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?

clik 10-21-2008 06:23 PM

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? :roll:

Yurij 10-22-2008 12:35 AM

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? :roll:


add next code for the file "skin1/customer/main/product.tpl"
PHP Code:

sales: {$product.sales_stats}<br /> 



All times are GMT -8. The time now is 10:17 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.