Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Location
    North Devon, England, UK
    Posts
    243
    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,199
    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. product's price incorrect
    By jeanmichel in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 26 Oct 2006, 01:16 AM
  2. changing price of multiple products simultaneously
    By binny25 in forum Basic Configuration
    Replies: 7
    Last Post: 7 Oct 2006, 02:55 AM
  3. Products with Multiple Price Discounts
    By thevintagesound in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Sep 2006, 06:17 AM
  4. Can I hide product price until added to basket?
    By lcoombes in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 17 Sep 2006, 02:21 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
  •