Child pages
  • Who Viewed This Also Viewed - Magento 2
Skip to end of metadata
Go to start of metadata



Firefox user notice:

Please use different web browser to view this document.

Sorry for the inconvenience.

The Magento 2 Who Viewed This Also Viewed module enhances promotional opportunities for web merchants by adding commonly viewed together item blocks on product pages. The extension settings allow store admins to configure several important parameters, including block position, layout, product suggestion logic, etc.

Product Page

Thank you for choosing Aheadworks!

Installing Who Viewed This Also Viewed

Command Line Installation

1. Backup your web directory and store database

2. Download Who Viewed This Also Viewed installation package

 3. Upload contents of the Who Viewed This Also Viewed installation package to your store root directory

 4. In SSH console of your server navigate to your store root folder:

cd path_to_the_store_root_folder


php -f bin/magento module:enable Aheadworks_Wvtav


php -f bin/magento setup:upgrade


php -f bin/magento setup:static-content:deploy

5. Flush store cache; log out from the backend and log in again


Make sure the installation is done from under the FTP administrator account. Otherwise make sure to set 775 permissions to the store root directory after the extension is deployed.

Composer Installation

1. Log in to your customer account at and navigate to Account -> Composer access;

2. Configure your store to work with the Aheadworks composer repository:

Add composer repository to composer.json by running:

composer config repositories.aheadworks composer in the Magento installation root.

Use a key pair provided as login and pass. You can optionally save them in the global composer auth file.

 3. You can start using AW composer now.

 For extension names, navigate to Account -> Composer access.

 4. Open the root Magento directory on your server and send Composer the following command:

composer require <component-name>:<version>

Note: Use the previously copied component name and version.

 5. Make sure that Composer finished the installation without errors. Flush store cache, log out and log into the backend again.


Who Viewed This Also Viewed extension requires cron daemon setup and running.

Every cron launch customer sessions are analyzed for the products customers were interested in for composing relevant recommended product lists.

Introducing Who Viewed This Also Viewed

Who Viewed This Also Viewed (WVTAV) extension allows placing related product blocks on the product pages depending on the customer activity:

  • Responsive layout;
  • Great performance for product heavy stores;
  • Product interest trends are reflected in the block.

WVTAV scans the customers navigation through the store. The products customer is interested in are put together to form the relevant advertising blocks. With the help of the extension, store administrator can keep up or fill in the store with the advertising content in few clicks.

Getting around

Who Viewed This Also Viewed (WVTAV) extension allows adding the related product blocks to the product pages. The block content is gathered automatically.

The extension works on customer-session basis. It analyzes all the products that customer has looked through during their visit to the store. In depth:

  • Path for both registered and guest customers is considered;
  • Customer sessions are stored in the Magento DB tables;
  • Complete customer sessions are analyzed with every cron launch (Aheadworks leaves the cron settings at your discretion);
  • Customer session lifetime is calculated by the following formula:
 Time customer left the store - Time customer visited the store + 30 minutes = Session lifetime.

The extension builds its block depending on the most common customer navigation path and tendencies when browsing catalog. Once installed extension is activate by default and will start analysing the customer sessions after the first cron launch.

The Who Viewed This Also Viewed blocks are placed for all product pages simultaneously. However the extension settings allow configuring the block position and content conditions.

Adjusting extension settings

Who Viewed This Also Viewed extension comes set up and ready for work right after the installation. However, if required store administrator can look though the extension's settings under Stores > Configuration > aheadWorks extensions > Who Viewed This Also Viewed.


The extension settings let store administrator control the block layout, position and offer a couple of block content configuration options:

  • Process sessions for the last X days - defines for how long customer browsing history should be considered when building the block;
  • Block Position - allows selecting the extension block position;
  • Block Name - allows defining the extension block header (visible to customers);
  • Block Layout - allows adjusting the block layout: slider or grid; for gird layout store administrator can specify the number of rows;
  • Suggest Products from One Category Only - defines if the products in the block should match the category of currently viewed product;
  • Suggest Product Only with price Higher than Price of Current Product - defines if the extension block should only feature up-sells.

Product Page

You can always find the latest version of the software, full documentation, demos, screenshots, and reviews on
License agreement:
Contact Us:
Copyright © 2018 Aheadworks Co.

  • No labels