close

Menu

🔥 Support
Blog navigation keyboard_arrow_down

Blog Rss rss_feed

Blog

Add a phone for the user

In the standard Prestashop build, the user does not have a "Phone" field, which can not be evaluated positively, because in some cases it is simply necessary. In this article we will explain how to add this field to the main information without affecting the PrestaShop kernel.

User authorization via phone

To authorize by phone number you need to add the appropriate field. How this can be done is described in the previous article. By default, Presta Shop users are authorized by E-mail. Often it is not convenient, and then there is a need for identification by phone number. To do this type of work we need the function "Overrides", which can change the standard behavior of Presta Shop.

How to make prices without a point

Everyone knows that in PrestaShop prices are displayed by default-two decimal places. And what if you want a numeric value without points? This problem can be solved in several ways, one of which we will consider in this article.

Global variable in smarty to define the phone

In some cases, it is important to know that the person comes from the phone. This will allow the user to download certain content without unnecessary information, which will increase the speed of page loading and increase the level of user involvement.

What is PrestaShop?

Today PrestaShop is one of the most popular CMS in the world, where more than 270,000 online stores successfully operate. Over 3,500 downloads per day, translation into 60 languages of the world, a convenient administrative panel interface, a multifunctional basic “box” - this and much more allows PrestaShop to occupy a leading position in the European market.
close

Checkout

close

Favourites