Artem Posted March 6, 2013 Share Posted March 6, 2013 (edited) Hello. I have couple of questions regarding categories, couldn't find an appropriate answer on forum. 1.The main issue is how can modify text in category description? Cause in product description you get a table where you can choose text font, hyperlinks and such, however in category description, its just a plain text. [sOLVED] 2. And also with category text, it appears in category above subcategories and products. How can i move it to bottom of the page? I couldn't find such thing in positions. It works on homepage, but how can i do it inside category? [sOLVED] 3. And the last In categories, where i don't have products and only subcategories, at the top the line goes "there are no products in this category". Is it possible to remove it? For instance if there are no products, it wont appear. Edited March 7, 2013 by Artem (see edit history) Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 i forgot that you are allowed to only ask one question per topic, unless they are related. i think they are on a same subject, moderators correct me if im wrong Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 for 3rd question, i tried both solutions that i found: http://www.prestashop.com/forums/topic/180358-remove-there-are-no-products-from-category-titles-in-147/page__p__891690__hl__remove%20there%20are%20no%20products__fromsearch__1 this one didnt work, and this one http://www.prestashop.com/forums/topic/141341-solved-there-are-no-products-can-this-be-removed/page__p__843591__hl__remove%20there%20are%20no%20products__fromsearch__1 i dont have the code that is mentioned in the above topic Link to comment Share on other sites More sharing options...
Whispar1 Posted March 6, 2013 Share Posted March 6, 2013 Question #1, even though tinymce is not available for category description like it is for products, you can still enter html in category descriptions. It will display properly in the front office. Question #2 Depending on your theme, you should be able to re-arrange these two items in your category.tpl file Question #3 Again, Depending on your theme and version, you can simply comment out the line in your category.tpl file <!-- <div class="resumecat category-product-count">There are 11 products. </div> --> I have done #1 and #3 on our own site: http://www.whispardesign.com/7-window-treatment-cornice Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 I was able to solve second question. Yet i didnt get what you meant in the 1st question answer. Could you please specify how can i change fonts and text in category description. for q3, i thats not the line i have. im using custom theme, ps v1.4.9, and thats what i have: <p class="warning">{l s='There are no products in this category.'}</p> Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 Considering 1st one. If im trying to insert the code into description, for example: <p><span style="font-size: 12pt; font-family: 'comic sans ms', sans-serif;"> bla bla bla </span></p> it just appears in front office: bla bla bla Link to comment Share on other sites More sharing options...
Whispar1 Posted March 6, 2013 Share Posted March 6, 2013 I was able to solve second question. Yet i didnt get what you meant in the 1st question answer. Could you please specify how can i change fonts and text in category description. for q3, i thats not the line i have. im using custom theme, ps v1.4.9, and thats what i have: <p class="warning">{l s='There are no products in this category.'}</p> Try commenting that line out on your tpl page and see what happens. It might give you what you are looking for. Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 what do you mean by "commenting line" ? Link to comment Share on other sites More sharing options...
Whispar1 Posted March 6, 2013 Share Posted March 6, 2013 The green characters I showed in my example is how you "comment out" a line <!-- some text or line --> Also the html code should work (unless its a 1.4.9 issue - I am in 1.5.3.1) I posted your code here: (click the more button at end of description) http://www.whispardesign.com/7-window-treatment-cornice Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 (edited) So you just basically added the code to category description in BO? if so, weird cause it doesn't work for me :\ Edited March 6, 2013 by Artem (see edit history) Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 Also, i tried commenting that line, didn't work Link to comment Share on other sites More sharing options...
Whispar1 Posted March 6, 2013 Share Posted March 6, 2013 Yes, posted in back office. It might be a linitation of 1.4.9 Someone more knowledgable might chime in here? If you can post a link to your page it would be helpful to find what line needs to be commented out to get rid of the count Link to comment Share on other sites More sharing options...
Artem Posted March 6, 2013 Author Share Posted March 6, 2013 Thank you very much for your help Whispar1. Hope someone else will be able to help out on the issue. For issue with line, here it is, basically the line which says - there are no products in the category. my hope page isn't in english, so i doubt that it would be helpful Link to comment Share on other sites More sharing options...
Whispar1 Posted March 6, 2013 Share Posted March 6, 2013 I just need to see the code - language will not matter Link to comment Share on other sites More sharing options...
Artem Posted March 7, 2013 Author Share Posted March 7, 2013 in this category for example http://www.zigmatuning.com/17-aero-pakety Link to comment Share on other sites More sharing options...
Artem Posted March 7, 2013 Author Share Posted March 7, 2013 (edited) oh, it was a question... Edited March 7, 2013 by Artem (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted March 7, 2013 Share Posted March 7, 2013 Here is the section of code that needs to be commented out: <span class="category-product-count"><font><font class="">in this category there is no product </font></font></span> You should see this in your category.tpl file where it makes reference to the product count This is how my code looks on my theme: <!-- <div class="resumecat category-product-count"> {include file="$tpl_dir./category-count.tpl"} </div> --> Link to comment Share on other sites More sharing options...
Artem Posted March 7, 2013 Author Share Posted March 7, 2013 thank you Whispar! now i hope somebody will help me out with category description Link to comment Share on other sites More sharing options...
Whispar1 Posted March 7, 2013 Share Posted March 7, 2013 Here is a solution that was posted for 1.4.7 and again for 1.5 I am only assuming it will work with 1.4.9 http://www.prestashop.com/forums/topic/174037-solved-how-to-add-tinymce-wysiwyg-to-categories-description-text-field/ Just create a backup before doing any of this and keep an original version of whatever files are changed so you can reload if it goes screwy. Link to comment Share on other sites More sharing options...
Recommended Posts