- This line was added.
- This line was removed.
- Formatting was changed.
How it works
When a user logs in, our module determines which product SKUs the customer has purchased in the past, and the dates of purchase. This information is then used to display a message on the product pages where a SKU has been purchased previously.
In the example above you can see a message "You last bought this product on 10 Apr 2018".
Handling grouped, configurable and bundle products
In the cases of some product types, the main product SKU displayed at the front-end is not necessarily the SKU used on the order - this is because the associated simple product is purchased.
For grouped and configurable product types, if one of the associated simple products (i.e. size/colour combination) has been purchased, then the 'You last bought this product on...' message is displayed.
For bundle product types, if the bundle itself has been purchased (rather than the associated simple products), then the 'You last bought this product on...' message is displayed.
To access the configuration of the module, select Stores->Configuration from within the admin panel...
Now scroll down to the 'On Tap' option, and select 'When You Last Bought'...
<< IMAGE >>Image Added
You will then see the module's configuration page...
<< IMAGE >>Image Added
These options are as follows:
This allows you to enable or disable the functionality on a per-website basis.
|Limit number of orders searched|
If you have a large number of orders in Magento, either in general or per user, you might want to limit the number of orders that the module considers in its functionality. This can boost performance, and ensure that the extra processing that is done when a customer logs in does not incur a delay in the customer journey.
If this field is empty (which is the default), then all orders from the logged in customer are considered. Otherwise, if you enter a number, then only that number of most recent orders are ever considered.
|Limit number of products stored|
You can also limit the number of products stored when a customer logs in. Again, if this field is empty (which is the default), then all products from their orders (subject also to the order limit above), are considered. Otherwise, if you enter a number, then only that number of products are ever considered.
If you experience any issues with the extension, please document in detail what has happened. Include screenshots and error messages and visit: www.ontapgroup.com/customer/account/ and create a new account (if you do not already have one). Once logged in, click on MY SUPPORT TICKETS, and then the ‘Submit a Ticket’ button to create a new support ticket.