How can I set a minimum purchase? If the price is less than 20$ at checkout time, the user should not be able to checkout. Instead I want to show a message like "The minimum purchase is 20$". How can I do that?

Thanks

Comments

rszrama’s picture

Component: DrupalCommerce.org » Checkout
Status: Active » Closed (won't fix)

Right now you'd have to write custom code for this unless there's a module already offering such a feature. I'd browse the contrib directory on DC.org to see if anyone's done anything here. Otherwise you may even be able to work a solution out with a custom rule.

It's not something we'll be putting into the Commerce core, though.

ron williams’s picture

rszrama’s picture

Component: Checkout » Contributed modules
Category: support » feature
Status: Closed (won't fix) » Closed (fixed)

Indeed! Updating the header info on the issue to make that more apparent.

arpitr’s picture

I am also looking for same thing. Module commerce minimum and maximum amount module stops from shopping what I am looking for is to add difference between order amount and minimum purchase amount and show a message for the same ,is this possible with rule or do we need custom code.If possible please refer me some helpful link for the same
Thanks
Arpit

arpitr’s picture

Issue summary: View changes

Corrected a spelling problem..