Probably just a simple swith in this code:
If I was any good with PHP I'm sure I'd see how to turn it off, but I amn't and I can't :)PHP Code:
// BEGIN OF ATTRIBUTE DB CODE
$prodAttribs = ''; // DO NOT DELETE
if (RCS_SHOW_ATTRIBUTES == 'true') {
$attribrecs = $db->Execute("SELECT cba.products_id,
po.products_options_name poname,
pov.products_options_values_name povname
FROM " . TABLE_CUSTOMERS_BASKET_ATTRIBUTES . " cba,
" . TABLE_PRODUCTS_OPTIONS . " po,
" . TABLE_PRODUCTS_OPTIONS_VALUES . " pov,
" . TABLE_LANGUAGES . " l
WHERE cba.products_id ='" . (int)$basket->fields['products_id'] . "'
AND cba.customers_id = " . $curcus . "
AND po.products_options_id = cba.products_options_id
AND pov.products_options_values_id = cba.products_options_value_id
AND po.language_id =" . (int)$_SESSION['languages_id'] . "
AND pov.language_id =" . (int)$_SESSION['languages_id']);
$hasAttributes = false;
if ($attribrecs->RecordCount() > 0){
$hasAttributes = true;
$prodAttribs = '<br />';
while (!$attribrecs->EOF){
$prodAttribs .= '<small><i> - ' . $attribrecs->fields['poname'] . ' ' . $attribrecs->fields['povname'] . '</i></small><br />';
$attribrecs->MoveNext();
}
}
}
// END OF ATTRIBUTE DB CODE