How to Clear recently viewed items (frontend user function) - Magento -
There is currently a link button in the Magento cart that clears the cart of its contents.
In a similar manner, I should have a link button in the "Recently Viewed" panel, which clears the list of the user's recently viewed products. I'm doubting the need to get the user cleaned by cash in any way - I'm not sure how Magento records and stores visited the products.
Do anyone know how to do this in Magento? If someone has any suggestions on how I can do this, I would be grateful.
(Note that this is not the question of clearing the overall cache in Magento admin)
Recently viewed product data is stored in the You can delete these records based on report_viewed_product_index table.
customer_id / visitor_id
Comments
Post a Comment