Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rotemh

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rotem Hess

rotemh's Achievements

  1. help needed.. The following code from admin/includes/functions/articles.php get stuck in an infinite loop until memory_limit is reached and an error message is displayed in the admin panel. This is the function that is causing the infinite loop: function tep_get_topic_tree($parent_id = '0', $spacing = '', $exclude = '', $topic_tree_array = '', $include_itself = false) { global $languages_id; if (!is_array($topic_tree_array)) $topic_tree_array = array(); if ( (sizeof($topic_tree_array) < 1) && ($exclude != '0') ) $topic_tree_array[] = array('id' => '0', 'text' => TEXT_TOP); if ($include_itself) { $topic_query = tep_db_query("select cd.topics_name from " . TABLE_TOPICS_DESCRIPTION . " cd where cd.language_id = '" . (int)$languages_id . "' and cd.topics_id = '" . (int)$parent_id . "'"); $topic = tep_db_fetch_array($topic_query); $topic_tree_array[] = array('id' => $parent_id, 'text' => $topic['topics_name']); } $topics_query = tep_db_query("select c.topics_id, cd.topics_name, c.parent_id from " . TABLE_TOPICS . " c, " . TABLE_TOPICS_DESCRIPTION . " cd where c.topics_id = cd.topics_id and cd.language_id = '" . (int)$languages_id . "' and c.parent_id = '" . (int)$parent_id . "' order by c.sort_order, cd.topics_name"); while ($topics = tep_db_fetch_array($topics_query)) { if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']); $topic_tree_array = tep_get_topic_tree($topics['topics_id'], $spacing . ' ', $exclude, $topic_tree_array); } return $topic_tree_array; } Anyone who can help will be a life saver...
  2. Hi, I would really appreciate any help with this because I am lost. when I click on the image with the PrettyPhoto lightbox effect enabled, the jquery script starts to run but I get an error message: "Image cannot be loaded. Make sure the path is correct and image exist." Any idea what did I do wrong? Rotem
  3. Hi All, I am looking for a contribution that will enable me to display the images for each product in the product_info.php file as one large image and below small thumbnails on which the customer can click and select it for the large image. Something like what is normally used in amazon for instance here: http://www.amazon.com/Hohner-Piece-Toddler-Music-Band/dp/B000KIHCB2/ref=sr_1_1?s=gateway&ie=UTF8&qid=1284999363&sr=8-1 If anyone can help... Thanks, Rotem
×
×
  • Create New...