Category Page To Display Ex Tax Price


https://forum.kartris.com/Topic2786.aspx
Print Topic | Close Window

By ianguest - Tue 28 Jan 2014
Please can you let me know how to change the product price on the category page to ex tax, rather than incl tax.
By Paul - Mon 17 Feb 2014
I think you first need to update the ProductTemplateShortened.ascx file to include the tax rate in a hidden field (stick it next to the one that holds the price):

<asp:Literal ID="litMinTaxHidden" runat="server" Text='<%# Eval("MinTaxRate") %>' Visible="false" />


Then in the codebehind, need to update the price view calculation to deduct tax:

litPriceView.Text = CurrenciesBLL.FormatCurrencyPrice(Session("CUR_ID"), CDbl(litPriceHidden.Text) / (1 + (CDbl(litMinTaxHidden.Text) / 100)))
By ianguest - Fri 28 Feb 2014
Thank you thats helped