I need help, I would like to make the "free checkout" payment method to be accessible only for a certain group, how would i do that?
I have this:
Code: Select all
if($customer_group_id == 2) {
$status = true;
}
Code: Select all
Notice: Undefined variable: customer_group_id in .../public_html/catalog/model/payment/free_checkout.php on line 14
Thank you for your help in advance.