May I ask in this thread? Since I've got the same problem.
This is my website: http://www.dollwhy.com/shop/
The "Add to Cart" button in product_info.php is not working. When I clicked 'add to cart', it brought me to empty cart (it worked fine with AppServ in my computer, but when I upload, it doesn't work. I don't know why).
Though in product_listing.php the 'buy now' button is working fine.
This is the code I added to product_info.php (with mod),
<!--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/button_out_of_stock.gif', 'Sold Out', IMAGE_BUTTON_SOLD_OUT);
}
?>
<td colspan="2" align="center"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . $submit_button; ?></td>
<!--End Sold Out--></td>
Could anyone help? Thank you in advance.