Posts Categorized: Magento

Magento Admin Menus

Posted by & filed under Magento.

Add a menu item to the top level admin menu Take a look at the Magento core file for CMS item is defined in app/code/core/Mage/Cms/etc/adminhtml.xml. Add a menu item as a child under an existing top level menu Take a look at another core file for the Wigets item of the CMS menu is defined… Read more »

Magento translate renderTotals()

Posted by & filed under Magento, PHP.

I had an issue where Magento was not picking up translation of “Free Shipping – Free” on my Checkout page. I got round this by adding a function inside /app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php inside the collect() function:

Foreign key restraints

Posted by & filed under Magento, mySQL.

Trying to import a Magento table into a database (drop table if exists) I got an error: The way to get round this is to remove the foreign key constraint CHECK, delete the table, then add the check again: