Promotions bug


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

By trenery - Wed 1 Dec 2010
Hi

When setting up promotions the title of the promotion is not printing correctly if you use a £ sign.

EG. Free £10 Gift Voucher becomes Free £80 Gift Voucher

Mike
By Paul - Wed 1 Dec 2010
Ok, we've fixed a couple of issues relating to promotions not linked to specific items (e.g. get 5 GBP off). So will look at this one and hopefully have a new release with various fixes in within a week or two.
By trenery - Wed 1 Dec 2010
Thats great thanks.

Do you think you could do something with the Google Base export to include image links and the fixes I posted in the other thread?

Mike
By Paul - Fri 10 Dec 2010
This promotions issue can be fixed manually by editing this file:

UserControls/Front/ProductPromotions.aspx

Find this:

PromotionName='<%# Server.HtmlEncode(Eval("PROM_Name")) %>'


and remove  the server.htmlencode

PromotionName='<%# Eval("PROM_Name") %>'


This should fix it...
By trenery - Fri 10 Dec 2010
Thanks, I made the change and it works. Although the code has extra ( ) than your example.

PromotionName='<%# (Eval("PROM_Name")) %>