fedesq Posted January 23, 2010 Share Posted January 23, 2010 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 Equalizer 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.