VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sandomatyas on April 11, 2025, 17:15:00 PM

Title: Toggle hidden field issue in VirtueMart custom fields list (Admin only / Hidden)
Post by: sandomatyas on April 11, 2025, 17:15:00 PM
Hello,

I'm using VirtueMart 4.4.6 on Joomla 5.2.6 and I've found a strange behavior:

In the VirtueMart admin → Custom Fields list, I can toggle the "Admin only" and "Hidden" columns directly by clicking the eye icons (toggle functionality).

When I want to enable the Hidden field (clicking the grey eye icon), it works fine — the icon turns green.

But when I want to remove the Hidden attribute (clicking the green eye icon), it doesn't change back to grey. Instead, I get an error message:

vmError: There was an error toggling is_hidden
vmError: VirtueMartModelCustom::toggle 99


Thanks!