So, I’m trying to display a “Backorder” message on a product page where it’s set to Backorder. I’ve tried several different hooks:
add_filter( ‘woocommerce_after_single_product_summary’, ‘display_backorder_message’, 999 );
+ after meta end, meta start, after add to cart
and none work. I tried turning off product page template so that it displays just the standard product page and I also tried having it show when the template is toggled on… and nothing.
This seems to be a Woodmart issue because any other WordPress theme (especially the one I came from), the exact same hook+code worked. Please see content.
Like I said, this exact same code worked on my previous theme and not for some reason, it doesnt display when using Woodmart.