Is it possible to assign a delivery option to a customer group?
i.e. "cash on delivery" is only available to the cutomer group "people_I_trust_to_pay".
I have had a look at all the features and played with some of the code but I am not sure how to go about doing this.
Is there a variable I can check for the customer group so I could simply add a little php check?
Code: Select all
// --------
// cod.tpl
// --------
<?php if( $customerGroup == "people_I_trust_to_pay") { ?>
// cod.tpl code
<?php }?>
Thanks in advance.
RockingSkier
p.s. Awesome work Daniel. OpenCart is damn impressive. Looking forward to future versions.