Just to be more clear, are you talking about implementing cart feature?
Jan 28, 2023
13
Level 51
Buy Later Feature
Wondering how you might go about implementing this feature. It’s for my shopping list app…
A user can “check off” an item for the current shopping trip and it will be there next time they go to shop unchecked.
My first thought is to add a datetime column to the item. Something like shop_for_after and just hide the item until after x time has passed.
Looking for alternatives in case I’m overlooking something more elegant.
Ideas?
Level 102
@webrobert ah yes I can relate to that. Then I think a date column would be a good idea. No need for an index I think. And I would just have a cron job to re add it to the list the next day
1 like
Please or to participate in this conversation.