# Automatic Toggle Trigger 💡

**URL:** <https://community.glideapps.com/t/automatic-toggle-trigger/37324>\
**Category:** Community Resources\
**Created:** [January 18, 2022, 2:03am UTC](https://community.glideapps.com/t/automatic-toggle-trigger/37324 "2022-01-18T02:03:03Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 31, 2022, 1:19am UTC](https://community.glideapps.com/t/automatic-toggle-trigger/37324/21 "2022-03-31T01:19:13Z")

</div>

I thought about implementing something like that, but the multiple row reset example doesn’t deal with quantities. Only a True/False scenario. I guess I’m assuming that in @BDN_Jacopo_Chiapello’s case, each number of inventory could be different for each product and you still have to track that inventory over the course of a week.

A variation of the Multiple Row Reset concept it my Shopping Cart concept, but it’s much more complicated and slightly different.

> [@Shopping Cart Concept for demonstration purposes](https://community.glideapps.com/t/shopping-cart-concept-for-demonstration-purposes/33264):
>
> First of all, I want to say that I’m personally not a big fan of ecommerce type apps with Glide. There’s a lot of complexity to them and everybody has a different view for how they should work. Because of that, I generally don’t give advice on how to do things with them. Glide has said that ecommerce is not the direction they are focused on and I think Glide is short on some logic and functionality to properly handle the purchase and inventory side of things. With that said, I still made an …

As I think about this situation more. I think it would make more sense to think about it differently. Instead of having a basic column that stores the current inventory, Maybe we just need the Default inventory column, a way to rollup all orders for the past week up to the previous Monday, and then a math column to subtract the different. That would be your inventory. I think if it was set up correctly, there would not be a need for an action to reset the inventory. Once the next Monday rolls around, the inventory would automatically reset, because the rollup would not find any orders that occurred in the current Monday weekly cycle. Let the rollup do the work. Not a Set Column action.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 12, 2022, 5:21am UTC](https://community.glideapps.com/t/automatic-toggle-trigger/37324/22 "2022-04-12T05:21:53Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

[Previous page](https://community.glideapps.com/t/automatic-toggle-trigger/37324.md?page=1)
