Problem displaying the last products viewed by everyone

  • Posts: 30
  • Thank you received: 1
1 week 3 days ago #372299

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.1
-- PHP version -- : 8.4.21

It seems that the "product_last_seen_date" field from the "ordering field" section, which I used to display the last products viewed in the "Recently viewed" module, is not working properly after the last two updates and the last products viewed by users are not displayed correctly to everyone! Thank you for checking and resolving this.

Please Log in or Create an account to join the conversation.

  • Posts: 85796
  • Thank you received: 14089
  • MODERATOR
1 week 3 days ago #372303

Hi,

You're right, this is a bug on our side, and it only affects products that have variants.

Since the product page was reworked in version 6.4.0, viewing a product that has variants recorded the visit on the selected variant instead of on the main product. Listings only show main products, and your module orders them by the product_last_seen_date field, so visits made on variant products never appeared there and that list stopped updating. Products without variants kept working, which is why only part of your "recently viewed" list looked wrong.

It is now fixed: the visit is always recorded on the main product again, so ordering by product_last_seen_date fills up correctly. The fix will be in the next version (6.5.1). If you want it right away, you can download the install package of HikaShop on our end and install it on yours.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum