We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c2f9d4 commit 00db820Copy full SHA for 00db820
1 file changed
classes/Hook/HookDisplayFooter.php
@@ -87,7 +87,7 @@ public function run()
87
88
$listing = $this->context->smarty->getTemplateVars('listing');
89
$productWrapper = new ProductWrapper($this->context);
90
- $products = $productWrapper->wrapProductList($listing['products'], [], true);
+ $products = $productWrapper->wrapProductList(isset($listing['products']) ? $listing['products'] : [], [], true);
91
92
if ($controller_name == 'order' || $controller_name == 'orderopc') {
93
$this->module->js_state = 1;
0 commit comments