Woocommerce

Woocommerce Add To Cart Button Redirect To Cart Page

Now, I discuss how to Add To Cart Button Redirect To Cart Page in Woocommerce. To do so please add the following line of code at the end of your theme’s functions.php file of your active child theme (or theme) and Save the file. add_filter (‘add_to_cart_redirect’, ‘redirect_to_cart’); function redirect_to_cart() { global $woocommerce; $cart_url = $woocommerce->cart->get_cart_url();

Remove Product Tabs and Print Long Description in Product Page of Woocommerce

I will show you how to Remove Product Tabs and Print Long Description in Single Product Page at the Woocommerce. To do so, you will add the following line of code at the end of your theme’s functions.php file of your active child theme (or theme) and Save the file. remove_action(‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10 ); add_action(‘woocommerce_after_single_product_summary’,

Scroll to Top