Using WooCommerce, Can I Change The Color Of The Title Or Product Title Based On What Category You Are In?

1.) At the end of the “functions.php” file, add this block of code: function prod_cat_terms_append_body( $classes ) { $prod_cat_terms = get_the_terms(getPostIDFromURL(), ‘product_cat’); if ( $prod_cat_terms && ! is_wp_error( $prod_cat_terms ) ){ foreach ( $prod_cat_terms as $term ) { $classes[] = strtolower($term->slug); } } return $classes; } add_filter( ‘body_class’, ‘prod_cat_terms_append_body’, 0 ); Basically, the above code […]

Read More

Bug Fix : call_user_func_array() expected to be a valid callback, ‘woocommerce_reset_loop’ line 484

The issue is coming from the WooCommerce plugin’s core as you can see here in their github page, https://github.com/woothemes/woocommerce/issues/1529. Fortunately, there is a “commit” or a “change” to its core file which fixes this error temporarily which you can see here, https://github.com/woothemes/woocommerce/commit/3c8b5fd40e3d8020174e205e5ed72f535fd95b52 as they will eventually include it in future WooCommerce updates. Now, to apply this fix, you […]

Read More

How Do I Setup the Shop/E-commerce Feature?

The theme supports WooCommerce plugin for the E-commerce feature. You can download a free copy of the WooCommerce plugin at www.woothemes.com/woocommerce/. Just upload, install and activate the plugin. WooCommerce can instantly setup your pages like the Shop, Cart, Checkout, etc. with just a click of button.

Read More