beckymcd Posted March 13, 2006 Posted March 13, 2006 Before I start screaming . . . Oh boy, I'm very new at this and I've been following the directions in the Knowledge Base (http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes/66) to add a new information box to my left column. I don't know if this is doing it the hard way or not, but it took a while. This is what I ended up with: http://sleepytimebabyboutique.com/store/index.php :angry: What I want is for Shop by Price to have pages underneath saying Under $25, Under $50, etc. I got a parse error when I put the page names in using the $, so I removed them, and this is how it came out. How would I add a $ to a page title? I've tried entering UNDER_\$50, UNDER_$\50. I have no idea what to do to get this in. I don't even know if I should be adding a new section yet. What I want, starting at the top left above Catalog is Home (would I create a new category box so it will be clickable?), rename Categories to Shop by Category, plus make the colored heading boxes (catalog, information) bigger, and changing colors. It's very confusing to figure out how to do these things because I'm not sure about the terminology. Box, info box, all the different backgrounds - does each box have its own background? Is the whole categories section one box (New Arrivals, Baby Gift Ideas, etc.), or is each of those names in their own box? I think I need to take a break from this and go do something else for a while, I can't believe how much time I've spent working on this small piece. I'm feeling a little crazy here . . . I backed up before I started making changes, but I hate to start all over again I did if I don't need to. The changes/additions are listed below. Here's what I added to catalog/includes/boxes/shop_by_price.php: <!-- Shop by Price //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SHOP_BY_PRICE); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_UNDER_25) . '">' . BOX_UNDER_25 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_UNDER_50) . '">' . BOX_UNDER_50 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_UNDER_75) . '">' . BOX_UNDER_75 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_UNDER_100) . '">' . BOX_UNDER_100 . '</a><br>' . '<a href="' . tep_href_link(FILENAME_OVER_100) . '">' . BOX_OVER_100 . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> Here's what I added to catalog/includes/languages/english.php // shop by price box text in includes/boxes/shop_by_price.php define('BOX_HEADING_SHOP_BY_PRICE', 'Shop by Price'); define('BOX_SHOP_BY_PRICE_UNDER_$25', 'Under $25'); define('BOX_SHOP_BY_PRICE_UNDER_$50', 'Under $50'); define('BOX_SHOP_BY_PRICE_UNDER_$75', 'Under $75'); define('BOX_SHOP_BY_PRICE_UNDER_$100', 'Under $100'); define('BOX_SHOP_BY_PRICE_OVER_$100', 'Over $100'); Any assistance will be greatly appreciated. Thanks, Becky
Recommended Posts
Archived
This topic is now archived and is closed to further replies.