View Single Post
  #5  
Old 08-04-2005, 09:05 AM
 
eleven eleven is offline
 

Senior Member
  
Join Date: Nov 2002
Location: Charlotte, NC, USA
Posts: 118
 

Default my solution

This is how I solved it.
in include/search.php comment out all of this (line 561 in 4.0.13):
Code:
if($v['is_product_options']) { $poptions = func_query("SELECT MIN(IF($sql_tbl[class_options].modifier_type = '$', $sql_tbl[class_options].price_modifier, ".$v['price']."*$sql_tbl[class_options].price_modifier/100)) as add_price FROM $sql_tbl[classes], $sql_tbl[class_options] WHERE $sql_tbl[classes].productid = '$v[productid]' AND $sql_tbl[classes].classid = $sql_tbl[class_options].classid AND $sql_tbl[classes].is_modifier = 'Y' AND $sql_tbl[classes].avail = 'Y' GROUP BY $sql_tbl[classes].classid ORDER BY add_price"); if(!empty($poptions)) { foreach($poptions as $po) { $v['price'] += $po['add_price']; } $products[$k] = $v; } }

It would be nice if we could select through the admin the price to be displayed on the thumbnail page.

FYI- a php comment starts with /* and ends with */
__________________
|| E L E V E N ||
Reply With Quote