Answers for "woocommerce product lisying page"

3

is product page woocommerce

if( is_product() ) {
	// do something
} else {
 
}
Posted by: Guest on October-14-2021
0

woocommerce add button to product list

// On functions.php
// Add to cart text on product archives (Collection) page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );  
function woocommerce_custom_product_add_to_cart_text() {
    return __( 'Comprar', 'woocommerce' );
}
Posted by: Guest on November-08-2021

Code answers related to "woocommerce product lisying page"

Browse Popular Code Answers by Language