Home Forums Jevelin Theme Woocommerce shop & category page in portfolio or blog view Reply To: Woocommerce shop & category page in portfolio or blog view

Home Forums Jevelin Theme Woocommerce shop & category page in portfolio or blog view Reply To: Woocommerce shop & category page in portfolio or blog view

worldofpixels
Participant

Ok I will try this, but I have this code in my functions.php. Can you please provide me the good way to do this for further updates.
This is what I had in my functions.php:
add_filter( ‘woocommerce_variable_sale_price_html’, ‘businessbloomer_remove_prices’, 10, 2 );
add_filter( ‘woocommerce_variable_price_html’, ‘businessbloomer_remove_prices’, 10, 2 );
add_filter( ‘woocommerce_get_price_html’, ‘businessbloomer_remove_prices’, 10, 2 );
function businessbloomer_remove_prices( $price, $product ) {
$price = ”;
return $price;
}
add_action( ‘woocommerce_after_shop_loop_item’, ‘remove_add_to_cart_buttons’, 1 );
function remove_add_to_cart_buttons() {
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ );
}
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘description’] ); // Remove the description tab
unset( $tabs[‘reviews’] ); // Remove the reviews tab
unset( $tabs[‘additional_information’] ); // Remove the additional information tab
return $tabs;
}
This was to remove all this in the category page (please check printscreen):
http://www.worldofpixels.be/product-category/subaru-trackday-clastres-2017/audi-tt/

And also remove on the product page (please check second screen):
http://www.worldofpixels.be/product/tt_1/

Thank you! 🙂

Attachments:
You must be logged in to view attached files.