Description

Returns the image of the specified Product. If no parameters are passed the Product image is not resized.

Usage

<?php echo wpsc_the_product_image( $width,$height ); ?>

Parameters

$width
(integer) Width in pixels. Defaults to ?.

$height
(integer) Height in pixels. Defaults to ?.

Example

<?php echo wpsc_the_product_image( '64','64' ); ?>

Source file

wpsc_the_product_image() is located in wpsc-includes/wpsc_query.php.