Customize error message in e-commerce

Permalink
Hi everyone.

I am new to concrete5, with a little experience in coding. I have my site running almost perfect but my client wants a couple of changes.

The one I am having an issue with at the moment is customizing the error message when adding a product to the cart.
eg: if I have 10 dvd's in stock but try to order 12 it tells the client "Not enough stock to complete your request.
Available stock is 10".
I would like to change it to say "the maximum order for this product is (stock availsble)."

Any ideas out there?

 
webmanics replied on at Permalink Reply
Nevermind I found it all. :)
87up replied on at Permalink Reply
87up
Hello,

How did you do it ?

I have edited the controllers/cart.php line 105. But nothing happens.

Even if I delete the file the same error message shows up.

Please help. :)
atlantisdigital replied on at Permalink Reply
atlantisdigital
Please share, i would also find it useful to change this message :)

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.