Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Option Cost Display


Guest

Recommended Posts

I'm looking for the piece of code that outputs the "option name (prefix $ x.xx)" bit in product_info.php ms2. I need to add a conditional statement so it displays percentages properly instead of "option name (* $ x.xx)" as this is confusing to folks and I don't want to ugly the page with an explanation as to what it means. I am using the Options as Images contrib but I don't think it has anything to do with this output. Thanks in advance.

Link to comment
Share on other sites

by default is in catalog\product_info.php, this code

 

		  if ($products_options['options_values_price'] != '0') {
		$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
	  }

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...