Skip to content
Advertisement

Show Estimated Delivery for Products in select Taxonomy in WooCommerce

I am currently using the snippet below to show estimated delivery on my single product pages. I need help making a few changes to the code;

  1. I currently have a custom taxonomy (Available now) and would like to modify the code to show for only products with that taxonomy

  2. Change the output notice to show eg. (Ready for delivery between 4 Nov & 7 Nov when you order within [hours left before end of day].)

  3. Hide the notice when when the item is out of stock


JavaScript

Advertisement

Answer

JavaScript

OUTPUT

enter image description here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement