Cannot Display message above single product summary
-
Hello,
I am experiencing a problem regarding the display of a message above the single product summary.
I try to display it with the hook “woocommerce_before_single_product” but it can’t be read (problem.jpg).
When I change the display location (e.g. “woocommerce_product_meta_end”) it is displayed normally.
What could be the problem and how can I fix it?
Thank you!
Hello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
Hello again,
Thank you for your prompt reply.
Yes, I have checked it and it works fine with the default theme of WordPress.
So I think there is something wrong with the theme.
Please, send us your admin and FTP access so we can check why the code doesn’t work.
Kind Regards
Hello,
When you create a custom layout with Elementor it doesn’t contain any default elements and hooks. It contains only those elements that you added with Elementor manually.
We have a special “Hook” element in Elementor that you can place to your custom layout and then be able to add your custom content there.
Kind Regards
XTemos Studio