V
V
Vadim Sverdlik2019-02-04 01:55:42
JavaScript
Vadim Sverdlik, 2019-02-04 01:55:42

How to solve the problem with the carousel of recommended products in the product card?

on the example of the product vjc.cp.co.ua/bags-ru?product_id=134
, initially there was no carousel. Products were displayed simply in blocks, then I added a cycle to the carousel and it turns out that clicking to the left does not work there, but to the right it works, but there is no continuity of products, and they switch 2 products per click, I can’t adjust this and the console shows an error
5c57714702f20245482818.png
that can also be solved does not come out and go in circles

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Yudin, 2019-02-04
@NikitaNike

For looping, add a property
Also in the sandbox you can try to configure:
https://codepen.io/Vlastelin/pen/GmjMwW?editors=1010

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question