Variable price for schema.org
-
Hi there ??
In my WordPress installation I use woocommerce with gravityforms.
I have to set the price for my products to zero, because price is calculated with gravity forms.
Now I have the problem, that in
<meta itemprop="price" content="<?php echo esc_attr( $product->get_display_price() ); ?>" />
the price is displayed as 0.
How can I echo the calculated price into the itemprop=”price” ?Thank you very much for your help!
Best wishes
Malte
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Variable price for schema.org’ is closed to new replies.