Components keep disappearing and reappearing for no reason?

This issue resolved a few hours ago, Then I reopened the app and.. the feature had disappeared from the demo app AGAIN. It seems to disappear and reappear randomly…? Does anyone know how I can address this?

This is my original post —

Hello!

I’m building an app that’s basically modeled on a store (you add “bingo items” to a “bingo card” the same way you’d add “items” to a “shopping cart”). The “add to cart” feature I’ve created is modeled on the one in Adalo’s “shop” template.

It worked fine until yesterday. Now it still displays in the app in the Canvas but not in the app preview.

Here’s the prelim troubleshooting I’ve done

  • I tried on 2 different browsers (Chrome, Safari)
  • I cleared my cache (and all browsing data)
  • I tried placing the “add to cart” feature on a different screen in the app (it won’t display on any screen)
  • I checked that the Visibility of the components in the feature are set to “Always”
  • I checked the colors, opacity and size of the components in the feature
  • I checked the alignment of the components (they’re not “outside the screen”)
  • I checked that I could add other components to that screen (a button, an image etc.)
  • I deleted the feature and rebuilt it from scratch, on 2 different screens in the app (it still doesn’t display on any screen in the demo app)
  • I tried logging out and back in of Adalo
  • I tried logging out and back in of the test account in the demo app

Here’s how the feature is set up (see screenshot) —

  • In the Product Detail Page screen, I set up an “Add item to cart” list (like in Adalo’s “shop” and “café” templates)
  • The “Add item to cart” list includes a Rectangle component which contains a Pushpin icon.
  • The pushpin icon has 2 actions (“Create order item” and “Link” to other screen)

It worked just fine yesterday, and it’s still displaying on the build on my canvas…

I’d be most grateful to anyone who can help. Thanks!!

Hi @petipaw,

Based on this filter, there’re records in the orders collection? A screen recording showing the database and app preview? (you can use sendspark.com, loom.com, Google Drive)

Thank you and have a great day!

Hi there Dilon! Thanks for your message.

Yes, there are records in the Orders collection — I created test accounts and created orders over the past few days. The feature worked fine earlier and a couple of days ago, so I don’t think it’s a database set-up issue…

Thanks! Are there records matching with the filters in the custom list?

Maybe it’s simpler if I explain what I’m trying to do —

I’m trying to allow the user to add an item to their cart. I looked at the 2 Adalo templates with similar situations (“café Oasis” and “Store with shopping cart” and I copied exactly the configuration of their “add to cart/bag” feature (see screenshot).

I made it work earlier — I’m attaching another screenshot where you can see that this demo user has previous orders (which I call “previous bingo cards”).

Is there a better way to set up an “add to cart” feature in my app? Am I doing this wrong…?

I very much appreciate your help :grinning_face:

Thanks @petipaw! Could you also share a screenshot of the Orders collections view?

Is this what you need? Or do you need the full display of the database?

Under which account you have logged in currently in the app? Could you share the app preview link with me for me to test?

Of course! Here is a test link —

I’m currently logged into Adalo as petipaw, and logged into the demo app as Test4 (great username, right…).

That should be the reason since from your orders collection view screenshot, there’s no records for test4 user that the complete true/false property is false as per the custom list filter. Try logging out and logging back as test5 user.

Thanks Dilon! I’m going to try that right away :slight_smile:

But in that case, how should I set up the “add to cart” feature, if I want users to be able to add items to their cart for an order that, as such, doesn’t exist yet…?

I mean my goal is not so much to display that feature as it is to allow users to add items to their cart… Could you recommend a way to do that?

Your very welcome! This course will help you! : Create a Robust, Flexible Shopping Cart System (recorded by @pford)

Thank you so much! I’m going to check it out!