Skip to main content

Drupal for E-Commerce

Using Drupal for E-Commerce

So, you're using Drupal to run your site. You'd like to sell products to site visitors. What are your options? This page provides an overview of some of the available solutions.

Drupal and Paypal

You can 'roll-your-own' integration, or use the LM_Paypal module.

The LM_Paypal module is not intended to be a full e-commerce solution, but it does provide some types of built-in PayPal payment notifications, and when payment is completed, LM_Paypal module receives and records the notification. It allows for very simple automated donations, subscriptions, and paid advertisements. You should evaluate this module to see if it meets your needs. There are some significant limitations, so be sure to read the issues queue to ensure that the module does what you want it to do.

Drupal and E-Junkie

E-Junkie is a lightweight online shopping cart and fulfillment system. This blurb, taken from their home page, describes the system.

E-junkie provides shopping cart and buy now buttons to let you sell downloads and tangible goods on your website, eBay, MySpace, Google Base, CraigsList and other websites using PayPal Standard, PayPal Pro, Google Checkout, Authorize.Net, TrialPay, ClickBank and 2CheckOut.

For merchants selling downloads, we automate and secure the digital delivery of files and codes. If you are selling tangible goods, we automate the shipping calculation and inventory management. Our shopping cart has a built in sales tax, VAT, packaging and shipping cost calculator.

E-Junkie Drupal Integration

That sounds great, but how do I integrate E-Junkie with Drupal? At present, I have not found any third-party Drupal modules offering E-Junkie and Drupal integration.

There are integration examples and how-to posts floating around on the web, however:

Drupal and Ubercart

Ubercart is an extensible e-commerce system that provides native product and shopping cart management within Drupal. Configuration can be somewhat complicated, but it does offer a complete solution with numerous add-in modules. You should plan for significant configuration, customization, and theming effort if the standard appearance and features are not close to what you want.

Extension modules of varying quality are available, and these may help you implement the features you want–be sure to set up a test site and verify all functionality before "going live".

Drupal PHP Snippet: Delete users with no nodes

Here's a handy PHP snippet to purge user accounts for all users who haven't created any nodes on your site. It's useful when you have a lot of users who have signed but haven't created any nodes.

<?php
  // Get a list of all users in the site who have not created any nodes, AND uid > 1
  $sql = "SELECT u.uid FROM {users} u WHERE u.uid NOT IN (SELECT DISTINCT n.uid FROM {node} n) AND u.uid > 1 ORDER BY uid";
  $result = db_query($sql);
  while($row = db_fetch_object($result)) {
  // delete the user account
  user_delete(array(), $row->uid);
}
?>

Module: Disable collapsible fieldset animations in Drupal 5

Drupal 5 and later versions provide an animation when you expand or collapse a collapsible form fieldset.

While this is a nifty effect, it can be annoying to some users, and it can slow you down when viewing a web page over a Remote Desktop session in Windows (I use Remote Desktop a lot at home, and the expand/collapse animation can take seconds to complete depending on network speed–it all adds up).

Drupal Tips

Our collection of Drupal-specific tips.

A few bad apples

One or two bad apples may not spoil the whole bunch but they sure do make a foul-tasting pie

I've built, from scratch, a few useful Drupal contributed modules for my own use, and shared them via the Drupal.org contributed modules system. I shared them as my way of supporting the Drupal community (since I benefited from the freely-available Drupal core and other contributed modules).

While the vast majority of users have been polite and reasonable, and a few have offered support, on the whole I find that the majority of users seeking help or reporting bugs do so without offering much in return. Most of the time it seems like a one-sided relationship.

I do appreciate the information most issue reports have to offer but I am unable to respond to all requests in a timely manner. I've been very busy with other priorities over the last year or so, so I've not had much time to dedicate to maintaining the modules I've contributed. The support requests and bug reports have been piling up. As a result I'm seeking new maintainers for all of the modules.

Further, I've decided that I will think twice before sharing future custom Drupal modules via Drupal.org's contributed modules project hosting.

Customize Drupal's 'read more' teaser link placement on Drupal 4.7, Drupal 5, and Drupal 6

Here's a standalone module that provides the handy customization described at AngryDonuts.com. You can see it in use on this site.

Mollom.com: another spam prevention mechanism for Drupal admins

When trying to keep web site content clean and on-topic, the site administrators often face monumental challenges from spammers.

Mollom.com is an alternative to using the Spam or Akismet modules. It's in beta at present, and it is free of charge at present. It is expected to remain free for low-volume users (for details, please refer to the mollom.com web site - link below.)

gigs.exodusdev.com now online - uses our Drupal classified ads module

I've set up a new site, http://gigs.exodusdev.com, as a way to showcase my Drupal Classified Ads module. All Drupal consultants or developers are welcome to sign in and create ads for their services. If you are looking for a consultant, there's a category for that, too.

I want to put the classified ads module through its paces, so, if you offer or need Drupal services, please drop in at http://gigs.exodusdev.com and give it a try!

Classified ads module for Drupal 4.7 and Drupal 5 available on Drupal.org

I've committed the classified ads module to the Drupal.org CVS - it's now available for download as an official release package.

You can find the official project page (and the official downloads) at http://drupal.org/project/ed_classified.

Better taxonomy term selection in Drupal

This page on drupal.org shows how to use checkboxes and option boxes instead of the drop-down selectors for taxonomy terms when submitting content.

Syndicate content