Page 1 of 1

Change warning message from basket.validate

Posted: Wed Sep 23, 2009 1:40 pm
by rpb3
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.

Re: Change warning message from basket.validate

Posted: Thu Sep 24, 2009 2:16 am
by mazhar
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

Re: Change warning message from basket.validate

Posted: Thu Sep 24, 2009 6:04 am
by jmestep
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.

Re: Change warning message from basket.validate

Posted: Fri Sep 25, 2009 10:07 am
by rpb3
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
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.
where do I get that file? Or am I missing something?

Re: Change warning message from basket.validate

Posted: Tue Oct 06, 2009 5:24 am
by mazhar
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.

Re: Change warning message from basket.validate

Posted: Tue Oct 20, 2009 11:07 am
by rpb3
Excellent. Thanks mazhar.

Re: Change warning message from basket.validate

Posted: Tue Apr 08, 2014 9:52 am
by rpb3
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?

Re: Change warning message from basket.validate

Posted: Mon Nov 27, 2017 8:11 am
by ashj
same question. How do you change warning messages for AC gold???