Private Customer Discount and Menu



I have a problem like this;

I want to have some customers on Sambapos and I want these customers to have 2 meals a day.

For example, I would like to make an adjustment to these customers in the morning, between breakfast (07.00 - 12.00) and dinner (14.00 - 23.00).

Unused items will be reset during these hours.

And certain products will be allowed in these menus.

How do I do that? Can you help me with this?


You’ll most likely want to use entities either customer or custom type.
Have custom entity fields for a count of discounts claimed.
I’d go for a custom product tag to set which products are elidgable.
A trigger to reset the claimed count fields.
Some order added rule to set discount on order added which looks at the product tag for elidgability and entity field to check claimed field value before applying discount.