The Repeater layout work incorrectly

Question:
I have already created a DatasetA and set the limited items as 4. I tried to connect the Repeater to DatasetA. In each Repeater Item, I added a button with the function to add a corresponding product to the Cart by Code. But I don’t know why the repeater works incorrectly. I still show 5 items as before setting limited items, and at the 5th item, the Add product button also not works as other repeater items.

Product:
[Which editor or feature is your question most relevant to? e.g. Wix Editor, Wix Studio Editor, Editor X.]

What are you trying to achieve:

  1. I need the repeater to show 4 items as I set the limit for connected dataset.
  2. The Repeater have to show 2 pages as repeater’s introduce

What have you already tried:
[Share resources, forum topics, articles, or tutorials you’ve already used to try and answer your question.]

Additional information:
Please help to review the video : PXL_20240710_134930376.mp4 - Google Drive
I can’t capture my desktop screen by other software :frowning:

Are you able to share the code you’re using?

While I know generally you can combine code and datasets, I know a lot of developers here would recommend either going for a complete code solution or for a complete dataset.

Either way, if you’re able to share your code, that would help a lot :slight_smile:

Hi Noahlovell,

Thank you for your response, It’s my mistake :slight_smile: Based on your comment, I have already checked my source code code and found the repeater’s loading function. Now it works :slight_smile:

Thanks,
SonPV