
infoesporien(@infoesporien)
38 Posts
Customers
Quote from infoesporien on November 8, 2023, 18:54
Hello, it is possible to display count next to a checkbox when this is selected? It disappears when you select it. Thanks in advance.
Hello, it is possible to display count next to a checkbox when this is selected? It disappears when you select it. Thanks in advance.

infoesporien(@infoesporien)
38 PostsTopic Author
Customers
Quote from infoesporien on November 9, 2023, 11:20
And another thing, i have the option 'show toggle button for radio' with 'yes, show closed'. It is possible to open all toggles and display woof_block_html_items when i check an option from any of the 3 blocks? Thanks in advance.
And another thing, i have the option 'show toggle button for radio' with 'yes, show closed'. It is possible to open all toggles and display woof_block_html_items when i check an option from any of the 3 blocks? Thanks in advance.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on November 9, 2023, 12:20
Hello
1(to display count) Unfortunately, there is no such feature,
2 (to open all toggles) Unfortunately no. But there is an extension that can create similar functionality - https://products-filter.com/extencion/conditionals
Hello
1(to display count) Unfortunately, there is no such feature,
2 (to open all toggles) Unfortunately no. But there is an extension that can create similar functionality - https://products-filter.com/extencion/conditionals

infoesporien(@infoesporien)
38 PostsTopic Author
Customers
Quote from infoesporien on November 9, 2023, 15:34
document.addEventListener('DOMContentLoaded', function() {
// Get all checkboxes
var checkboxes = document.querySelectorAll('.woof_checkbox_term');
// Add event listener to each checkbox
checkboxes.forEach(function(checkbox) {
checkbox.addEventListener('change', function() {
// Get the corresponding woof_block_html_items
var blockItems = this.closest('.woof_container_inner').querySelector('.woof_block_html_items');
// Toggle the display property based on the checkbox state
blockItems.style.display = this.checked ? 'block' : 'none';
});
});
}); I found this javascript function in the Google debugger, where can I find it in the plugin files?
document.addEventListener('DOMContentLoaded', function() {
// Get all checkboxes
var checkboxes = document.querySelectorAll('.woof_checkbox_term');
// Add event listener to each checkbox
checkboxes.forEach(function(checkbox) {
checkbox.addEventListener('change', function() {
// Get the corresponding woof_block_html_items
var blockItems = this.closest('.woof_container_inner').querySelector('.woof_block_html_items');
// Toggle the display property based on the checkbox state
blockItems.style.display = this.checked ? 'block' : 'none';
});
});
}); I found this javascript function in the Google debugger, where can I find it in the plugin files?

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on November 10, 2023, 11:38
Hello
My plugin does not have such code, perhaps this is a third-party customization
Hello
My plugin does not have such code, perhaps this is a third-party customization