Magento Plugins

Load normal product price instead of indexed product price

Would you like to ignore the indexed product price in the templates (for example in catalog/product/list.phtml where the indexed price is used)? Then go to: catalog/product/list.phtml Change: With: There are two occurrences in list.phtml, so don’t forget to replace it twice. Only do this when it’s the only solution of displaying right prices, since loading […]

Load normal product price instead of indexed product price Read More »

Magento Contact Form Attachment Functionality

Would you like to have attachments in your contact form in Magento? Do the following: Clone the zip of this github: https://github.com/yogisfunda/magento-contact-form-attachment Upload (merge) the files into the public_html directory Recompile/flush cache Go to your-site.com/contacts If the form does not changes or there’s a blank page, move the contents of the frontend/default part to frontend/base. You

Magento Contact Form Attachment Functionality Read More »

Magento admin category tree shows no sub categories

Ever had that the category tree does not show specific subcategories that are present though? Than follow these steps: 1. Make a backup for if anything goes wrong (running all the steps is on your own risk of course). 2. Run this query SELECT c.entity_id, c.children_count as original_children_count, COUNT(c2.children_count) as `children_count`, c.level as original_level, (LENGTH(c.path)-LENGTH(REPLACE(c.path,’/’,”))) as

Magento admin category tree shows no sub categories Read More »

Magento A/B testing or Multivariate testing – Php script

Split test A/B PHP Script Magento is quite limited in tools like conversion optimalisation like A/B testing or multivariate testing. That is why I created a very simple php script that you can put directly into a phtml file. It’s a bit hacky, that it’s not via the core, but it works though and is

Magento A/B testing or Multivariate testing – Php script Read More »

Lesti::Fpc and layered navigation (Vinagento and Amasty)

How to let Lesti::FPC Full page caching work with Vinagento Layered Navigation in Ajax mode? I just tried some random settings and this seemed to work: In System->Configuration->Sytem->Lesti FPC add the following to Session Params: catalogsearch_advanced_result_ajax, catalog_category_ajax_view, catalog_category_layered_ajax, catalogsearch_result_ajax In System->Configuration->Sytem->Lesti FPC add the following to Uri Params: id, category, page_id, p, limit, dir, order,

Lesti::Fpc and layered navigation (Vinagento and Amasty) Read More »

Module error message: MediabrowserUtility is not defined

If you install a custom module in Magento it could lack the TinyMce Mediabrowser. You get the following message then: error: error in [unknown object].fireEvent(): event name: open_browser_callback error message: MediabrowserUtility is not defined How to fix this? Quick fix In /app/design/adminhtml/default/default/layout/YOURMODULE.xml add: 1 js_cssprototype/windows/themes/default.css js_cssprototype/windows/themes/magento.css lib/prototype/windows/themes/magento.css Or change to Long solution (may not work)

Module error message: MediabrowserUtility is not defined Read More »

Add an image field in your admin plugin (by example AW Blog)

Add an image field to plugins like AW Blog Edit in /app/code/community/AW/Blog/Block/Manage/Blog/Edit/Tab/Form.php $fieldset->addField(‘filename’, ‘file’, array( ‘label’ => Mage::helper(‘blog’)->__(‘Image’), ‘required’ => false, ‘name’ => ‘filename’, ‘after_element_html’ => ‘Formaat 125 x 118 pixels’, )); Edit in /app/code/community/AW/Blog/controllers/Manage/BlogController.php after: public function saveAction() { if ($data = $this->getRequest()->getPost()) { Add: if(isset($_FILES[‘filename’][‘name’]) && $_FILES[‘filename’][‘name’] != ”) { try { /*

Add an image field in your admin plugin (by example AW Blog) Read More »

Scroll to Top