obarak Posted June 4, 2007 Share Posted June 4, 2007 I don't want to sale any products. is only show products possible? Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2007 Share Posted June 4, 2007 yes. just in files where products shown delete code with action "add_to_cart". you can do it just like here: http://emef.pl Link to comment Share on other sites More sharing options...
satish Posted June 4, 2007 Share Posted June 4, 2007 <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> needs to be blocked with in line 200 - 210. of product_info.php Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2007 Share Posted June 4, 2007 I don't want to sale any products. is only show products possible? there are contributions http://www.oscommerce.com/community/contributions,3109 Link to comment Share on other sites More sharing options...
obarak Posted June 6, 2007 Author Share Posted June 6, 2007 Thanks my friends Link to comment Share on other sites More sharing options...
obarak Posted June 6, 2007 Author Share Posted June 6, 2007 yes. just in files where products shown delete code with action "add_to_cart". you can do it just like here: http://emef.pl Thanks my friend. I saw your site, i want to same site. I delete add_to_cart codes. But nothing changed. Can you help me. How can i do it like your site Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2007 Share Posted June 6, 2007 delete all buttons which generate action add_cart and buy_now. Link to comment Share on other sites More sharing options...
obarak Posted June 6, 2007 Author Share Posted June 6, 2007 delete all buttons which generate action add_cart and buy_now. Thank you for your help. But i did what you said. Alot off mistakes i saw. For example i found that code: <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> which code must be cleaned? Thank you again Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2007 Share Posted June 6, 2007 this: <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> and remember. in all files look for tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); Link to comment Share on other sites More sharing options...
obarak Posted June 6, 2007 Author Share Posted June 6, 2007 this: <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> and remember. in all files look for tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); Thank you my lord. I did it. :thumbsup: Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2007 Share Posted June 6, 2007 glad to help ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.