recently viewed products
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
recently viewed products
Hello Team Aimeos,
I want to implement a recently viewed product listing in my aimeos site, when the customer is not logged in I want to store the customer product page visits in session whenever the customer logged in to a system that time these products will be shifted to the database table (i know cart logic look similar ), tel me the steps to fulfill this ..............
(recomend me if you have better idea )
Thank you
I want to implement a recently viewed product listing in my aimeos site, when the customer is not logged in I want to store the customer product page visits in session whenever the customer logged in to a system that time these products will be shifted to the database table (i know cart logic look similar ), tel me the steps to fulfill this ..............
(recomend me if you have better idea )
Thank you
Re: recently viewed products
The catalog/seen HTML client almost does that already besides persisting the the products from the session in the database.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: recently viewed products
I want to store recently viewed products permanently but in aimeos when I log out all the recently viewed products will be cleared,, so how can i handle it ...i dont want those products will be removed from my list when customer logs out
Re: recently viewed products
You could move those products to the customers' favorite list on login or extend the catalog/seen component to store the products in the database as soon as this returns non-null:
Code: Select all
$this->context()->user();
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star