With my discounts table I only want to show the one space after the decimal i.e. 2.5% discount than show 2.5000% discount.
Any ideas how to achieve this?
Thanks in advance.
With my discounts table I only want to show the one space after the decimal i.e. 2.5% discount than show 2.5000% discount.
Any ideas how to achieve this?
Thanks in advance.
=====
Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
Execution Mode: 64 Bit
Dot Net Developments - E-commerce By Experience
I'd also be interested to know if this is possible. It's somewhat awkward having all quantity discounts listed at 10.0000%.
I understand that it's possible a store owner would want to offer a 0.0001% discount (I guess?), but aesthetically it looks bad.
There isn't any appconfig that could change that, yes. Do you have the source? Go to your AppLogic.cs, locate the method GetQuantityDiscountDisplayTable, and you can see somewhere along line 5633 how it was displayed.
If you don't have the source code is there any other other way to format or change the display of this table.
has this change since 03-17-2010
I would really like to change this 20.0000% thing.
do we still need source?
Gordon
8.1.1
You can always use aspdnsf:StrReplace(source,stringtofind,replacewith )
http://www.esedirect.co.uk
--------------------------------------------------------------------------
Using MS 9.2.0.0 with the following customisations:
Lightbox/Fancybox enlarged images;
Auto-suggest searchbox;
Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
Failed transactions emailed via trigger;
Custom app to show basket contents when customer online;
Orders pushed through to accounting systems.
All the above without source!
Thanks for this ..
Can you please explain a little further.. how can i access this ..
Thank you very much for your help
g
Gordon
8.1.1
You need to use this in your xml.config file which displays your product page. You probably have a line that says something like this:
Which you need to replace with this:Code:<xsl:value-of select="aspdnsf:ShowQuantityDiscountTable(ProductID)" disable-output-escaping="yes"/>
Code:<xsl:value-of select="aspdnsf:StrReplace(aspdnsf:ShowQuantityDiscountTable(ProductID),'000%','%')" disable-output-escaping="yes"/>
http://www.esedirect.co.uk
--------------------------------------------------------------------------
Using MS 9.2.0.0 with the following customisations:
Lightbox/Fancybox enlarged images;
Auto-suggest searchbox;
Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
Failed transactions emailed via trigger;
Custom app to show basket contents when customer online;
Orders pushed through to accounting systems.
All the above without source!
Wow.. Thats amazing .. How do you guys come up with such stuff.. BRILLIANT
THANK YOU VERY VERY MUCH esedirect
Gordon
8.1.1