Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

itfitz

Archived
  • Posts

    325
  • Joined

  • Last visited

About itfitz

  • Birthday 04/16/1971

Profile Information

itfitz's Achievements

  1. I checked and those changes were made. I pretty much just want to add the image at the top, I think the rest of it is working ok, but cant tell as of yet becasue of another contrib that is fighting me tooth and nail.
  2. ok, I fixed that problem and have now moved on to a new one. I pulled out the } at line 35 and now I get this error: Parse error: parse error, unexpected $ in /home/lotions2/public_html/osCommerce1/catalog/admin/includes/boxes/catalog.php on line 43 problem is, there is no line 43.
  3. ignor this, I just need a notification when there is an update.
  4. ok, I have the contrib installed, second time around, but now I am getting this error and I cant seem to figure out what is the problem. Probably something small that I am over looking, but here is the error: Parse error: parse error, unexpected '}' in /home/lotions2/public_html/osCommerce1/catalog/admin/includes/boxes/catalog.php on line 35 and here is my catalog.php <?php /* $Id: catalog.php,v 1.21 2003/07/09 01:18:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- catalog //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_CATALOG, 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog')); if ($selected_box == 'catalog') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' . //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>'. '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); //end kgt - discount coupons '<a href="' . tep_href_link(FILENAME_2GETHER, '', 'NONSSL') . '" class="menuBoxContentLink">' . '2gether specials' . '</a><br>' . } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- catalog_eof //-->
  5. Ok, I saw this question, but never a saw an answer. I got this thing working, however, I want to add the icon to get to "my wishlist" up by the account, cart, etc. but cant seem to figure out how to add the link so that it loks right and links where it is supposed to. Well, it links, but I want the icon table_background_wishlist.gif to be up there as well. thanks,
  6. hI: I need to knwo about the tep_image() in the html_output file. I just dont quite understand how much of this file I am to replace with the code given in the instructions. any help would be great. thanks, shawn
  7. ok, I have a new problem. When I go to the checkout, it gives me a 404 error, and it is looking for http://lotions2go.com/osCommerce/catalog/create_account2php. Notice there is no . between the create_account2 and the php. I tried to change this in the checkout_shipping.php file and it does the same thing if its on 1, 2 or three. any ideas?
  8. and I am also getting this error: Fatal error: Cannot instantiate non-existent class: wishlist in /home/lotions2/public_html/osCommerce/catalog/includes/application_top.php on line 316 and this one as well Fatal error: Call to a member function on a non-object in /home/lotions2/public_html/osCommerce/catalog/wishlist.php on line 18
  9. here is the error: Fatal error: Call to a member function on a non-object in /home/lotions2/public_html/osCommerce/catalog/includes/column_right.php on line 15 and here is the code for the file column_right <?php /* $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'shopping_cart.php'); if($wishlist->count_wishlist() > '0') { require(DIR_WS_BOXES . 'wishlist.php'); } if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers_scroll.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers_scroll.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } ?> PLEASE HELP!!!
  10. and I do that how? I not completely new to this, but new enough that I dont understand what your talking about.
  11. did we ever get an answer to this, I am about ready to just go in and remove this as it is now holding up production on other contribs that I need to install. thanks, shawn
  12. ok, got it fixed, after doing some research, I found that I missed some code in one of the files. thanks for the help, off to the next contrib!!!
  13. ok, now I have a new problem, it adds the box for the coupon code, but then when you go to the next page it gives me this error: 1146 - Table 'lotions2_p_os2.TABLE_DISCOUNT_COUPONS' doesn't exist SELECT coupons_discount_percent, coupons_description, coupons_max_use, coupons_min_order, coupons_max_order, coupons_number_available FROM TABLE_DISCOUNT_COUPONS WHERE coupons_id = '2244' AND ( coupons_date_start <= CURDATE() OR coupons_date_start IS NULL ) AND ( coupons_date_end >= CURDATE() OR coupons_date_end IS NULL ) also would like to move the discount coupons box to the top of the page if any one knows how. thanks, shawn
  14. what are these settings for? Display Format for Order Total Line Display format for the discount coupon code order total line. Variables: [coupon_desc] [percent_discount] [coupons_min_order] [coupons_number_available]
×
×
  • Create New...