Modified on Tue, 17 Mar 2015 at 08:49 PM


Check if post/product has the product designer enabled.
global $post;
if( is_fancy_product($post->ID) ) { 
  echo "This is a fancy product."; 


CSS classes

Classes added to the body of a post/product with the product designer enabled. 


 This helps you to assign custom CSS code only to product pages with Fancy Products.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article