Blog Posts

Ibiza anyone? 2 days to go!

Ibiza anyone? 2 days to go!

Three Inchooers are impatiently awaiting June 4th when they will start the journey to this years Magento Developers Paradise that will take place in Ibiza, Spain. This will be a great opportunity to meet fellow developers as we did last year and get first insight for Magento 2. Check out the interviews with the speakers.
Read more

11

Automatically cancel pending orders older than 90 minutes

Automatically cancel pending orders older than 90 minutes

There are situations where you might with to automatically cancel orders older than 90 minutes. They stay in “pending_payment” state. This usually happen when the customer didn’t complete the checkout due any reason.
Read more

29

Symfony2 Doctrine2 transactions

Symfony2 Doctrine2 transactions

Like everything else, using transactions in Symfony2 is easy task.
I had a case that I had to use transactions to make sure that everything or none is saved to database, because I didn’t wand anything to break at the half way and leave data unsaved. Read more

5

Symfony2 Forms – Entity field type

Symfony2 Forms – Entity field type

NOTE: Tested on Symfony2 Beta3. Might not work on later releases!

Symfony2 offers many prebuilt field types for using when creating forms. The one of them I found interesting is ‘EntityType’. There are just basic documentation about that.

I had one case recently that I had to use Entity field type for creating form, but except using it in simple way like documented I wanted to use it on little more advanced way. Read more

17

Flat tables in Magento and product collection

Flat tables in Magento and product collection

You probaly know that Magento uses EAV database structure for categories, products. In some cases this solution is not the best or fastest.

Read more

6

How to create custom attribute source type?

How to create custom attribute source type?

Have you ever need to create custom attribute source type? This is small example which will help you to create custom source type. I hope that it will be helpful.
Read more

3

Guide through Magento’s timezones

Guide through Magento’s timezones

I’ll guide you through Magento’s timezone behavior, as I’ve noticed that people tend to get confused in cases when they have 2 or more websites with different timezones. If this is what you are searching for, read on!
Read more

0

Magento CMS syntax – part2

Magento CMS syntax – part2

Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and static blocks. We traced a bit to find out which params are available and what exactly they do. Read more

5

Emulate store in Magento

Emulate store in Magento

Magento 1.5 introduced very interesting piece of code that enables easy store emulation when programming, Emulation model a.k.a. Mage_Core_Model_App_Emulation class.

Read more

2

Magento (How to fix): One or more of the Cache Types are invalidated: Blocks HTML output.

Magento (How to fix): One or more of the Cache Types are invalidated: Blocks HTML output.

Somewhere around Magento 1.5, message from the title of this post begun to pop on every product save.
Although quite anoying, it is quite easy to fix and it seems that’s not a BUG, it is a feature – implemented without automatic block html cache refresh :)
I have tested it on Professional Edition and to be completely honest, I’m not sure if it will actually work on Magento CE,
but there is no reason why not (Please comment if it does).
Read more

23