Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default FreeShipping image in category but not showing in listing?

    Hello, for some reason I have the FreeShipping image showing up in the categories, but not in my listing. I have verified that it is indeed turned on in the Admin / Product Types / Edit Layout. And I have confirmed that if I do turn off the setting it stops showing up in the category.

    I have found the code that displays the image and all seems to be default there.
    I also tried disabling the styles sheets to see if that was hiding anything.

    I ran some debugging code and as far as I can tell it is not passing a "true" value to turn on the image... so I'm thinking database issue.
    BUT its working fine in the category view!
    Very frustrating!

    Does anyone have any ideas I can try? Is there another setting somewhere that turns on the image just for the listing page independent of the category?

    The site is http://www.keystonepestsolutions.com...ing-offers-26/

    Thank you,
    Jacob Bushnell

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FreeShipping image in category but not showing in listing?

    Check what setting you are using on the Catalog ... Product Types ... EDIT SETTING ...
    Product Free Shipping Image Status - Catalog
    Show the Free Shipping image/text in the catalog?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default Re: FreeShipping image in category but not showing in listing?

    Been there, done that. A hundred times already...

    For both product types General and Free Shipping. Set to "1" or Yes.

    Jacob

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FreeShipping image in category but not showing in listing?

    What happens if you switch to the Classic Template ... does it show?

    What happens if you turn off the SEO/rewrites ... does it show?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default Re: FreeShipping image in category but not showing in listing?

    Thanks for the tips, I tried the classic template and it did not show.
    I also disabled the URL re-writer temporarily and it still did not show.

    Any other ideas?

    Jacob

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FreeShipping image in category but not showing in listing?

    Check your tpl_product_info_display.php and see if you have a section for:
    Code:
    <!--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  -->
    Also, in the Tools ... Developers Tool Kit ... in the bottom input box enter:
    TEXT_PRODUCT_FREE_SHIPPING_ICON

    and select Catalog and click Search ...

    Do you have a define statement for this similar to:
    Code:
    define('TEXT_PRODUCT_FREE_SHIPPING_ICON',  zen_image(DIR_WS_TEMPLATE_IMAGES . 'always-free-shipping.gif', 'Always  Free Shipping')); // for an image or comment out to use another
    What is the Product Type on one of the Product's that is not displaying this on the product_info page?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default Re: FreeShipping image in category but not showing in listing?

    Ok, thanks for your help.

    In the developers tool kit I found that TEXT_PRODUCT_FREE_SHIPPING_ICON
    was defined at two places :
    /includes/extra_datafiles/languages/english/extra_definitions/product_free_shipping.php

    Code:
    Line #24 : //define('TEXT_PRODUCT_FREE_SHIPPING_ICON', 'FREE SHIPPING'); // for text or set to '' for nothing
    Line #25 : define('TEXT_PRODUCT_FREE_SHIPPING_ICON', zen_image(DIR_WS_TEMPLATE_IMAGES . 'always-free-shipping.gif', 'Always Free Shipping')); // for an image or comment out to use another
    And I also found a define at:
    /includes/languages/english/extra_definitions/product_free_shipping.php

    Code:
    Line #24 : //define('TEXT_PRODUCT_FREE_SHIPPING_ICON', 'FREE SHIPPING'); // for text or set to '' for nothing
    Line #25 : define('TEXT_PRODUCT_FREE_SHIPPING_ICON', zen_image(DIR_WS_TEMPLATE_IMAGES . 'always-free-shipping.gif', 'Always Free Shipping')); // for an image or comment out to use another

    The product type is: Product - General

    When I select Free shipping shouldn't that make the item become a FREE SHIPPING product?

    Thank you,
    Jacob Bushnell

  8. #8
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default Re: FreeShipping image in category but not showing in listing?

    Ok, in order to troubleshoot this I placed the following code in the page: includes\templates\classic\templates\tpl_product_info_display.php

    right after the code:
    Code:
    <!--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 } ?>
    <?php
    //echo "code is: ";
    //echo (zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping);
    ?>
    <!--eof free ship icon  -->
    
    echo "code is: ";
    echo (zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping);
    That displays a null value when the product is viewed.

    Not sure if that helps any but at least we know that the display code is correct.
    Thank you,
    Jacob Bushnell

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FreeShipping image in category but not showing in listing?

    Quote Originally Posted by JacobBushnell View Post
    The product type is: Product - General

    When I select Free shipping shouldn't that make the item become a FREE SHIPPING product?
    Do you mean when you select the Product Type:
    Product - Free Shipping

    or when you add/edit the Product and mark it as:
    Code:
    Always Free Shipping: Yes, Always Free Shipping 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Mar 2010
    Location
    Bonners Ferry, Idaho
    Posts
    69
    Plugin Contributions
    1

    Default Re: FreeShipping image in category but not showing in listing?

    The 2nd option:

    or when you add/edit the Product and mark it as:

    Code:
    ---------
    Always Free Shipping: *Yes, Always Free Shipping *
    ---------
    I don't actually see an option to mark a product type "Product Type:
    Product - Free Shipping" in the edit item page.

    Maybe I am missing something there?
    Jacob

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. product image not showing in admin but not in shop
    By pb4 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 Feb 2011, 06:38 PM
  2. Image shows in category listing, but not in all Product Listings
    By wiccan0974 in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2010, 06:02 AM
  3. how to add freeshipping listing as new product listing and special listing
    By zeme_09g in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Apr 2010, 10:35 AM
  4. Category image showing below text in IE (instead of beside), but not firefox
    By mcpisik in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jan 2010, 02:53 PM
  5. Product listing image not showing
    By nunukis in forum General Questions
    Replies: 6
    Last Post: 28 Dec 2008, 06:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR