VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Patrick on November 10, 2011, 20:13:30 PM

Title: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 10, 2011, 20:13:30 PM
Virtuemart 2.0 and Joomla 1.7.
When I creating mulitple options with custom fields the backend order got completly rearranged.
Frontend ordering looks ok.
When I want to add an extra options in between, is that possible?
Don't want to delete every thing and start over over?
see below example I want to add the learning materials beneath the "Week selection" and in front of the "extra days"
Is it Also possible to categorize the options like "courses" and "stay", and how do I do that?
Course
            - Week 1,2,3 Selection
            - extra days Yes/no
Stay
            - Caravan or Tent selection
            - Breakfast Yes/no


Thanks Patrick
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: PRO on November 10, 2011, 21:09:21 PM
I thought you can drag and drop these into place now?

What version are you using?
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 11, 2011, 21:18:18 PM
Using Latest version, 2.0.0 RC 2M
Drag and drop, cool, where do I do that?

Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 12, 2011, 00:11:51 AM
Found the drag and drop option.....
can change order of the drop down fields :D
But the order of the options some how won't change.
Created a new option of week selection is in the product page last item, it need to be the first.
The Backend order options order changing doesn't change the frontend options order 
Thanks Patrick
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 13, 2011, 23:50:23 PM
Is this a bug or do I do something wrong?

Thanks
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 16, 2011, 18:24:03 PM
I'm struggling a couple of dayz now.
I can't get my week selection appear on top of selection list.
Deleted all custom field can't reorder............
Don't know what to do????
Please help.
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 16, 2011, 23:23:55 PM
Definitly a BUG............. ;D
If you create a custom field it get's a ID 01 , ID 02 and so on.
You can play around with the fields ordering it doesn't accept anything else then the creation ID.
How higher the number, How lower the option field is shown.
BUG fix needed for the blue up and down arrows or the field order in de custom field.

Hacked the backend database changed the fields ID to new order, changed the customfield of product to the new ID, WORKED!!!

So bug fix still needed, but problem is solved for now.

Thanks
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: PRO on November 17, 2011, 18:08:38 PM
If I have 1 dropdown with red, blue, green, I can move the blue ABOVE the green.

BUT;

If I have 2 dropdowns.

1 Color

1 Size

I cannot move size above color.
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 17, 2011, 18:41:24 PM
Thats the problem,  yeah
But real problem is in the making custom field ordering
Not in the custom field in de product itself
Up and down arrows order doesnt work
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 18, 2011, 19:18:25 PM

Seems the problem has occured in several joomla version ago in menu ordering.
Checked but all the menu ordering are working except the VM 2.0 ordering any where.
very very annoying, and hard to edit the database backend to resolve this.
Can some in development take a look at it?

Thanks Patrick
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: Patrick on November 20, 2011, 20:39:34 PM
Checked VM2RC version M default installation on joomla 1.5, same problem....
Somehow can't  get reordering to work anywhere within VM2RC.
Help, can't keep hacking the backend to get the correct order.
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: kimbukhari on May 18, 2012, 08:24:50 AM
Dear All,

Could any one please advice how to hack the database backend to sort the fields?

Pleasemy site is at the edge to launch but just stuck due to this error.

Regards,

Kimbukhari
Title: Re: Custom field's backend changing ordering, adding options in between
Post by: OpenGlobal on June 22, 2012, 16:11:29 PM
You need to set the sequence in the "ordering" column of the #__virtuemart_product_customfields table. If you're not using plugin custom fields, you can just drag and drop the rows on the table in the backend product edit screen.

OpenGlobal