What's New
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Hi,
It requires to modify the \modules\stproductcategoriesslider\stproductcategoriesslider.php
Change the following code
foreach($products as &$product)
{
$product = $presenter->present(
$presentationSettings,
$assembler->assembleProduct($product),
$this->context->language
);
}
To
foreach($products as $key => &$product)
{
$product = $presenter->present(
$presentationSettings,
$assembler->assembleProduct($product),
$this->context->language
);
if ($quantity_all_versions <= 0) {
unset($products[$key]);
}
}
Then clear the Smarty cache.
Best regards.
You must be logged in to reply to this topic.