Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Div For Free Shipping Image in product_listing

    Hi all,
    Thanks for reading!

    ZC 1.3.8a In includes/modules/temp/ File product_listing.php. This code is from row 185 on.
    Code:
    $the_button = $lc_button;
            $products_link = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
              $lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);
              $lc_text .= '<br /><div class="freeShipProductListing">' . (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 /></div>' : '') : '');
    I added the purple stuff. It worked but the last one was borken and mixed up in the featured products.

    What did I do wrong?

    Thanks in advance,
    John

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Div For Free Shipping Image in product_listing

    Try moving the br and see if it renders any better
    Code:
    $lc_text .= '<div class="freeShipProductListing" br />' . (zen_get_show_product_switch
    or
    Code:
    $lc_text .= '<div class="freeShipProductListing"><br />' . (zen_get_show_product_switch
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 3
    Last Post: 7 Dec 2014, 03:15 PM
  2. Replies: 5
    Last Post: 28 Feb 2014, 12:30 PM
  3. how to add div to free shipping image in productListing?
    By Soniccc in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Oct 2011, 05:24 AM
  4. Replies: 4
    Last Post: 4 Jun 2010, 05:20 AM
  5. how to add free-shipping image for every products for the product list page
    By vanson in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Feb 2010, 03:36 PM

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