Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

xplogos

Archived
  • Posts

    10
  • Joined

  • Last visited

Profile Information

xplogos's Achievements

  1. I've made the changes in OFS - only for one style and layout, but it should give you the idea: Change to featured_sbox_products.php: if ((FEATURED_SET == '3') && ((FEATURED_SET_STYLE == '2') || (FEATURED_SET_STYLE == '5'))) { if (FEATURED_SET_STYLE == '5') { $info_box_contents = array(); $info_box_contents[] = array('text' => OPEN_FEATURED_BOX_HEADING); new infoBoxHeading($info_box_contents,true,true); } $info_box_contents = array(); $info_box_contents[] = array('text' => '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="50%" align="center" valign="top" class="featuredProducts"><div class="featurefloat"><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><br>' . tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5') . '<br>' . OPEN_FEATURED_TABLE_HEADING_PRICE . $products_price . '' . $buy_now_link . '<br><strong><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '">' . $featured_products_array[$i]['name'] . '</a></strong></div><div class="featuretext">'); $info_box_contents[0]['text'] .= $current_description; $info_box_contents[0]['text'] .= ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products_array[$i]['id'], 'NONSSL') . '"><font color="#FF0000">' . TEXT_MORE_INFO . '</font></a> </div></td></tr></table>'; new infoBox($info_box_contents); } And the addtional styles for stylesheet.css: .featurefloat { float: left; padding-right: 5px; padding-bottom: 5px; font-family: Verdana, Arial, sans-serif; font-size: 10px; border:thin; border-color:#0000FF; } .featuretext { font-family: Verdana, Arial, sans-serif; font-size: 12px; text-align:left; } To be honest, now that I've made the change I think I prefer the over-under style! :P Thanks a lot for this contribution. JamesB
  2. Is it possible to make the text flow around the image and buy now buttons on the featured products (the ones on the front page) - Can this be turned on or off in this contrib' via Admin? I installed the wolfen contrib' on a store last week, then found this contrib' this week!!! I've installed it on a test site, and I am very impressed by all of additional features on top of Wolfen. There's so many features I can't believe there isn't a way to set this in the Admin. I've got round it in the Wolfen contrib' by merging the two table cells used in each product box, adding a div tag and a css style to the images etc. Thanks.
×
×
  • Create New...