VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mhuebler on October 07, 2014, 14:35:51 PM

Title: customfields ordering did not work
Post by: mhuebler on October 07, 2014, 14:35:51 PM
hello,

the customfields ordering did not work for the frontend. the frontend is order the customfields by customfield IDs.

anybody can confirm please ?

[attachment cleanup by admin]
Title: Re: customfields ordering did not work
Post by: Milbo on October 07, 2014, 22:11:25 PM
The ordering of the custom prototypes is only for the customfield groups. The other ordering is done in the product edit.
Title: Re: customfields ordering did not work
Post by: mhuebler on October 07, 2014, 22:24:41 PM
aahh ! now i understand. my custom fields and products are generated by a php connector, so i need customize the code for generate the products customs by the ordering of the custom fields.

thanks for fast reply .. Nachbar  :) Könn ja mal n Bier trinkn wenn de Zeit hast
Title: Re: customfields ordering did not work
Post by: Milbo on October 07, 2014, 22:38:38 PM
Immer gern ;-)
The reason is quite easy. When you edit the products in the vm, then you can set the ordering by dropndrag. There existed the idea, that the ordering of the custom prototype is also influencing the ordering, if you add the customfield. But that is very hard to handle, because in the moment someone moves the custom, we would have to store this override and what happens if you add another customfield? I am sure Markus can fast adapt it. Greets
Title: Re: customfields ordering did not work
Post by: mhuebler on October 07, 2014, 22:53:08 PM
at the moment i work for myself on the connector code because of to much trouble with markus code. everyday i need fixes.

i think its not a problem for me because i can simple override the complete order of the product customs when update a product.