voltagebr Posted May 10, 2016 Share Posted May 10, 2016 How to replace the textarea for input text ? Admin Products Thank Yout Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2016 Share Posted May 10, 2016 hello you mean that you dont want rich text editor, only simple input box, am I right? Link to comment Share on other sites More sharing options...
voltagebr Posted May 10, 2016 Author Share Posted May 10, 2016 (edited) Yes, correct! Only Field Description Short Edited May 10, 2016 by voltagebr (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2016 Share Posted May 10, 2016 this requires modifications of back office template file: YOUR_ADMIN_DIR/themes/default/template/controllers/products/informations.tpl find code {include file="controllers/products/textarea_lang.tpl" languages=$languages input_name='description_short' class="autoload_rte" input_value=$product->description_short max=$PS_PRODUCT_SHORT_DESC_LIMIT} and replace it with {include file="controllers/products/input_text_lang.tpl" languages=$languages input_name='description_short' input_value=$product->description_short max=$PS_PRODUCT_SHORT_DESC_LIMIT} effect: 1 Link to comment Share on other sites More sharing options...
voltagebr Posted May 10, 2016 Author Share Posted May 10, 2016 Nice, Thank You, Thank You! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now