Located in: Located in: product-template.php
Version Introduced: 3.8
Parameters Accepted: $args ($product_id = defaults to the current product id if used within the loop, $type – percentage / amount, Variations)

Description: This template tag is used to display the “you save” price or percentage for products that are on special. You would use this tag within your products pages.

Note: Use this tag inside the product loop for best results, this function will not return a $ or % sign it will only return the difference amount.

Code Example:
<?php echo ‘$’ . wpsc_you_save(‘type=amount’); ?>