Forums / Templates, Stylesheets, Page Layout / Help removing price on new products

Help removing price on new products

Locked

Started by thebooktrunk_com on 20 Sep 2007, 2:49 PM · Views: 899

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
20 Sep 2007, 2:49 PM
#1
thebooktrunk_com avatar

thebooktrunk_com

New Zenner

Join Date:
Aug 2007
Posts:
30
Plugin Contributions:
0

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

22 Sep 2007, 3:57 PM
#2
thebooktrunk_com avatar

thebooktrunk_com

New Zenner

Join Date:
Aug 2007
Posts:
30
Plugin Contributions:
0

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 :smile:

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