Results 1 to 17 of 17

Thread: Sorting Products

  1. #1
    New user
    Join Date
    08-08-11.
    Posts
    10

    Default 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?

  2. #2
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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...

  3. #3
    User
    Join Date
    07-16-09.
    Posts
    128

    Default 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?

  4. #4
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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.

  5. #5
    User
    Join Date
    07-16-09.
    Posts
    128

    Default 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

  6. #6
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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.

  7. #7
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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

  8. #8
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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....

  9. #9
    User
    Join Date
    07-16-09.
    Posts
    128

    Default Re: Sorting Products

    nothing, it doesn't work
    I attach 2 images, the language is italian but I think it's understandable

  10. #10
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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;

  11. #11
    User
    Join Date
    07-16-09.
    Posts
    128

    Default 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

  12. #12
    User
    Join Date
    07-16-09.
    Posts
    128

    Default Re: Sorting Products

    any idea?
    sorry for the insistence but I need to resolve this problem

  13. #13
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default Re: Sorting Products

    Can you PM me a link?

  14. #14
    User
    Join Date
    07-16-09.
    Posts
    128

    Default 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

  15. #15
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default 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

  16. #16
    User
    Join Date
    07-16-09.
    Posts
    128

    Default Re: Sorting Products

    yesss, now it works! thanks!

  17. #17
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •