VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: klaushviid on October 04, 2012, 14:03:42 PM

Title: Sorting dropdown Generic Product variant
Post by: klaushviid on October 04, 2012, 14:03:42 PM
Hi

I'm making a shop for a fitness center. Their products is the starting date within a month - i.e. the products is named "Starting the 1st" to "Starting the 31st".

31 products in total with different prices.
1 Parent and 30 childs.

I've made a custom field based on the Generic one just stating "Select start date:", layout is set to "ontop" - nothing else.

I created the products begining with the "1st" in a month (set to parent) and the rest was created in a cronological order.

My dropdown list on my main product is weird...the list seems strangely ordered
Checkout: http://felix-fitness.dk/index.php/tilmelding

How the hell do i order the list of options?
My client won't accept this random order - people expect it to show them as 1, 2, 3, 4, .., 31

Please advise
Virtuemart is 2.0.10
Title: Re: Sorting dropdown Generic Product variant
Post by: afon on October 15, 2012, 00:35:36 AM
Hi Klaus

Have the same problem with my products. I have a lot products with 6-7 different child. - different is most in length

To sort articles in Joomla is so easy why couldnt we this do in vm with variants?

I hope will be in latest next update or faster in a other solution. it is illogical that it should not be logical therefore possible :)

Title: Re: Sorting dropdown Generic Product variant
Post by: afon on October 15, 2012, 01:11:09 AM
I see now we arent since long time alone with this problem...


https://forum.virtuemart.net/index.php?topic=107411.0 (https://forum.virtuemart.net/index.php?topic=107411.0)  - and a lot other
Title: Re: Sorting dropdown Generic Product variant
Post by: PolishedGeek on October 15, 2012, 22:45:48 PM
VM2 custom fields have probably been the one thing that has frustrated more VirtueMart admins than any single other part of the journey from 1.1 to 2.0.  That's why we created a way to better control custom fields by integrating VM2 with a forms component. That way, you would be able to control the sort order however you like, and build the product options with all of the flexibility of a full-blown forms component. Check out our posting from today in the 3rd party extension forum: http://forum.virtuemart.net/index.php?topic=108824.msg364211#msg364211

Now I admit, the extension might be overkill to solve a simple sorting issue (and it's frustrating that you can't just do that in the core VM2). But if you build VM2 sites for multiple clients you will likely find many other ways to use it to solve the limitations of standard custom fields.
Title: Re: Sorting dropdown Generic Product variant
Post by: wpompen on November 15, 2012, 14:11:01 PM
I've installed this extension, problem solved!
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/22355?qh=YToxOntpOjA7czoxMDoiY2F0cHJvZHVjdCI7fQ%3D%3D