Jump to content

uabrownie

Members
  • Content count

    13
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ryan Brown
  1. uabrownie

    [Contribution] UPS XML Tracking

    Hi All, I'm getting this error: Parse error: parse error, unexpected T_ELSE in /home/tcclothi/public_html/shop/admin/categories.php on line 902 Here's the code (Line 902 with <------): <?php } $products_count = 0; if (isset($HTTP_GET_VARS['search'])) { $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_image_2, p.products_image_3, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p2c.categories_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and pd.products_name like '%" . tep_db_input($search) . "%' order by pd.products_name"); } else { $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_image_2, p.products_image_3, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by pd.products_name"); } else { <-----LINE 902 $products_query = tep_db_query("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by pd.products_name"); } Any help would greatly be appreciated! Thanks! P.S. I tried removing the semicolon on the line above 902 but then got the following error: Parse error: parse error, unexpected '}'
  2. uabrownie

    [Contribution] More Category Boxes

    Hi - I installed your contribution and everything seemed to be working fine until I viewed the actual catalog. The categories show up but the seperate boxes that are supposed to seperate the categories dont. I don't know what's going on or how to fix. Could it be because I'm using a template? Here's how I want it to be set up: Mens Box ========= Premium Tees Basic Tees Long Sleeve Collared Shirts ========= Womens Box ========= Tanks Skirts Crops ========= Here's how it is setup now: http://www.tcclothing.com/shop/ Any help would be greatly appreciated! Thanks! Ryan
×