-
AuthorPosts
-
peterchain Friend
peterchain
- Join date:
- October 2017
- Posts:
- 49
- Downloads:
- 11
- Uploads:
- 11
- Thanks:
- 9
- Thanked:
- 7 times in 7 posts
November 23, 2017 at 12:19 pm #1076180Hi,
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,
—
VictorNovember 23, 2017 at 7:56 pm #1076270I’d like to second this please!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 24, 2017 at 8:54 am #1076429Hi,
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)
-
2 users say Thank You to Saguaros for this useful post
peterchain Friendpeterchain
- Join date:
- October 2017
- Posts:
- 49
- Downloads:
- 11
- Uploads:
- 11
- Thanks:
- 9
- Thanked:
- 7 times in 7 posts
November 24, 2017 at 10:27 am #1076452Hi,
That fix it.
Thanks a lot for the fast support.
—
VictorSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 26, 2017 at 3:40 am #1076695You’re welcome!
peterchain Friendpeterchain
- Join date:
- October 2017
- Posts:
- 49
- Downloads:
- 11
- Uploads:
- 11
- Thanks:
- 9
- Thanked:
- 7 times in 7 posts
December 21, 2017 at 9:31 am #1082628Although 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.
1 user says Thank You to peterchain for this useful post
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 3 voices, and was last updated by peterchain 6 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to exclude "by position" from the sort options
Viewing 6 posts - 1 through 6 (of 6 total)