Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sort products by category (in parent category view)

I have a quite unique problem.

I have a shop where there are multiple categories in a setup like this

Collection
.... Shorts (products: small 16 - RED and small 20 - BLUE)
.... Dress (products: blue: 16 , Green 19)

If I open Collection in the shop I get the items like this

Blue 16
Green 19
small 16 - RED
small 20 - BLUE

I want my output to be like this:

small 16 - RED
small 20 - BLUE
Blue 16
Green 19

How can i get this results? I'm sorry i haven't provided any code, as i have no idea how i should achieve this

like image 491
Kasper Sanguesa-Franz Avatar asked Sep 28 '15 13:09

Kasper Sanguesa-Franz


1 Answers

I do something similar to this.

Within Magento admin you can manually set the order in which the products display on the category page.

  • Catalog -> Manage Categories (select your category)
  • Under the "Category Products" tab you will see a table containing all the products assigned to the category, on the far right there is a column called "Position". Here is where you enter an int value, the lower the number the higher the product would appear on the category page.
like image 74
R1CHY_RICH Avatar answered Oct 12 '22 19:10

R1CHY_RICH