Click Fraud Protection
PHP related blog, freelancer to hire!

Posts Tagged magento

Magento and Cloud Computing

Magento and Cloud Computing

It is well known that Magento is not for everyone, especially not for merchants without technical knowledge are forced to use developers from different sources to get things done. There are many thing to worry about – which Magento version to choose, which theme will work best for the company profile […]

Read more

Magento downloadable are not supporting https (SSL) links

Google right now is pushing for websites to delivered over SSL, so no surprise that Magento merchants who sell digital goods, want to deliver files over HTTPS as well. Looks like a simple task – make file available then in your downloadables section – put https:// links […]

Read more

How to – magento performance toolkit – part 1

How to – magento performance toolkit – part 1

Ben Marks tweeted that Magento Performance Toolkit is available on github – https://github.com/magento/magento-performance-toolkit This is absolutely amazing news, as it has two very interesting functions first it can provision your vanilla magento installation and load all categories, products, taxes, rules secondly – it gives you ready to […]

Read more

Product review DATE in my account is incorrect (Magento)

Check template/review/customer/list.phtml replace with Noticed in Magento EE 1.11.0.2

Read more

How to access magento search results externally (Drupal, Joomla, Zend Framework, Symfony etc)

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

How to return all magento product SKUs in one SQL?

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

Send email to CustomerService team from magento

$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

Magento invoices mysql table located

If you’re looking where Magento stores its invoices, first step was to locate table sales_order_invoice, but such table doesn’t exists. Good starting point is always a Magento API, which shows you a little bit how to digg for information. I’ve located api.xml file responsible for invoices API […]

Read more

Converting price from one to another in magento

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

Fontis Recaptcha Magento Extension error solved

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