_:ne7e689b62fde4a75bf70c6d730800f7fxb17
<http://schema.org/text>
"Thankyou for your reply. I clearly see what you are talking about, but I don't know why it is like that. It is apparant that the problem resides in product_info.php. Here is the file from the site\n \n\n&lt;?php\n/*\n $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $\n\n osCommerce, Open Source E-Commerce Solutions\n [url=http://www.oscommerce.com]http://www.oscommerce.com[/url]\n\n Copyright © 2003 osCommerce\n\n Released under the GNU General Public License\n*/\n\n require('includes/application_top.php');\n\n require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);\n\n//// BOF Actual Price Pull Down v1.2.3a\n$new_price ? $original_price = $new_price : $original_price = $product_info['products_price']; //// check if set special price\n\n\t$option_price = $products_options['options_values_price'];\n\tif ($products_options['price_prefix'] == \"-\") // in case price lowers, don't add values, subtract.\n\t$show_price = 0.0 + $original_price - $option_price; // force float (in case) using the 0.0;\nelse if ($products_options['price_prefix'] == \"+\")\n\t\t$show_price = 0.0 + $original_price + $option_price; // force float (in case) using the 0.0;\nelse\n\t\t$show_price = $original_price; // force float (in case) using the 0.0;\n//if ($products_options['options_values_price'] != '0')\n{\n\t\t$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $currencies-&gt;display_price(($products_options[$n]['options_values_price'] + $product_info['products_price']), tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';\n}\n//// EOF Actual Price Pull Down v1.2.3a\n\n\n\n $product_check_query = tep_db_query(\"select count(*) as total from \" . TABLE_PRODUCTS . \" p, \" . TABLE_PRODUCTS_DESCRIPTION . \" pd where p.products_status = '1' and p.products_id = '\" . (int)$HTTP_GET_VARS['products_id'] . \"' and pd.products_id = p.products_id and pd.language_id = '\" . (int)$languages_id . \"'\");\n $product_check = tep_db_fetch_array($product_check_query);\n// BOF Separate Pricing per Customer\n if (isset($_SESSION['sppc_customer_group_id']) &amp;&amp; $_SESSION['sppc_customer_group_id'] != '0') {\n$customer_group_id = $_SESSION['sppc_customer_group_id'];\n } else {\n$customer_group_id = '0';\n }\n// EOF Separate Pricing per Customer\n?&gt;\n&lt;!doctype html public \"-//W3C//DTD HTML 4.01 Transitional//EN\"&gt;\n&lt;html &lt;?php echo HTML_PARAMS; ?&gt;&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=&lt;?php echo CHARSET; ?&gt;\"&gt;\n&lt;title&gt;&lt;?php echo TITLE; ?&gt;&lt;/title&gt;\n&lt;base href=\"&lt;?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?&gt;\"&gt;\n&lt;link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheet.css\"&gt;\n&lt;script language=\"javascript\"&gt;&lt;!--\nfunction popupWindow(url) {\n window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res\nizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le\nft=150')\n}\n//--&gt;&lt;/script&gt;\n&lt;/head&gt;\n&lt;body marginwidth=\"0\" marginheight=\"0\" topmargin=\"0\" bottommargin=\"0\" leftmargin=\"0\" rightmargin=\"0\"&gt;\n&lt;!-- header //--&gt;\n&lt;?php require(DIR_WS_INCLUDES . 'header.php'); ?&gt;\n&lt;!-- header_eof //--&gt;\n\n&lt;!-- body //--&gt;\n\n &lt;tr&gt;&lt;td valign=\"top\"&gt;\n  &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"width:100%;\"&gt;\n&lt;tr&gt;&lt;td style=\"background-color:#131516\" valign=\"top\" class=\"bg9\"&gt;&lt;?=tep_image(DIR_WS_IMAGES.'m21.gif')?&gt;&lt;/td&gt;\n\t&lt;td width=\"100%\" style=\"background-color:#B4C016;\"&gt;\n\t &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"width:100%;\"&gt;\n\t  &lt;tr&gt;&lt;td width=\"213\" class=\"bg12\" valign=\"top\"&gt;&lt;?php require(DIR_WS_INCLUDES . 'column_left.php'); ?&gt;&lt;/td&gt;\n\t\t  &lt;td width=\"16\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '16', '1'); ?&gt;&lt;/td&gt;\n\t\t  &lt;td width=\"100%\" class=\"bg13\" valign=\"top\"&gt;\n\t\t   &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t&lt;tr&gt;&lt;td&gt;&lt;?=tep_image(DIR_WS_IMAGES.'m30.gif')?&gt;&lt;/td&gt;\n\n&lt;?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?&gt;\n\n&lt;?php\n if ($product_check['total'] &lt; 1) {\n?&gt;\n\t\t\t\t&lt;td class=\"bg15\" width=\"100%\" height=\"30\"&gt;\t   &lt;span class=\"tx4\"&gt;&lt;?= TEXT_PRODUCT_NOT_FOUND; ?&gt;&lt;/span&gt;&lt;/td&gt;\n\t\t\t\t&lt;td&gt;&lt;?=tep_image(DIR_WS_IMAGES.'m31.gif')?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t&lt;tr&gt;&lt;td height=\"16\" colspan=\"3\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t   &lt;/table&gt;\n\t\t   &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t&lt;tr&gt;&lt;td width=\"100%\"&gt;\n\n&lt;table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"&gt;\n &lt;tr&gt;\n\t&lt;td&gt;&lt;table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"2\"&gt;\n\t  &lt;tr&gt;\n\t\t&lt;td&gt;&lt;table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"2\"&gt;\n\t\t  &lt;tr&gt;\n\t\t\t&lt;td width=\"10\"&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?&gt;&lt;/td&gt;\n\t\t\t&lt;td align=\"right\"&gt;&lt;?php echo '&lt;a href=\"' . tep_href_link(FILENAME_DEFAULT) . '\"&gt;' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '&lt;/a&gt;'; ?&gt;&lt;/td&gt;\n\t\t\t&lt;td width=\"10\"&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?&gt;&lt;/td&gt;\n\t\t  &lt;/tr&gt;\n\t\t&lt;/table&gt;&lt;/td&gt;\n\t  &lt;/tr&gt;\n\t&lt;/table&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n } else {\n$product_info_query = tep_db_query(\"select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from \" . TABLE_PRODUCTS . \" p, \" . TABLE_PRODUCTS_DESCRIPTION . \" pd where p.products_status = '1' and p.products_id = '\" . (int)$HTTP_GET_VARS['products_id'] . \"' and pd.products_id = p.products_id and pd.language_id = '\" . (int)$languages_id . \"'\");\n$product_info = tep_db_fetch_array($product_info_query);\n\ntep_db_query(\"update \" . TABLE_PRODUCTS_DESCRIPTION . \" set products_viewed = products_viewed+1 where products_id = '\" . (int)$HTTP_GET_VARS['products_id'] . \"' and language_id = '\" . (int)$languages_id . \"'\");\n\nif ($new_price = tep_get_products_special_price($product_info['products_id'])) {\n// BOF Separate Pricing per Customer\n  if ($customer_group_id &gt; 0) { // only need to check products_groups if customer is not retail\n\t$scustomer_group_price_query = tep_db_query(\"select customers_group_price from \" . TABLE_PRODUCTS_GROUPS . \" where products_id = '\" . (int)$HTTP_GET_VARS['products_id']. \"' and customers_group_id =  '\" . $customer_group_id . \"'\");\n\tif ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) {\n\t  $product_info['products_price']= $scustomer_group_price['customers_group_price'];\n\t  }\n  } // end if ($customer_group_id &gt; 0)\n// EOF Separate Pricing per Customer\n\n  $products_price = '&lt;s&gt;' . $currencies-&gt;display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '&lt;/s&gt; &lt;span class=\"productSpecialPrice\"&gt;' . $currencies-&gt;display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '&lt;/span&gt;';\n} else {\n// BOF Separate Pricing per Customer\n  if ($customer_group_id &gt; 0) { // only need to check products_groups if customer is not retail\n\t$scustomer_group_price_query = tep_db_query(\"select customers_group_price from \" . TABLE_PRODUCTS_GROUPS . \" where products_id = '\" . (int)$HTTP_GET_VARS['products_id']. \"' and customers_group_id =  '\" . $customer_group_id . \"'\");\n\tif ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) {\n\t$product_info['products_price']= $scustomer_group_price['customers_group_price'];\n\t}\n} // end if ($customer_group_id &gt; 0)\n// EOF Separate Pricing per Customer\n  $products_price = $currencies-&gt;display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));\n}\n\nif (tep_not_null($product_info['products_model'])) {\n  $products_name = $product_info['products_name'] . '&lt;br&gt;&lt;span class=\"smallText\"&gt;[' . $product_info['products_model'] . ']&lt;/span&gt;';\n} else {\n  $products_name = $product_info['products_name'];\n}\n?&gt;\n\t\t\t\t&lt;td class=\"bg15\" width=\"100%\" height=\"30\"&gt;\t   &lt;span class=\"tx4\"&gt;&lt;?php echo $products_name; ?&gt;&lt;/span&gt;&lt;/td&gt;\n\t\t\t\t&lt;td&gt;&lt;?=tep_image(DIR_WS_IMAGES.'m31.gif')?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t&lt;tr&gt;&lt;td height=\"16\" colspan=\"3\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t   &lt;/table&gt;\n\t\t   &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t&lt;tr&gt;&lt;td width=\"100%\"&gt;\n\n\t\t   &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t&lt;tr&gt;&lt;td width=\"100%\"&gt;\n\t\t\t\t &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t\t  &lt;tr&gt;&lt;td width=\"20\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '20', '1'); ?&gt;&lt;/td&gt;\n\t\t\t\t\t  &lt;td align=\"center\" valign=\"top\"&gt;\n&lt;div id=\"pic\"&gt;&lt;a class=\"p1\" href=\"#\" onClick=\"java script:return false\"&gt;&lt;?php echo('&lt;img src=' . DIR_WS_IMAGES . $product_info['products_image'] . ' width=\"' . SMALL_IMAGE_WIDTH . '\" height=\"' . SMALL_IMAGE_HEIGHT . '\"&gt;'); ?&gt;&lt;?php echo('&lt;img src=' . DIR_WS_IMAGES . $product_info['products_image'] . ' width=\"\" height=\"\" class=\"large\"&gt;'); ?&gt;&lt;/a&gt;&lt;/div&gt;\n\t\t\t\t\t  &lt;/td&gt;\n\t\t\t\t\t  &lt;td width=\"28\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '28', '1'); ?&gt;&lt;/td&gt;\n\t\t\t\t\t  &lt;td width=\"100%\" valign=\"top\"&gt;\n\t\t\t\t\t\t &lt;table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n\t\t\t\t\t\t  &lt;tr&gt;&lt;td&gt;&lt;?php echo stripslashes($product_info['products_description']); ?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t\t\t  &lt;tr&gt;&lt;td height=\"6\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t\t\t  &lt;tr&gt;&lt;td class=\"tx5\"&gt;&lt;?=$products_price?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t\t\t  &lt;tr&gt;&lt;td height=\"15\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t\t\t  &lt;tr&gt;&lt;td&gt;&lt;?php echo '&lt;a href=\"' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '\"&gt;' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '&lt;/a&gt;'; ?&gt;  &lt;?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_add_to_cart.gif', IMAGE_BUTTON_IN_CART); ?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t\t\t &lt;/table&gt;\n\t\t\t\t\t   &lt;/td&gt;\n\t\t\t\t\t   &lt;td width=\"36\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '36', '1'); ?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t &lt;/table&gt;\n\t\t\t\t &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"&gt;\n\t\t\t\t  &lt;tr&gt;&lt;td height=\"14\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t  &lt;tr&gt;&lt;td height=\"1\" width=\"100%\" bgcolor=\"#A9CD6B\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t  &lt;tr&gt;&lt;td height=\"14\"&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t\t\t &lt;/table&gt;\n\t\t\t\t&lt;/td&gt;\n\t\t\t\t&lt;td width=\"21\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '21', '1'); ?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t   &lt;/table&gt;\n\n\n\n&lt;table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\"&gt;\n  &lt;tr&gt;\n\t&lt;td class=\"main\"&gt;\n&lt;?php\n// BOF SPPC Hide attributes from customer groups\n$products_attributes_query = tep_db_query(\"select count(*) as total from \" . TABLE_PRODUCTS_OPTIONS . \" popt, \" . TABLE_PRODUCTS_ATTRIBUTES . \" patrib where patrib.products_id='\" . (int)$HTTP_GET_VARS['products_id'] . \"' and patrib.options_id = popt.products_options_id and popt.language_id = '\" . (int)$languages_id . \"' and find_in_set('\".$customer_group_id.\"', attributes_hide_from_groups) = 0 \");\n$products_attributes = tep_db_fetch_array($products_attributes_query);\nif ($products_attributes['total'] &gt; 0) {\n?&gt;\n\t  &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"2\"&gt;\n\t\t&lt;tr&gt;\n\t\t  &lt;td class=\"main\" colspan=\"2\"&gt;&lt;?php echo TEXT_PRODUCT_OPTIONS; ?&gt;&lt;/td&gt;\n\t\t&lt;/tr&gt;\n&lt;?php\n  $products_options_name_query = tep_db_query(\"select distinct popt.products_options_id, popt.products_options_name from \" . TABLE_PRODUCTS_OPTIONS . \" popt, \" . TABLE_PRODUCTS_ATTRIBUTES . \" patrib where patrib.products_id='\" . (int)$HTTP_GET_VARS['products_id'] . \"' and patrib.options_id = popt.products_options_id and popt.language_id = '\" . (int)$languages_id . \"' and find_in_set('\".$customer_group_id.\"', attributes_hide_from_groups) = 0 order by popt.products_options_name\");\n while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {\n\t$products_options_array = array();\n\t\t $products_options_query = tep_db_query(\"select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix, pa.products_attributes_id from \" . TABLE_PRODUCTS_ATTRIBUTES . \" pa, \" . TABLE_PRODUCTS_OPTIONS_VALUES . \" pov where pa.products_id = '\" . (int)$HTTP_GET_VARS['products_id'] . \"' and pa.options_id = '\" . (int)$products_options_name['products_options_id'] . \"' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '\" . (int)$languages_id . \"' and find_in_set('\".$customer_group_id.\"', attributes_hide_from_groups) = 0\");\n\t$list_of_prdcts_attributes_id = '';\n\t$products_options = array(); // makes sure this array is empty again\n\twhile ($_products_options = tep_db_fetch_array($products_options_query)) {\n\t$products_options[] = $_products_options;\n\t$list_of_prdcts_attributes_id .= $_products_options['products_attributes_id'].\",\";\n}\n\n  if (tep_not_null($list_of_prdcts_attributes_id) &amp;&amp; $customer_group_id != '0') { \n\t $select_list_of_prdcts_attributes_ids = \"(\" . substr($list_of_prdcts_attributes_id, 0 , -1) . \")\";\n $pag_query = tep_db_query(\"select products_attributes_id, options_values_price, price_prefix from \" . TABLE_PRODUCTS_ATTRIBUTES_GROUPS . \" where products_attributes_id IN \" . $select_list_of_prdcts_attributes_ids . \" AND customers_group_id = '\" . $customer_group_id . \"'\");\n while ($pag_array = tep_db_fetch_array($pag_query)) {\n\t $cg_attr_prices[] = $pag_array;\n }\n\n // substitute options_values_price and prefix for those for the customer group (if available)\n if ($customer_group_id != '0' &amp;&amp; tep_not_null($cg_attr_prices)) {\n\tfor ($n = 0; $n &lt; count($products_options); $n++) {\n\t for ($i = 0; $i &lt; count($cg_attr_prices); $i++) {\n\t\t if ($cg_attr_prices[$i]['products_attributes_id'] == $products_options[$n]['products_attributes_id']) {\n\t\t\t$products_options[$n]['price_prefix'] = $cg_attr_prices[$i]['price_prefix'];\n\t\t\t$products_options[$n]['options_values_price'] = $cg_attr_prices[$i]['options_values_price'];\n\t\t }\n\t } // end for ($i = 0; $i &lt; count($cg_att_prices); $i++)\n\t}\n\t} // end if ($customer_group_id != '0' &amp;&amp; (tep_not_null($cg_attr_prices))\n  } // end if (tep_not_null($list_of_prdcts_attributes_id) &amp;&amp; $customer_group_id != '0')\n\n  for ($n = 0; $n &lt; count($products_options); $n++) {\n\t  $products_options_array[] = array('id' =&gt; $products_options[$n]['products_options_values_id'], 'text' =&gt; $products_options[$n]['products_options_values_name']);\n\t  if ($products_options[$n]['options_values_price'] != '0') {\n\t\t$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options[$n]['price_prefix'] . $currencies-&gt;display_price($products_options[$n]['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';\n\t  }\n\t}\n// EOF SPPC attributes mod\n\n\n\tif (isset($cart-&gt;contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {\n\t  $selected_attribute = $cart-&gt;contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];\n\t} else {\n\t  $selected_attribute = false;\n\t}\n?&gt;\n\t\t&lt;tr&gt;\n\t\t  &lt;td class=\"main\"&gt;&lt;?php echo $products_options_name['products_options_name'] . ':'; ?&gt;&lt;/td&gt;\n\t\t  &lt;td class=\"main\"&gt;&lt;?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?&gt;&lt;/td&gt;\n\t\t&lt;/tr&gt;\n&lt;?php\n  }\n?&gt;\n\t  &lt;/table&gt;\n&lt;?php\n}\n?&gt;\n\t&lt;/td&gt;\n  &lt;/tr&gt;\n  &lt;tr&gt;\n\t&lt;td&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n$reviews_query = tep_db_query(\"select count(*) as count from \" . TABLE_REVIEWS . \" where products_id = '\" . (int)$HTTP_GET_VARS['products_id'] . \"'\");\n$reviews = tep_db_fetch_array($reviews_query);\nif ($reviews['count'] &gt; 0) {\n?&gt;\n  &lt;tr&gt;\n\t&lt;td class=\"main\"&gt;&lt;?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n  &lt;tr&gt;\n\t&lt;td&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n}\n\nif (tep_not_null($product_info['products_url'])) {\n?&gt;\n  &lt;tr&gt;\n\t&lt;td class=\"main\"&gt;&lt;?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&amp;goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n  &lt;tr&gt;\n\t&lt;td&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n}\n\nif ($product_info['products_date_available'] &gt; date('Y-m-d H:i:s')) {\n?&gt;\n  &lt;tr&gt;\n\t&lt;td align=\"center\" class=\"smallText\"&gt;&lt;?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n} else {\n?&gt;\n  &lt;tr&gt;\n\t&lt;td align=\"center\" class=\"smallText\"&gt;&lt;?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;?php\n}\n}\n?&gt;\n  &lt;tr&gt;\n\t&lt;td&gt;&lt;?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?&gt;&lt;/td&gt;\n  &lt;/tr&gt;\n&lt;/table&gt;&lt;/form&gt;\n&lt;!-- body_eof //--&gt;\n\n\t\t\t\t&lt;/td&gt;\n\t\t\t\t&lt;td width=\"21\"&gt;&lt;?php echo tep_draw_separator('spacer.gif', '21', '1'); ?&gt;&lt;/td&gt;&lt;/tr&gt;\n\t\t   &lt;/table&gt;\n\t  &lt;/td&gt;&lt;/tr&gt;\n\t &lt;/table&gt;\n\t&lt;/td&gt;\n\t&lt;td style=\"background-color:#131516\" valign=\"top\" class=\"bg10\"&gt;&lt;?=tep_image(DIR_WS_IMAGES.'m23.gif')?&gt;&lt;/td&gt;&lt;/tr&gt;\n  &lt;/table&gt;\n &lt;/td&gt;&lt;/tr&gt;\n\n\n&lt;!-- footer //--&gt;\n&lt;?php require(DIR_WS_INCLUDES . 'footer.php'); ?&gt;\n&lt;!-- footer_eof //--&gt;\n\n&lt;/body&gt;\n&lt;/html&gt;\n&lt;?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?&gt;\n\n\n \nI also added that that add-on mod for the actual price like you mentioned. I am hoping it's this one: http://www.oscommerce.com/community/contri...attribute+price\n \nI added it into product_info in the header between the php tags, however it seems that there is more to it because it still adds the 2 prices together for me. If someone can please help me out I would appreciate it. Thanks again for the reply."
<https://forums.oscommerce.com/topic/53436-seperate-pricing-per-customer-v35/?page=173>