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.
Related posts:























5 comment(s)
Track this comments via RSS 2.0 feed. Feel free to post the comment, or trackback from your web site.
Wow. This is great tip. I needed this. Thanks. I would be happy to by you coffee
.
Nina
@barbershop furniture. So have you buy me coffee?
Thanks for post. Nice to see such good ideas.
Thanks for this. I’ve had to hack around a few OSCommerce sites before and have filed this info away for future use.
I think OS commerce used to be the rage…. but carts like Magento will soon be the reigning champion… good article nonetheless, thanks.
Any feedback from you?