Ejemplo n.º 1
0
        echo $i;
        ?>
">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td>
          <table border="0" width="100%" cellspacing="0" cellpadding="0">
            <tr>
              <td class="pageHeading"><?php 
        echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . $pInfo->products_name;
        ?>
</td>
              <td class="pageHeading" align="right"><?php 
        // BOF QPBPP for SPPC
        $pf->loadProduct((int) $_GET['pID'], $pInfo->products_price, $pInfo->products_tax_class_id, (int) $pInfo->products_qty_blocks[0], $price_breaks_array, (int) $pInfo->products_min_order_qty[0]);
        echo $pf->getPriceString();
        // EOF QPBPP for SPPC
        ?>
</td>

<?php 
        //BOF: MSRP
        $pricing = '<table class="PriceList" border="0" width="100%" cellspacing="0" cellpadding="0">';
        $new_price = tep_get_products_special_price($_GET['pID']);
        if ($pInfo->products_msrp > $pInfo->products_price) {
            $pricing .= '<tr><td>' . TEXT_PRODUCTS_MSRP . '</td><td align=right>' . $currencies->format($pInfo->products_msrp) . '</td><td></td></tr>';
        }
        $pricing .= '<tr><td>' . TEXT_PRODUCTS_OUR_PRICE . '</td><td align=right>' . $currencies->format($pInfo->products_price) . '</td><td></td></tr>';
        if ($new_price != '') {
            $pricing .= '<tr class="specialPrice"><td>' . TEXT_PRODUCTS_SALE . '</td><td align=right>' . $currencies->format($new_price) . '</td><td></td></tr>';
        }