Counting the number of sold product
crocmorts:
Hello, I'm newbie in this website and like Virtuemart user.
I would like to know how to count the number of sold product or the number of user whose purchased one specific product.
For example : groupon.com
I already search a module/components whose do the same but I don't see anything.
Someone has a solution?
Thanks in advance and sorry for my English.
William.
mwenz:
Hello William,
In the Virtuemart back-end, there is a report menu selection. There is a check box to view the Individual Product Listings. With that selected you can see how many of what products were sold during the selected period.
If you want to alter that report to show more data, you can look at this thread:
http://forum.virtuemart.net/index.php?topic=75549.0
Take care, Mike
crocmorts:
Thank you Mike.
Actually I see the report data and it's already a good step but I would like exploit the sum of one product sold.
For example in a product description you could see :
This product has been sold xxx times.
Of curse, we can imagine to create a variable from the stock value : fix a virtual stock of 100 articles and do X = 100-stock_value.
But this solution is not clean.
Have you got an idea?
Thanks for your help.
William.
IntraX:
There are at least 2 sales analytics and statistic extensions available for VM, one is just presented in the forum, http://forum.virtuemart.net/index.php?topic=76731.0. Unless those are fully ioncubed it should be no problem to create a frontend variable to display explicit data from those statistics in the front-end.
Maybe ask this question in this thread.
mwenz:
Hello William,
I would take a peak at the report php file. *If* the count of products that are sold are stored and not simply generated when the report is opened, you can look to see what that field is and try to incorporate it.
I haven't looked to see what/how the report displays that information, though. You wouldn't likely want to run the query on each page load if that is how the report does it. However, if it is only a runtime display, you may be able to create a new field in the appropriate table and modify the report to save that information when it is ran and then display and format the string you wish to have.
But...if there is an extension that does this, that would definitely be the easiest way to proceed.
Take care, Mike
Navigation
[0] Message Index
[#] Next page