# Send "products" from repeating group to another

**URL:** <https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049>\
**Category:** App Organization\
**Created:** [July 4, 2022, 9:35pm UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049 "2022-07-04T21:35:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob.franss](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jacob.franss](https://forum.bubble.io/u/jacob.franss)\
**Post date:** [July 4, 2022, 9:35pm UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/1 "2022-07-04T21:35:38Z")

</div>

Hi,  
I’ve been searching for an answer to this but haven’t found any yet.

I have a repeating group with products, lets say the products are shoes. I have thousands of shoes in my database, so what I want to do is let the user (not logged in) save his/her favorite shoes while searching the repeating group. So the “main” repeating group with all the shoes is to the left. On the right side I want a repeating group which is empty until the user “likes” a pair of shoe. So when the user clicks on an icon in the left repeating group → that pair of shoes will show in the repeating group to the right. How do I do this?

Let me know if you need further explanation.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 4, 2022, 10:49pm UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/2 "2022-07-04T22:49:48Z")

</div>

Simple… use a Custom state list…

Have a custom state, of type Shoes (list) set somewhere on your page, and set the Second RG’s datasource to be that list of Shoes.

When a user clicks on a Shoe in the first RG, run a workflow to add that Shoe to the custom state list of Shoes.

---

<div class="post-metadata">

**Author:** ![jacob.franss](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jacob.franss](https://forum.bubble.io/u/jacob.franss)\
**Post date:** [July 5, 2022, 7:18am UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/3 "2022-07-05T07:18:46Z")

</div>

I can’t make it work.

I created a new custom state list:  
 ![Skärmavbild 2022-07-05 kl. 09.14.46](https://us1.discourse-cdn.com/bubble/original/3X/8/6/8634c8525788c4523e90c76e5d6796182d920a95.png)

I set the second RG’s database to be that list:  
 ![Skärmavbild 2022-07-05 kl. 09.16.21](https://us1.discourse-cdn.com/bubble/original/3X/5/0/507234e924f3e5b1f875c4f90d1b2cb0d6cf7b7b.png)

And then I don’t understand what to do. I go into workflows and start with “When shoe is clicked…”, but I can’t figure out how to add that shoe to the custom state list?

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 5, 2022, 10:21am UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/4 "2022-07-05T10:21:34Z")

</div>

![image](https://us1.discourse-cdn.com/bubble/original/3X/4/5/453775186e850374209fbeb53326563ae9daa462.png)

---

<div class="post-metadata">

**Author:** ![jacob.franss](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@jacob.franss](https://forum.bubble.io/u/jacob.franss)\
**Post date:** [July 5, 2022, 11:02am UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/5 "2022-07-05T11:02:33Z")

</div>

I can’t get it to show “Current cell’s Shoe”. It just says “Current cell’s index” which does not work

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [July 5, 2022, 11:03am UTC](https://forum.bubble.io/t/send-products-from-repeating-group-to-another/214049/6 "2022-07-05T11:03:53Z")

</div>

Then I’m guessing your button is inside a Group (whcih is inside the Cell)… so use Parent Group’s Shoe instead (the group will need to have a content type of Shoe and a datasource of current cell’s Shoe).
