Our Thoughts

Invezza focuses on your business growth by delivering your message to the world and make your idea speak with our creativity.

Month: September 2016

How to rename Tab names in woocommerce single product details page

Sep 30th, 2016 Wordpress

How to rename Tab names in woocommerce single product details page Use below code in functions.php file [php] add_filter( 'woocommerce_product_tabs', 'woo_rename_tab', 98); function woo_rename_tab($tabs) { $tabs['description']['title'] = 'More info'; return $tabs; } [/php]

Read more

How to remove specific tabs in Woocommerce in Single product details page

Sep 30th, 2016 Wordpress

Use this snippet in the functions.php if you want to remove any one of the product tabs, such as the description and reviews etc.. [php] 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...

Read more

How to replace woocommerce Shop Page Title

Sep 30th, 2016 Wordpress

Use below code for replace woocommerce shop page title Copy below code and paste in your theme funtions.php file [php] add_filter( 'woocommerce_page_title', 'woo_shop_page_title'); function woo_shop_page_title( $page_title ) { if( 'Shop' == $page_title) { return "Products"; } } [/php]

Read more

How to replace woocommerce “Out of stock” by “sold”

Sep 30th, 2016 Wordpress

For replacing woocommerce "out of stock" with sold or another custom name. Copy below code and paste in your functions.php file. //  You can replace this word Sold word with your own word [php] add_filter('woocommerce_get_availability', 'availability_filter_func'); function availability_filter_func($availability) { $availability['availability'] = str_ireplace('Out of stock', 'Sold', $availability['availability']); return $availability; } [/php]

Read more