Child pages
  • Who Bought This Also Bought - Magento 2

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Thank you for choosing Aheadworks!

...

Installing Who Bought This Also Bought

To install the extension follow the instructions below:

Section
Column
width50%

Command Line Installation

Panel
borderStylesolid
borderWidth2px

1. Backup your web directory and store database

Panel
borderStylesolid
borderWidth2px

2. Download Who Bought This Also Bought installation package

Panel
borderStylesolid
borderWidth2px

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

Panel
borderStylesolid
borderWidth2px

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

No Format
cd path_to_the_store_root_folder

run:

No Format
php -f bin/magento module:enable Aheadworks_Wbtab

then:

No Format
php -f bin/magento setup:upgrade

after:

No Format
php -f bin/magento setup:static-content:deploy
Panel
borderStylesolid
borderWidth2px

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

Note

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.

Column
width50%

Composer Installation

Panel
borderStylesolid
borderWidth2px

1. Log in to your customer account at https://ecommerce.aheadworks.com and navigate to Account -> Composer access;

Panel
borderStylesolid
borderWidth2px

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

Add composer repository to composer.json by running:

composer config repositories.aheadworks composer https://dist.aheadworks.com/ 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.

Panel
borderStylesolid
borderWidth2px

 3. You can start using AW composer now.

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

Panel
borderStylesolid
borderWidth2px

 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.

Panel
borderStylesolid
borderWidth2px

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


...

Getting around

Section

Who Bought This Also Bought (WBTAB) extension allows adding the related product blocks to the product and category pages. The block content is gathered automatically.

The extension analyzes all the orders placed looking for the orders with two or more products purchsed together. Depending on the customer's tendency to purchase particular products in a single order, the extension builds the ties between the products.

For example:

If your customers were purchasing the cameras with the spare batteries and leather cases. The extension will display batteries and leather cases as related products at the camera page.

 

For the category pages WBTAB block works in a different way. Instead of displaying the related items for the category products, the extension takes the first item customer has added to the cart and displays the related items for it. If customer has no items in the cart, the WBTAB block is not displayed.

 

Note

WBTAB extension only considers 'Complete' orders for building related product blocks.

...