Amasty multiple coupons bug fix for Magento 1.4.0.x
We installed the Amasty Mutiple Coupons extension for a client recently, but ran into a few hiccups immediately after installation. Fortunately, it is quickly fixed. In Amasty_Coupons_Model_Rewrite_Mysql4_Rule_Collection on line +62 + if (version_compare(Mage::getVersion(), '1.4.1.0', '>=')) $this->getSelect()->where('main_table.coupon_type = ?', Mage_SalesRule_Model_Rule::COUPON_TYPE_NO_COUPON); [syntaxhighlighter]
How to fix PaymentSense's gateway "orderStatus" error
We recently integrated the PaymentSense's gateway for one of our customers. While making some test transactions, we noticed the extension raised a basic PHP error on the callback: Undefined variable: orderState in /http/app/code/local/Paymentsense/Paymentsensegateway/controllers/PaymentController.php on line 812 Hopefully, this error will be fixed in their new release. Undefined variable: orderState The following fix removed the error … Continue reading
Yoast landing pages module with layered navigation
First, a thanks to the team at Yoast for a handy little module. We needed to add layered navigation to the result pane, but it appears others were struggling with a solution - so here's the answer! Create your CMS brand/focus page as normal, then add the Yoast_Filter block: <reference name="content"> <block type="Yoast_Filter/Result" name="filter_result" template="catalog/product/list.phtml"> … Continue reading
How to attach files using dataflow product import for Magento Aitoc Useful Downloads
Thanks to Aitoc for a handy extension, Useful Downloads, which allows downloads/attachments to be added to a normal simple product. We recently implemented this for a client but realised it lacked a little in functionality. We wanted to import a batch of new products, and add attachments at the same time (much like you would … Continue reading
Remove "Gift Message for this Order" from Magento emails
In Magento 1.4.1.0 the new gift message facility appears to be missing some relevant lines from the templates to be able to disable the "Gift Message for this Order" area from the email template. Thankfully, its an extremely quick fix. Open up ./app/design/frontend/base/default/template/email/order/items.phtml and wrap the final table with a conditional statement. <?php if(Mage::getStoreConfig('sales/gift_messages/allow_items')): ?> … Continue reading
Magento Sagepay Extension Ebizmarts faults and fixes
A client of ours needed to upgrade to a direct payment method for SagePay, so with Ebizmart's Sagepay approved extension, we grabbed a copy and popped it on. Unfortunately, it wasn't long before we started experiencing problems. We have contacted Pablo @ Ebizmarts who was relatively receptive about the issues, hopefully, they will be fixed … Continue reading
MySQL Limitations on the Flat Catalogue in Magento
We recently came across this problem with a customer who had painstakingly created every attribute possible for all his products. The result, a brilliantly user-friendly store, the downside, flat-catalogue product won't work! The error you are likely to see in Magento is as vague as Can't initialize indexer process. A table in MySQL has a … Continue reading
Split your Magento sitemap into smaller chunks
We deal with large scale e-commerce stores on a daily basis and a recent fix we had to implement was to allow the sitemap generated to be created in smaller chunks - so not to breach the 50,000 URL or 10MB limitation placed by Google Webmaster tools. We have packaged up this little extension for … Continue reading
Mass delete products in Magento
If you have a BIG catalogue - you soon find out that management via the admin can just become tedious. We performed a product import of 80,000 products which unfortunately was supplied with inaccurate information. Because of the complexity of the products and sheer volume of attributes- it is quicker to delete then reimport. But … Continue reading
Catalog Search Index refresh running slow or halting/freezing
A lot of people are starting to find that with large catalogues that the new indexing manager in Magento 1.4 may be starting to time out when generating Catalog Search Index - Rebuild Catalog product fulltext search index. This usually results in a blank screen when refreshing indexes or a index timeout error This is … Continue reading