Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'techmarket_single_product_cat_and_sku' ) ) {
- function techmarket_single_product_cat_and_sku() { ?>
- <div class="cat-and-sku">
- <?php techmarket_single_product_categories(); ?>
- <?php techmarket_single_product_sku(); ?>
- <?php woocommerce_template_single_rating(); ?>
- </div><?php
- }
- }
- if ( ! function_exists( 'techmarket_single_product_remove_rating' ) ) {
- function techmarket_single_product_remove_rating( $product_id = null ) {
- remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
- }
- }
- add_action( 'init', 'techmarket_single_product_remove_rating' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement