Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

xmlrookie

Archived
  • Posts

    7
  • Joined

  • Last visited

Everything posted by xmlrookie

  1. how do you make authorize.net authorize the fund but not capture the fund.. thanks!!
  2. you guys rock...billion thanks to dreamscape and CC. :thumbsup:
  3. hello people, anyone knows how to make this thing align in column style? thanks <?php if (sizeof($featured_products_array) <> '0') { for($i=0; $i<sizeof($featured_products_array); $i++) { if ($featured_products_array[$i]['specials_price']) { $products_price = '<s>' . $currencies->display_price($featured_products_array[$i]['price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($featured_products_array[$i]['specials_price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($featured_products_array[$i]['price'], tep_get_tax_rate($featured_products_array[$i]['tax_class_id'])); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td colspan="3"></td> </tr> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" rowspan="4" align="right" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $featured_products_array[$i]['image'], $featured_products_array[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td> <td width="80%" valign="top" class="main"><div align="justify"><?php echo '<b><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><u>' . $featured_products_array[$i]['name'] . '</u></a>:</b>'; ?> </div></td> </tr> <tr> <td valign="top" class="main"> <?php if ($featured_products_array[$i]['shortdescription'] == ''){ $bah = explode(" ", $featured_products_array[$i]['description']); for($desc=0 ; $desc<25 ; $desc++) { echo "$bah[$desc] "; } echo '...'; } else { echo $featured_products_array[$i]['shortdescription']; } ?> <br> <?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">'; ?><font face="Wingdings 3">a</font> More Info</a> <b><font size="1"></font></b> </td> </tr> <tr> <td valign="top" class="main"></td> </tr> <tr> <td align="left" valign="top" class="main"><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br>' . TEXT_PRICE . ' ' . $products_price; ?><b></b> <?php echo '<a href="' . tep_href_link('default.php', tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">'; ?>Buy Now</a> <b></b></td> </tr> <tr> <td colspan="2" align="right" valign="top" class="main"><hr width="100%" size="1" noshade color="#5e7ebf"></td> </tr> <?php if (($i+1) != sizeof($featured_products_array)) { ?> <?php } } } ?> </table>
  4. how do you make featured products box looks like this http://www.quicklyshop.com/shop/default.php thanks
×
×
  • Create New...