How to make JavaScript strings translatable (localizable) in Magento 2

To make JavaScript strings translatable or localizable in Magento 2, use
|
1 |
$.mage.__ |

To make JavaScript strings translatable or localizable in Magento 2, use
|
1 |
$.mage.__ |
Below, we’d like to draw your attention to our Control for CloudFlare® Magento 2 extension, but why did we decided to create the module? The answer is quite simple: the default version of the ecommerce platform does not provide all the necessary features out-of-the-box, so it requires some vital enhancements. That’s why we’ve made a decision to add the most convenient CloudFlare® integration to the list of addons available in the ecosystem. Unfortunately, the feature is not presented neither in Magento 1.x nor in Magento 2.x, but we have all appropriate modules in our portfolio, and in the following post you will find the most comprehensive description of how the Control for CloudFlare® Magento 2 extension works. But let’s describe the importance of CloudFlare® first.
Download / Buy Control for CloudFlare® Magento 2 Extension | Control for CloudFlare® Magento Extension

If you are familiar with Magento 1.x menu generation, you will be surprised how similar is the appropriate Magento 2 process. There are 9 steps of menu generation. Continue Reading

Dmitry Fedyuk illustrates how a price is rendered on a frontend product view page in Magento 2 with the help of the following code:

There is a great explanation of Magento 2 UI Component Grid on StackExchange (the link to the original answer is provided below). Below, we provide its major aspects. The official devdoc is here: .
Being a fresh and creative Magento 2 theme (at least its developers say so), Bazar Shop offers unlimited layout options and tons of useful features. As a Magento owner, you will get an advanced admin module that enables a wide range of customizations that make Bazar suitable for every ecommerce store type.
Today, we’d like to draw your attention to another new Magento 2 theme which is called Minimal. Although its name aptly describes the design, the set of available features can not be considered limited. So first of all, let’s see how Minimal looks like. Below, you will find theme’s core elements: category page, product page, cart, and checkout.
Another relatively new Magento 2 theme is called Hermes. You might have heard about its Magento 1.X predecessor, but now Hermes is fully suitable for the latest version of the popular ecommerce platform, and below we are going to describe its core elements and features.
We’ve already described a few Magento 2 templates and themes, but something new always appears on Themeforest. And since the Firebear team is always trying to dig interesting Magento stuff, today we are going to shed light on Luxury – a premium Magento theme which is now available for Magento 2.

Below, we describe how to return a JSON response from a controller in Magento 2. Continue Reading