FIGURED IT OUT

infinedi <[email protected]>
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <c16bb30bcd3471aac8b261105c47bea0@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=163500#163500
----------------------------------------------------------------

:P Yahoo!  I figured out how to do this ...

First, I added a line at the beginning

$null_pric = '0.0000';

then

in product_info.php around line 115 or so you will see

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
      $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
    }

I replaced this with:

// HACK
if ($product_info['products_price'] == $null_pric) {
    $products_price = "Price Determined by Selection"; }
 elseif ($new_price = tep_get_products_special_price($product_info['products_id'])) {
      $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
    }

Thank you so much for this forum :-)

Sheri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.