Forums / Templates, Stylesheets, Page Layout / Product FREE Shipping IMAGE not showing up on Main & Product Page:

Product FREE Shipping IMAGE not showing up on Main & Product Page:

Started by rlexyd on 2 Oct 2012, 4:58 AM · Views: 4,800

Results 1 to 20 of 44
2 Oct 2012, 4:58 AM
#1
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Product FREE Shipping IMAGE not showing up on Main & Product Page:

Hi :)

I have Zen-cart 1.3.9h and recently made FREE Shipping on one of my categories.
The Product FREE Shipping IMAGE shows up when I click on the Category, but it does NOT show up on the Item's' Page or Main Page.

What am I doing wrong?

The setting under Product Types > General > is SET to 1
The setting under Product Types > Free Shipping > is SET to 1

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

What am I missing?

Hope someone can help me.

Tried the Classic template as well and still no good.

I would rather not share the URL online.

Regards,

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

2 Oct 2012, 7:12 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

The setting under Product Types > General > is SET to 1
The setting under Product Types > Free Shipping > is SET to 1
This does make sense as there are no "1's" to be set at
catalog > product type > general > edit
or
catalog > product type > general > edit layout

Zen-Venom Get Bitten

2 Oct 2012, 7:19 AM
#3
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Woow,ok Kobra :)

The value itself is either a YES or a NO, and it's set to YES.
The 1 I'm referring to is the VALUE.

Any ideas?

Cheers,

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

2 Oct 2012, 7:25 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

In the product screen what have you for "Always Free Shipping:" set

Zen-Venom Get Bitten

2 Oct 2012, 7:28 AM
#5
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

When I go to edit my product in admin, it says...
Yes, Always Free Shipping

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

2 Oct 2012, 7:55 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

See rules here

sample

Zen-Venom Get Bitten

2 Oct 2012, 8:31 AM
#7
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

I just had a look, thanks.

The problem is NOT that Free Shipping is Not working, it is working fine...
The problem is the Free Shipping IMAGE/Button is NOT being displayed on the Item Photo/Title on the Main Page and the product Page, It's ONLY displayed on the Category Page.

Cheers,

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

2 Oct 2012, 8:08 PM
#8
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Do you have the following code block in your /includes/templates/your_template/templates/tpl_product_info_display.php?

<!--bof free ship icon --> <?php if(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 -->
3 Oct 2012, 9:45 AM
#9
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Limitless:

Do you have the following code block in your /includes/templates/your_template/templates/tpl_product_info_display.php?

<!--bof free ship icon --> <?php if(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 -->

You my friend are a CHAMPION, it now Works on the Product Page :)

I checked that file as you said and here is what the code actually was...

<!--bof free ship icon --> <?php if(false && 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 -->

As you can see there was a few differences, not sure why it was set to false etc.. Must have been from a different MOD or something.

One more thing though, how do I get the FREE SHIPPING button to show up UNDER the products on the MAIN page??

Hope you know that one as well :)

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

3 Oct 2012, 12:50 PM
#10
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Not sure which main page you are talking about?

3 Oct 2012, 10:40 PM
#11
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

The main page/index, the top page on the website when you type your domain name. I can't think of any other name it goes by?

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

5 Oct 2012, 12:11 AM
#12
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

DrByte...
...your expertise are needed please :)

Is there a way to display the FREE SHIPPING Button/Image on the Front/Main/Index page of the website?
If I activate the Product is FREE or CALL FOR PRICE, the Images/Buttons appear UNDER the product Title/Name on the Main/Front/Index page, but FREE SHIPPING Button/Image does NOT show, I am very sure there is a way and that YOU can figure it out for us please.

Awaiting your further response.

Regards,

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

5 Oct 2012, 6:00 AM
#13
limitless avatar

limitless

Inactive

Join Date:
Jan 2012
Posts:
496
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Maybe grab a fresh copy of 1.39 and compare the relevant pages with your template? Sounds like something might have been removed at some point.

5 Oct 2012, 6:03 AM
#14
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Which .php controls the main page?

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

5 Oct 2012, 8:07 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Which .php controls the main page?
Controls???

index.php overall

main_page.php for defined content

Zen-Venom Get Bitten

8 Oct 2012, 8:57 AM
#16
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

So if I add the following code to the main_page.php..

<!--bof free ship icon --> <?php if(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 -->

Will the FREE SHIPPING Image Show up in under the Item name like the FREE and the CALL FOR PRICE show up??

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

8 Oct 2012, 4:33 PM
#17
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Might be better to use html

img src=your_image.jpg.....

Zen-Venom Get Bitten

9 Oct 2012, 7:37 AM
#18
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Can you please advise how to add the html in the PHP and which line of code will need need to replace?

I find it VERY weird that Zen-Cart shows the CALL FOR PRICE & the FREE images under the title on the Main/Index/Front store pages, but NOT show the FREE SHIPPING image???

Now I have to make a number of posts to figure something out which I'm sure should be in there already!!!

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

9 Oct 2012, 7:52 AM
#19
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

Will the FREE SHIPPING Image Show up in under the Item name like the FREE and the CALL FOR PRICE show up??

The problem is the Free Shipping IMAGE/Button is NOT being displayed on the Item Photo/Title on the Main Page and the product Page
If you looked at the sample page I posted earlier - - You see the free image in the product listing and the product page

Try switching to the classic template and see if your template is missing some funcionality

Zen-Venom Get Bitten

9 Oct 2012, 7:58 AM
#20
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
494
Plugin Contributions:
0

Re: Product FREE Shipping IMAGE not showing up on Main & Product Page:

I know I looked before, it does show.
But it DOESN'T show on the Index/Front/MAIN page where you have Featured, New & Specials and I want it to show there.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!