Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    289
    Plugin Contributions
    0

    Default Hide price for featured products

    Hello

    My homepage is here, I have re renamed the featured Products to Hot Products!

    For the Hot Products! (Featured Products) I would like to hide the price.

    I tried to do this in Configuration > Featured Listing > Display product Price and setting to 0, but it didn't work.

    Can anyone let me know how i do this via admin, or which file to edit?

    Thanks

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Hide price for featured products

    I don't believe there is price ON/OFF admin control for the featured products module that appears in the center of the main index page.

    However, make a template override copy of file
    includes/modules/featured_products.php
    to:
    includes/modules/YOUR_TEMPLATE_DIR/

    Then with a text editor, open the copied file and look for line #54 (v1.3.6). You'll see
    Code:
    'text' => (($featured_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<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);
    At the end remove EXACTLY this part
    Code:
     . $products_price
    Price will no longer display.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 21 Feb 2013, 03:52 PM
  2. clone featured products for category featured products
    By justbecause in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Jan 2011, 06:49 AM
  3. Hide default price for Price by Attribute products
    By DivineIguana in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Sep 2008, 05:39 AM
  4. Hide Price in "Call for Price" Products (Asked by Many, Answered by None)
    By Squanto in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 May 2008, 06:35 PM
  5. Hide Products Price
    By ChrisDrumm in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 19 Nov 2006, 11:24 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