Answer the question
In order to leave comments, you need to log in
How to take into account only the current category in Opencart in the Bestsellers module?
Good afternoon,
I would like to know how to modify the "Bestsellers" module so that when it is placed on category pages, products from the current category are displayed only, and when the module is placed on the main / product page / other pages, popular products from the entire store are shown?
Answer the question
In order to leave comments, you need to log in
Hello. I just saw your question, better late than never))
"so that when placing it on category pages, products are shown only from the current category" - you can use the "Stickers" module for this task.
"and when the module was placed on the main / product page / other pages, popular products from the entire store were displayed" - and here just use the "Bestsellers" module and place it on the "Home" in the "Schemes" section.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question