Load more and Add to Cart/choose options not showing

  • Posts: 116
  • Thank you received: 7
  • Hikashop Business
8 years 1 month ago #269314

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.0
-- PHP version -- : 7.0
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : none

On the initial page display the products that are shown will have the add to cart/choose options button shown correctly.

We are using the Load more... auto scroll feature so when the visitor scrolls down the page to reveal additional products those products don't have the add-to-cart/choose options button available.



Not a huge deal, but thought maybe there was a simple fix for it.

Thanks!

Attachments:

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #269319

Hi,

I'm not able the reproduce the problem on your website: monosnap.com/file/dPOZJav0t4BBjbgZYPJ9nCHdVRHuhX
The issue you see is probably because you had the add to cart display setting turned off in your menu item before and you tested the infinite scroll at that point, and then you turned on the option and tested the infinite scroll again without clearing the cache of your browser. So the AJAX requests of the infinite scroll were actually the cached version from before instead of what someone else would see.

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

  • Posts: 116
  • Thank you received: 7
  • Hikashop Business
8 years 1 month ago #269388

I purged the cache and stopped redis on the installation, refreshed the page a few times and got it to work finally. Are there any workarounds or suggestions that you all can recommend as a developer on the best way to utilize tools like redis/memcached for dynamic applications?

Thanks!

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

  • Posts: 83987
  • Thank you received: 13603
  • MODERATOR
8 years 1 month ago #269455

Hi,

Such issues will only happen while you're tweaking the settings of the website. I would recommend to turn off caching mechanism while you're building your website and activate them back once you have the settings figured out. That will avoid a lot of hassle wondering why your changes are not taken into account when they should.

Regarding the caching on Joomla, the standard settings of Joomla can already do a lot and otherwise, Varnish is also compatible with HikaShop.
Also, using PHP 7, like you already do, is also great to speed things up.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum