Zen Cart Logo
Forums / General Questions / Placing Same Image On All Product Pages

Placing Same Image On All Product Pages

Views: 615

Results 1 to 6 of 6
15 Aug 2013, 11:08 AM
#1
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Placing Same Image On All Product Pages

I recently turned on the Free Shipping image and now I am reminded that I initially removed it because it displays on the All Products page, the New Products page, the Category Listing page and probably a few other pages I don't want to see it.

I only want this image on the product page, exactly where it currently is:

http://designerperfumesnob.authsafe.com/paloma-picasso-eau-de-parfum-spray-34-oz-by-paloma-picasso-for-women-p-1810.html?cPath=656

Since I haven't been able to get any help with turning this image off on the other pages, how about if I turned it off totally, and just planted this image on all of the product pages?

How would I go about doing that so it falls into the spot it is in now and goes into all product pages? I'm thinking I can even have some fun with it over the holidays and give it a more themed look, in color and font.

Thanks for looking.

15 Aug 2013, 2:02 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Placing Same Image On All Product Pages

Turn it off totally for a specific Product Type in the Catalog ... Product Type ... EDIT LAYOUT ...

Product Free Shipping Image Status - Catalog
Show the Free Shipping image/text in the catalog?

Are all of your Products that you do want this image for marked as Always Free Shipping or as 0 weight? Or how do you identify which Products you want to actually see this for on the Product Info page?

15 Aug 2013, 4:31 PM
#3
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Placing Same Image On All Product Pages

Ajeh:

Turn it off totally for a specific Product Type in the Catalog ... Product Type ... EDIT LAYOUT ...

Are all of your Products that you do want this image for marked as Always Free Shipping or as 0 weight? Or how do you identify which Products you want to actually see this for on the Product Info page?

Yes, all of my products are always free shipping and also Yes in Edit Layout

15 Aug 2013, 5:29 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Placing Same Image On All Product Pages

Okay so ... turn it OFF in the Catalog ... Product Type ... EDIT LAYOUT ...

Then, using your templates and overrides, customize the file:
/includes/templates/template_default/templates/tpl_product_info_display.php

for your templates and overrides:
/includes/templates/your_template_dir/templates/tpl_product_info_display.php

and change the IF for the Always Free Shipping icon:

<!--bof free ship icon  -->
<?php if([B]true || [/B]zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->
15 Aug 2013, 6:15 PM
#5
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Placing Same Image On All Product Pages

Ajeh, Ajeh, Ajeh, I am not worthy :) What an absolute pleasure not to have to see that over and over. It was making me dizzy. Once is cute, nine times on a page, not so cute.

Have a wonderful day and thank you so much~

15 Aug 2013, 6:28 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Placing Same Image On All Product Pages

You are most welcome ... thanks for the update that this is now working for you as desired ... :smile: