Jump to content

[BUG] Featured and New products do not match customer group


Recommended Posts

Hello,

 
I am creating multiple customer groups for my shop , I would like to show certain products for specific type of customers. Prestashop already has that option to create different customer groups and assign them for a category.

 

That's great  however when you log in with a user belonging to a customer group, featured products in the home page as well as the new products show items from other customer groups.

 

The bug comes from the function getProducts in the Products.php class.

That's a problem with the sql query and I can't figure out how to fix it!

Any help please?

 

Thanks,

Link to comment
Share on other sites

×
×
  • Create New...