Jump to content

Add url in a product feature value


Runan

Recommended Posts

Hello,

 

When I want to inster an = character (in a url) in custom product feature value, i have an error. Where could I permit this character with this type of value ?

 

Thanks.

 

My question, too! Anyone to help us on this?

 

Many thanks!

Link to comment
Share on other sites

  • 10 months later...

You can modify the validation of this field.

 

In classes/FeatureValue.php,

 

edit;

'value' => 		array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 255),

with:

'value' => 		array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isMessage', 'required' => true, 'size' => 255),
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...