Category Page To Display Ex Tax Price

Posted By ianguest Tue 28 Jan 2014
Add to Favorites0
Author Message
ianguest
 Posted Tue 28 Jan 2014
Supreme Being

Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)

Group: Forum Members
Last Active: Tue 31 Mar 2015
Posts: 68, Visits: 185
Please can you let me know how to change the product price on the category page to ex tax, rather than incl tax.
Mon 17 Feb 2014 by ianguest
Paul Marked As Answer
 Posted Mon 17 Feb 2014
große Käse

große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)große Käse - (522,046 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
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)))


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
ianguest
 Posted Fri 28 Feb 2014
Supreme Being

Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)Supreme Being - (48,164 reputation)

Group: Forum Members
Last Active: Tue 31 Mar 2015
Posts: 68, Visits: 185
Thank you thats helped

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top