N
N
noys2015-03-18 10:28:46
opencart
noys, 2015-03-18 10:28:46

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

1 answer(s)
Y
yskl24, 2021-09-01
@yskl24

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 question

Ask a Question

731 491 924 answers to any question