Jump to content
diondp

ændre validering på produkt-felt i admin

Recommended Posts

Hejsa, jeg vil gerne have mulighed for at smide basal HTML kode i tekstfeltet der vises når "restordre er tilladt" (admin --> varer --> antal

jeg har været i classes/Product.php og ændre linie 340:  validate til følgende:

'available_later' =>            array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 255)

Displayed text when backordering is allowed

men den melder stadig fejl når jeg prøver at gemme.. ? er der andre steder det skal ændres, eller?

Share this post


Link to post
Share on other sites

 

Den linje giver ingen mening. Vis mere af formularen

Edited by Martin
error

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More