[Skip to main content](#vessel-content)

#   Filter saving

##

- **[kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")**
- [![kostia&#95;lev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile") Topic Author
- [ Offline](/forum/user/15066-kostia-lev)

Less More

- Posts: 15
- Thank you received: 1
-
-
-

13 years 7 months ago -  13 years 7 months ago [\#96503](#96503) by [kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")  *[Filter saving](/forum/4-how-to/79726-filter-saving#96503 "Hi, thanx for great support first. Product filter in hikashop seems to be saved per category. I made product filter with manufacturers checkboxes. Then if I click a category and then see all products from the category, filter condition is saved. But when I change category, filter erases and seems to be saved for every category. How can I get it saved for all categories and then if I change categories, filter does not refresh. thanx")* was created by *[kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")*

Hi,
thanx for great support first.
Product filter in hikashop seems to be saved per category. I made product filter with manufacturers checkboxes. Then if I click a category and then see all products from the category,
filter condition is saved. But when I change category, filter erases and seems to be saved for every category.
How can I get it saved for all categories and then if I change categories, filter does not refresh.
thanx

Last edit: 13 years 7 months ago by [kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NzI2LWZpbHRlci1zYXZpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

13 years 7 months ago [\#96724](#96724) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter saving](/forum/4-how-to/79726-filter-saving#96724 "Hi, thanx for great support first. Product filter in hikashop seems to be saved per category. I made product filter with manufacturers checkboxes. Then if I click a category and then see all products from the category, filter condition is saved. But when I change category, filter erases and seems to be saved for every category. How can I get it saved for all categories and then if I change categories, filter does not refresh. thanx")*

Hi,

Filters selection is indeed based on the current category. There is no option to change that.
Usually, you associate your filters with a listing of all the products so that issue does not happen.
Also, in most cases, the brands will be different for different categories and so you don't want to keep the selection with you change the category yo'ure visualizing. For example, if you're selling computers and pens, the brands of computers and pens will be totally different, so the filter selection cannot be kept.
So if you still want to do it, what you want will require to modify directly the code of HikaShop core files.
You would have to edit the file administrator/components/com_hikashop/classes/filter.php and change the line:
$cid = JRequest::getInt("cid",'itemid_'.JRequest::getInt("Itemid",0));
to:
$cid = 0;

(note that this line appear twice in the file and you need to replace both).

The following user(s) said Thank You: [kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NzI2LWZpbHRlci1zYXZpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")**
- [![kostia&#95;lev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile") Topic Author
- [ Offline](/forum/user/15066-kostia-lev)

Less More

- Posts: 15
- Thank you received: 1
-
-
-

13 years 7 months ago [\#97032](#97032) by [kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")  Replied by *[kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")* on topic *[Filter saving](/forum/4-how-to/79726-filter-saving#97032 "Hi, thanx for great support first. Product filter in hikashop seems to be saved per category. I made product filter with manufacturers checkboxes. Then if I click a category and then see all products from the category, filter condition is saved. But when I change category, filter erases and seems to be saved for every category. How can I get it saved for all categories and then if I change categories, filter does not refresh. thanx")*

Thanx, It helped me.
I have another question:
Besides products categories I have menu with manufacturers.
how can I get the filters refreshed or turn off everytime I open manufacturers menu item? Because in manufacturers menu the filters does not make sense.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NzI2LWZpbHRlci1zYXZpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

13 years 7 months ago [\#97406](#97406) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter saving](/forum/4-how-to/79726-filter-saving#97406 "Hi, thanx for great support first. Product filter in hikashop seems to be saved per category. I made product filter with manufacturers checkboxes. Then if I click a category and then see all products from the category, filter condition is saved. But when I change category, filter erases and seems to be saved for every category. How can I get it saved for all categories and then if I change categories, filter does not refresh. thanx")*

When you configure your filters, you can restrict there display per category. So if you restrict them to only your product categories, you should not see them on brands menu items.

The following user(s) said Thank You: [kostia\_lev](/forum/user/15066-kostia-lev "View kostia&#95;lev's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NzI2LWZpbHRlci1zYXZpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
