WAIT: Mini cart off canvas and indicator only working in first loop element

Hi,

I have a loop for all products on my homepage. Inside the loop I want to insert the mini cart element with the off-canvas option. Unfortunately the off-canvas will only work inside the first element. And also the cart indicator is only working for the first element inside the loop. Maybe it is not possible to use the mini cart inside a loop and it would be better to use it outside the loop.

Edit: The same is happening when I place the Search element inside the loop.

Thanks in advance.

Hi Ioannis,
Thanks so much for your report!

I don’t understand its purpose: why would you want to place the mini cart or the search in a loop instead of once above the loop or in the header (where both elements are usually placed)?

Best regards,
timmse

i am looping through a slider and I would like to show the cart button next to share product button, where I need to get the link through the loop. So there I positioned the mini cart element with the option “Off Canvas Cart”. But the off canvas is just working on the first element like the loop is causing issues.

----> https://jam.dev/ would help alot

understanding visual problems with text is limiting