
Originally Posted by
limelites
Use the developers tookit from admin to search "You picked an Invalid Selection" and just change the texts in the language file to suit your needs.
The file you need is includes/languages/english.php
Hmm yeah, this is true, but still, the variables (in this case the name of the attribute options and values) are being sent from the includes/classes/shopping_cart.php , so to edit this message, you also need to know some basic php coding, I believe. I tried, but I couldn't figure it out.
I believe these are the line to change, from shopping_cart.php :
Code:
Line #1575 : $the_list .= TEXT_ERROR_OPTION_FOR . '<span class="alertBlack">' . zen_options_name($key) . '</span>' . TEXT_INVALID_SELECTION . '<span class="alertBlack">' . (zen_values_name($value) == 'TEXT' ? TEXT_INVALID_USER_INPUT : zen_values_name($value)) . '</span>' . '<br />';
I tried to fiddle a bit with this but only got a blank page.
My php knowledge is very limited.
Can someone tell me what to replace this with, if I want a custom message, like the person who started this thread?
Another question - how do I edit the design of this message? Here is what it looks like on my template - not exactly the most beautiful thing I've seen 

Truly greatful for some help! Thanks alot in advance.
best regards peter