Zen Cart Logo
Forums / Customization from the Admin / Hide product and category images in the admin side only

Hide product and category images in the admin side only

Views: 2,829

Results 1 to 2 of 2
17 Apr 2023, 20:42
#1
georgemurcott avatar

georgemurcott

New Zenner

Join Date:
Jul 2013
Location:
Birmingham, UK
Posts:
9
Plugin Contributions:
0

Hide product and category images in the admin side only

Hi, I have just upgraded my friends site to ZC1.5.8a and php8.1, its all good but we would like to stop the product images from displaying in the admin side, same for the category images, we only want them to show in the storefront not the admin. I have checked the settings and the new site specific overrides but cannot find an option to achieve this. Any ideas?

I have tried the Searchable Docs and googling but cannot find an answer, sorry in advance if it has already been discussed but I would really appreciate some pointers please. Thank you to the ZC team for a great product!

Cheers,

18 Apr 2023, 08:08
#2
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Hide product and category images in the admin side only

Both category and product images are displayed in quite a few places throughout the Admin. I'll assume that it is just the images in Catalog > Categories / Products that you wish to hide. There is no setting that controls this and the only way would be to edit a core file.

The size of these images is actually governed by the settings for IMAGE_SHOPPING_CART_WIDTH & IMAGE_SHOPPING_CART_HEIGHT, if you locate these in

admin\category_product_listing.php

you should then be able to comment out the appropriate lines of code to achieve what you want.