Where is the wholesale price held?
-
When I var_dump the variation values for my product the whole mention of a wholesale price is in the price_html variable. display_price and display_regular_price are both the regular price but you’d think your plugin would overtake display_price when a wholesale price should be displayed.
Where does one get this value if they are using heavily edited template files?
For example, this is how I cycle through my variations to display prices:
$variations = $product->get_available_variations(); foreach( $variations as $variation ) { echo wc_price( $variation['display_price'] ); }
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Where is the wholesale price held?’ is closed to new replies.