Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sold out contrib. in stsv4


fedesq

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...