Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable Add To Chart


obarak

Recommended Posts

<?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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...