Change warning message from basket.validate
Change warning message from basket.validate
Is it possible for us to change the warning messages that come back from the basket.validate method?
Are those part of the database or config file or a resource file or something?
I have a client who wants to reword the out of stock messages and I really don't want to trap the actual message in code and replace them with my own. Seems like that would be prone to errors.
Are those part of the database or config file or a resource file or something?
I have a client who wants to reword the out of stock messages and I really don't want to trap the actual message in code and replace them with my own. Seems like that would be prone to errors.
Re: Change warning message from basket.validate
You need to make changes in resource messages. Read following bug report, it contains detailed procedure of changing and recompiling resources assembly.
http://bugs.ablecommerce.com/show_bug.cgi?id=7444
http://bugs.ablecommerce.com/show_bug.cgi?id=7444
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Change warning message from basket.validate
Mazhar, thanks for posting this. I know the list of enhancements in 7.0.3 stated that resources were open source, but I hadn't been able to search out a way to change things in the time that I had.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Change warning message from basket.validate
Sounds great. If I read the bug report correctly I just need to change the resx file and then recompile that into a dll and replace the one in the bin. But where do I get the resx file?
Per Naveed
Per Naveed
where do I get that file? Or am I missing something?Copy the CommerceBuilder/Properties/Resources.resx file to some temporary
location. This is the only file we need to publish/provide customers for
customizing the string resources.
Re: Change warning message from basket.validate
Hi Folks
I have created a new WIKI topic about how to change string messages coming out from back end code defined as string resources here
http://wiki.ablecommerce.com/index.php/ ... _resources
You can download Resource.rex and compile.bat file from this WIKI topic.
I have created a new WIKI topic about how to change string messages coming out from back end code defined as string resources here
http://wiki.ablecommerce.com/index.php/ ... _resources
You can download Resource.rex and compile.bat file from this WIKI topic.
Re: Change warning message from basket.validate
Excellent. Thanks mazhar.
Re: Change warning message from basket.validate
Hey mazhar, you still around?
I am revisiting this old post here and am wondering if this solution is applicable to AC Gold?
I can't locate a resources.resx file for that version and I don't want to grab an old one.
Do you have any suggestions?
I am revisiting this old post here and am wondering if this solution is applicable to AC Gold?
I can't locate a resources.resx file for that version and I don't want to grab an old one.
Do you have any suggestions?
Re: Change warning message from basket.validate
same question. How do you change warning messages for AC gold???