VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: melsonmarketing on September 23, 2016, 12:37:19 PM

Title: Shopper Field for admin only?
Post by: melsonmarketing on September 23, 2016, 12:37:19 PM
Maybe I'm blind :-)

I need a shopperfield visible for admins / shopadmins only.

Never had that before and didn't find the right solution.

can anyone help me pls.?

J 3.6.2
VM 3.0.16
Title: Re: Shopper Field for admin only?
Post by: GJC Web Design on September 23, 2016, 13:19:35 PM
I guess just do it in the template

detect the user group and if admin show the field  -- assume can only be done by code
Title: Re: Shopper Field for admin only?
Post by: Milbo on September 24, 2016, 15:04:10 PM
You could use the attribute "read only" of a userfield and then use an override.