# Buy button adding things to all users' carts

**URL:** https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896
**Category:** Report a Bug
**Created:** [January 28, 2021, 7:00pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896 "2021-01-28T19:00:58Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:00pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/1 "2021-01-28T19:00:58Z")

</div>

🤨 I don’t think this is a bug so much as I’m sure I’m missing some configuration but this is my first post so here we go.

I’ve added a Buy Button and it adds things to the cart and allows for check out with a credit card to my Stripe account (working on integrating a PayPal setup instead but that’s another story). So that’s all fine and good BUT when someone adds something to the cart, it adds it to EVERYONE’S cart which, for obvious reasons, is not ideal. As far as I can tell, there’s no where for me to configure the buy button or cart area to make it user specific. What am I missing?

Side note, if I can configure the cart, is there a way to add the picture of the item that was purchased to the cart listing?

Thanks for any help, this community has been a great help to me so far 🙂  
Megan

[Screen Recording of Cart Issue](https://drive.google.com/file/d/1my6D0tBwgH0l9zrSzssKtlpZ0K79lTrP/view?usp=sharing)

---

<div class="post-metadata">

### Author: ![ehdubya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ehdubya/32/24087_2.png) [@ehdubya](https://community.glideapps.com/u/ehdubya)
#### Post date: [January 28, 2021, 7:06pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/2 "2021-01-28T19:06:32Z")

</div>

> [@dinomeg](#):
>
> [Screen Recording of Cart Issue](https://drive.google.com/file/d/1my6D0tBwgH0l9zrSzssKtlpZ0K79lTrP/view?usp=sharing)

Just a heads-up, I got “Access Denied” when trying to view the video. Might have to change the Share settings 👍

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:09pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/3 "2021-01-28T19:09:33Z")

</div>

@ehdubya Oh, thanks! I think I fixed it!

---

<div class="post-metadata">

### Author: ![ehdubya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ehdubya/32/24087_2.png) [@ehdubya](https://community.glideapps.com/u/ehdubya)
#### Post date: [January 28, 2021, 7:13pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/4 "2021-01-28T19:13:18Z")

</div>

Do all the “fake” users contain **your** sign-in email?

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:20pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/5 "2021-01-28T19:20:29Z")

</div>

They’re actually all real users so they have unique information entered for their details.

I don’t have visibility conditions for the cart which I think may be the issue. Sometimes when I go to the cart it says “No Configuration” and sometimes it has options to change settings. I don’t know what tells it to allow me to edit or not but that may be beside the point.

What visibility condition would I set so it includes only items added by the signed in user? I’ve gotten good at the basic visibility settings but when it comes to actions like this I get lost.

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:23pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/6 "2021-01-28T19:23:16Z")

</div>

Changing it to “email is signed-in user” didn’t seem to change anything ☹

---

<div class="post-metadata">

### Author: ![ehdubya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ehdubya/32/24087_2.png) [@ehdubya](https://community.glideapps.com/u/ehdubya)
#### Post date: [January 28, 2021, 7:23pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/7 "2021-01-28T19:23:57Z")

</div>

> [@dinomeg](#):
>
> I don’t have visibility conditions for the cart which I think may be the issue. Sometimes when I go to the cart it says “No Configuration” and sometimes it has options to change settings.

This _might_ be a bug…usually it would just show the signed-in users items that they added…I would just keep playing around with the settings.

Good luck!

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)
#### Post date: [January 28, 2021, 7:24pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/8 "2021-01-28T19:24:33Z")

</div>

Are all of your users using the same device, like a shared phone or tablet? We never even send cart items to our servers.

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:25pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/9 "2021-01-28T19:25:29Z")

</div>

Hm. Interesting indeed. Ok, I’ll try to keep fiddling with settings although I posted here because I’m running out of ideas haha

Maybe I’ll try changing things and letting it think/refresh after each change just in case. Thanks for your ideas

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:27pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/10 "2021-01-28T19:27:11Z")

</div>

Hey @david people are using their own devices and no shared devices. None of my users are actively doing things at the moment though, I’ve just been testing on my own for now with the “preview as” function.

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)
#### Post date: [January 28, 2021, 7:27pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/11 "2021-01-28T19:27:51Z")

</div>

Ok, so, this bug isn’t even happening to real users. This is just a consequence that Preview As does not apply to the cart.

---

<div class="post-metadata">

### Author: ![dinomeg](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dinomeg/32/20650_2.png) [@dinomeg](https://community.glideapps.com/u/dinomeg)
#### Post date: [January 28, 2021, 7:29pm UTC](https://community.glideapps.com/t/buy-button-adding-things-to-all-users-carts/21896/12 "2021-01-28T19:29:13Z")

</div>

Oh! That’s awesome news! So I should test the cart by actually signing in and having a friend sign in on her own as well?

Thanks so much, I’m relieved 😃
