Flexicharge - adding custom charges

Flexicharge is a module which integrates into the shopping cart, and which allows you to add a range of custom charges to the cart that meet your specific business needs. To add these charges, go to e-Commerce configuration » Flexicharge.

Base features

Every Flexicharge has a number of behaviors that you can turn on and off. Some of these behaviors are not always available, if they are not relevant to the charge type. All of these are available in a simple "Site-wide charge":

Property Description
Display label Define your own custom description for this charge.
Operator Simple +/- or a percentage
Charge rate A simple number, if the operator is +/- then it will be added (so use a negative number if you want a deduction. If the operator is a percentage then "-10" will mean that 10% will be removed.
Order The weight of the charge is mostly for the bill display. Charge or can dictate the amount of a charge (eg. % of subtotal depends on what comes before). It is also possible that a custom charge can remove a previous charge (eg. explicitly state "surcharge waived") and order would be important there too.
Subtotal before/after For display purposes, this inserts a subtotal for the customer. In the case of many charges, the cart is smart enough to suppress sequential subtotals.
Display 'as included' Some charges you might like to simply state "as included" because they are not clearly calculated anywhere on the bill. In some cases this might be a simple substitute for tax declaration (eg. "VAT included") where you don't want to then add that amount.
Suppress if 0 Allows you to hide the row if the charge is $0.
Product types You can configure a charge to apply only if certain product types appear in the cart. Basically if any product in the cart is a match then the charge will apply. (Each charge still only applies for the whole cart).
Roles Similar to the Product types setting, but in this case it looks at the roles that the customer belongs to.

Site-wide charge

This is a stock standard charge with only the complexity that Flexicharge adds to it. Flexicharge has been designed to take as much complexity from the charge providing files as possible. So if a simple "site-wide" charge doesn't fit the bill, it will be easy to develop your own or to hire a developer to do so.

Shipping charge

This is designed to be an alternative to Shipping and Shipcalc. This allows you to apply a charge based on the weight of the products multiplied by a rate. Here are some instructions to set up a simple shipping charge.

  1. Install the e-Commerce Address module so that you can capture shipping details in the checkout.
  2. Go to e-Commerce configuration » Location and set your default country and the default measures for your site. Currently Flexicharge shipping only requires weight.
  3. Install the e-Commerce Regions module. This will allow you to combine locations together under a "region" and then configure shipping charges based on the region of the buyer combined weight of the product. Follow the instructions for groups your locations into shipping regions. The regions you will create might be called "Local", "Interstate" and "O/S".
  4. Once you have your regions configured, go to e-Commerce configuration » Flexicharge and add a new "Simple shipping" charge. The first section is for your standard Flexicharge configuration settings, and beyond that is a section for each region so that you can allocation a base rate plus cost per kg/lb.
 
 

Drupal is a registered trademark of Dries Buytaert.