Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

wpinventory_the_price(); not displaying the price

$
0
0

Replies: 0

Hello,

I have followed the instructions in setting up a template override using the “single-item.php” template. However, when I try to use the wpinventory_the_price(); function the price displays 0.00.

My exact code to display the price is below:

<p><?php wpinventory_the_price(); ?></p>

I have triple checked that a price is set in inventory item and have even disabled my overridden templates to see that a price does exist but as soon as I enable my custom template the price disappears.

Please see the issue here: http://milkandhoneyvintagerentals.com/rentals/inventory/1940sredradio/

Perhaps I am using the wrong function to display the price?

Thanks in advance for the help.


Viewing all articles
Browse latest Browse all 130709