So no-one knows?
Okay maybe this is going in the right direction but not to sure as its not working... so please if anyone knows what I am trying to do here and can see whats wrong, please feel free to jump in.
Here's what I have put in my includes/modules/MY_TEMPLATE/product_listing.php - (Only the bit in red, the rest is what's there.)
Code:
$lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);
$lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON . '<br />' : '') : '');
$product_info = $db->Execute("select p.products_guarantee, p.products_color,
p.products_display, p.products_dimensions,
p.products_energy, p.products_spin, p.products_load,
p.products_frostfree, p.products_autodefrost,
p.products_fastfreeze, p.products_fridgecapacity,
p.products_fuel, p.products_lpgoption,
p.products_hob, p.products_elements,
p.products_cavities, p.products_oventype,
p.products_capacityone, p.products_capacitytwo
from " . TABLE_PRODUCTS . " p
where p.products_status = '1'
and p.products_id = '" . (int)$_GET['products_id'] . "'");
if (!empty($product_info->fields['products_guarantee'])) $lc_text .= '<b>Guarantee:<br /></b>' . ' ' . $product_info->fields['products_guarantee'];
break;
case 'PRODUCT_LIST_QUANTITY':
$lc_align = 'right';
$lc_text = $listing->fields['products_quantity'];
break;
Bookmarks