Hello,
i have updated a site with PHP 5.3.27
from Joomla! 2.5.28 with VirtueMart 2.6.14
to Joomla! 3.4.8 with VirtueMart 3.0.12
everything works fine but in front page top ten products are always the same with latest products.
Do you have any idea what's going wrong?
Thanks in advance.
do you have orders?
top 10 works on sales.
@PRO
No i don't have any orders.
The previous site didn't have orders too, but worked fine.
Is there any problem with the database?
Thank you.
what do you mean worked fine?
Top 10 products works by best selling
as Pro says.. needs sales
the query snippet is
case 'topten':
$orderBy = ' ORDER BY p.`product_sales` DESC, `virtuemart_product_id` DESC';
if there are no sales then will default to product id order
as will Latest if they are all the same date
Ok i understand.
That way was working and the previous version of virtuemart?
I am asking because and the previous version didn't have any orders ever but the the latest and top ten products wasn't the same ever.
Thank you.
no idea... but who cares? As soon as you add some new prods or make some sales they will be different
maybe its enough to add some "Booked, ordered" in the product status tab
Ok thanks a lot :)
you could always use csv improved to modify the sales of products