Answers for "select options in woocommerce ändern"

0

woocommerce select options text

add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
	global $product;
	if ( $product->is_type( 'variable' ) ) {
		$text = $product->is_purchasable() ? __( 'Custom options text', 'woocommerce' ) : __( 'Read more', 'woocommerce' );
	}
	return $text;
}, 10 );
Posted by: Guest on May-25-2020

Code answers related to "select options in woocommerce ändern"

Browse Popular Code Answers by Language