Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / No Picture Available

No Picture Available

Locked

Views: 3,852

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
16 Sep 2006, 11:16 PM
#1
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

No Picture Available

How do I provide a picture for this "No Picture Available" error on my page? Do I really need one? Can I get rid of this error graphic?

16 Sep 2006, 11:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: No Picture Available

That is the Category Image ...

In Zen Cart v1.3.5 ... there is now a setting for showing the image when there is one or not showing it at all ...

Configuration ... Product Info ...

Previous Next - Navigation Includes Category Name and Image Status
Product's Category Image and Name Status
0= Category Name and Image always shows
1= Category Name only
2= Category Name and Image when not blank

17 Sep 2006, 12:14 AM
#3
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Re: No Picture Available

Thanks much.

Now how do I get rid of the "Free Shipping" image that shows up under the amount of the product?

17 Sep 2006, 12:31 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: No Picture Available

You have it marked as Always Free Shipping YES ...

If you don't want the icon ... there is a setting in the:
Catalog ... Product Types ...

Pick the Product Type the Product is using and hit Edit Layout ...

Change the setting there ... to turn off on the Catalog Listings ...

To change on the tpl_product_info_default.php you would edit:

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current)) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

Be sure that you are using your templates and overrides directory ...

17 Sep 2006, 1:57 AM
#5
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: No Picture Available

If you are never ever wanting it to show you can also use :

.freeShippingIcon {display: none;}

In the stylesheet of your custom template

One less core file to over ride.:smartass:

27 Sep 2006, 4:26 PM
#6
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Re: No Picture Available

TinaS:

If you are never ever wanting it to show you can also use :

.freeShippingIcon {display: none;}

In the stylesheet of your custom template

One less core file to over ride.:smartass:

I've added this to my css under MYTEMPLATE folder and I turned off the shipping image in Product Types. It's still showing up. What am I missing here?

http://www.digitalpaperie.com/store/

27 Sep 2006, 5:49 PM
#7
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: No Picture Available

Oh, must be this one instead;

#freeShippingIcon {
	display: none;
	}

Please change the period(.) to the number character that's in red.

27 Sep 2006, 10:46 PM
#8
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Re: No Picture Available

The # did the trick. Thanks.

One other thing I'm struggling with is spacing right before the product info. I cannot find where to alter this area. (Refer to the thumbnail I posted at the beginning of this thread.) I'd like a space or two between the title of the catagory and the start of the product info.

28 Sep 2006, 9:05 AM
#9
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: No Picture Available

You're welcome.

Okay, I think I know what you mean. I see that the title sits almost on top of the picture. In your stylesheet, you can adjust this.

Find;

.categoryIcon { }

and place a margin-bottom value to your preference, like so;

.categoryIcon { margin-bottom: 1em; }

If you can't locate the .categoryIcon, then just add in the above.

29 Sep 2006, 9:40 PM
#10
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Re: No Picture Available

OK...that worked too. Thanks.

Seeing as we're on a roll here could you help me find out why I have a white bar below my logo in IE version 6.0.2900.2180?

Edited: Guess it would help to have the URL!

http://www.digitalpaperie.com/store

30 Sep 2006, 9:57 PM
#11
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: No Picture Available

You're welcome.

If you want, you can PM me with the contents of your template tpl_header.php and I can see if I can balance it out between IE and FF. :smile: