Modern e-Commerce Web-Design Trends. Part 1

February 1, 2017 / Posted in Magento, Prestashop by Oleg Malaschuk
Modern e-Commerce Web-Design Trends. Part 1
Download PDF

To be a step ahead of your competitors it is pretty important to keep an eye on the latest design trends and apply only the best solutions for developing your own web-store. So, if you are thinking about creating a new online-store or redesigning your current web-shop you may find this article pretty useful for yourself.

(more…)

How to Manage CustomerData Entity in Magento 2

January 31, 2017 / Posted in Magento, Magento 2 by Artsem Miklashevich
How to Manage CustomerData Entity in Magento 2
Download PDF

In my previous article I described different ways how you may use CustomerData for your own purposes. It is also possible to control data actuality from the frontend-side by describing the file sections.xml, i.e. we can define specific paths which will update specific sections of customerData upon receiving a request. But this is true only for POST and PUT types of requests. But what would you do if you needed to update some page section without using AJAX or sending any requests? That is why we need to have the possibility to control customerData sections also from the backend-side. For example, you use a system which automatically adds a product to the shopping cart once you load a specific URL. So, at first sight everything looks fine and the system is working perfectly well, however, there is one drawback: once a product is added to the shopping cart but the cart has not been updated yet on the client-side you will have no possibility to access user’s browser local storage. But in Magento 2 there is a way to update data which have been initialized in the backend. You need to use cookies for that. Let’s have a look at the following code in the file:

(more…)