Categories
« on: January 27, 2023, 12:41:33 PM »
Hi,
How to decide which fields for each category will be input. I create a "Looking for" category but don't want to show the possibility to load a picture.
It should be great to have the possibility to not show certain field and decide about fields in the admin Dashboard.

Does someone have an idea ?

Thanks!


« Last Edit: January 27, 2023, 01:49:09 PM by [email protected] »

*

MB Themes

Re: Categories
« Reply #1 on: January 27, 2023, 02:54:45 PM »
It strongly depends on theme and plugins, most fields created by osclass are mandatory.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Categories
« Reply #2 on: January 27, 2023, 11:25:43 PM »
Hi,
I am using Zara theme. And try to create my own category.
If categories are mandatory in osclass, the only way to solve the problem is to change the code (!?).
I need a function which test if (category_name  == "Looking for") .
In that case the fields Pictures will not been displayed.

Any suggestion?


*

MB Themes

Re: Categories
« Reply #3 on: January 28, 2023, 08:52:06 AM »
Isn't there such field in category settings?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Categories
« Reply #4 on: January 28, 2023, 03:22:24 PM »
No!
In categories settings we can just Edit · Disable · Delete.
There is no condition about if a field (here Load pictures) will be displayed for input.
My new category will not allow user to upload a picture.

Thank you to guide me.


*

MB Themes

Re: Categories
« Reply #5 on: January 28, 2023, 08:05:30 PM »
Oh sorry got confused with enable/disable price.
Ok then you must do it via jQuery only and if your category is selected, hide upload picture box.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Categories
« Reply #6 on: January 28, 2023, 10:45:44 PM »
This is the issue I was thinking about,
Thank you so much for your support.

*

MB Themes

Re: Categories
« Reply #7 on: January 31, 2023, 08:20:36 PM »
Welcome, maybe could be considered in future.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots