View Single Post
  #4  
Old 03-02-2015, 03:50 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: hiding a shipping option based on user

I prefer to do this in php rather than the templates. For 4.6 in include/func/func.shipping.php in func_is_shipping_method_allowable() toward the top add something like this:

PHP Code:
if ($customer_info['membershipid'] != && $shippingid == 201)
    return 
false
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote