Answers for "how to create product in woocommerce and show this product woocommerce site"

0

is product category woocommerce

if( has_term( 4, 'product_cat' ) ) {
	// do something if current product in the loop is in product category with ID 4
}
Posted by: Guest on February-26-2021

Code answers related to "how to create product in woocommerce and show this product woocommerce site"

Browse Popular Code Answers by Language