carosel repeat error

  • Posts: 368
  • Thank you received: 7
  • Hikashop Business
2 days 1 hour ago #368041

-- Joomla version -- : 5.3.2
-- PHP version -- : 8.3

Hey,
The carosel on the supplied page will not repeat - desktop issue.

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

  • Posts: 84149
  • Thank you received: 13652
  • MODERATOR
1 day 21 hours ago #368042

Hi,

This comes from this limitation of the Swiper carousel system we're using in HikaShop:
github.com/nolimits4web/swiper/issues/6471
Since version 9 (we're using version 10), you need at least twice the amount of elements displayed for the loop to be able to happen.
On your page, you have 4 elements displayed for a total of 6 elements. That's why the slide is not repeating.
So, there are several solutions here:
- reduce the number of elements displayed
- increase total number of elements loaded by the module
- add an entry with the namekey carousel_version and the value owl in the hikashop_config table via your PHPMyAdmin in order to switch to the OWL carousel library HikaShop implemented before switching to Swiper.

I don't recommend this last solution as the OWL carousel library is old (not updated for 7 years now), requires jquery (swiper doesn't), and it is bulkier, and slower.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum