disregard, my mistake, I forgot to save file before refreshing page.
@Ajeh, Pardon me for asking but is this technique safe to do, since the products will no longer be displayed on the site, but will still show on search engines?
This hides it from the Categories listings ... not from anything else ...
Test it out and you should not see it when navigating the Categories listing, but you will see it in the sideboxes and centerboxes and New Products listing (if new) and All Products listing and Specials listing (if on special) and Featured listing (if a featured product) ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Your right. I tested it on my site and they still appear on the sideboxes. I was worried the website would get penalized if the out of stock items weren't showing on the site but on the search engines. I guess it wouldn't get penalized. Thanks Ajeh.![]()
Last edited by ricangem; 16 Sep 2012 at 02:43 PM.
NOTE: the spiders are seeing just what you are on this as nothing is masked with css but actually either there or not there based on the code change ... and spiders can only see what is actually there ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
To get this to work for 1.5 users, see this post
http://www.zen-cart.com/showthread.p...91#post1245791