Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    42
    Plugin Contributions
    0

    Default Help removing price on new products

    I would like to display on the main page the new products with manufacter name and product name, i dont know how to remove the price and how to add the manufacter name..
    Please help

    www.thebooktrunk.com

  2. #2
    Join Date
    Aug 2007
    Posts
    42
    Plugin Contributions
    0

    help question Re: Help removing price on new products

    So, I have figure out how to remove the prices on the new products of main page, but i have no idea how to add the manufacturers, here is the code that i have modified on new_products.php.
    Can anyone help me adding the line of code to display the manufacturer?
    Thanks

    while (!$new_products->EOF) {

    //$products_price = zen_get_products_display_price($new_products->fields['products_id']);

    $new_products->fields['products_name'] = zen_get_products_name($new_products->fields['products_id']);
    $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => (($new_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'products_id=' . $new_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $new_products->fields['products_image'], $new_products->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'products_id=' . $new_products->fields['products_id']) . '">' . $new_products->fields['products_name'] . '</a><br />' . $products_price);


    www.thebooktrunk.com

 

 

Similar Threads

  1. Removing price and product name from Featured Products
    By jackalneo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Dec 2010, 06:32 AM
  2. Removing New Products
    By FLOD in forum General Questions
    Replies: 4
    Last Post: 26 Jan 2009, 07:26 PM
  3. Removing the [more] from whats new / new products
    By jonhurlock in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jan 2008, 12:22 AM
  4. Removing # of Products and Price from "New Products" index/list
    By esoin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Sep 2007, 01:58 AM
  5. Removing New Products
    By Mobsta in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Jul 2006, 04:35 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