Check template/review/customer/list.phtml replace with Noticed in Magento EE 1.11.0.2
Read more →Blast Search Lucene module enables you to get superquick results delivered to external application Options are: 1) if applications are on the same server you can simply include Magento code and use module method: $queryText = ‘stainless’; $storeId = 1; $mageFilename = ‘../path_to_your_magento_document_root/app/Mage.php’; require_once $mageFilename; umask(0);
Read more →Sometimes when you create some cart rules in magento you want to use condition that product SKU “is not one of” you can insert comma separated list of SKUs there to give you just idea look below connect to your database from CLI or use phpMyAdmin
Read more →$templateId = 1; # Transactional emails template $mailSubject = ‘your topic’; $sender = Array(‘name’ => Mage::getStoreConfig(‘trans_email/ident_support/name’), ‘email’ => Mage::getStoreConfig(‘trans_email/ident_support/email’)); $vars = Array(‘item’=>’item123′, # your vars ‘order’=>’order123′); $storeId = Mage::app()->getStore()->getId(); $translate = Mage::getSingleton(‘core/translate’); Mage::getModel(‘core/email_template’) ->setTemplateSubject($mailSubject) ->sendTransactional($templateId, $sender, $sender['email'], $sender['name'], $vars, $storeId); $translate->setTranslateInline(true);
Read more →I found snippet here, but it seems it is broken as second parameter (target currency) is expected to be object So correct would be $targetCurrency = Mage::getModel(‘directory/currency’)->load(‘EUR’); $price = round(Mage::helper(‘directory’)->currencyConvert($priceToConvert, ‘GBP’, $targetCurrency), 2);
Read more →If you have problem with Fontis Recaptcha Magento Extension like below, read. Invalid method Fontis_Recaptcha_Block_Review_Form::escapeHtml(Array ( [0] => Rating ) ) Problem is that some of the methods in template are using non existing method. This only happend on product review form page. edit app/design/frontend/default/default/template/fontis/recaptcha/form.phtml Replace: $this->escapeHtml(
Read more →
Recent comments