Hi to you all, any idea on how to make this work in sts_inc/product_info.php?
<!--Begin Sold Out-->
<?php
If ($product_info['products_quantity']>0) {
$submit_button = tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART);
} else {
$submit_button = tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/esaurito3.gif', 'Sold Out', IMAGE_BUTTON_SOLD_OUT);
}
?>
<td class="main" align="left"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . $submit_button; ?></td>
<!--End Sold Out-->
thanks