Edit by Khouloud
Steps to reproduce the issue:





ps_categoryproducts section, it shouldn'tI described a bug in products category i have a shop with many categories and sub categories when i add product and select home category / sub category / sub category module ps_categoryproducts show all products and not products in current sub category thanks.
Hi @qwebdevel,
I did not manage to reproduce the issue with PS1.7.6.3 and ps_categoryproducts module v1.0.4.
I attached a screen record
https://drive.google.com/file/d/1kg9o4RX61cUgZjWlUKx3zyHGwwruzzwp/view
Thanks to check & feedback.
Hi @khouloudbelguith just check url in product and url category is not the same and when you add product in category in ps_category module show all products not only the products in current category so i think this is not a module bug sorry for misunderstanding i don't explain the problem very well when you go in category url structure is /home/category/sub category/ when go to product url structure is /home/product_url need to be same like category
@qwebdevel, it is an option in the ps_facetesearch module.
"Show products from subcategories" is enabled in your case, you need to disable it.

Thanks to check & feedback.
@khouloudbelguith just make new product add in /category/sub-category/sub-category and look url in domain is domainname.com/category/product_url after this with menu go to last sub category and go to product see url is domainname.com/category/sub-category/sub-category/product_url so urls don't match i think this is not module problem.
I will give you example i have watches site for my case is for casio so i make category and sub category /men/g-shock i add g-shock watch in /men/g-shock after this i make second category and called /men/edifice i add edifice watch when i go to edifice watch or g-shock watch i see both in ps_category module which is in the end of product so i think there is problem related with product urls
@qwebdevel,





ps_categoryproducts section? is it?Thanks to check & feedback.
khouloudbelguith, i check this option just hide products in sub categories i don't need to hide products
@qwebdevel,
i check this option just hide products in sub categories i don't need to hide products
Yes!, This is another issue.
Can you confirm these steps: https://github.com/PrestaShop/PrestaShop/issues/17902#issuecomment-593853467 please?
Is this the real issue in your case?
Thanks!
@khouloudbelguith, Yes is real issue :) in ps 1.6 show only product in current category where is product in ps 1.7 show all like mixed content when client looking for watch don't need to see panties or something else :)
Yes this is the problem thank you for understanding and looking for problem deeply
@qwebdevel,
Thanks for your report.
I manage to reproduce the issue with PS1.7.5.2 and PS1.7.6.3 using the ps_categoryproducts module v1.0.4.
With PS1.6.1.24 and productscategory module v1.8.1 it was ok.
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!