email_icon support@havasay.com
phone_icon PHONE +(937)-684-9220

Havasay Installation Guidelines

Installing Havasay Extension In Magento 2

Note: This Havasay package works with Magento 2


Installation


The Magento 2 module can be installed with Composer
(https://getcomposer.org/download/).


Using the command line, run the following in your Magento 2 installation directory:

composer require havasay/module-review


When this has run, execute this command

sudo bin/magento setup:upgrade


Please follow the instructions below to enable Havasay Widget in your store :

  1. Log in to your Magento Admin page.
  2. Click Stores.
  3. Click Settings/Configuration. Settings/Configuration
  4. Click Advanced.
  5. Click Advanced.

    configuration.png
  6. Locate Magento_Review
  7. Select Disable in the drop-down list. majento_require.png
  8. Locate Havasay_Havasay.
  9. Select Enable in the drop-down list. disable_module.png
  10. Click Save Config.

    save_config.png

You should be able to see the Reviews widget, Aggregate ratings widget and Social share widget now in your product page.

If, for any reason, you do not see the widgets, running the following commands will help.

  • sudo php bin/magento indexer:reindex
  • sudo php bin/magento cache:clean
  • sudo php bin/magento cache:flush
  • sudo php bin/magento setup:upgrade
  • sudo php bin/magento setup:di:compile
  • sudo chown -R www-data:www-data /var/www/html/*


Note: The following procedures are optional:

  1. To insert the Reviews Widget manually on your product page.

    Add the following code in one of your product.phtml files where you want the Reviews Widget to appear:

    <?php if( $this->isRenderTabWidget()) { ?>
    <div id="HS_TabWidgets" class="HS_module">
    </div> <?php } ?>
  2. To insert Aggregate Ratings Widget manually on your Product page.

    Add the following code in one of your product.phtml files where you want the Aggregate Ratings Widget to appear:

    <?php if( $this->isRenderAggregateWidget()) { ?>
    <div id="HS_TabWidgets" class="HS_module">
    </div> <?php } ?>
  3. To insert Social Share Widget manually on your product page.

    Add the following code in one of your product.phtml files where you want the Social Share Widget to appear:

    <?php if( $this->isRenderSharewidget()) { ?>
    <div id="HS_TabWidgets" class="HS_module">
    </div> <?php } ?>

If you see any issue, please write to us at support@havasay.com