woocommerce_archive_description isn’t working as expected
-
Hello,
I have a custom product filter that is connected to the hook “woocommerce_archive_description”. It worked just fine without a custom layout for the product archive as you can see in the attached screenshot.
As far as I understood the “woocommerce_archive_description” hook, it should be displayed at the archive description. So I added the element “archive description” to my custom layout. But even with this element in the layout the filter isn’t displayed. I even tried the element “WooCommerce Hook” but there I haven’t found the respective hook.
How can I display my filter at the product archive page?
Best regards
Attachments:
You must be
logged in to view attached files.
Hello,
I would like to request temporary admin access to the website to take a better look at the issue there.
Thank you in advance.
Kind Regards
Hello,
the credentials are attached below. The filter should be displayed on the provided URL. The code is in the functions.php file under Appearance -> Theme file editor.
Best regards
Sorry, I pasted the wrong URL. The filter should be under https://devstaging.tegards.com/glasschiebewand/
Hello,
I apologize for the delay.
Unfortunately, on the Layouts, it will not work, because our Hook element doesn’t have such a description hook for showing that custom filter. I suggest you apply the code to another hook that is available in our Hook element so in such way the custom filter should be shown.
Kind Regards
Hello,
thanks for your respone. The available hooks aren’t really suited for the filter since they all are about single products, the cart or checkout.
Is there a way to register an additional hook so that I can trigger this hook from the layout?
Best regards
Hello,
I have contacted the developer’s team and they told me that there is no way to add the custom hook in the Hook element, unfortunately.
If you would like to discuss the issue further, our customer support team is here for you.
Kind Regards
Ok, thanks for your help!
Best regards
Hello,
Always remember that you can reach out to us with any questions you may have.
Have a good day!
Kind Regards
The topic ‘woocommerce_archive_description isn’t working as expected’ is closed to new replies.