Adding Items to Cart from Infinite Scroll

  • dlaughter
  • Topic Author
6 years 2 months ago #303141

-- url of the page with the problem -- : www.silverconnection.com/index.php/jewellery-shop/earrings
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2.14

I have an issue to where the Add to Cart action for product items that load via Infinite Scroll returns a blank, non template page, which just lists addition items, however has no escape or template formation. Items that are originally loaded to the product listing page, per row/column settings, are added to the cart just fine. But for any items that Infinite Scroll populates, the problem exists when any of these items are added to cart from the product listing page.

If the item image on any of these infinite scroll items is selected first, thus going to the details page, then everything is good when adding to cart. Also, any item via pagination is added to cart just fine. It's only on items that Infinite Scroll adds and when adding to cart from that product listing page.

Scroll down enough to where Infinite Scroll populates additional items and add one of them to cart to see this issue.

Last edit: 6 years 2 months ago by dlaughter.

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #303157

Hi,

You want to turn off the "add to cart legacy" setting of the HikaShop configuration in order to use the new add to cart system of HikaShop 3 and 4. The old one from 2.x that you're using is not compatible with the infinite scroll system.

The following user(s) said Thank You: dlaughter

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

  • dlaughter
  • Topic Author
6 years 1 month ago #303192

Thanks very much Nicolas.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum