VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: likrish on September 25, 2015, 17:17:33 PM

Title: How can I force a Custom Field on Every Product?
Post by: likrish on September 25, 2015, 17:17:33 PM
We are developing a vmcustom plugin for VM3 that we need enabled on every single product in the store.

Is there a way that we can force the custom field to always be associated with a product (perhaps with an override in the /templates/mytemplate/html/com_virtuemart/ folder?).

We also have paid work for any developer who is an expert with VM plugins and overrides...
Title: Re: How can I force a Custom Field on Every Product?
Post by: balai on September 25, 2015, 17:30:52 PM
Depends on the tables the custom field uses. By default you just need to have the same record added for all of your products in the table virtuemart_product_customfields
You can do that in the database or with an extension like CSVI