See title. You cannot set the order of the custom fields anymore. It doesnt get saved.
Has it ever had such a possibility? ???
Quote from: hazael on February 21, 2025, 15:08:58 PMHas it ever had such a possibility? ???
Most definitely.
I found an error. in the file customfields.php in administrator\components\com_virtuemart\models\ on line 1758
change
if(!empty($customfield->ordering)){
to
if(isset($customfield->ordering)){
caused by the fact that php empty() also takes zero as empty and each new inserted field has ordering 0 :/
Thanks mate
Acctually I don't need it, but as I remember well, someone already wrote about this problem once and it was solved exactly the same way. It's just strange that the Virtuemart authors don't read this forum to use user comments to fix these bugs :)