I have two types of products in my site Type 1 :products with Customizable Options Type 2 :products without Customizable Options
I wish to add one custom class(for css purpose) to the products which has Customizable Options, i mean I need a css class for Type 1 products. Please provide me a solution
$isHasOptions = $product->getTypeInstance()->hasOptions($product);
to determine whether product has options or not – Tuyen Nguyen Nov 23 '18 at 7:11