Create a hook for ‘allow_place_order’. Test whether the user is a member of the group you want to verify. If so, then check that the $cart[‘amount’] is >= the min amount you want. If not, set $cart[‘failed_shipping’] = true and return.
[quote name=‘tbirnseth’]Create a hook for ‘allow_place_order’. Test whether the user is a member of the group you want to verify. If so, then check that the $cart[‘amount’] is >= the min amount you want. If not, set $cart[‘failed_shipping’] = true and return.[/QUOTE]
Thank you very much tbirnseth!!
I spent several days reading about the structure of this script and with your help,I created my first addon
Glad you were able to get it. You should have been able to use the existing addon called my_changes. It is intended to be a local hook for customization of your store.