Forums / Templates, Stylesheets, Page Layout / Sub category images not displaying

Sub category images not displaying

Views: 442

Results 1 to 3 of 3
27 May 2011, 5:08 PM
#1
bddots avatar

bddots

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Sub category images not displaying

Using Zen v1.3.9h

Ok somewhere along the way today I managed to mess up how my subcategory images show. Long story short I was trying to center the subcat images on the product page (ex. http://designindigital.net/store/index.php?main_page=product_info&cPath=1_16&products_id=27) and somehow I made it so the sub cat images don't show on the product listing pages (ex. http://designindigital.net/store/index.php?main_page=index&manufacturers_id=1)

I thought these were called from the same file but I can not for the life of me figure out what I messed up.:blush: Any ideas?

Thanks!

27 May 2011, 6:17 PM
#2
bddots avatar

bddots

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: Sub category images not displaying

Welp, nevermind! I found another thread that had a suggestion in it, tried it and it made my whole site screwy, so I reuploaded the file before the most recent updates and Bam! Everything is fine again! Images are back.

If anyone else is having a similar issues I 'accidentally' fixed mine by editing the /store/includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php

Specifically this if statement

  if ($categories_image = zen_get_categories_image($current_category_id)) {
27 May 2011, 6:42 PM
#3
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,187
Plugin Contributions:
0

Re: Sub category images not displaying

Glad you found your problem and posted the solution to fix it...:smile:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.