Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I must say I have not come across code where <option <c:if ... would be considered valid, but on doing some research, I do see some examples out there like this (again, no idea if these are valid).
If you ignore our validation, does the “bad” code you pasted above work as expected in your deployed application.
The validation error is due to using <c:if> tag inside the <option> tag. Instead of using c:if, you can use EL ternary operator. Example : testStatement ? value1 : value2
This is how the option tag looks with the ternary operator : <option value="${tpl.id}" ${pro.tpl_id==tpl.id?'selected="selected"':''}>${tpl.name}</option>
Hope this helps. Please let us know if you see any issues.