Bicss Posted September 14, 2015 Share Posted September 14, 2015 (edited) 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! Edited September 14, 2015 by Bicss (see edit history) Link to comment Share on other sites More sharing options...
Bicss Posted September 15, 2015 Author Share Posted September 15, 2015 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 More sharing options...
Bicss Posted September 15, 2015 Author Share Posted September 15, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now