// fixed hover on blocktopmenu on selected shop
This commit is contained in:
@@ -572,7 +572,7 @@ class Blocktopmenu extends Module
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'SHOP':
|
case 'SHOP':
|
||||||
$selected = ($this->page_name == 'index' && (Tools::getValue('id_shop') == $id)) ? ' class="sfHover"' : '';
|
$selected = ($this->page_name == 'index' && ($this->context->shop->id == $id)) ? ' class="sfHover"' : '';
|
||||||
$shop = new Shop((int)$id);
|
$shop = new Shop((int)$id);
|
||||||
if (Validate::isLoadedObject($shop))
|
if (Validate::isLoadedObject($shop))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user