Skip to content

Commit

Permalink
Keep prdocut auto_item unused in AbstractProduct::getCssClass() (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Dec 18, 2024
1 parent d4c91ed commit 8d84e12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public function getCssClass()
$classes[] = $type->cssClass;
}

if ($this->alias === Input::getAutoItem('product')) {
if ($this->alias === Input::getAutoItem('product', false, true)) {
$classes[] = 'active';
}

Expand Down

0 comments on commit 8d84e12

Please sign in to comment.