Jump to content
  • 0

Pobranie wszystkich produktów z kategorii powiązanej


bielu123

Question

Witam,

 

chcę pobrać produkty z kategorii powiązanej w module nowych produktów na stronie głównej. Niestety wygląda na to, że sposób w który próbuję to zrobić działa tylko dla domyślnych kategorii.

$category = new Category(27, (int) $this->context->language->id);
$newProducts = $category->getProducts((int) $this->context->language->id, 0, (int)Configuration::get('NEW_PRODUCTS_NBR'));
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...