Magento 2

Custom API for Magento 2

We have already went through on how to configure integration and utilize Magento apis. But let’s see how to make our own module with custom API calls.

Read more

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

Working with CSS in your first Magento 2 project

So, you’ve finally managed to create your new theme in Magento 2. After a few hours of swearing and sweating, you’ve successfully created all necessary files, defined fallback to Luma (you can blame Luma for all the mess that will happen later on), registered your theme within the system, activated it in the Magento Administration…aaaand…you are ready to go!

But, what now?

Read more

Extending Magento 2 default JS components

Since Magento 2 is out for quite some time now and new projects based on the platform are rapidly approaching, there is no doubt that we, as developers, need to be adequately prepared for the challenge.

In this post I will demonstrate how to deal with platform’s default javascript components (widget instances). More precisely, a javascript component responsible for the site main navigation functioning. If you’re interested, just keep reading.

Read more

Evaluating and improving accessibility of eCommerce websites

Sir Tim Berners-Lee once said that “Access (to the Web) by everyone regardless of disability is an essential aspect”. We, as developers, always strive to create a website which looks and feels good on a wide range of devices, resolutions, operating systems, network speeds, etc., but how often do we consider designing or creating a website for a wide range of people? In this article, we’re going to cover some basic frontend principles of improving accessibility and what that means in context of a Magento website.

Read more

The practical value of Design Thinking

Recently, we got inspired by the Magento team’s Design Thinking presentation held at the Magento Imagine 2016 conference. Unfortunately, we weren’t there but it feels like we might as well have been. Seeing how the Magento team worked on improving the Magento 2.0. interface in the presentation slides struck a chord with us. It affirmed a lot of the methods we were already using and got us thinking even more.

Read more

CSS preprocessing in Magento 2

Magento 2 has been out in the wild for some time now. Most developers I know haven’t worked on Magento 2 project yet. However, most of them installed it and played around with it, learning and experimenting.

From the comments on github and social media, and from chats with developers, conclusion is that Magento 2 Frontend has a lot of issues, one being the most important: CSS preprocessing.

Read more

Add qty increment buttons to product page

As you probably know, Magento is using a plain text field to handle quantity on product page. This is the bulletproof solution – it is simple and covers all needs. But, sometimes, merchants want to use something more appealing, and many of them settle for quantity increment buttons (those + and buttons next to the quantity input field). Adding this kind of behaviour will be the topic of this post.

Read more

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

Developers Paradise – a safe haven for true heroes of Magento community

We’re less than a month away from an amazing Croatian experience that will be Developers Paradise 2016.

We’re thrilled to be able to welcome more than 200 community members from over 30 countries for an event packed with everything you want from a dev conference – amazing speakers, laid back atmosphere, workshops, hackathon – wrapping it all up in a tagline that’s become much more than just that – lots of code and fun in the sun!

Here are some cool insights into #DevParadise and a reminder of why this event is as close as it gets to a real-life paradise for developers – read on!

Read more