Saturday, January 31, 2015

Custom order holded status in Magento

Ever needed to add one more hold status in Magento?

For example:

Let's say that we have some order processing logic integrated with third party shipping provider. We make API call and it fails.

If we put order on regular onHold status, it will mix up with orders that are put onHold by site administrator and we will not be able to filter them later if we want to re-try processing etc.

I suppose that most convenient way would be to use "holded" state and create additional status, for example: "order_processing_error".
Read more
, ,

Tuesday, January 6, 2015

Magento collection caching

When we talk about Magento, we should try to optimize site loading speed as much as possible.

Sometimes block caching is not enough and we should also use collection caching to achieve best results.

Here is simple way to use cached collection in Magento.
Read more
, ,