Hi I'm posting a new issue as pointed from another thread (http://drupal.org/node/597992).

When using (20% in my case) discount on complete order, discount is calculated properly, but VAT is not recalculated and stays at the same level as before the discount.

original price 100
discounted price 80
tax is 20% so tax has to be 16, not 20 as displayed in review page

my setup is:

Trigger: Calculate order discounts
Condition: Check an order's number of products
Action: Apply a discount, multiply -0.2, Discount type: Order total , Line items: Discount, field "Order products" not filled

at the tax setup pane I don't have checked Discount to be taxed item, otherwise discount is not 20%, but 20% from order total+20% from discount value (which is 24% from total)

+ is it possible to display discount at the "cart" page? didn't find where, from other threads it seems it could be done...

I have the latest dev installed - 6.x-1.x-dev - 2010-Jul-11

Comments

czeky’s picture

or.. is it possible to alter form via custom module?
like..

function form_overrides_form_alter(&$form, $form_state, $form_id) {  
  switch($form_id) { 
      case 'uc_cart_view_form':
        //mods here
      break;
  }
  switch($form_id) { 
      case 'uc_cart_checkout_form':
        //mods here
      break;
  }
  switch($form_id) {
      case 'uc_cart_checkout_review_form':
        //mods here
      break;  
  } 

}
simmel’s picture

subscribe!!!
Could somebody please give an advice on this topic?!
Help is really appreciated!

czeky’s picture

for me seems as uc_vat issue, now I'm using uc_dph for my country, calculation seems without a problem