PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Label or text between attributes list

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
12

Hello

Welcome;)

I'm sorry to re-open the ticket but i've noticed that the labels are visible in the pages where i filter by an attribute.

I've written one url that you can check in the private data of the topic.

Do i need to add another condition to not show the label?

I was thinking, since the attribute that we choose to have the label printed before it is always not visible (because has not values in these categories), would it be simpler/possible to simply check if the attribute has values and show or not the labels accordingly?

Something like: if('pa_color' [is not visible]) --> don't show the label or"show the label" only if 'pa_color' is visible. Since the attribute already works in this way i think tht we already have the condition?

The code with all these value in the categories array is starting to become very large.

Please check the url that i provided in the private data so is more clear, thank you!

Hello

Maybe try to use sections. In the new version, empty sections are hidden (we fixed this)

Ok i can try, wich version has section hidden? I have the 2.2.5.6 and i still see the sections, there is a newer version?

Thank you!

Latest  version  is - 2.2.6.2

Read  this - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Thank you! I was able to update the plugin and now the sections are working fine!

So how do you suggest to use the sections to show the labels that were added in functions.php?

Because for example i have a label that have after it some"normal" attributes and then a section, so it would be a nested section right?

Thanks!

Hello

So how do you suggest to use the sections to show the labels that were added in functions.php? - Yes

Because for example i have a label that have after it some"normal" attributes and then a section, so it would be a nested section right?  - I'm not sure if I understood you correctly

 

What i mean is: i have a label that comprehend some attributes expanded and a section. So i cannto create a section before that.

You can see this screenshot to better understand: https://tinyurl.com/y2jutd9k

Hello

Ok! I get it

But hiding these custom labels based on the current search query takes a lot of development.

Ok thank you, i understand.

Welcome;)

12