News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Top ten products and latest products problem

Started by tsapman, February 25, 2016, 23:50:34 PM

Previous topic - Next topic

tsapman

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.

PRO


tsapman

#2
@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.

PRO

what do you mean worked fine?

Top 10 products works by best selling

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tsapman

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.

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tsapman


PRO

you could always use csv improved to modify the sales of products