VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: EvanGR on September 04, 2019, 15:47:03 PM

Title: Product: order of custom fields (in the same template position)
Post by: EvanGR on September 04, 2019, 15:47:03 PM
Hello,

I want to change the order of the Custom Fields in the Product page (same Layout position).

I searched in older threads and they mention drag-n-drop reordering functionality.

I see no such thing. Neither a field to set an order priority for each custom field. I am looking in VM->Products->Custom Fields page.

What am I missing?

Thanks

[VM3.6]
Title: Re: Product: order of custom fields (in the same template position)
Post by: StefanSTS on September 04, 2019, 17:37:02 PM
VM - Products - Products - Custom Field tab.
Title: Re: Product: order of custom fields (in the same template position)
Post by: EvanGR on September 05, 2019, 09:40:32 AM
It has to be done for each product separately?
Title: Re: Product: order of custom fields (in the same template position)
Post by: GJC Web Design on September 05, 2019, 15:56:52 PM
afaik yes
Title: Re: Product: order of custom fields (in the same template position)
Post by: StefanSTS on September 05, 2019, 16:51:31 PM
Yes, for every product separately.

There is only the group mechanism at creating the custom fields for a product. So you can make a group and add many custom fields at one time to one product.

We are still waiting for that new extension coming up where you can choose if you want it separate per product or if you have a bunch of custom fields that are centrally controlled by a "parent custom field cluster".
And then another setting, if the values of the custom fields in that parent custom field cluster are separately controlled by the product or by the parent custom field cluster itself.

Would be great if an extension developer would come up with something like that.
In core I guess it makes sense to keep it simple, since many users would be confused with such a variety of possibilities. It would probably lead to unwanted changes in products. The GUI would need to be quite sofisticated to prevent unwanted changes.

Just my 2 cent.

Title: Re: Product: order of custom fields (in the same template position)
Post by: Jörgen on September 05, 2019, 19:04:32 PM
Using a unpublished parent product with a set of predefined custom fields works. You can the modify or even hide the inherited custom fields. You can set up a couple of different parents depending on the type of product You are using. I do not know if changing the the order of custom fields in the parent changes the order in the child without saving, but adding new fields in the parent would appear in the child. Make some tests and tell us if this covers your needs.

Jörgen @ Kreativ Fotografi