News:

Support the VirtueMart project and become a member

Main Menu

New product custom field when it's in a custom group

Started by sandomatyas, May 14, 2021, 15:14:42 PM

Previous topic - Next topic

sandomatyas

There is a site where are 3 custom groups, every group has ~20 custom fields. These groups were added to the products when the site was built.

I created a new custom field and assigned it to an existing group.

When try to add it to a product, I can't find it in the customfields dropdown, only the group. But when I add a group, VM adds all of the group member fields again, so I need to remove the 19 duplicated rows.

Is there better way for that?

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

don't add the new field to any group ... then u can add just that field to a product
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sirius

Hi
@sandomatyas

You have to understand that groups are just a kind of template in order to add several fields at once, but that stops there, it is not a real group management.
This is why, when you assign the same group a second time to your product, all the fields are added again, it is not an update of the list of fields belonging to the group that is carried out.
regards
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.0.11095