Nina Posted February 27, 2019 Share Posted February 27, 2019 (edited) PS 1.6.1.3 Hello, I have several categories, and some of them have subcategories. If I click on one category, it shows me the subcategories, but on the category title appears: "There are no products.". How can I get rid of it? Thank you! Nina Edited February 27, 2019 by Nina mistake (see edit history) Link to comment Share on other sites More sharing options...
Presta Bucket Posted February 28, 2019 Share Posted February 28, 2019 Hello, If you want to get rid of it only estetically, you can simply use css: ‘element.class{display:none}’. Best regards Link to comment Share on other sites More sharing options...
Nina Posted February 28, 2019 Author Share Posted February 28, 2019 Thank you Presta Bucket, Can you tell me please where is this element? Which file I have to edit? Many thanks in advance, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted February 28, 2019 Share Posted February 28, 2019 Hello, Could you share us in private or here the page URL and we will exactly tell you what you will need to add in CSS file to get right of that text. Best regards, PrestaBucket Team Link to comment Share on other sites More sharing options...
Nina Posted February 28, 2019 Author Share Posted February 28, 2019 Hello, Sure, here are the pages: https://www.spytechman.com/en/6-room-transmitters https://www.spytechman.com/en/13-set-uhf-receiver-and-transmitter-nfm https://www.spytechman.com/en/17-professional-voxes-for-long-distance As this is a multi-language site, the same sentence appears (in different languages) in every category. Thank you, Sincerely, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted February 28, 2019 Share Posted February 28, 2019 Hello, Just paste this in a css file. span.category-product-count { display:none; } Best regards, PrestaBucket Team 1 Link to comment Share on other sites More sharing options...
Nina Posted February 28, 2019 Author Share Posted February 28, 2019 (edited) Hello, Pasting it in any .css file? It doesn't matter where this .css file is located? I found /css/bootstrap-theme.css for example. Should I paste the code there? Kind regards Nina Edited February 28, 2019 by Nina mispelling (see edit history) Link to comment Share on other sites More sharing options...
Presta Bucket Posted March 1, 2019 Share Posted March 1, 2019 Hello, You can add this code to themes/prestashop/css/global.css #category span.category-product-count { display:none; } Best regards Link to comment Share on other sites More sharing options...
Nina Posted March 1, 2019 Author Share Posted March 1, 2019 Hello, Unfortunately, after adding it nothing changed 🙁 All the best, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted March 1, 2019 Share Posted March 1, 2019 Hello Nina, If you open your global.css (https://www.spytechman.com/themes/prestashop/css/global.css) you won't find your code added there. Please clear the PrestaShop Cache until you will see the code added there (Advanced Preferences -> Performance). Best regards Link to comment Share on other sites More sharing options...
Nina Posted March 1, 2019 Author Share Posted March 1, 2019 Hello, Maybe I do something wrong, but I did exactly what you've told me... Attaching the screen shots: I've clicked about 5-6 times on clear cache. Thank you for your effort and time !!! All the best, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted March 1, 2019 Share Posted March 1, 2019 Hurray, Now the text disappeared from the Category page. Check our attachment. Please also hard refresh your Browser with Ctrl + Shift + R and you will also see the changes, well done. Best regards, PrestaBucket Team Link to comment Share on other sites More sharing options...
Nina Posted March 1, 2019 Author Share Posted March 1, 2019 WOWWW! It show what moron I am! haven't even looked at the site, just to the "global.CSS"! I assume that it take some time, maybe a minute up to appearing there! But as I refreshed it as soon as I saved the CSS file, it haven't appeared at all, so I assumed that it doesn't work... Thank you very much!!! This is my first site (my kid installed it...), and I try to "revive" it. Please don't consider me rude, may I ask you an additional question, I suppose that it is "connected" to CSS too... ? Many Many Many thanks All the best, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted March 1, 2019 Share Posted March 1, 2019 Hello, Sure, ask as many question you have :D. Also good luck with your first site. Best regards Link to comment Share on other sites More sharing options...
Nina Posted March 1, 2019 Author Share Posted March 1, 2019 Hello, Thank you! Here is one of the problems: If I go to a product, for example https://www.spytechman.com/en/room-transmitters-fm-uhf/10-micro-bug-spy-uhf-pro-nfm-crystal-controlled-room-transmitter.html I have there the product's picture, and 3 thumbnails. One of the thumbnails is "covered" by the "price" block. I've tried to find how to fix it by using "inspector", but of course... I wasn't able to do it. It looks like the "thumbs" block (if it is a block...) is too long and it is under the "price" block. I am not sure that this is a CSS problem (actually I don't think it is...), but just by chance, I'll be lucky and I'll be able to fix it with your help. Thank you in advance, All the best, Nina Link to comment Share on other sites More sharing options...
Nina Posted March 1, 2019 Author Share Posted March 1, 2019 Hello again, I think that we are compatriots! I found it by statcounter, which shows me the country / city Of course if you are not using VPN Best Regards, Nina Link to comment Share on other sites More sharing options...
Presta Bucket Posted March 3, 2019 Share Posted March 3, 2019 Hello, That is true, we are compatriots. About your question, you can edit again the global.css and add these lines. You can play then with the values until everything is aligned well. #product #thumbs_list li { width: 50px; height: 50px; } #product #views_block { margin-left: -10px; } Best regards Link to comment Share on other sites More sharing options...
Nina Posted March 9, 2019 Author Share Posted March 9, 2019 Hello again, I have a problem with the "specials" module. It doesn't show any "discounted" picture, just a picture of a ? sign. As well, the text is white and it is under the blank picture. However, clicking on the module it "does the work", I mean that it redirects me to discounted products. I'll be very thankful for help. Thanks in advance, Best Regards, Nina Link to comment Share on other sites More sharing options...
Nina Posted March 10, 2019 Author Share Posted March 10, 2019 SOLVED Best Regards, Nina 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