Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SMFGGUY

Archived
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jake
  • Gender
    Male

SMFGGUY's Achievements

  1. I have a problem with the drop down menu on my site. I can add products to the cart, but when I choose a category from the menu, it empties the cart. My site is located here: http://www.bettafoods.com
  2. I am trying to add a custom code to show a simple searchbox on the front page, but I keep getting this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /data/12/1/132/60/1132060/user/1201336/htdocs/.../.../.../modules/sts_inc/sts_user_code.php on line 53 I am new to PHP and some help would be appreciated :) Code is below: $sts->start_capture(); <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'center', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit ('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br> <a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ ADVANCED_SEARCH . '</b></a>'); new infoBox($info_box_contents); ?> $sts->stop_capture('customsearch');
  3. Whenever I try to filter it, it gives me an error. It doesn't seem to matter wether it's sorted by Manufacturer,Status, or date. I keep getting the same error. I'm not one for PHP, so I don't know what to do to fix it. I have attached a screenshot to help though. EDIT: Fixed picture
×
×
  • Create New...