woocommerce if is product p[age get product id code example Example: woocommerce get product id global $product; $product->get_id();