-
Sorting Products
I'd like to sort my product list so that two of my products show up on top in my product list. I tried a few things like changing the sku number and trying to sort the products based on sku but nothing seems to be working. Is there something obvious I'm missing?
-
Re: Sorting Products
In the product list you will see that the category names under the products are linked... Click on those links for each category and you will be able to sort the products within the category itself.
This was working the last I checked but I have not officially tested in the latest version...
-
Re: Sorting Products
in fronted I want sorting by SKU, is it possible or I can modify php code?
in backend I have to click on sort every time, it doen't save, is it normal?
-
Re: Sorting Products
SKU is set to be a frontend-sortable field, so you should be able to select that in your lister module. I do remember there was once a problem with it, but I believe this has been fixed in the latest version.
-
Re: Sorting Products
found, there is the field in modulo. I changed and delete cache, but it seems it doesn't work: http://www.windymuaythai.it/store/guanti.html
they are sorted by id
-
Re: Sorting Products
I'm not sure what Blair refers to, perhaps something brand new? I tried searching for what he describes... In my version (a svn version between 1.3.0 beta2 and the latest build) there seems to be nothing resembling that.
If you are refering to the "Initial sorting field" to determine the order; that field is not used. You can add a filter and link that to the listing module.
-
Re: Sorting Products
I was referring to the "Initial sorting field"... That should now be fixed as of the latest release... You can see that it is only applied if there is no filter set.
https://github.com/isotope/core/blob...tList.php#L346
-
Re: Sorting Products
Regarding the manual sorting... In Product Management, click on any category underneath your product in the listing. It should take you to: main.php?do=iso_products&table=tl_iso_product_cate gories&id=X where you can edit your sort order....
-
Re: Sorting Products
nothing, it doesn't work
I attach 2 images, the language is italian but I think it's understandable
-
Re: Sorting Products
Sorry, I did not undertsand that you were looking to add that to your filter as opposed to the initial sorting direction.
To add it to your filterable attributes, you need to add this to your config > dcaconfig.php file:
Code:
$GLOBALS['TL_DCA']['tl_iso_products']['fields']['sku']['attributes']['fe_filter'] = true;
-
Re: Sorting Products
now in "Filtri abilitati" there is the SKU field, but in frontend never changes
I tried to select/deselect filter and sort by, but nothing changes
-
Re: Sorting Products
any idea? :(
sorry for the insistence but I need to resolve this problem
-
Re: Sorting Products
-
Re: Sorting Products
Hi
I've sent you a PM but it is in outbox since 19/1 and it doesn't start....
I don't understand how PM works...
however, I've not received your last message about how to resolve
thanks
-
Re: Sorting Products
Can you verify that your system/modules/isotope/ModuleIsotopeProductList.php file looks like this:
https://github.com/isotope/core/blob/1. ... t.php#L318
-
Re: Sorting Products
yesss, now it works! thanks!
-
Re: Sorting Products
Always causing troubles when people work on different versions! The repository is now moved to Github then, and the ticketsystem to contao-forge.org? I must have missed the part about Github, or forgot, I thought it strange nothing changed since december last year in the svn!