Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

disable buy now and add to cart


charlieboy

Recommended Posts

What are best options re addons for oscommerce 2.2 if I want to show prices but remove all add to cart, view cart etc?

 

I just want a catalogue of priced items with no shopping cart functions.

 

I have looked at various options such as 'remove price and by now' mod and 'disable buy now and shopping cart'

 

Woiuld just like some real feedback on best options now

 

many thanks

 

nb I have also posted this in genereal support forum - apologies

Link to comment
Share on other sites

What are best options re addons for oscommerce 2.2 if I want to show prices but remove all add to cart, view cart etc?

 

I just want a catalogue of priced items with no shopping cart functions.

 

I have looked at various options such as 'remove price and by now' mod and 'disable buy now and shopping cart'

 

Woiuld just like some real feedback on best options now

 

many thanks

 

nb I have also posted this in genereal support forum - apologies

 

catalog/includes/column_right.php

remove

  require(DIR_WS_BOXES . 'shopping_cart.php');

catalog/includes/header.php

remove

<a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   

 

catalog/product_info.php

remove

<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>
               <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

That should be all you need to do

 

Steve

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...