Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Location
    Tacoma, Washington
    Posts
    26
    Plugin Contributions
    0

    Default Re: Price doesn't line up with product title

    I included the source just to show what I was searching for. I searched through pretty much all of the PHP files that had anything to do with the product listings, and all of the pages I could find called in them. I can live (reluctantly) with the way it is, but I would very much like to make it right if it is possible.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Price doesn't line up with product title

    In product_listing.php:
    Code:
            case 'PRODUCT_LIST_PRICE':
            $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            $lc_align = 'right';
            $lc_text =  $lc_price;
    
            // more info in place of buy now
            $lc_button = '';
    
    ...
    
              } else {
    // qty box with add to cart button
                if (PRODUCT_LIST_PRICE_BUY_NOW == '2' && $listing->fields['products_qty_box_status'] != 0) {
                  $lc_button= zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($listing->fields['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product&products_id=' . $listing->fields['products_id']), 'post', 'enctype="multipart/form-data"') . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($listing->fields['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_draw_hidden_field('products_id', $listing->fields['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT) . '</form>';
                } else {
                  $lc_button = '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing->fields['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BUY_NOW, BUTTON_BUY_NOW_ALT, 'class="listingBuyNowButton"') . '</a>';
                }
              }
            }
            $the_button = $lc_button;
            $products_link = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . ( ($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : $_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&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 />' . (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 />' : '') : '');
    
            break;

  3. #3
    Join Date
    Jun 2010
    Location
    Tacoma, Washington
    Posts
    26
    Plugin Contributions
    0

    Default Re: Price doesn't line up with product title

    Perfect ! I knew I had to simply be missing it, my eyes were getting blurry! Thank you very much for breaking this logjam for me. I appreciate the help.

 

 

Similar Threads

  1. Product Title in One line. add (.....) From in line end..
    By jennydutch in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2014, 09:25 PM
  2. Specials products with line throught original & discount price
    By irishshopper in forum Basic Configuration
    Replies: 1
    Last Post: 4 Jun 2011, 05:05 PM
  3. Category Product name and price don't line up
    By mattbussey in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Mar 2009, 06:03 AM
  4. Replies: 0
    Last Post: 17 Mar 2008, 02:34 PM
  5. Replies: 1
    Last Post: 7 Apr 2007, 08:05 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