VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: EvanGR on June 28, 2023, 13:56:14 PM

Title: Custom field value (for 3rd party extensions)?
Post by: EvanGR on June 28, 2023, 13:56:14 PM
Hello,

I am trying to get the value of a Custom Field entry for a product.
It works for native VM custom fields, but for 3rd party fields (type: plugin), the value is not included in the object.
Instead I get a $customfield->virtuemart_customfield_id which probably points to the value in another DB table.
How do I retrieve the values of such plugins?

btw... admin template

Thanks!
Title: Re: Custom field value (for 3rd party extensions)?
Post by: balai on June 29, 2023, 15:30:38 PM
I suppose that you have to address to the plugin devs.
Each plugin has it's own way to store it's values.