Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > trying to get rid of - " (without tax)"?? View modes: 
User avatar
Member
Member
eagleag - 8/31/2009 2:56:11 AM
   
trying to get rid of - " (without tax)"??
Hi,
When viewing a product the price show up twice.
first as "Our Price" and then the price after including/not including tax + additional options.
this is the text for the second showing:

"Total price (without tax): 640.00"

I don't want the "(without tax)" or"(including tax)" to appear.
this is the code in the transformation:

<uc1:CartItemSelector id="cartItemSelector" runat="server" SKUID='<%# ValidationHelper.GetInteger(Eval("SKUID"), 0) %>' SKUEnabled='<%# ValidationHelper.GetBoolean(Eval("SKUEnabled"), false) %>' AddToCartImageButton="btn-add-to-cart.gif" ShowProductOptions="true" ShowUnitsTextBox="true"
AddToWishlistImageButton="" ShowTotalPrice="true" />


I tried playnig around with "ShowPriceIncludingTax" but didn't help.

From what I remeber from the webinar there must be an option do to something inline.

can you please advise?

thanks

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 9/1/2009 3:05:12 AM
   
RE:trying to get rid of - " (without tax)"??
Hi,

I assume that your selected transformation contains similar code:

<span class="ProductPriceLabel">Our price: </span>
</td>
<td>
<span class="ProductPriceDetail"><%# EcommerceFunctions.GetFormatedPrice(Eval("SKUPrice"), Eval("SKUDepartmentID"), Eval("SKUID"))%></span>
</td>
</tr>
<tr>
<td>
<span class="ProductPriceLabelTax">Without tax: </span>
</td>
<td>
<span class="ProductPriceDetailTax"><%# EcommerceFunctions.GetFormatedPrice(Eval("SKUPrice"), Eval("SKUDepartmentID"))%></span>


So, you can simply modify this code according your needs.

Best Regards,
Miroslav Remias.

User avatar
Member
Member
eagleag - 9/1/2009 7:04:36 AM
   
RE:trying to get rid of - " (without tax)"??
I understand what you are syaing but the "without tax" text is comming from within the
ShowTotalPrice="true"
and not from actual text in the transformation.
how I can get rid of it?

thanks :)

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 9/7/2009 3:27:01 PM
   
RE:trying to get rid of - " (without tax)"??
Hello,

you can change value (delete "without tax" part) for resource string with 'shoppingcartitemselector.totalpricewithouttax' name in ~\CMSResources\CMS.resx file.

Best Regards,

Martin Dobsicek