Jump to content

[SOLVED] Disable the shopping cart


Recommended Posts

You'll need to go to the Modules tab and uninstall all modules like "Cart block" that are used to purchase products. You'll also need to modify the TPL files like product.tpl and product-list.tpl and {* comment out *} the prices and add to cart buttons.

Link to comment
Share on other sites

Do you want customer to still be able to log in even though they can't purchase anything from your site? If you don't want people logging in, you can simply uninstall the "User info" block from the Modules tab. If you want people to be able to log in and just want to delete the cart linl, you'll need to edit modules/blockuserinfo/blockuserinfo.php and {* comment out *} the following code on lines 12-27:


{l s='Cart:' mod='blockuserinfo'}
{$cart_qties}
{l s='product' mod='blockuserinfo'}
{l s='products' mod='blockuserinfo'}
   {if $cart_qties > 0}

           {if $priceDisplay == 1}
               {convertPrice price=$cart->getOrderTotal(false, 4)}
           {else}
               {convertPrice price=$cart->getOrderTotal(true, 4)}
           {/if}

   {/if}
{l s='(empty)' mod='blockuserinfo'}

Link to comment
Share on other sites

  • 9 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...