vermich Posted July 10, 2013 Share Posted July 10, 2013 Hi everybody, I need your help because i want to hide html tags in description product on backoffice product list. but i don't find the file wich manages this. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 everything depends on prestashop version that you use. Link to comment Share on other sites More sharing options...
vermich Posted July 10, 2013 Author Share Posted July 10, 2013 Sorry, i'm on 1.5.4 Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 in this case open the file: ADMIN_DIR/themes/default/template/controllers/products/informations.tpl remove or comment the code: <td class="col-left"><label>{l s='Tags:'}</label></td> <td style="padding-bottom:5px;" class="translatable"> {foreach from=$languages item=language} <div class="lang_{$language.id_lang}" style="{if !$language.is_default}display: none;{/if}float: left;"> <input size="55" type="text" id="tags_{$language.id_lang}" name="tags_{$language.id_lang}" value="{$product->getTags($language.id_lang, true)|htmlentitiesUTF8}" /> <span class="hint" name="help_box">{l s='Forbidden characters:'} !<;>;?=+#"°{}_$%<span class="hint-pointer"> </span></span> </div> {/foreach} <p class="preference_description clear">{l s='Tags separated by commas (e.g. dvd, dvd player, hifi)'}</p> </td> after that tags field will disappear ps. don't forget about backup Link to comment Share on other sites More sharing options...
vermich Posted July 10, 2013 Author Share Posted July 10, 2013 didn't work i think i made a bad explanation. i want to remove that tag : Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2013 Share Posted July 10, 2013 sorry it was my mistake i just thought that you're talking about product TAGS (not html tags in the description field) restore the file please Link to comment Share on other sites More sharing options...
vermich Posted July 11, 2013 Author Share Posted July 11, 2013 No idea juste where is the tpl for the backoffice product-list ? Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2013 Share Posted July 11, 2013 there is no product-list.tpl file, back office is based on object model so in this case you have to edit the model definition if you want to change fields etc. Link to comment Share on other sites More sharing options...
nguyenhuonggtvt Posted January 6, 2016 Share Posted January 6, 2016 When I click Catalog -> Products in back office, then show the list products page. How to change this template. For instance, I want to add a field in to the table Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2016 Share Posted January 6, 2016 i described whole process here https://www.prestashop.com/forums/topic/275522-solved-add-backoffice-columns-products-list/ Link to comment Share on other sites More sharing options...
nguyenhuonggtvt Posted January 7, 2016 Share Posted January 7, 2016 i described whole process here https://www.prestashop.com/forums/topic/275522-solved-add-backoffice-columns-products-list/ Thank you, It's very useful 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