How to remove “Add to cart” button on osCommerce

I have just removed the “Add to cart” button on osCommerce for my store.. When looking for the solution to remove the button, I’ve seen several websites that sell the script. It was very very expensive, more than $100. Could you believe it? I’m going to give it for free. If you like it, just buy me a coffee.





I only change two files. If you know any files that needs changing, don’t hesitate to contact me.

  • Edit the ‘product_info.php’. Find the ‘tep_image_submit’ word. Put a comment ‘//’ before the ‘echo’ tag. So the result might be similar with: //echo tep_draw_hidden_field(‘products_id’, $product_info[‘products_id’]) . tep_image_submit(‘button_in_cart.gif’, IMAGE_BUTTON_IN_CART);
  • Edit the ‘product_reviews.php’. Find the ‘IMAGE_BUTTON_IN_CART’ word. Put a comment ‘//’ before the ‘echo’ tag you could find before the ‘IMAGE_BUTTON_IN_CART’ word.
Jan 27, 2009 by
GreenGeeks WP Web Host ad ad ad ad