#587 Remove manufacturer from "Sortby"-Dropdwon

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Sigrid Gramlinger on Wednesday, 10 December 2025 11:00 UTC

Sigrid Gramlinger

Hi,

I am not using brands/manufacturers on a shop.
Can I remove it from the sortby dropdown?

In the default_sortfilter.php there is only the javascript to generate the dropdown.
But how can I remove an entry there?

Thanks
Sigrid

Olivier

Hello Sigrid,

in your override, you can add, at the beginning of the file:

unset($this->filters['sorting']['brand']);

unset($this->filters['sorting']['rbrand']);

The sorting key is set to:

[
  "" => "Sort Product by"
  "pname" => "Name (A - Z)"
  "rpname" => "Name (Z - A)"
  "min_price" => "Price (Low > High)"
  "rmin_price" => "Price (High > Low)"
  "sku" => "SKU (A - Z)"
  "rsku" => "SKU (Z - A)"
  "brand" => "Brand (A-Z)"
  "rbrand" => "Brand (Z-A)"
]

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Sigrid Gramlinger

Perfect - that works!

Thank you!
Sigrid

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.