wpsc_currency_display

Located in: Located in: processing.functions.php
Version Introduced: 3.8
Parameters Accepted: $price_in (the product price), $args

Description: This template tag is used to display the product price and currency symbol int he correct place as per the users store settings, WP-e-Commerce uses this function to display the you save price for products on special

NOTE: the template tag the_product_price already wraps the price in this function so using it is not required.

Code Example:
[php]
<p class="pricedisplay product_<?php echo wpsc_the_product_id(); ?>"><?php _e(‘You save’, ‘wpsc’); ?>: <span class="yousave" id="yousave_<?php echo wpsc_the_product_id(); ?>"><?php echo wpsc_currency_display(wpsc_you_save(‘type=amount’), array(‘html’ => false)); ?>! (<?php echo wpsc_you_save(); ?>%)</span></p>

[/php]