Author Topic: Dropdown menu of child variants wrong in 2.0.18c  (Read 1415 times)

patrik60

  • Guest
Dropdown menu of child variants wrong in 2.0.18c
« on: March 02, 2013, 09:20:07 am »
After installing VM 2.0.18c the dropdown menu shows the child variants in the reverse way. See attached pics. 2018b was correct, 2018c now is wrong.



[attachment cleanup by admin]

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10530
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Dropdown menu of child variants wrong in 2.0.18c
« Reply #1 on: March 02, 2013, 12:46:13 pm »
There is now an ordering possible, open the parent product. On the first tab, you can see the childs of this product and an ordering. Write your ordering there and store it. The ordering is "ascending". That means the parent is 0 and on top, the childs should have 1 or higher. The feature is quite rudimental written
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

patrik60

  • Guest
Re: Dropdown menu of child variants wrong in 2.0.18c
« Reply #2 on: March 02, 2013, 21:31:53 pm »
Somehow this doesn't work properly: The value of all products (parents and children) in the DB table in the column "pordering" is 0 (ordering in the BE for all childproducts=0). This means the function works only after setting the order for each product. In my case it isn't a problem since I have only 150 products each one with only one child. But what's about shops with a thousand of products with more children?

It would be good to have the possibility in the configuration to set per default an ascending or descending sort. In the parent product the shop owner could than make special modifications with this new function for some products.

But anyway: thanks for the new feature.



[attachment cleanup by admin]

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10530
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Dropdown menu of child variants wrong in 2.0.18c
« Reply #3 on: March 02, 2013, 22:41:22 pm »
Hmmm, I think I got now the problem,
in fact it was using the ordering of the category,... I mean,.. the ordering of a product within a category. This is usually 0, so it is using the fallback and uses the indexes, therefore just the time, when created. Before it was set the opposite, yes. From the normal point of view the ordering starts on top with 1 or 0.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/