Hello,
I was wondering if there was a way to not display a product on the main page under new products if there is no image associated with it.
Thanks,
thehin![]()
Hello,
I was wondering if there was a way to not display a product on the main page under new products if there is no image associated with it.
Thanks,
thehin![]()
If you want nothing to show for a particular product while you are awaiting a picture, you can click on the green dot next to the product in the admin. The dot will turn to red and nothing about that product will show up in the cart. When you get the photo, just edit the product, add the image, and click on the red dot to turn it green.
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Since the listing code normally displays a picture, it has access to the filename. You can test for whether there is a filename and whether the filename actually points to a file with the PHP function file_exists(), and reject the product for display if it fails.