Archived topic
Dynamic hook text if product is in backorder
3 replies · Started by Attila on November 7, 2021
Hi all,
I would like to use a dynamic hook on my product pages which show only if the product is out of stock but on backorder. Can you help me please?
Thanks in advance!
BR,
Attila
Hi Attila,
You will need to use this filter:
https://docs.generatepress.com/article/generate_element_display/
With the correct WooCommerce conditional tags:
https://woocommerce.com/document/conditional-tags/
https://www.businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/
Hi Leo,
thanks I implemented it. What do you think, is there a way to make it with a dynamic hook element?
Thank you very much!
BR,
Attila
Sorry not sure if I fully understand.
Have you resolved this issue?