Post by captaincrunnk » Tue Jan 13, 2009 5:01 am

Hey guys, I'm new here.

I'd like to know how I would go about removing the actual um..commerce aspects of OpenCart. I would like to use it for an online catalog but I don't want people to be able to actually buy the items from us or add them to their cart, etc.

Thanks for any help!

Newbie

Posts

Joined
Tue Jan 13, 2009 4:59 am

Post by Qphoria » Tue Jan 13, 2009 5:35 am

1. Delete Add to Cart button on the product pages
EDIT: catalog/template/default/content/product.tpl
DELETE:

Code: Select all

<td align="right"><input type="submit" value="<?php echo $button_add_to_cart; ?>"></td>
2. Delete the links to your account, cart, checkout, etc. from the header menu.
EDIT: catalog/template/default/module/header.tpl
DELETE:

Code: Select all

  <a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
  <?php if (@$login) { ?>
  <a href="<?php echo $login; ?>"><?php echo $text_login; ?></a>
  <?php } else { ?>
  <a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a>
  <?php } ?>
  <a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a>
  <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a>
3. Remove payment icons from footer:
EDIT: catalog/template/default/module/footer.tpl
DELETE:

Code: Select all

<div class="a"><img src="catalog/template/<?php echo $this->directory?>/image/paypal.png" alt="PayPal"> <img src="catalog/template/<?php echo $this->directory?>/image/visa.png" alt="Visa"> <img src="catalog/template/<?php echo $this->directory?>/image/master.png" alt="Master Card"></div>
That's the quick'n'dirty way and should work for you.
Last edited by Qphoria on Tue Jan 13, 2009 5:38 am, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by hm2k » Tue Jan 13, 2009 6:39 am

This isn't the first time this has been requested. Possible FAQ, possible feature request.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by captaincrunnk » Tue Jan 13, 2009 1:18 pm

Thanks alot you guys.

I have been trying to figure this out for about a week and it was the only thing standing in the way of getting the site under construction.

Newbie

Posts

Joined
Tue Jan 13, 2009 4:59 am
Who is online

Users browsing this forum: No registered users and 31 guests