When building a custom theme for Magento, it’s important to follow best practices for how the system is designed to be extended. Magento 2’s frontend is significantly different than that of Magento 1, so even for seasoned Magento developers, there are plenty of things worth noting.
This article is not an exhaustive step-by-step guide to frontend customization. It’s primarily meant to outline the basics for how the system is structured and how to best extend it, as well as to serve as a reference for various theme topics. In general, Magento’s official DevDocs are a good resource for specific tasks.
Quite often Magento developers face a problem with accessing custom attributes during product collection loading. For example, when you try to get a product from a quote or a wishlist item. As the result, we’ve noticed some interesting workarounds to bypass the problem and to access the attribute value at any price, like repetitive product loading etc. However, there is a proper way to make these attributes accessible. We would like to tell more about it.
As you know from Magento 1 – custom attributes are not loaded by default when you work with a quote. There is a simple way of accessing a custom attribute on checkout/cart. Magento 2 uses a similar approach which is even more flexible and extensive.
Let’s create a simple module which provides a custom product attribute with product_brand code. The install script for the new…
Congratulations to the winners, to the nominees, and to everyone who participated
A new security patch SUPEE-10570 for Magento 1 was released on Feb 27th 2018. It is affecting ~60 files of Magento Open Source (Community Edition) and ~90 of Magento Commerce (Enterprise edition). Let’s review what actual changes and improvements are behind those files.1. Store name vulnerability
Most of the changes are related to the ability to inject some malicious code into a Store, a Website or a Store group name. These names are used on the numerous admin pages, as most of the entities are somehow bound to the Store or Website. So all of the admin grid columns and store selectors on the admin forms were supplied with HTML escaping. The list of changes is pretty big and consists of:
Insights from our Solution Partner ScienceSoft
Founder of the Slovakia-based eCommerce agency, Atwix
2017 has truly been the year of Community Engineering for Magento. For many years we’ve been hearing voices from the Magento community on how great would it be if we were allowed to work on fixing bugs and improving Magento core code… And now we’re living this dream. Moreover, this dream already delivers: 24% of the code shipped by Magento in 2017 came from the community. And all this came from 511 unique contributors. Impressive, isn’t it? And what’s helped the success?
In my opinion, a big part of the Magento Community Engineering triumph came from the Contribution Day events. Those events mainly took place in a number of European cities, featuring Ukraine as a record-setting country, having had at least 4 of them, including the one we’ve hosted at our Khmelnytskyi office back in November during the…
Die Magento-Community in Europa und dem Nahen Osten wächst schnell. Wie Mark Lavelle, CEO von Magento, in seinem kürzlich erschienenen Beitrag „Building on a Record“ schrieb: „Es gab noch nie einen größeren Wunsch der Community, sich miteinander auszutauschen, gemeinsam zu lernen und zusammenzuarbeiten, um Magento besser zu machen.“ Magento hilft effektivere Events zu planen Magento […]
Sonja Riesterer is a certified Magento Master and marketing manager at the German agency integer_net. She is also a talented ballroom dancer.
What’s the Magento community like in Germany?
It’s exciting! There’s finally some movement to upgrade to Magento Commerce 2. Germans don’t usually adapt to new things easily, or change our way of working very quickly. Now people are finally ready to tackle it. There’s a lot of meetups and events going on.
Magento Commerce teams up with fraud-protection partner Signifyd
Experts from Gorilla Group, Mobify, and Magento weigh in
Get your submissions in for Round #2!
When I found the PHP Internals site a few months back, I noticed there was a small credit at the bottom. Built by Thomas Punt & Liam Mann Some Googling showed that Thomas Punt had written this How PHP Executes — from Source Code to Render article for sitepoint. While the article was accurate, like a lot of pro internet content it was a breezy, high level read that didn’t set out to get into the specifics of how all these systems worked. Fortunatly, my Where’s the php-src/PHP-Internals Main Entry Point question over on Stack Overflow got a great response […]
What is Omnichannel Retailing? At Magestore, we internally define it as: “Omnichannel retail is a business model in which all existing channels become completely integrated to offer customers a seamless shopping experience. This Omnichannel retail strategy is empowered by centralized data management, which means that the distinctions among channels, both physical and online ones, are blurred.” ...
Usually you don’t jump on a plane with your friends and go to Asia to have some great weeks of living, working and traveling in the region. It was my first time of working from this far: a 6-hour time difference with our Ukrainian office, a tropical climate and a whole bunch of other differences like food, traffic, religion etc.
What really surprised me was the fact that we did manage to have some really productive weeks out there. Surely, I knew that we would be able to work from there since Atwix is a distributed company and you can work from anywhere, otherwise, I would not go. Still this was my first experience and I was amazed by the opportunities, which remote work gives you.
I put together some advices, which helped me work productively. They might help you do some great work while traveling, which I believe is only for better.How to start your trip right?
The first country we visited was Vietnam. Important to know, this was our first week…
Fresh opportunities to grow, drive innovation, and open new revenue streams
How do we know if our social posts affect our SEO? We’ve been told it does, we’ve been told it doesn’t. And with Google’s ever-changing algorithm, how are we supposed to keep up?
Let’s review what we’ve been told about Social and SEO:
Social affects SEO:
Social does not affect SEO:
Social posts are indexed the same:
Social posts aren’t indexed:
Social links hold the same weight as any other web page:
Social links don’t directly affect your Google search rank:…
Eine gute Produktsuche in Online-Shops ist bei Schreibfehlern nachsichtig, sie findet trotz eines Vertippers die passenden Produkte, Kategorien oder sonstige Inhalte. Dahinter steckt ein Algorithmus, der den Suchbegriff mit den durchsuchbaren Begriffen oder Zeichenketten abgleicht. Die Unterschiede zwischen dem Suchbegriff und den Zeichenketten, beispielsweise dem Produktnamen, werden dabei mit der Levenshtein-Distanz gemessen.Die Levenshtein-Distanz erklärt
Die Levenshtein-Distanz beschreibt die minimale Anzahl von Änderungen, die nötig ist, um aus der ersten Zeichenkette die zweite Zeichenkette zu generieren. Als Änderungen gelten Hinzufügen, Entfernen und Austauschen von Zeichen. Sie ist benannt nach dem russischen Mathematiker Vladimir Levenshtein (1935-2017).Beispiel
Die Levenshtein-Distanz zwischen den Begriffen „Levenshtein“ und „…