Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove "larger image" when no image for product?

Remove "larger image" when no image for product?

Locked

Views: 3,631

Results 21 to 23 of 23
This thread is locked. New replies are disabled.
1 Oct 2009, 6:51 PM
#21
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Remove "larger image" when no image for product?

If you still get a placeholder (I presume you're looking at it in IE?), the advice Nick gave will do the trick. You could also just comment out the require with //, like this```php
//require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>

1 Oct 2009, 7:09 PM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Remove "larger image" when no image for product?

The "Rocky Mountain ATV/MC - 3% Cash back" is showing the "check" image, but the "Goldenmine and Jewelry - 7% Cash Back" is not. That tells me that the admin switch did the job; you just need to go through your products and remove any image names associated with them. I think you can only do this by editing each product - just deleting the files won't help.

1 Oct 2009, 11:52 PM
#23
tswift44 avatar

tswift44

New Zenner

Join Date:
Sep 2009
Posts:
13
Plugin Contributions:
0

Re: Remove "larger image" when no image for product?

Thanks I will check it out..
Tom