Jump to content

Invoice with the discount price


Bicss

Recommended Posts

Hi,

I have some products with discount.

On the cart appears old price, discount percetn and final price,

but in the invoice appears on a table:

 

Unit price (without taxation) 400$, Unit price, 400$, Discount, 50%, Quantity, 1, Ttoal, 400$

On the Unit price without taxation and unit price should appear 800$ (without discount).

 

How can i fix it?

 

Thanks!

post-957417-0-65008500-1442246632_thumb.jpg

Edited by Bicss (see edit history)
Link to comment
Share on other sites

Hi,

I have this code but it shows the final price with reduction.

 

What i have to change to show without reduction?

 

thanks

 

{if !$tax_excluded_display}
   <td style="text-align: right; width: 10%">
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}
                        </td>
{/if}
Link to comment
Share on other sites

Solved doing this

 

{if !$tax_excluded_display}
 
   <td style="text-align: right; width: 10%">
{displayPrice currency=$order->id_currency price=($order_detail.unit_price_tax_excl + (($order_detail.reduction_percent*$order_detail.unit_price_tax_excl)/(100-$order_detail.reduction_percent)))}
 
                        </td>
 
{/if}
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...