Guest Posted January 27, 2006 Posted January 27, 2006 Hello, thanks for looking this over for me. I am new to this and I tried figuring out what i did that caused my product listings to stop being visible. Here's what i did that caused this to happen. I created a new box file and box called ebay_box.php. The purpose of this box is display and link to items I am selling on ebay via my website home page and other pages. here is the code which created the ebay_box.php file: <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => 'VISIT OUR EBAY STORE'); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=cuxodq.-%2F.&bdrcolor=BACAE8&encode=ISO-8859-1&maxprice=&minprice=&num=4&prvd=2&query=&sekaccentcolor=E0E6F4&sekcatid=&sekfootercolor=394667&sekfooterdisplay=1&sekformat=0&sekfsfooter=4+1+0&sekfsitem=4+1+0&sekfstitle=4+4+0&sekitemlayout=1&sektitledisplay=0&si=cheryl3023&sort=MetaEndSort&sortby=endtime&sortdir=asc&tbgcolor=EEF0F9&title=&tlecolor=BACAE8&tlfcolor=394667"></script>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Ok, so my next step was to replace the code in index.php :<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> with the following code: <?php include(DIR_WS_BOXES . 'ebay_box.php'); ?> And now my ebay items do show up just i had planned them to, but my listing pages in the category sections do not. However, if you click a link to one of my items it does still take you to the item description page and everything that i have configured for that seems to work fine. If you have any ideas as to why this happened or how I can fix it, please let me know.. oh, yes i did try reversing everything and they still didn't show up.
Guest Posted January 28, 2006 Posted January 28, 2006 Ok, I used my backup files and restored my index.php file and my product_listing.php file back to their original state, but the products are still not showing up in their sub categories as they should. If anyone has had this problem, or might be able to understand my newbie babble enough to help me I would really appreciate it. Thank you in advance!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.