WooCommerce Brands Hack

Logo-collage

 

REMOVE (s) and fullstop from WooCommerce brands

Change the “/wp-content/plugins/woocommerce-brands/classes/class-wc-brands.php” file on line 74 from:

'name'                 => __( 'Brands', 'wc_brands' ),

To:

'name'                 => __( 'Brand', 'wc_brands' ),

Change the “/wp-content/plugins/woocommerce-brands/classes/class-wc-brands.php” file on line 199 from:

echo get_brands( $post->ID, ', ', ' <span class="posted_in">' . $labels->name . ': ', '.</span>' );

To:

echo get_brands( $post->ID, ', ', ' <span class="posted_in">' . $labels->name . ': ', '</span>' );

 

Show Brands ontop of SKU and Category meta

Change the “class-wc-brands.php” file on line 23 from:

add_action( 'woocommerce_product_meta_end', array( $this, 'show_brand' ) );

To:

add_action( 'woocommerce_product_meta_start', array( $this, 'show_brand' ) );
Facearse Tweep Internetmail

What do you reckon...?

Your email address will not be published. Required fields are marked *