Guys,

i have some insights about eC Charges:

API

The whole point on a generic charge creator is about flexibility. But the core of the module should be the FILTER system: it will define the general rule apply the charge. It should load filter plugins created by other modules, There are basic 4 types of arguments:
** NODE (product weight, product quantity, product category, product type, stock)
** USER (role, address)
** TRANSACTION (total amount, payment type, "send as present" option)
** SITE/GENERIC (day of the week, month, external variables)

It must allow users to add any qty of filters on any charge, combining them.

The API need to provide:
* A form generator: almost all filters need some fine tuning
* Node and transaction notices: display notices like "Regular price: $50, Premium users save: $14!" on certain nodes or "Anonymous users pay 10% more" accros the site.
* The filter formula: the callback function to calculate the charge

Basic set of filters

We should discuss what filters are relevant to users and include it on eC charge.

Other modules

If it the filter API is working, its time to merge some modules, or make them use the new API:
* Role discount
* Regions
* Tax
* Discount by Quantity (external module)
* Shipping

regards,

massa

Comments

Architeck’s picture

I am having a real issues adding tax to my products. the 5.4x version of e-commerce and more specifically the eC charges + Tax components seem to really be lacking functionality and completeness.

I am willing to contribute a helping hand at coding and testing the integration, has anyone got taxes working with 5.4x any insight would be greatly appreciated.

Thanks,

gordon’s picture

We are actually not supporting this version of e-Commerce, and v4 has been ported to Drupal 6.x

The version of tax has actually been removed and is going to completely be handled by ec_charge which is in the process of completely being rewritten for Drupal 6.x

gordon’s picture

Status: Active » Closed (won't fix)

This will not be fix in 5.x-4.x

gordon’s picture

Version: 5.x-4.x-dev » 6.x-4.x-dev
Status: Closed (won't fix) » Active

This will be added to 6.x-4.x

gordon’s picture

Status: Active » Fixed

This is now fixed and is in rc1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.