Magento 2 Installation Guide

Magento 2 Installation Guide

  • updated 2 mths ago

Installing the Hello Retail Business Magento 2 Extension

In this guide, you can read and learn about how to install the extension for Magento 2.

Our Magento 2 extension is developed for Magento 2.2 and higher but should be compatible with 2.0 and 2.1 as long as PHP 7 is used in your environment.

Our category feed is dependent on API features released in Magento 2.2 which means it will not work in 2.0 or 2.1.
 


Purchase extension in Magento Marketplace

  1. Go to marketplace.magento.com and login to your Magento account.
     
  2. Locate the search bar at the top of the page and type in "hello retail" in order to find the extension.
     
  3. Click on the Add to Cart button and proceed to checkout - once the purchase is complete then you can leave this site.

  


Installation via composer:

  1. The Hello Retail extension is in the Magento repository at marketplace.magento.com. To access this, you need to make sure that this repository is in your Magento's composer.json file (It should be there as a default).
     
  2. You may also want to add your Magento Marketplace private and public key to your magento's auth.json file if you haven't done so already.
    And be sure that these credentials match the ones for the account used to purchase the free extension in marketplace in the first steps of this guide.
     
  3. When this is done, you should be able to install with the following commands:
composer require addwish/awext

php bin/magento module:enable Addwish_Awext
php bin/magento setup:upgrade
php bin/magento setup:di:compile

 


Install with Extension Manager (deprecated)

  1. On the dashboard view, navigate to the left-hand side menu. Navigate to System and then click on Web Setup Wizard.
     
  2. Enter the Extension Manager - Make sure that you are connected to the Magento Marketplace Account that you used to purchase the Hello Retail extension from the first step of this guide.
     
  3. Click on the Review and Install button under the heading called Extensions Ready to Install.

  4. You should be able to locate the extension from the list. When you have located it, then click on Install in the Action column.

  5. We encourage that you check with your developer on whether or not to do a backup.

  6. Click on the Install button - As a default, your shop will go in maintenance mode while installing the extension. For this, we recommend that you do this when there is little traffic on your site.
     
  7. If everything went smoothly, you should get a success notification. If errors occur, please forward them to Support at support@helloretail.com and possibly also have your developer look at them.
     
  8.  As the final step, you should navigate to the module configuration page and set it up properly - see the bottom of this guide.

Installation via manual upload

If you are comfortable with FTP and have shell access, you can download and install our extension manually.

  1. Click here: to download version 1.1.70
  2. Navigate to <magento_main_dir>/app/code/ .
    If the code folder is not present, then you can create it and name the folder Addwish.
     
  3. Inside the Addwish folder, you create another folder called Awext so you end up with a folder structure like this: 
<magento_main_dir>/app/code/Addwish/Awext
  1. Unpack the zip file and copy all the files inside the folder (not the folder itself, just the files inside) to the location we just created: <magento_main_dir>/app/code/Addwish/Awext
     
  2. Run these commands in your shell:
php bin/magento module:enable Addwish_Awext
php bin/magento setup:upgrade
php bin/magento setup:di:compile

    3. As the final step you should navigate to the module configuration page and set it up properly - see bottom of this guide.


Updating Hello Retail extension - Magento 2

If you are using Hello Retail with your Magento 2 shop platform, chances are you have installed the Hello Retail Magento 2 extension that automates a lot of the setup and daily processes. As we encounter bugs or update Hello Retail's services, the extension will also be updated, and here we will show you how to perform an update.

The process of updating the extension depends on how you installed it in the first place. There are three ways you can have installed the extension: via Composer, Package Manager, or via a manual upload.


Updating with Composer

If you originally installed the Hello Retail extension through Composer, this is also where you should update it. You complete the update through a short series of command lines. Run each line after the other:

composer update addwish/awext
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean

Updating with Extension Manager (deprecated)

Navigate to Extension Manager and locate addwish/awext in the list of extensions.
 

After pressing Update, a wizard will guide you through the updating process, and the extension will be updated when you finish it.
 


Manual upload

The process of updating the extension is the same as with the original installation, but instead, you overwrite the existing files with the updated versions. You can find an extensive guide on manual installation here.


Configure the module settings:

Navigate to Stores -> Configuration and find the Hello Retail module configuration page.

Here you will be able to enable/disable the module as a whole but also manage individual feature settings. 

This figure shows the interface for the General Settings option (see below)

Feeds authorization:

All of the feeds now require Bearer token authorization, so make sure to copy the authorization token from the config and add it to your feed configs in Hello Retail.
If you have a managed feed, reach out to our support and have them help you set it up.
You can see the section "Adding a request header to a feed" in the feed configuration tool guide for guidance on how to add it.

If you need to regenerate the token, you can do so by clicking the generate button and then pressing the "save config" button.

 

Category Pages Content Feature:

For Category Pages Content, you can use either General Settings (see figure above) that can be set in the module configuration file. This option includes:

  1. Enabled Hello Retail Category Pages. This is the main "switch" that enables the Pages feature if Yes is selected in the dropdown menu, otherwise, Pages is unavailable no matter what the other settings are.
  2. Enabled backend rendering for Pages. Enabling/disabling the backend rendering mode of the Pages content. By default, the content is rendered on the frontend.
    Backend rendering vs Frontend rendering is mainly a choice between page loading speed and page loading impression:
    • Backend rendering gives you a native loading impression, but if you want personalized content you need to disable the cache for these pages, which can hurt your loading speed. However,  if you don't show personalized content but only want a category page ordered by general popularity, you can keep caching the pages and retain a fast loading speed.
    • Frontend rendering does not give you the same native loading impression, yet is felt, instead, more like an addon, as the content is injected into the page after the initial page loading (much like the default way of implementing our product recommendations).
      However, the positive part of this method is that you can get personalised content without disabling the cache for the rest of the page. So you can retain the general page speed and have snappy navigation.
  3. Enabled cache buster for category pages. This setting disables cache when the backend rendering mode is selected. In case the frontend rendering mode is selected, the setting is unavailable. Notice that caching shall be disabled on category pages if the content is supposed to be personalised, which affects your page loading speed.
  4. Default category setting. Setting the default behaviour of the Pages feature on your category pages. By default, the Pages content can either be enabled or disabled:
    • setting it to Enabled makes it easy to apply Pages content to all categories (you can exclude it from the category-specific Pages settings);
    • setting it to Disabled makes it easy to apply Pages content just to some specific categories (you can include specific categories in their category-specific Pages settings).
    This setting sets a default value that can be used in the settings of individual category pages. The actual settings of individual category pages determine whether the default value is used or directly set to enabled/disabled (see Category Specific Settings).
  5. Default Hello Retail Category Pages key. Setting a default Pages key to be used in all categories with no unique key specified. A common use case is to have one Pages configuration and have that key pasted there.

 

or Category Specific Settings:

There are also category-specific settings you can define in each category. These settings are contained within the settings tab, called "Hello Retail Category Pages Content". The option includes:

  1. Enable on this category. Enabling Pages content for this category with the options: Enabled, Disabled and Use default from configuration. Setting to Enabled enables the feature for that specific category, and disables it in case Disabled is set. Using the Use default from configuration, whatever is set in the general configuration is utilized. It makes it easier to manage many categories at once.
  2. Specific Hello Retail Pages Key. Setting a unique Pages key. You can use this to load content with a different Pages configuration than the one from the default. Leave the field empty to use the key from the General Setting mentioned above as the default configuration. 

Handling cookie policy

The Hello Retail Magento 2 extension doesn't have any built in support for cookie policy handling. If you are in a country where that is required by law, you will have to implement it.

You can have a look at our general guide on Opt-in and -out of Tracking to get an ide on how. 
NOTE: the extension will make the 'init' call, so you need to ignore the first example that combines with an init call: hrq.push(['init', {trackingOptOut:boolean}]);

 


Configure your webshop in the Hello Retail Dashboard

After the installation setup of your platform and the onboarding flow, make sure to have your webshop configured. Read this guide here on how to do so:

Configure Webshop

Like Follow
  • 1 yr agoLast active
  • 5003Views
  • 1 Following