Legenda 3.02 Update - by shoparah - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Jack Richardson

  • Avatar: shoparah
    shoparah
    Participant
    July 11, 2016 at 20:44

    Hello when I do a system report I get the following:

    PHP Version: ❌ 5.4.45 – We recommend a minimum PHP version of 5.6. See: How to update your PHP version

    Also can you assist on how I remove or hide the woocommerce category count on my shop page? I remember not having the count before but something happened while reverting back to a previous woocommerce version when it wasn’t compatible with the previous version of the theme.

    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 12, 2016 at 10:15

    Hello,

    PHP Version: ❌ 5.4.45 – We recommend a minimum PHP version of 5.6. See: How to update your PHP version

    This notification is related to woocommerce plugin not to the theme.

    Also can you assist on how I remove or hide the woocommerce category count on my shop page?

    To hide products count on shop/category page you need to comment the code in the wp-content/themes/legenda/woocommerce/content-product_cat.php file in lines 64 and 65:

    if ( $category->count > 0 )
    echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category );

    We recommend to make any changes in theme source files in child theme https://codex.wordpress.org/Child_Themes so you won’t lose your customizations after the next theme update.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.