1. Home
  2. Docs
  3. Magento 2 Free Extensions
  4. Magento 2 Social Login
  5. Installation Guide

Installation Guide

Note: If you've purchased the extension previously to ver 1.0.7 and have the need to update to this version, you need to delete these 2 configs bss_sociallogin/yahoo/enable and bss_sociallogin/pinterest/enable in the table core_config_data.

After finishing purchasing process, we will immediately send you an email containing the link to download this extension.

(Please turn off Merge-JS before installing the module. Only Turn on Merge-JS when finishing the installation).

1. Install the extension

Step 1:         

Unzip the file.

Step 2:

Create another directory called app/code/Bss/SocialLogin/. SocialLogin is the module's internal identifier. You can find it in the "composer.json" file in the extension ZIP file you downloaded, look at the node "psr-4".

This is what you call the directory, and then you put the contents of the extension ZIP file in there.

Step 3:

Upload the directory app/code/Bss/SocialLogin/ into the root directory of your Magento installation. The root directory of Magento is the directory that contains the directories "app", "bin", "lib" and more. All directories should match the existing directory structure.

Step 4:

Go to Magento 2 root directory.

Run: php bin/magentosetup:upgrade.

Step 5:

Run: php bin/magentosetup:static-content:deploy.

Step 6:

Clear all Caches.

2. Install/Uninstall/Disable the Hyva Theme Compatibility package

The following instruction is used for the Hyva theme compatibility package ONLY.

  • To install the Hyva compatibility package:

1. Install via composer, run commands:
- composer require hyva-themes/magento2-bsscommerce-sociallogin

2. Install via gitlab, run commands:
- composer config repositories.hyva-themes/magento2-compat-module-fallback git git@gitlab.hyva.io:hyva-themes/magento2-compat-module-fallback.git
- composer config repositories.hyva-themes/magento2-bsscommerce-sociallogin git git@gitlab.hyva.io:hyva-themes/hyva-compat/magento2-bsscommerce-sociallogin.git
- composer require hyva-themes/magento2-bsscommerce-sociallogin:dev-main

3. Install via package
- Copy the package of module Hyva_BssSocialLogin and paste them to app/code/Bss folder.
Finally, run command php bin/magento s:up

  • To disable the Hyva compatibility package, run commands: 

- php bin/magento module:disable Hyva_BssSocialLogin

  • To uninstall the Hyva compatibility package, run commands:

- composer remove hyva-themes/magento2-bsscommerce-sociallogin

NOTE:

  • You must install module M2 Hyva Compat Base to use this package.
  • After installing, navigate to Stores > Bss Commerce > Hyvä Theme Compat Base > Rewrite Template, then in Block Header Content choose Yes.

When installing module, you need to run the following commands to receive css
- bin/magento hyva:config:generate
Adding to hyva-themes.json file
- "src": "vendor\/hyva-themes\/magento2-bsscommerce-sociallogin\/src"
Run to the path:
- cd Path/vendor/hyva-themes/magento2-default-theme/web/tailwind/
Then run command:
- npm run build-dev

Was this article helpful to you? Yes No 3

How can we help?