Results 1 to 10 of 67

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Show product description on main-page?

    Hi,

    Is there a switch in admin to make the product-description show on the main-page on featured products? It only shows product name and price.
    I have found out how to control the featured product listing but not how to adjust this on the index-page.

    /G

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

    Default Re: Show product description on main-page

    If you are using v1.3.x, the featured listing can be set to display the first 150 characters of the description, in Configuration > Featured Listing > Display Product Description.

    If you are wanting something other than this, please explain or post a url to the place you mean.

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

    Default Re: Show product description on main-page

    While the Listings each have an option for the products_description to be displayed ... the Center Boxes do not have built in the products_description ...

    You can customize these to include this information ... however, there is not a switch for the Center Boxes to include the products_description at this time ...
    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!]
    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!

  4. #4
    Join Date
    Sep 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Show product description on main-page

    could you point us in the right direction? I am having a hell of a time getting the featured_products.php to show the descriptions and adding a buy now button. I see a few people who want to do the same thing but no one is showing us n00bs how to. I have been trying to figure out how for about 4 hours now with no luck.

    help!

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

    Default Re: Show product description on main-page

    Might peek at how the product listing or new product listing or all product listing or featured product listing are so smart and adjust the center boxes to be equally smart ...
    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!]
    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!

  6. #6
    Join Date
    Dec 2005
    Posts
    64
    Plugin Contributions
    1

    Default Re: Show product description on main-page

    To add the product description to the featured centrebox, I guess you would need to edit the following code in modules/featured_products.php and maybe also add some code to the sql query.

    -----
    $list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT) . '</a><br /><a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . $featured_products->fields['products_name'] . '</a><br />' . $products_price);
    -----

    Can someone show us how to adjust the code so it displays the same as the featured product listings?

 

 

Similar Threads

  1. v155 Product description on main page
    By vvomble in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 2 Jun 2016, 03:40 PM
  2. how do you omit description of product on main product page?
    By rubis in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Mar 2009, 04:25 PM
  3. Changing description on my main product page
    By 9800xl in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Aug 2007, 05:03 PM
  4. Product Description Issues on main page
    By magneteye in forum General Questions
    Replies: 8
    Last Post: 20 Jul 2007, 10:04 AM
  5. Getting subcategory description to show up on the Product page
    By lyricwings in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Apr 2007, 11:11 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