Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Free Shipping Image Not Showing

Free Shipping Image Not Showing

Views: 938

Results 1 to 10 of 10
16 Dec 2012, 1:33 PM
#1
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Free Shipping Image Not Showing

I am having trouble getting the free shipping image to show on products set for always free shipping. I am using a template from Picaflor but I have also tested in the "Classic" template and it does not show on either. I have checked the catalog>product type and everything looks good. I see the always-free-shipping.gif image in the template_default>images folder but it does not seem to be showing up.

I also looked at the product_free_shipping.php and this is what it has:

define('TEXT_PRODUCT_FREE_SHIPPING_ICON', zen_image(DIR_WS_TEMPLATE_IMAGES . 'always-free-shipping.gif', 'Free Shipping')); // for an image or comment out to use another

?>

Looking for some insight as to why the free shipping image would not be showing?

16 Dec 2012, 2:23 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Image Not Showing

Check your setting in the Catalog ... Product Type ... EDIT LAYOUT ...

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

16 Dec 2012, 4:27 PM
#3
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Re: Free Shipping Image Not Showing

I did...Product Free Shipping Image Status- Catalog is set to Yes

16 Dec 2012, 4:47 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Image Not Showing

Check your file:
/includes/modules/product_listing.php
/includes/modules/your_templates_dir/product_listing.php

for the code:

        $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');

if you do not see it, try searching the file(s) for:
TEXT_PRODUCT_FREE_SHIPPING_ICON

and see if there is anything in the file referencing it ...

16 Dec 2012, 6:41 PM
#5
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Re: Free Shipping Image Not Showing

In my includes/modules/all_business folder there is a product_listing.php and on line 191 I see this:

$lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');
17 Dec 2012, 11:25 AM
#6
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Re: Free Shipping Image Not Showing

In both includes/modules/product_listing.php and includes/modules/all_business/product_listing.php the code is as follows on line 191 but yet I can still not get the image to show for items offering free shipping

$lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');

Any ideas?

18 Dec 2012, 8:29 PM
#7
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Re: Free Shipping Image Not Showing

Still looking for some help.... anyone?

19 Dec 2012, 12:14 AM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Image Not Showing

And you are using Products that are set to Product Type for Product General, correct?

19 Dec 2012, 11:03 AM
#9
smartbuyaudio avatar

smartbuyaudio

New Zenner

Join Date:
Dec 2012
Posts:
12
Plugin Contributions:
0

Re: Free Shipping Image Not Showing

Yes.... last night I created another test product and this time used Product-Free Shipping instead of Product-General. This time the Free Shipping image showed in the new test product.

What I noticed also was that when I create a product in Product-Free Shipping... my MSRP module does not work

19 Dec 2012, 3:08 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Image Not Showing

You need to check the customizations for MSRP and see what changes were made to the Product General modules that were not made to the Product Free Shipping modules ...

On the Product General products where the Free Shipping icon is not showing, does the icon show on the product _info page?

Have you some URLs to a few Products that are Always Free Shipping where the Free Shipping icon is not showing that we could perhaps peek at?