Hi Guys

I am reaaaally happy I found this module. I was working on my own implementation, and half way through decided to do some googling, and here it is, half of what I was working on.

The other half is something I think is missing from Ubercart Tax system, and is the possibility to save exactly how much tax was charged to each product in an order.
This is needed to comply with laws in some countries, among them Australia and Colombia, which are the countries I work with.
I really really need to make this happen so, I have 2 options:
Create my own module or, (and I hope this to be the chosen one) for you to take me in and let me help here.

The problem is that to accomplish the second part, I need to be able to modify the way the first one work, which is where the taxes are calculated. The logic of your module needs no change, it just needs to save some extra info in the process.

This is not hard. It is a matter of creating a new table to link the order_product_id with the tax charged for it, or even store it as part of the order data, as an array of 'nid' that were taxed. After a quick check of your code, could be done somewhere in uc_taxonomy_tax_apply_tax().

I've been really active in drupal.org, check my history: http://drupal.org/user/509892/track
I'm a co-mantainer for http://drupal.org/project/history_rec and I also have my own module http://drupal.org/project/uc_favorder

Hope you think I can help here

Cheers

Federico

CommentFileSizeAuthor
#2 uc_taxonomy_tax-938342_2.patch704 bytesjm.federico

Comments

pcambra’s picture

Hi Federico, thanks for the input

I'm open to add new features to the module, of course, could you provide a patch for these save operations?

jm.federico’s picture

StatusFileSize
new704 bytes

Right, this is just a small modification that I also submitted to the original tax module in ubercart. Hope to see it implemented in both places. See original issue here #941454: Store amount of tax charged per product

It stores the product_id for each taxed products on each tax.

jm.federico’s picture

Title: new feuture: and if you want, co-mantainer » Store amount of tax charged per product
Status: Active » Needs review

Change title