This can be frustrating when you are new to wordpres and/or woocommerce. You just created your first product, and got 404 when trying to see it. Fortunately solution […]
Send pdf automatically when invoice is created in Magento
It is a bit different then method showed in previous post – this time its not transactional email sent at demand, but we will catch event fired after […]
Quicktip: SQLSTATE[HY000] [2002] Not a directory trying doctrine:schema:create
If you are using MAMP and trying to execute doctrine:schema:create or anything db related you may encounter that error, solution is simple – you need to create symlink […]
Tutorial: How to create Amazon Fulfillment order using php?
Follow my steps and you will get working service:
Quick tip: PHP Extensions “0” must be loaded error in Magento install
Such error happens in 1.7.x branch (I saw it in 1.7.2), when entering database parameters you’re seeing “PHP Extensions “0” must be loaded” instead of next step. This […]
Cannot find autoconf when using phpize on Mavericks
running: phpize command can cause such sample output: Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 Cannot find autoconf. Please […]
How to use MySQL to search in php serialized fields
Well, first rule – you should not do this. But if there is good reason, consider using such query for searching in index-based arrays: SELECT * FROM table […]
Quick tip – working with dates with ADODb and MSSQL 2000
Yes, it can be really painfull – MSSQL (at least instance I’m using) is saving date in format “d/m/Y H:i:s” but in every part of code I had […]
Quick tip – how to get specific posts/page by their ID?
At first look it was simple, just: $args = array(“post__in” => array(1,2,3)); $posts = new WP_Query(); $posts -> query($args); while ($posts -> have_posts()){ $posts -> the_post(); echo the_title().'<br/>’; […]