Jump to content
Nina

Categories shows "no products" in title.

Recommended Posts

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

 

no_products.JPG

Edited by Nina
mistake (see edit history)

Share this post


Link to post
Share on other sites

Hello,

If you want to get rid of it only estetically, you can simply use css: ‘element.class{display:none}’.

Best regards

Share this post


Link to post
Share on other sites

Thank you Presta Bucket,

Can you tell me please where is this element? Which file I have to edit?

Many thanks in advance,

Nina

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hello,

Just paste this in a css file.

span.category-product-count {
	display:none;
}

 

Best regards,

PrestaBucket Team

  • Thanks 1

Share this post


Link to post
Share on other sites

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 by Nina
mispelling (see edit history)

Share this post


Link to post
Share on other sites

Hello,

You can add this code to themes/prestashop/css/global.css

#category span.category-product-count {
	display:none;
}

Best regards

Share this post


Link to post
Share on other sites

Hello,

Unfortunately, after adding it nothing changed 🙁

All the best,

Nina

Share this post


Link to post
Share on other sites

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

Cache.JPG

Global CSS.JPG

Share this post


Link to post
Share on other sites

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

Screen Shot 2019-03-01 at 11.52.17.png

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hello,

Sure, ask as many question you have :D. Also good luck with your first site.

Best regards

Share this post


Link to post
Share on other sites

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

thumb.JPG

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More