Author Topic: How to change product order from multiple categories  (Read 241 times)

Huubs

  • Jr. Member
  • **
  • Posts: 103
How to change product order from multiple categories
« on: June 22, 2018, 10:30:34 am »
I have a page where multiple products are displayed from multiple categories. But the wrong category is displayed first. I checked the ordering, that is now good. I checked the product order settings but it does not take the category order into account. How can I display 1 category before the other? Do I have to change the name?

The product order is correct but it displays the first category first instead of second. The first category has order 2 in the categories list and the second 1, but it stil displays them wrong.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3331
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: How to change product order from multiple categories
« Reply #1 on: June 22, 2018, 12:04:56 pm »
I dont think that your case have a solution without a hack

Huubs

  • Jr. Member
  • **
  • Posts: 103
Re: How to change product order from multiple categories
« Reply #2 on: June 22, 2018, 12:28:51 pm »
That seems weird.

How does it decide which one it displays first then?

That seems like something that is kinda mandatory? Product ordering, especially when you have the possibility to display all products in all categires via Top Category. I cannot imagine I'm the first one who asks about this.


Fixed it with PHP code by re-arranging the php array.