Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    150
    Plugin Contributions
    0

    Default how to get details button for product details

    Hi,

    when I added attributes to the product the product list page (not the product detail page) shows the text "... more info"

    without the attributes, it had a button labeled "Detailed"...

    may I know how to have a button back even with the attributes...

    thanks

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

    Default Re: how to get details button for product details

    You would need to customize using your templates and overrides the file:
    /includes/modules/product_listing.php

    and change how that is built around line 113:
    Code:
            if (zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
              $lc_button = '<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 ? $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
    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. How to modify the Product Details List on the Product Details Page to look tabular?
    By CaptainCarlton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jul 2011, 02:41 PM
  2. Product Details Button.
    By Ambitions in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2010, 11:03 PM
  3. How to get rid of ' ... details ' in product list all view
    By acetate in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 May 2007, 10:40 AM
  4. Get attribute details for product - coding problem
    By sparklefish in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 4 Mar 2007, 04:41 PM
  5. Replies: 3
    Last Post: 10 Jul 2006, 11:47 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