Our Feature Items: SM Market // SM Destino // SP Revo
Shopping cart (0)

How To Fix Mega Menu Issue on Magento 1.9 - MagenTech Themes?

Rate this item
(1 Vote)
Written by  Sarah
Friday, 22 June 2018 16:41

How To Fix Mega Menu Issue on Magento 1.9 - MagenTech Themes? - 5.0 out of 5 based on 1 vote

Hi  you guys,

A small mega menu issue was reported few hours on the Magento 1.9 themes of MagenTech. If you are using our Magento 1.9 themes and meet the following issue, let's view this quick tutorial to fix this bug.

Magento 2 Google Analytics

When you going to SM Mega Menu > Menu Item Manager, you will meet this error:

magento 2 newsletter

To fix this issue, please go to app/code/local/Sm/Megamenu/Block/Adminhtml/Menuitems/Grid.php file > find line 39:

->columns('CONCAT( REPEAT( "'.Sm_Megamenu_Model_System_Config_Source_Prefix::PREFIX.' ", (COUNT(parent.depth) - 1) ) , main_table.title) AS name')

replaced it by:

->columns(new Zend_Db_Expr('CONCAT( REPEAT( "'.Sm_Megamenu_Model_System_Config_Source_Prefix::PREFIX.' ", (COUNT(parent.depth) - 1) ) , main_table.title) AS name'))

Thanks for reading!

Google+