wordpress - Need to know what php function i should to write to get value of price in product page. WP-ecommerce -


i new wordpress , php, hence sorry in advance basic question. implementing rich snippets(structured data) client.

i editing product template file in wp-ecommerce plugin folder.

location of file- public/thewoofer.com/public/wp-content/plugins/wp-e-commerce/wpsc-theme file name-wpsc-single_product.php

i have added required attributes rich snippets in form of html there no exact php function given price value of product. need write php function me dynamic value of price.

the code trying write price attribute-

<meta itemprop="price" content="here need add php function can pick price value dynamically product page"/> 

i tried -

<meta itemprop="price" content="<?wpsc_the_product_price(); ?>"/> 

but not working.

any highly appreciated.

regards, shaurya


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -