Get price
-
Hi there!
I used to output price in the results for my woocommerce items:
$product = wc_get_product( $post ); echo "<div class='search_result_price'>" . $product->get_price_html() . "</div>";
This fails to return results now. How would I output price for WooCommerce items?
Cheers
- The topic ‘Get price’ is closed to new replies.