Child pages
  • AJAX Cart Pro - Magento 2

Versions Compared

Key

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

...

Thank you for choosing Aheadworks!

...

Installing AJAX Cart Pro

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 AJAX Cart Pro installation package;

Panel
borderStylesolid
borderWidth2px

 3. Upload contents of the AJAX Cart Pro installation package to your store root directory;

Panel
borderStylesolid
borderWidth2px

 4. Navigate to your store root folder in the SSH console of your server:

No Format
cd path_to_the_store_root_folder

run:

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

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

AJAX Cart Pro extension comes ready for work right after the installation.

The extension substitutes native Magento Add to Cart button with an enhanced one. The new Add to Cart button allows adding products to the cart right from the category page. Instead of redirecting customers to the product page, AJAX Cart Pro displays a pop-up with the necessary product options: attributes and quantity.

AJAX Cart Pro works form the category, search results, product comparison page and supports native Magento cross-sells block. Additionally it allows adding products to the cart directly from the Automatic Related Products blocks by aheadWorks.

 

 

The AJAX Cart block suggests to specify the product options and offers a quick overview of the product:

  • Product Image;
  • Product short description;
  • Review summary.

When done with the product options, customer clicks button and the product is added to the cart, no category page reloads following.

If the product has native Magento cross-sells appointed the cross-sells block will be displayed in the confirmation pop-up of AJAX Cart Pro extension.

Expand
titleClick to see how cross-sells block looks like...

Note

AJAX Cart Pro extension works with the following custom option types:

  • Text field;
  • Text area;
  • Dropdown;
  • Radio buttons;
  • Checkbox;
  • Multiselect

...