im using the wpv-woo-buy-or-select shortcode. I want it to show the price of the product.
As it is now, it only shows the price, if i chose the variation AND the variations have differing prices. i'm not quite sure, how that makes sense.
Why does it not show the price if all variations have the same price? Actually, i want to show the price:
- if all variations have the same price
- if it's a simple product
The Views shortcodes to output parts of the WooCommerce UI are built on WooCommerce's own functions, their purpose is just to let you position the UI elements wherever you choose in your design, not to modify them.
So what you are seeing is the behaviour of WooCommerce itself.
If you disable Toolset all together and look at how WooCommerce handles this, in its own templates it displays the price (as a range if the variation prices are different), and only displays the price of the variation if the variations have different prices.
You can see this in the two screen recordings, one with same prices and one with different prices.
You need to also include the price with the wpv-woo-product-price shortcode.