Authorization through social networks opencart 3
Module for registration and authorization of buyers through social networks on Opencart 3.0.
Now your customers can quickly and conveniently log in to the site as a buyer through popular social networks
Authorization through social networks
Buttons for customers to log in via social networks will be added to the authorization and registration pages, it is also possible to display the module on any page of the site in a position or a pop-up window.
After authorization through the social network, it is possible to request additional data that was not received from the client, for example, phone number, address, etc.
To set up authorization, you will have to register API applications in each of the social networks and get the keys that you need to register in the module admin panel. Instructions for registering applications are in the module settings for each social network.
- You must have the Localcopy fix installed
- Upload the module archive through the admin panel in the Install modules section
- Click the Update button in the Modifications section
- Go to modules, and enable "Authorization via social networks"
- Edit the module, enable the necessary authorization methods and register the API keys of previously registered applications.
02/21/2018 - changes were made to authorization through VK due to new API requirements (EMPTY ID error)
03/28/2018 - the template of the letter for the client about registration has been fixed, and the notification of the admin about the registration of a new client has been added.
05/03/2018 - the module was adapted to the new requirements of Facebook (there was an error "Undefined index: link ..." when registering via Facebook).x
05/22/2018 - the problem with authorization from the Simple registration page is solved
06/12/2018 - problems with authorization of existing clients (existing email) through another social network were solved; removed the variable "text_services" in the letter to the client.
11/15/2018 - added compatibility with the Custom Quick Checkout module
11/30/2018 - Solved problems with authorization through Odnoklassniki
12/09/2018 - fixed issues with styles of data input window on mobile screens
09/14/2019 - the problem with merging accounts when emails match was solved; updated instructions for creating API applications
05/20/2020 - the styles of the data addition window in the mobile version have been corrected.
08/18/2020 - improved template compatibility
11/09/2020 - Added display of authorization buttons via social networks in the authorization pop-up window in templates from OCTemplates (OCT).
- Opencart 3.0.0.0
- Opencart 3.0.1.1
- Opencart 3.0.1.2
- Opencart 3.0.2.0 или ocStore 3.0.2.0
- Opencart 3.1.0.0
- Opencart 3.0.3.1
- Opencart 3.0.3.2
- Opencart 3.0.3.3
- Opencart 3.0.3.6
- Opencart 3.0.3.7 и OcStore 3.0.3.7
Solution:
Download and install the Localcopy OCMOD add-on
After installing this add-on, you need to go to the Modifiers section and click the "Update modifiers" button. After that, you can install other modules
There are some problems and possible solutions:
1. The template cache has not been reset - you need to update the cache [screenshot]
2. When you previously edited template files through the admin panel in the "Theme Editor" section, they were saved in the database and it is no longer affected by ocmod modifiers, this is an Opencart 3 issue. You need to install an extension [download] and update the modifications in the admin panel.
3. Your template is based on TPL files (*.tpl), while in Opencart 3 templates should be in TWIG format (*.twig). The problem is that ocmod modifiers do not affect TPL files - all changes must be made to these files manually.
You need to enable the output of all php errors on the screen - for this, in the .htaccess file at the end you need to add the lines:
php_value display_errors 1
php_value display_startup_errors 1
php_value error_reporting E_ALL
Now, instead of error 500, an error code should be displayed, which will indicate the issue.
There is a bug in official Opencart 3.0.3.5 - 3.0.3.6 patches - modifiers do not work with twig files due to an error in the standard modifier /system/modification.xml - the second operation from this modifier does not work.
The problem occured in official github and proposed solution is https://github.com/opencart/opencart/blob/3.0.x.x_Maintenance/upload/system/modification.xml
We made a fix modifier according to these recommendations, it will replace the /system/modification.xml file with the correct one.
Solution:
1. Back up your /system/modification.xml file
2. Download the fix modifier from the link and install it in your admin panel
3. Update mod cache
4. Update twig template cache
- Categories: Interface modules
- Tags: Authorization , social , registration , API , module , opencart , account , login opencart 3 , modules for opencart 3
- Author: Opencart
-
Price: $21,00
- Compatibility Guaranteed
- Only OCMOD
- Not linked to a domain
- Open source
- Virus-free
- Support
Information:
- Common mistakes in Opencart 3
- Opencart 3.0 custom VAT collection module from the order amount
- Updating the NBU exchange rate for Opencart 3 is a useful module for resource operations.
- Different Prices for Customer Groups - a tool for managing prices in stores.
- How does the Opencart 3.0 Module Order in 1 Click work?
- Opencart 3.0 Related Products Module: How to Use
- Opencart 3 store reviews
- Multidelivery of goods in opencart. Advantages for online stores