Mandatory Option Error message
-
When I place the mandatory option to a Product Parameter, the error message that comes up on the product page comes up with broken english warning. How can i change the error message to say what I want?
-
Hello.
What do you mean – “broken english warning”? Where it is broken?Regards,
Alexey.Broken enlisgh if the function title doesn’t work with the default Mandatory error option.
For example:
I have a function box that is assigned as a text box that is Mandatory to make a purchase.If that box is not filled out the error message reads:
Please Select “Function Title” at First.While this phrase works if it is indeed a box that needs selecting, but since it is a text field, I would prefer the error message to read:
Please Fill Out “Function Title” to continueThe option to change the Mandatory message would be great, but even if I can do it in the code, that would work as well.
Hello.
I see. I think that should be done by our team to make “Please Fill Out” instead of “Please Select” for text fields types. But if you want – I think you can:
1. Try to use translation addon http://docs.readyshoppingcart.com/translation and just in english make translation for “Please Select” to “Please Fill Out”
2. Make corrections in code in plugin folder modules/user/models/cart in line code:
$this->pushError (lang::_(array(‘Please select’, $opt->getLabel(), ‘at first’)), ‘options[‘. $opt->getID(). ‘]’, ‘product_field’);Regards,
Alexey.Hello.
We fixed your problem with broken enlisgh in mandatory product fields, please check.Regards,
Alexey.
The topic ‘Mandatory Option Error message’ is closed to new replies.