Click Fraud Protection
PHP related blog, freelancer to hire!

Blog

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 Search – how to do it properly

Magento Search – how to do it properly

One of the main things that impact the number of sales on your Magento based store is definitely the Magento search function. Without a properly implemented search function, you users won’t be able to perform an adequate catalog search, which means that they won’t be able to […]

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

Zend Paginator – how to access objects, not data only

If you’re using Zend_Paginator, I’m sure on some point you’ll need to access your object instead of only data.   First of all you need to have your Zend_Db_Table defined with rowchild, for example if your table class is App_Model_Db_Books, add this variable protected $_rowClass = ‘App_Model_Db_Books_Row’; […]

Read more

How to calculate database size in MySQL using sql query?

SELECT count(*) TABLES, concat(round(sum(table_rows)/1000000,2),’M’) rows, concat(round(sum(data_length)/(1024*1024*1024),2),’G’) DATA, concat(round(sum(index_length)/(1024*1024*1024),2),’G’) idx, concat(round(sum(data_length+index_length)/(1024*1024*1024),2),’G’) total_size, round(sum(index_length)/sum(data_length),2) idxfrac FROM information_schema.TABLES WHERE  TABLE_SCHEMA = ‘YOUR DATABASE NAME’;

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

Mongo PECL problem after update

If you’re experiencing following error after upgrading mongo from PECL “Exception: pass in an identifying string to get a persistent connection” You can uninstall new one pecl uninstall mongo and install previous pecl install mongo-1.0.10

Read more
Page 1 of 512345