New Zenner
- Join Date:
- Sep 2007
- Posts:
- 7
- Plugin Contributions:
- 0
Post #1 by animike
How to disable these words when there are no products??
And how can I disable the categories names from content??
Animike
Started by animike on 6 Oct 2007, 8:33 PM · Views: 5,815
New Zenner
How to disable these words when there are no products??
And how can I disable the categories names from content??
Animike
Black Belt
If you look at that category in the admin there is a green box to the right of it - click it to turn that category off until you add items
Zen-Venom Get Bitten
New Zenner
The problem is that I want there only text without this phrase: "There are no products to list in this category".
Animike
Black Belt
Use the admin > tools > developers tool kit > search > enter short part of phrase to find the define for it and the associated file
Zen-Venom Get Bitten
New Zenner
Thx for your help.
I found a briliant idea (for me of course;) I simply remove this by putting "display:none" in the class of phrase;)
Animike
New Zenner
Although there are no products under this category we still want to display the category. In the category text we do have a link to a different category that has the products. So although no products exist under the first category, we still want to display the category but without the message.
animike:
How to disable these words when there are no products??
And how can I disable the categories names from content??Animike
Sensei
kobra's advice is correct ... you can find exactly where to edit the wording by using the Developers Toolkit.
FAQs on the topic:
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Black Belt
Although there are no products under this category we still want to display the category. In the category text we do have a link to a different category that has the products. So although no products exist under the first category, we still want to display the category but without the message.
You can or should use the link function they will display in the empty category with out having a duplicate product entry
Zen-Venom Get Bitten
Tell staff why this post should be reviewed.