Help on how how to create repeater inside dynamic page

Question:
I need help on how how to create repeater inside dynamic page by using the same dataset like after display details of products A in a product page down below i have repeaters which shows related products which I need to show other products short details like image, title, small description and link to products page

Show your setup and codings first.

Hello Russian,
I haven’t used code for this as was simple task only to select data from collection and display them problem occurs when I was need to show repeaters by using the same dataset which used to display contents on that dynamic page

Not far ago, there was already a similar post answered by me, but can’t remember which one it was.

Generating your wished functionality completely without coding? → Well, i don’t know if this is possible (maybe).

Let’s imagine you have connected your DYNAMIC-PAGE by a DYNAMIC-DATASET.
DYNAMIC-DATASET means → On this page always only (1) item can be shown at once, showing row-data one by one out of your database.
On your PAGE you have added some ELEMENTS like → TEXT, DROPDOWNS, REPEATERS, TABLES, whatever…

Now the most of your elements are connected directly to your DYNAMIC-DATASET.
But your REPEATER can’t be connected to the same DYNAMIC-DATASET, that wouldn’t make any sense, sice you surely want to show more then 1-item inside your REPEATER.
Further → you want to display related content to the selected ITEM.

Let’s say you want to show a PRODUCT → Winter-Socks :grin:

And you want the user to offer different color-choice for your socks.
These COLORS are also inside of your database (ARRAY-FIELD for example, or OBJECT-FIELLD).

Now once a user has selected a PRODUCT, you want to load corresponding COLOR-DATA for your Winter-Socks.

Imagine your DYNAMIC-DATASET has loaded all ELEMENTS (except the repeater).

Now we are at the questioning-point → BUT HOW TO LOAD REPEATER-DATA NOW?

  1. From here you start CODING.
  2. Or you add a further → ORDINARY-DATASET <— connected to the ARRAY-FIELD inside your database and to one of the elements on your DYNAMIC-PAGE → which would enable the filtering function to find the right product and show it inside the repeater (in your case an ARRAY or OBJECT holding several/some DATA).

Okay thank you let me try implementing and I will share the feedback here