Posts by Tomas Novoselic

Magento 1 official PHP 7.2 patches

Magento 1 official PHP 7.2 patches

You probably noticed that Magento PHP 7.2 support patches are available for download HERE (Magento Open Source version).

For Magento Commerce customers, you should find the patches under Magento Commerce 1.x > Support Patches and Security Patches > PHP Compatibility patches in the Downloads section of your account.

We at Inchoo worked on this contribution, so we decided to share a few more words about it, especially because we noticed that Magento released patches in somewhat different format than usual.

Read more

Magento 2 Product Quick View

Magento 2 Product Quick View

What I’m about to share is still somewhat experimental, so it might be wise to test it and adjust according to your needs before you add it to production.

Those who doesn’t want to read whole article, can access extension directly on github here.

Everyone else, continue reading!

Read more

Magento 2 API usage with examples

Magento 2 API usage with examples

Magento 2 supports REST (Representational State Transfer) and SOAP (Simple Object Access Protocol), much like the old version of Magento we were used to. Official documentation is mostly based on raw curl request without examples in some specific language. PHP is what we do and there will be many people using it as well, so we tried to give you real PHP examples of how to connect and use Magento 2 API.

Read more

Running cron jobs in Magento 2

Running cron jobs in Magento 2

When it comes to Magento 2 and cron jobs, there are some improvements comparing to Magento 1.

It is still abstract in the way that you don’t really run jobs directly, instead, you use cron syntax to setup periodical method execution via Magento scheduler that works on top of system’s cron utility.

Here are some useful hints to help you get started with setting up your own.

Read more

Magento 2 New Relic Reporting

Magento 2 New Relic Reporting

One of the new features that you get out of the box with Magento 2 is New Relic reporting.
New Relic has been around for about the same amount of time as Magento. I always liked projects that were using New Relic for performance analysis because it was much easier to identify preformance bottlenecks – especially on production systems where you have little bit less debugging possibilities. That’s why I’m really excited to have it in the new Magento version.

Read more

How to make order shipment from code

How to make order shipment from code

As most of you know, there is an Order interface in Magento administration from where you can trigger order shipping. However, while developing certain module, you might wish to trigger this event from the code. I hope that this code snippet will help you in this process. In my case I have used this code to make shipment from cron after I got confirmation from fulfillment center

Read more

Updating options of configurable product that is already in the cart

Updating options of configurable product that is already in the cart

Let’s say we have configurable Magento product in shopping cart and we want to update its
options without deleting product from cart and adding it again.

That’s quite easy to achieve with following steps, however I can’t write complete tutorial here so
you should be a little more familiar with Magento in order to make it work.

Read more