johnduo0007 Posted April 4, 2008 Posted April 4, 2008 How do I remove this button. I dont want people to add to cart but I rather them contact me about each product thanks.
Guest Posted April 4, 2008 Posted April 4, 2008 In product_info.php you can just comment it out <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> to <?php //echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> Just add the // I think it is also on another page but I can't remember which one. It might be modules/product_listing.php
johnduo0007 Posted April 4, 2008 Author Posted April 4, 2008 In product_info.php you can just comment it out <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> to <?php //echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> Just add the // I think it is also on another page but I can't remember which one. It might be modules/product_listing.php Thanks Peter, that // seems to do it!
Guest Posted April 4, 2008 Posted April 4, 2008 It also makes it easy to add back in if you change your mind. You might try and search the contributions also for something that might add a contact section to the product pages to make it easy for customers. I am not sure if it exists but would be worth looking for.
johnduo0007 Posted April 4, 2008 Author Posted April 4, 2008 It also makes it easy to add back in if you change your mind. You might try and search the contributions also for something that might add a contact section to the product pages to make it easy for customers. I am not sure if it exists but would be worth looking for. I will check into that contribution, sounds like something I would need. Do you know how I can remove the add to cart in the index.php? I can't seem to find anything there. I think it is "nested" in the index page but can't seem to find it.
Guest Posted April 4, 2008 Posted April 4, 2008 I will check into that contribution, sounds like something I would need. Do you know how I can remove the add to cart in the index.php? I can't seem to find anything there. I think it is "nested" in the index page but can't seem to find it. It is probably NOT on the index page but in the modules folder under new_products.php or something like that. If it is on your category pages try modules/product_listing.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.