Custom fields RESTRICTIONS

  • Posts: 210
  • Thank you received: 4
4 years 5 months ago #312484

Hi,

I have a 6 custom fields single dropdown type in product table. They are filter1 , filter2, filter3, filter4, filter4, filter5, filter6.
Thouse fields store different values for different filters i use for different products.
In RESTRICTIONS of each custom field i add Categories "Products"

In Products category i have structure similar to below shown structure:

Products
++brand1
+++productgroup11
++brand2
+++productgroup21
+++productgroup22
++++productsubgroup221
+++productgroup22
etc

But then i try to make filter for subcategories "brand1" or "brand2" or "productsubgroup221" etc with my custom fields
i got Message
Caution: The chosen custom field is not available for this category.
Successfully Saved

How to fix ?

Please Log in or Create an account to join the conversation.

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
4 years 5 months ago #312486

Hi,

If your custom fields are restricted to all the categories (since "Products" is your main category), you should remove that selection in your custom fields. It won't change anything and the filter will be able to use the custom field.
You can either use a custom field not restricted to a category, or a custom field restricted to the same category as the one selected in the filter.

Please Log in or Create an account to join the conversation.

  • Posts: 210
  • Thank you received: 4
4 years 5 months ago #312524

Do you mean if i will not fill any categories in restriction a custom field will apply to all products in db ?

Please Log in or Create an account to join the conversation.

  • Posts: 81508
  • Thank you received: 13064
  • MODERATOR
4 years 5 months ago #312541

Hi,

Yes. You will see it for all the products when you edit them in the backend.
However, that doesn't mean that it will change something for the products on the frontend.
Only the products where you entered something in the custom field will have it appear on the product details page / listing page.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum