BozzY Posted February 10, 2011 Share Posted February 10, 2011 I'd like to delete some of the fields in the add new product page because i don't use them.Can someone help me? Link to comment Share on other sites More sharing options...
shokinro Posted February 10, 2011 Share Posted February 10, 2011 you need to locate the fields, usually it is embraced by a pair of tr or td tag.just change add style to hide, but note: NEVER delete the them, otheriwse, the page may not work properly,because you never know in other code are using them. <tr style="display:none"> ..... </tr> Link to comment Share on other sites More sharing options...
BozzY Posted February 10, 2011 Author Share Posted February 10, 2011 Thanks. I will not delete them.But do you know in what file can I find them? Because I looked almost everywhere and I didn't find them. Link to comment Share on other sites More sharing options...
shokinro Posted February 10, 2011 Share Posted February 10, 2011 It should be in following fileYourSiteRootFolder/adminXXX/tabs/AdminProducts.php (adminxx is your admin folder name)try to search the label text of the field you want to hide. Link to comment Share on other sites More sharing options...
BozzY Posted February 11, 2011 Author Share Posted February 11, 2011 Found them. And it works like you've told me. Thanks a lot. Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 I myself has problem as I do not need few sections in the listing form but as I searched for example for the Manufecturer section to be disabled in the listing & does not show, I find many sections with that name & do not know which one to choose & how to disable.Please keep in mind that not all those refering to you are of same knowledge.Would you please help me? Link to comment Share on other sites More sharing options...
BozzY Posted February 14, 2011 Author Share Posted February 14, 2011 Open the AdminProducts.php file found in your admin folder under tabs. If you don't want the manufacturers field to appear, you have to locate the tag for manufacturers and an style="display:none", just like shokinro said. Then it will no longer appear in the form. Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 Sorry but I cannot find the line for it & others & the section is not as said & as I added the "display:none" to a section, it just added as a text to the form after manufacturer! Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 Manufacturer:"display:none" Link to comment Share on other sites More sharing options...
BozzY Posted February 14, 2011 Author Share Posted February 14, 2011 In the AdminProducts.php, around line 1491 you should have this code:'.$this->l('Manufacturer:').'You have to replace with:'.$this->l('Manufacturer:').'And it should be resolved Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 I did as you suggested but nothing happened. Link to comment Share on other sites More sharing options...
BozzY Posted February 14, 2011 Author Share Posted February 14, 2011 where exactly do they show and you don't want them? Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 the manufacturer & supplier fields show in the back office listing a product form but as I enter the code you gave exactly as I changed as you suggested, there was no changes & same field & same as before was showing unchanged!As I do not have manufacturers for my products, I do not need this section with some other lines.My website is: http://mecollectibles.com & as you can see no need at all for such section! Link to comment Share on other sites More sharing options...
BozzY Posted February 14, 2011 Author Share Posted February 14, 2011 My bad. Was a typo there. The code is:’.$this->l(‘Manufacturer:’).’ Link to comment Share on other sites More sharing options...
mecollectibles Posted February 14, 2011 Share Posted February 14, 2011 Great! It worked this time!Thanks a lot for your help. You are not a beginner but must be marked as advance!!Thanks again.By the way, what is EAN13 in the listing form? 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