Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Quema Labs

    (@nicoandrade)

    That’s strange.
    Here is a category with variable products but there is no error:
    https://demo.quemalabs.com/shophistic-lite/product-category/men/shirts/

    Do you have a link to that error? Are you sure that you are using the latest version?

    I know, its probabbly outdated.
    But i found where is problem.
    Just go to framework\functions\woocommerce_support.php
    Then find (Line about 396 +- )
    <em>add_action( 'woocommerce_after_shop_loop_item_title', 'shophistic_lite_show_attribute', 15 );</em>
    You can just disable it or repair.
    REPAIR:
    In function<em>shophistic_lite_show_attribute</em>
    you can find

    if ( $attribute['is_taxonomy'] ) {
      //CODE
    }else{
     // ERROR
    }

    In error section wrapp $out to ul
    Or replace to mine code :

    $out .= '<ul>';
                $out .= '<li class="' . sanitize_title($attribute['name']) . ' ' . sanitize_title($attribute['value']) . '">';
                $out .= '<span class="attribute-label">' . $attribute['name'] . ': </span> ';
                $out .= '<span class="attribute-value">' . $attribute['value'] . '</span></li>';
    					$out .= '</ul>';

    Theme Author Quema Labs

    (@nicoandrade)

    Hi Isu,
    Thank for sharing, I will add these closing tags.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme breaks with variable products in category’ is closed to new replies.