Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • peterchain Friend
    #1076180

    Hi,

    In the Hikashop JA Megafilter sorting options, there’s a default option "By position", but I don’t want it to show.

    I have checked the backend, but I don’t see any option to disable it.

    Is there some way to change it from the backend?

    If not, can you give me what code to tweak?

    Thanks in advance,


    Victor

    adinag Friend
    #1076270

    I’d like to second this please!

    Saguaros Moderator
    #1076429

    Hi,

    You can try this tweak:

    • Backup your site
    • Go to file: /components/com_jamegafilter/views/default/view.html.php
    • Comment this line (approx line 82):
      $sorts[] = array('field' => 'position', 'title' => JText::_('JPOSITION'));

    Then you must go to backend settings of JA Megafilter and set the default sort to any field you wish (see attachment)


    1. 2017-11-24_155014
    peterchain Friend
    #1076452

    Hi,

    That fix it.

    Thanks a lot for the fast support.


    Victor

    Saguaros Moderator
    #1076695

    You’re welcome!

    peterchain Friend
    #1082628

    Although it still works as a fix I would encourage you to implement some sort of checkbox in the backend to easily disable this "by position", otherwise we developer have to take care of it each time there is an update in your product (updates that we love and expect very much 🙂

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 5 replies, has 3 voices, and was last updated by  peterchain 6 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum