Support for Custom Templates (Different Text (SEO)) Based on Product Attributes (WOOF Husky Filter)
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 pleaseIf 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.
Quote from alekte on December 6, 2024, 06:36Description:
I am using the WOOF Husky Filter on my WooCommerce store to filter products based on attributes (e.g., Brand: Bosch). Each filter combination generates a specific URL (e.g.,
https://myshop.com/product-category/power-tools/?filter_brand=bosch).I would like to display custom content (e.g., text or Elementor templates) for each of these filter pages (based on the attributes). However, Elementor’s "Display Conditions" only support categories, tags, or similar taxonomies – they do not support product attributes like "Brand."
My goal:
- To display custom text or an Elementor template dynamically for each WOOF-filtered page.
- To apply these custom templates or content based on the filtered attributes, such as "Brand."
Problem:
- Elementor does not provide native support to display templates based on product attributes (e.g., "Brand: Bosch").
- I need a solution to implement attribute-based conditions for templates or content display.
Is there a way to extend Elementor to work with WOOF-filtered attributes (e.g., "Brand")? Or is there an alternative approach to achieve this functionality?
Thank you for your assistance!
Description:
I am using the WOOF Husky Filter on my WooCommerce store to filter products based on attributes (e.g., Brand: Bosch). Each filter combination generates a specific URL (e.g., https://myshop.com/product-category/power-tools/?filter_brand=bosch).
I would like to display custom content (e.g., text or Elementor templates) for each of these filter pages (based on the attributes). However, Elementor’s"Display Conditions" only support categories, tags, or similar taxonomies – they do not support product attributes like"Brand."
My goal:
- To display custom text or an Elementor template dynamically for each WOOF-filtered page.
- To apply these custom templates or content based on the filtered attributes, such as"Brand."
Problem:
- Elementor does not provide native support to display templates based on product attributes (e.g.,"Brand: Bosch").
- I need a solution to implement attribute-based conditions for templates or content display.
Is there a way to extend Elementor to work with WOOF-filtered attributes (e.g.,"Brand")? Or is there an alternative approach to achieve this functionality?
Thank you for your assistance!
Quote from alekte on December 6, 2024, 08:16Hi Support Team,
I’m trying to display a specific text (“This is a Bosch screwdriver”) on a single page (URL: https://heimwerkerhelden.de/product-category/elektrowerkzeuge/swoof/marke-bosch/).
Here’s what I’ve tried so far:
- PHP in functions.php: Tried adding the text based on the URL, but it doesn’t show.
- Elementor + The Plus Addons: Used Display Conditions to target the URL, but the text is still not visible.
- HTML Widget: Tried inserting JavaScript and plain HTML, but no success.
- Dynamic Conditions Plugin (nothing works)
I’ve cleared caching and checked multiple methods. Can you assist in identifying the issue?
Thank you!
Hi Support Team,
I’m trying to display a specific text (“This is a Bosch screwdriver”) on a single page (URL: https://heimwerkerhelden.de/product-category/elektrowerkzeuge/swoof/marke-bosch/).
Here’s what I’ve tried so far:
- PHP in functions.php: Tried adding the text based on the URL, but it doesn’t show.
- Elementor + The Plus Addons: Used Display Conditions to target the URL, but the text is still not visible.
- HTML Widget: Tried inserting JavaScript and plain HTML, but no success.
- Dynamic Conditions Plugin (nothing works)
I’ve cleared caching and checked multiple methods. Can you assist in identifying the issue?
Thank you!
Quote from Pablo Borysenco on December 6, 2024, 11:33Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
To show custom text you can use this hook - woocommerce_before_shop_loop
To determine the current filters:
global $WOOF;
if ($WOOF->is_isset_in_request_data('pa_marke')) {
$request = $WOOF->get_request_data();
if('bosch' == $request['pa_marke']) {
// do something
}
}
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
To show custom text you can use this hook - woocommerce_before_shop_loop
To determine the current filters:
global $WOOF;
if ($WOOF->is_isset_in_request_data('pa_marke')) {
$request = $WOOF->get_request_data();
if('bosch' == $request['pa_marke']) {
// do something
}
}
Quote from Pablo Borysenco on December 6, 2024, 11:35OR use this option - https://share.pluginus.net/image/i20241206113451.png
OR use this option - https://share.pluginus.net/image/i20241206113451.png
Quote from alekte on December 6, 2024, 13:07where is this option ?
where is this option ?
Quote from alekte on December 6, 2024, 13:12have found that option add everyting correct but does not show on this url any text or title
have found that option add everyting correct but does not show on this url any text or title
Quote from alekte on December 6, 2024, 13:21PRIVATE DATA!
https://heimwerkerhelden.de/wp-admin
can you check why not working ?
PRIVATE DATA!
https://heimwerkerhelden.de/wp-admin
can you check why not working ?
Quote from alekte on December 6, 2024, 13:27thanks for help
same with code i modify and added but no result
add_action('woocommerce_before_shop_loop', function () { global $WOOF; if ($WOOF->is_isset_in_request_data('pa_marke')) { $request = $WOOF->get_request_data(); if ('bosch' == $request['pa_marke']) { echo '<p>Welcome to Bosch products!</p>'; } elseif ('makita' == $request['pa_marke']) { echo '<p>Discover our Makita range!</p>'; } } });
thanks for help
same with code i modify and added but no result
add_action('woocommerce_before_shop_loop', function () { global $WOOF; if ($WOOF->is_isset_in_request_data('pa_marke')) { $request = $WOOF->get_request_data(); if ('bosch' == $request['pa_marke']) { echo '<p>Welcome to Bosch products!</p>'; } elseif ('makita' == $request['pa_marke']) { echo '<p>Discover our Makita range!</p>'; } } });
Quote from alekte on December 6, 2024, 13:33Forgett it it works after clear cache Thanks so much !
Forgett it it works after clear cache Thanks so much !
Quote from Pablo Borysenco on December 9, 2024, 11:51Hello
This is an open forum. I strongly recommend that you change accesses as quickly as possible.
Use private field - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png
Hello
This is an open forum. I strongly recommend that you change accesses as quickly as possible.
Use private field - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png