Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Can you remove the checkout/cart?


13 Posts   2542 Views


10 July 2009 at 5:37pm (Last edited: 10 July 2009 5:41pm), Community Member, 27 Posts

Ok I backspaced out the price and unchecked the allow this item to be purchased and that looks good but would still like to remove the cart.

If possible.

This is also my second reply my message disappeared on me.


10 July 2009 at 7:20pm Community Member, 181 Posts

Cool, glad that worked for you :)

Where is the cart appearing now? is it just the sidebar?

to get rid of the cart from the sidebar it;s a case of copying ecommerce/templates/Includes/ to your theme's templates/Includes directory and remove (or comment-out) the following code:

   <div class="sidebarBox cart">
      <% include Cart %>

hope that does it. I'm thinking about adding an if statement that checks if cart/purchase is enabled and add the value to _config.php that way you get a catalogue site without the cart and can easily enable cart at a later date.

let me know how you get on.



10 July 2009 at 8:33pm (Last edited: 10 July 2009 8:34pm), Community Member, 27 Posts

Thankyou it worked check it out?

It took me a few tries because I couldnt work out how to comment it out you just do this // with the PHP code dont you.

I tried it both with a space after and without still commenting didnt work.

How difficult would it be to put a contact us for detail link on this page on the right somewhere.

Under or above the Item #10 description.

Thankyou very much.


10 July 2009 at 8:52pm (Last edited: 10 July 2009 8:54pm), Community Member, 181 Posts

Glad that helped you out. :)

I actually meant you could wrap a HTML comment around it, otherwise you might as well just delete the code.

personally, I convert all my contact-us pages to forms (using userforms module) and you could link to that page either in the CMS content or add a link in the template wherever you see fit.

let me know when you're site is done (email in profile) I'd like to see the finished product :)




24 July 2009 at 12:50am (Last edited: 24 July 2009 12:51am), Forum Moderator, 435 Posts

There is a simple flag in product in admin zone.
If this checkbox is not checked, you don't see "Buy Button" for that product.
Then you can setup this checkbox a false value ( for default value ) if assign this value in in code subdir in ecommerce module.
See under "Usato" for example...