Located in: theme.functions.php
Version Introduced: 3.8
Parameters Accepted: $product_id

Description: This template tag is used to print the fatured product image – It will hook into the “top_of_products” page action normally, but you can use it however you like. It accepts one parameter and that is the product ID.

Note: This function just returns the link so to use this function you must use it with an echo to output the link to the browser.

Code Example:
Used within the loop
[php] <?php while (wpsc_have_products()) : wpsc_the_product(); ?>
<?php echo wpsc_the_sticky_image( wpsc_the_product_id() ); ?>[/php]
Outside the loop – product Id of 123
<?php echo wpsc_the_sticky_image( 123 ); ?>[/php]