Jump to content

[SOLVED] Discount Products


Recommended Posts

Hello,
So I know there are many similar problems and maybe the same as what I'm having, but I have been search for while and haven't found anything specific. so here it goes.

The problem I'm having is that
On our site we have 2 taxes one that is charged for the customer and one that is the product tax.
the customer tax depends on which state the customer is located is a different tax.

So when you add a product to the cart without and discount it calculates right: Product + Product tax + customer tax

when you add a discount tax then only calculates the Product + product tax

How can we get the product discount add the discount with product tax and customer tax?


running prestashop v.1.3.2
and Quantity Discounts v1.1.1

[EDIT]

val =val.replace(",", ".");


function fetchCurrentPrice() {ldelim}
   var val = $("#our_price_display").text();
   var qd_price = "";
   val =val.replace(",", ".");
   for (var i = 0 ; i < val.length ; i++)
       if (/[0-9.,]/.test(val.charAt(i)))
           qd_price += val.charAt(i);

   return parseFloat(qd_price);
{rdelim}


/module/quantitydiscounts/quantitydiscounts.tpl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...