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


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: