dabbuhl Posted December 5, 2006 Posted December 5, 2006 On the main page, you get a listing of new products for "December" (current month). I don't want this as it is only a list of new entries. I want to utilze this for the type of product that would sell best at any given time. For example, I sell Christmas Items and have a catagory called "Christmas" which I would like to place on the main page that viewers see first. How do I do this?
dabbuhl Posted December 5, 2006 Author Posted December 5, 2006 Is there anyone out there that can help me??
usernamenone Posted December 6, 2006 Posted December 6, 2006 turn off the new products all together and the hard code in what you want in your define_text in your-language/index.php file.
dittones Posted December 6, 2006 Posted December 6, 2006 Dan, If your talking about whats_new.php? Go into this program and look for the code if ($random_product = tep_random_select("select products_id, products_image, products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_status = '1' order by products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) { and add in the select from tables product_to_categories and categorie_description also and in the where add matching (=) code for products_id and categorie_id and catergorie_name='Christmas' You will have assign pref for qualifications example p.products_image and assign p to your TABLE_PRODUCTS...you will have to do the same for the other tables as well...if you do a search in your programs select statements you should find many examples... I hope this helps. Roman
dabbuhl Posted December 6, 2006 Author Posted December 6, 2006 turn off the new products all together and the hard code in what you want in your define_text in your-language/index.php file. I tried placing // in front of define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s') but this just made the page not work. Is there a way to input the Christmas catagory here? change the Table_heading_new_products? I basically want the Christmas catagory to be the index page so that this time of year people are directed to the Christmas catagory. Please help
dabbuhl Posted December 6, 2006 Author Posted December 6, 2006 Dan,If your talking about whats_new.php? Go into this program and look for the code if ($random_product = tep_random_select("select products_id, products_image, products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_status = '1' order by products_date_added desc limit " . MAX_RANDOM_SELECT_NEW)) { and add in the select from tables product_to_categories and categorie_description also and in the where add matching (=) code for products_id and categorie_id and catergorie_name='Christmas' You will have assign pref for qualifications example p.products_image and assign p to your TABLE_PRODUCTS...you will have to do the same for the other tables as well...if you do a search in your programs select statements you should find many examples... I hope this helps. Roman all of what you said is very dificult for me to follow. I don't know exactly where the file is that you stated to change. Is there not just an easy way to make the index page open with the Christmas catagory open as if you clicked on it on the left menu?
usernamenone Posted December 6, 2006 Posted December 6, 2006 The easy way it to add your products to your define_text in your index.php. That is if you know html or have an editor to make the code and then add it. Either search yahoo how to remove the new products or just leave them there but add the christmass above in define_text. I open the page with the items I want to add to the index and in my browser I copy the code and then paste it into an editor, addd or delete rows or columns and when satisfied copy that code and add it to the index. You can leave the New Product like they are or In catalog/index.php comment out (put // in front) CODE include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); that line is at 2 places, around line 121 and 313 all of what you said is very dificult for me to follow. I don't know exactly where the file is that you stated to change. Is there not just an easy way to make the index page open with the Christmas catagory open as if you clicked on it on the left menu?
usernamenone Posted December 6, 2006 Posted December 6, 2006 don't forget to remove the sessions id from your links if you copy code from the browser or your links will not work. that code looks like this &osCsid=51535036a177836ab7504e6ad6bc21ef
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 don't forget to remove the sessions id from your links if you copy code from the browser or your links will not work. that code looks like this &osCsid=51535036a177836ab7504e6ad6bc21ef I copied over the page I wanted and now my links don't work. I am removing the sessions id as you explained. Do I need to only remove the above type code or anything else? I will post again if it doesn't work.
dabbuhl Posted December 11, 2006 Author Posted December 11, 2006 don't forget to remove the sessions id from your links if you copy code from the browser or your links will not work. that code looks like this &osCsid=51535036a177836ab7504e6ad6bc21ef I have tried removing the code but no links are working or any new catagories. Here is the index.php code with the session links. If you could tell me what exactly needs removed, I would be thankfull. <?php /* $Id: index.php,v 1.1.1.1 2005/08/16 08:31:30 sstolyarov Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Flags Direct - On-line Store</title> <base href="http://flagsdirect.net/./"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/ff-logo.jpg" border="0" alt="FlagFactory" title=" FlagFactory " width="377" height="57"></a></td> <td align="right" valign="bottom"><a href="http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="30" height="30"></a> <a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="30" height="30"></a> <a href="http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://flagsdirect.net" class="headerNavigation">Top</a> » <a href="http://flagsdirect.net/./index.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Catalog</a></td> <td align="right" class="headerNavigation"><a href="http://flagsdirect.net/./account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">My Account</a> | <a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Cart Contents</a> | <a href="http://flagsdirect.net/./checkout_shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9" class="headerNavigation">Checkout</a> </td> </tr> </table> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="190" valign="top"><table border="0" width="190" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <!-- categories //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Categories</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://flagsdirect.net/./index.php?cPath=23&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Autumn-></a> (32)<br><a href="http://flagsdirect.net/./index.php?cPath=22&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Christmas-></a> (53)<br><a href="http://flagsdirect.net/./index.php?cPath=21&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">College Flags-></a> (137)<br><a href="http://flagsdirect.net/./index.php?cPath=341&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Fishing, Beaches, Oceans & Lakes-></a> (22)<br><a href="http://flagsdirect.net/./index.php?cPath=330&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Lighthouses-></a> (13)<br><a href="http://flagsdirect.net/./index.php?cPath=193&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Masterpiece Collection-></a> (51)<br><a href="http://flagsdirect.net/./index.php?cPath=317&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Patio & Garden-></a> (12)<br><a href="http://flagsdirect.net/./index.php?cPath=257&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Poles and Brackets-></a> (14)<br><a href="http://flagsdirect.net/./index.php?cPath=266&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Spring Flowers-></a> (35)<br><a href="http://flagsdirect.net/./index.php?cPath=287&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Summertime-></a> (30)<br><a href="http://flagsdirect.net/./index.php?cPath=235&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Valentine, St. Patrick, Easter-></a> (28)<br><a href="http://flagsdirect.net/./index.php?cPath=312&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Wind Wings-></a> (8)<br></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- categories_eof //--> <!-- whats_new //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" nowrap><a href="http://flagsdirect.net/./products_new.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Sea Horse.jpg" border="0" alt="Sea Horse 40"" title=" Sea Horse 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sea Horse 40"</a><br>$8.80</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- whats_new_eof //--> <!-- search //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Quick Find</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"><form name="quick_find" action="http://flagsdirect.net/./advanced_search_result.php" method="get"><input type="text" name="keywords" size="10" maxlength="30" style="width: 160px"> <input type="hidden" name="osCsid" value="ad0c13af5be385ea31e5d0a4867a10b9"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://flagsdirect.net/./advanced_search.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><b>Advanced Search</b></a></form></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- search_eof //--> <!-- information //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Information</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://flagsdirect.net/./shipping.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Shipping & Returns</a><br><a href="http://flagsdirect.net/./privacy.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Privacy Notice</a><br><a href="http://flagsdirect.net/./conditions.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Conditions of Use</a><br><a href="http://flagsdirect.net/./contact_us.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Contact Us</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- information_eof //--> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"></td> <td class="pageHeading" align="right"><img src="images/table_background_default.gif" border="0" alt="" width="50" height="50"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://flagsdirect.net/./login.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><u>log yourself in</u></a>? Or would you prefer to <a href="http://flagsdirect.net/./create_account.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><u>create an account</u></a>?</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td class="main"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><!-- new_products //--> <p><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Christmas Flags </td> <td class="pageHeading" align="right"><img src="images/candy_cane.jpg" border="0" alt="Christmas" title=" Christmas " width="50" height="50"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_48&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/candy_cane.jpg" border="0" alt="Candy Cane" title=" Candy Cane " width="100" height="200"><br>Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_49&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/cardinal_in_snow.jpg" border="0" alt="Cardinal In Snow" title=" Cardinal In Snow " width="100" height="200"><br>Cardinal In Snow</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_50&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/carolers.jpg" border="0" alt="Carolers" title=" Carolers " width="100" height="200"><br>Carolers</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_51&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christian_music.jpg" border="0" alt="Christian Music" title=" Christian Music " width="100" height="200"><br>Christian Music</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_52&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/goose.jpg" border="0" alt="Christmas Goose" title=" Christmas Goose " width="100" height="200"><br>Christmas Goose</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_53&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_hammock.jpg" border="0" alt="Christmas Hammock" title=" Christmas Hammock " width="100" height="200"><br>Christmas Hammock</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_54&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/mouse_stocking.jpg" border="0" alt="Christmas Stocking" title=" Christmas Stocking " width="100" height="200"><br>Christmas Stocking</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_55&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/grn_stocking.jpg" border="0" alt="Christmas Stocking Gdn." title=" Christmas Stocking Gdn. " width="100" height="200"><br>Christmas Stocking Gdn.</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_56&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_tree.jpg" border="0" alt="Christmas Tree" title=" Christmas Tree " width="100" height="200"><br>Christmas Tree</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_57&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_tree_ornament.jpg" border="0" alt="Christmas Tree Ornament" title=" Christmas Tree Ornament " width="100" height="200"><br>Christmas Tree Ornament</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_58&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/christmas_wreath.jpg" border="0" alt="Christmas Wreath" title=" Christmas Wreath " width="100" height="200"><br>Christmas Wreath</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_59&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/cross_in_window.jpg" border="0" alt="Cross In Window" title=" Cross In Window " width="100" height="200"><br>Cross In Window</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_60&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/dove_of_peace.jpg" border="0" alt="Dove of Peace" title=" Dove of Peace " width="100" height="200"><br>Dove of Peace</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_61&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/golden_angels.jpg" border="0" alt="Golden Angels" title=" Golden Angels " width="100" height="200"><br>Golden Angels</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_62&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/hanging_santa.jpg" border="0" alt="Hangin' with Santa" title=" Hangin' with Santa " width="100" height="200"><br>Hangin' with Santa</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_63&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holiday_candy_canes.jpg" border="0" alt="Holiday Candy Cane" title=" Holiday Candy Cane " width="100" height="200"><br>Holiday Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_64&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holiday_horns.jpg" border="0" alt="Holiday Horns" title=" Holiday Horns " width="100" height="200"><br>Holiday Horns</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_65&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/holly_with_bow.jpg" border="0" alt="Holly with Bow" title=" Holly with Bow " width="100" height="200"><br>Holly with Bow</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_66&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/jesus_candy_cane.jpg" border="0" alt="Jesus Candy Cane" title=" Jesus Candy Cane " width="100" height="200"><br>Jesus Candy Cane</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_67&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/jingle_bells.jpg" border="0" alt="Jingle Bells" title=" Jingle Bells " width="100" height="200"><br>Jingle Bells</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_68&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/kris_kringle.jpg" border="0" alt="Kris Kringle" title=" Kris Kringle " width="100" height="200"><br>Kris Kringle</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_69&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/madonna_&_child.jpg" border="0" alt="Madonna & Child" title=" Madonna & Child " width="100" height="200"><br>Madonna & Child</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_70&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/manger_scene.jpg" border="0" alt="Manger Scene" title=" Manger Scene " width="100" height="200"><br>Manger Scene</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_71&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/merry_bear.jpg" border="0" alt="Merry Bear" title=" Merry Bear " width="100" height="200"><br>Merry Bear</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_72&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/nutcracker_soldier.jpg" border="0" alt="Nutcracker Soldier" title=" Nutcracker Soldier " width="100" height="200"><br>Nutcracker Soldier</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_73&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/old_rugged_cross.jpg" border="0" alt="Old Rugged Cross" title=" Old Rugged Cross " width="100" height="200"><br>Old Rugged Cross</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_74&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/poinsettia.jpg" border="0" alt="Poinsettia" title=" Poinsettia " width="100" height="200"><br>Poinsettia</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_75&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/polar_bear.jpg" border="0" alt="Polar Bear" title=" Polar Bear " width="100" height="200"><br>Polar Bear</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_76&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/reindeer.jpg" border="0" alt="Reindeer" title=" Reindeer " width="100" height="200"><br>Reindeer</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_77&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_2_sides.jpg" border="0" alt="Santa 2-Sides" title=" Santa 2-Sides " width="100" height="200"><br>Santa 2-Sides</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_78&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_on_roof.jpg" border="0" alt="Santa on Roof" title=" Santa on Roof " width="100" height="200"><br>Santa on Roof</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_79&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santas_pride.jpg" border="0" alt="Santa's Pride" title=" Santa's Pride " width="100" height="200"><br>Santa's Pride</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_80&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/sleigh_ride.jpg" border="0" alt="Sleigh Ride" title=" Sleigh Ride " width="100" height="200"><br>Sleigh Ride</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_81&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snow_bear.jpg" border="0" alt="Snow Bear" title=" Snow Bear " width="100" height="200"><br>Snow Bear</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_82&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snowfall.jpg" border="0" alt="Snowfall" title=" Snowfall " width="100" height="200"><br>Snowfall</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_83&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snowman.jpg" border="0" alt="Snowman" title=" Snowman " width="100" height="200"><br>Snowman</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_84&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/star_in_the_east.jpg" border="0" alt="Star in the East" title=" Star in the East " width="100" height="200"><br>Star in the East</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_85&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/stockings_in_row.jpg" border="0" alt="Stocking in a Row" title=" Stocking in a Row " width="100" height="200"><br>Stocking in a Row</a></td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_86&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/three_wise_men.jpg" border="0" alt="Three Wise Men" title=" Three Wise Men " width="100" height="200"><br>Three Wise Men</a></td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./index.php?cPath=22_47&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/wwjd.jpg" border="0" alt="WWJD" title=" WWJD " width="100" height="200"><br>WWJD</a></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><!-- new_products //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" width="100%">New Products For December</td> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=216&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 17"" title=" Snowman 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=216&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 17"</a><br>$4.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=215&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 40"" title=" Snowman 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=215&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=214&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/" border="0" alt="Snowman 48"" title=" Snowman 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=214&osCsid=0544b264907a641fae8edd1c8281bbe7">Snowman 48"</a><br>$10.40</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=213&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/wwjd.jpg" border="0" alt="WWJD 17"" title=" WWJD 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=213&osCsid=0544b264907a641fae8edd1c8281bbe7">WWJD 17"</a><br>$4.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=212&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/snow_bear.jpg" border="0" alt="Snow Bear 48"" title=" Snow Bear 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=212&osCsid=0544b264907a641fae8edd1c8281bbe7">Snow Bear 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=211&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/santa_2_sides.jpg" border="0" alt="Santa 2-sides 17"" title=" Santa 2-sides 17" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=211&osCsid=0544b264907a641fae8edd1c8281bbe7">Santa 2-sides 17"</a><br>$4.80</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=210&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/reindeer.jpg" border="0" alt="Reindeer 48"" title=" Reindeer 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=210&osCsid=0544b264907a641fae8edd1c8281bbe7">Reindeer 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=209&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/poinsettia.jpg" border="0" alt="Poinsettia 40"" title=" Poinsettia 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=209&osCsid=0544b264907a641fae8edd1c8281bbe7">Poinsettia 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=208&osCsid=0544b264907a641fae8edd1c8281bbe7"><img src="images/manger_scene.jpg" border="0" alt="Manger Scene 48"" title=" Manger Scene 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=208&osCsid=0544b264907a641fae8edd1c8281bbe7">Manger Scene 48"</a><br>$10.40</td> </tr> </table> </td> </tr> </table> <!-- new_products_eof //--> </td> </tr> </table></td> </tr> </table></p> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td> <td height="14" class="infoBoxHeading" width="100%">New Products For December</td> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents"> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=464&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Dolphins.jpg" border="0" alt="Dolphins 48"" title=" Dolphins 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=464&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Dolphins 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=463&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/3 Little Fish 98.jpg" border="0" alt="3 Little Fishes 48"" title=" 3 Little Fishes 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=463&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">3 Little Fishes 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=462&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Trout 98.jpg" border="0" alt="Trout 40"" title=" Trout 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=462&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Trout 40"</a><br>$8.80</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=461&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/sailboat.jpg" border="0" alt="Spinaker 40"" title=" Spinaker 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=461&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Spinaker 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=460&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Summer Dreams 98.jpg" border="0" alt="Sunset Beach 48"" title=" Sunset Beach 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=460&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sunset Beach 48"</a><br>$10.40</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=459&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Anchor.jpg" border="0" alt="Anchor 48"" title=" Anchor 48" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=459&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Anchor 48"</a><br>$10.40</td> </tr> <tr> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=458&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Anchor.jpg" border="0" alt="Anchor 40"" title=" Anchor 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=458&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Anchor 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=457&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Lobster 98.jpg" border="0" alt="Lobster Tonight 40"" title=" Lobster Tonight 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=457&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Lobster Tonight 40"</a><br>$8.80</td> <td align="center" class="smallText" width="33%" valign="top"><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/Sea Horse.jpg" border="0" alt="Sea Horse 40"" title=" Sea Horse 40" " width="100" height="200"></a><br><a href="http://flagsdirect.net/./product_info.php?products_id=456&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Sea Horse 40"</a><br>$8.80</td> </tr> </table> </td> </tr> </table> <!-- new_products_eof //--> </td> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> <td width="190" valign="top"><table border="0" width="190" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <!-- shopping_cart //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Shopping Cart</td> <td height="14" class="infoBoxHeading" nowrap><a href="http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img'>http://flagsdirect.net/./shopping_cart.php?osCsid=ad0c13af5be385ea31e5d0a4867a10b9"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText">0 items</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- shopping_cart_eof //--> <!-- best_sellers //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading">Bestsellers</td> <td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr><td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents"><a href="http://flagsdirect.net/./product_info.php?products_id=113&osCsid=ad0c13af5be385ea31e5d0a4867a10b9">Texas A&M 48"</a></td></tr></table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- best_sellers_eof //--> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> Monday 11 December, 2006 </td> <td align="right" class="footer"> 12202 requests since Wednesday 27 September, 2006 </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> </td> </tr> </table> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
usernamenone Posted December 11, 2006 Posted December 11, 2006 Yikes........ You don't copy all the code, just the section you want. Then you slap it into your handy html editor. Add rows or columns, subtract rows or columns. Once happy with your changes copy the code into your languages/englisn/index.php file where you define text is. Your links will look like this product_info.php?cPath=25&products_id=50 and not like this product_info.php?cPath=25&products_id=50&osCsid=d8572b4ab70ecbb85d77fff5d2715e72 Or your link http://flagsdirect.net/./product_info.php?products_id=113
usernamenone Posted December 12, 2006 Posted December 12, 2006 Looks like you got it coded right. You may consider putting the product info link in so your customer goes straight to the information for that product straingt away instead of to the path to the product first. http://flagsdirect.net/product_info.php?cP...products_id=166 and not just http://flagsdirect.net/product_info.php?cPath=48 Yikes........ You don't copy all the code, just the section you want. Or your link http://flagsdirect.net/./product_info.php?products_id=113
Recommended Posts
Archived
This topic is now archived and is closed to further replies.