Hello all,
I was hoping someone would be able to help me solve this problem. Our website shows prices to with and without taxes. Screenshot1 shows this.
I am using the quantity discounts to add a discount for more products being bought together. However this only shows the price without TAX screenshot 2 shows this.
I would like to add the including tax price next to it. I can not seem to get this working. I used the products_qty_discounts.tpl to add (ex VAT to the header) and I can see that the iteration in the table shows the variable $price.price
{foreach from=$product.prices item="price"}
{$price.lower_limit}+
{include file="common/price.tpl" value=$price.price}
{/foreach}
How would I add the including vat variable next to this price so it looks a little something like this..screenshot 3 shows this.
Any help would be greatly appreciated. The URL for the example in the screenshots is
screenshot2.jpg
screenshot1.jpg
screenshot3.jpg
Hello,
You can always print a variable $product or $price - by using the print_r function in template:
{$product|print_r}
Then, you can check the variables and see if they contain necessary information for you. If they don't, it's probably not possible to display taxed prices there without a code modification.
Best regards,
Robert
Thanks for the reply Robert.
I can see that the taxed_price variable is sent but if I apply this variable to the iteration it disaplys the taxed price of teh full priced item. Obviously I need it to display a taxed price that relates to the deduction.
Is it possible to use the taxed_price variable in a calculation so it reduces the displayed tax price by the modifier in the quanity discount.
For example, if the qty discount reduces the price by 10%, can it used the taxed_price variable and reduce that by 10% and then display it?
Thanks again and thanks also in advance if you can offer any help!
Hello,
You can always print a variable $product or $price - by using the print_r function in template:
{$product|print_r}
Then, you can check the variables and see if they contain necessary information for you. If they don't, it's probably not possible to display taxed prices there without a code modification.
Best regards,
Robert