• Resolved rosstitute

    (@rosstitute)


    How can I check if a product has swatches added?

    For example;

    <?
    if isset( $product->swatches )) :

    or

    if $product->has_swatches():

    ?

    Thankyou

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to check if product has swatches?’ is closed to new replies.