Author Topic: New product custom field when it's in a custom group  (Read 3248 times)

sandomatyas

  • Jr. Member
  • **
  • Posts: 327
New product custom field when it's in a custom group
« on: May 14, 2021, 15:14:42 pm »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1207
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: New product custom field when it's in a custom group
« Reply #1 on: May 14, 2021, 20:45:08 pm »
no
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10250
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: New product custom field when it's in a custom group
« Reply #2 on: May 14, 2021, 22:31:47 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sirius

  • Jr. Member
  • **
  • Posts: 130
    • OCTeam
  • VirtueMart Version: 3.8.6
Re: New product custom field when it's in a custom group
« Reply #3 on: May 15, 2021, 09:55:12 am »
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.2 | PHP 7.4.24 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 3.8.9