WooCommerce conditional tag for particular product

WooCommerce Conditional Tags page suggests that we can find when a product page is running,

but unlike is_single it does not accepts any parameter to go for any specific product name or slug.

I want to run a script only for a specific product suppose,

http://localhost/realtour/product/demo-tour-package/

How can I achieve this ?

Read more here: WooCommerce conditional tag for particular product

Leave a Reply

Your email address will not be published. Required fields are marked *