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
In case you haven’t noticed, Magento 2 recently marked all model CRUD operations as deprecated, in favor of following repository pattern. This article will be a short overview for those who are new to this concept.Read more
We’re going to build a very simple module in Magento 2. When finished, the module’s output will say “Hello world!” in the block content on a custom frontend route.Read more
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
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
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.
As a frontend developer today you have tons of tools at your disposal. In everyday use you will need at least one tool which will be assigned to watch, process, generate, clean, minimize code. I will try to convince you to start using one which can be great assistant in modern frontend workflow. I will talk about Browsersync.io.Read more
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
When installing Magento 2 on your machine you should ask yourself:
- Do I need more problems in my life?
If the answer is Yes, continue reading.Read more
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
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
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
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
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