Answers for "product id woocommerce php"

6

woocommerce get product id

global $product;
$product->get_id();
Posted by: Guest on July-03-2020
1

is product category woocommerce

if( is_product_category() ) {
	// yay, we are on a product category page!
} else {
 
}
Posted by: Guest on October-30-2020

Code answers related to "product id woocommerce php"

Browse Popular Code Answers by Language