wpsc_the_product_image

Located in: product-template.php
Version Introduced: 3.8
Parameters Accepted: $width, $height, $product_id

Description: This template tag is used to print out the url to the product image.

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

This function must be used within the product loop
[php] <?php while (wpsc_have_products()) : wpsc_the_product(); ?>[/php]

Code Example:
[php]
<a href="<?php echo wpsc_the_product_image(); ?>">wpsc_the_product_title()</a>[/php]