Jump to content
Sign in to follow this  
fedesq

sold out contrib. in stsv4

Recommended Posts

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/sold_out.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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×