If you are working with repeaters, than you have the possibility to use → INDEX of each item. Every item has his own index-number (beginning from 0).
You surely already have seen something like…
$w(‘#REPEATER’).onReady(()=>{$item, itemData, index });
You could use the index to navigate to the right item.
-
Click onto a button in the repeater.
-
If clicked button has the index=5 and is the chocolate-button, then set new index to 10, which will be the VANILA-index.
-
Start a function which will search for the VANILA-INDEX, for example with a for-each-loop trough the repeater …
https://www.wix.com/velo/reference/$w/repeater/foreachitem -
Another way perhaps could be to use the dataset.getItem() - function.
Just some theoretical thoughts. Try it out.