wearepixel / laravel-cart

MIT License
5 stars 1 forks source link

Feature: Add targets to cart conditions #12

Closed joelwmale closed 2 months ago

joelwmale commented 2 months ago

Fixes: #11


It's a good idea to streamline the end user's application logic by adding an optional "minimum" (or close-to) value to be added when conditions are added.

This would mean the condition is actively applied and returned in all when and only when it is active.

It can be removed in the same standard ways.

This means the end user does not need to re-do their own internal validation to check minimum amounts, and then remove/re-add as cart values change.