Jump to content

Recommended Posts

mon module stat pour le catalogue marche pour le catalogue complet mais quand je selectionne une categories ca me donne un message d''erruer

SELECT SUM(od.`product_quantity`) AS bought
FROM `ps_orders` o
LEFT JOIN `ps_order_detail` od ON o.`id_order` = od.`id_order`
LEFT JOIN `ps_category_product` cp ON cp.`id_product` = p.`id_product`
WHERE o.valid = 1
AND cp.`id_category` = 5

Quelque un sait ce quil se passe??

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More