I would like to display the estimated delivery time on my product page using PHP codes within my function PHP file. I have the necessary codes, and everything appears to be fine when I preview the page. However, the issue arises when the page is live on the website; the codes do not seem to be functioning properly. I have attached a screenshot for reference.
Please make a full backup of your site and check how it works with the default WordPress theme like WooCommerce Storefront to understand if it is our theme issue or not.