Jump to content

Problème meilleurs ventes


Recommended Posts

Bonjour, je viens de faire la mise a jour de prestashop et j'ai une erreur sur le bloque Meilleurs ventes :

Unknown column 'manufacturer_name' in 'order clause'

       SELECT p.*,
           pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`,
           i.`id_image`, il.`legend`,
           ps.`quantity` AS sales, t.`rate`, pl.`meta_keywords`, pl.`meta_title`, pl.`meta_description`
       FROM `ps_product_sale` ps 
       LEFT JOIN `ps_product` p ON ps.`id_product` = p.`id_product`
       LEFT JOIN `ps_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 2)
       LEFT JOIN `ps_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)
       LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 2)
       LEFT JOIN `ps_tax` t ON (t.`id_tax` = p.`id_tax`)
       WHERE p.`active` = 1
       AND p.`id_product` IN (
           SELECT cp.`id_product`
           FROM `ps_category_group` cg
           LEFT JOIN `ps_category_product` cp ON (cp.`id_category` = cg.`id_category`)
           WHERE cg.`id_group` = 1
       )
       ORDER BY `manufacturer_name` ASC
       LIMIT 0, 10



Comment faire?

Merci

Link to comment
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...