| Drupal

Basic Cart ModuleI wasn't sure whether to publish this review or not.

One of our members wanted a really simple shopping cart for Drupal. They found the Basic Cart module and asked me about it.

So, I set up and tested Basic Cart. Everything worked great, until the end when I realized there was no payment gateway. None. Basic Cart is a great little e-commerce store ... except it has no way to pay.

That left me with a dilemma. Was it worth publishing the tutorial still? In the end, I decided it was. Maybe it will inspire someone to add a gateway, or maybe it will help other users save time by avoiding Basic Cart for now.

So, here is guide to using the features that are available in Basic Cart ...

  • Go to Configuration > Basic cart.
  • Select "Products" as a content type for use with Basic Cart.
  • Go back to Structure > Content types > Products > Manage display.
  • Choose "Add to cart button with quantity" for the format.
  • Go to Structure > Blocks and publish the "Shopping cart" block:
  • Go to People > Permissions and give your Authenticated Users (or other roles) permission to use Basic Cart:
  • Go to Add Content > Products.
  • Create a product and enter a price in the newly available field.
  • Click Save and you'll see your product:
  • Click "Add to cart" and you'll be taken to your checkout:
  • You can now fill in your details and complete your (almost-)purchase.

If you want to configure what happens after the (almost-)purchase, you can go to Configuration > Basic Cart and you can update the thank you page and emails.

If you want to see the (almost-)orders, you can go to Structure > Orders.

About the author

Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.