Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Removing minimum/maximum text from product listing pages

    Hi, I want my product listing pages to stop showing whether there is a minimum/maximum order under the price. The product info page should have this information, but not the listings.

    I see a place in the admin to turn off the price on the listings pages, which also turns off the minimum text. However, I would like to continue showing the price.

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

    Default Re: Removing minimum/maximum text from product listing pages

    If you were to copy the:
    /includes/modules/product_listing.php

    to your templates and overrides directory:
    /includes/modules/your_template_dir/product_listing.php

    Then edit that file and find around line 134 or so:

    PHP Code:
            $the_button $lc_button;
            
    $products_link '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_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 />' '') : ''); 

    That builds the final display ...

    Alter it to suit your needs ...
    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!

 

 

Similar Threads

  1. Removing product 1 of xxx and listing, next, back buttons from product detail
    By Agent_KGB in forum Customization from the Admin
    Replies: 5
    Last Post: 3 May 2010, 09:19 PM
  2. Removing Prices in Main Product listing pages
    By Balboa in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Sep 2009, 04:37 AM
  3. How to Remove Minimum Quantity Text from Product Listing
    By mrmeech in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jun 2008, 03:13 AM
  4. Removing Images From Product Pages without removing them from Category Pages
    By googlepasta in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 5 Jan 2008, 04:06 PM
  5. Removing "New Products For..." from Product Listing Pages
    By crystal-vysion in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2007, 04:38 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