Jump to content

Boudy

Members
  • Content count

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Boudy Wijnberg
  • Gender
    Male
  • Location
    Netherlands
  1. Boudy

    Multi-Stores Multiple Shops Support

    Hi all, I had a problem where I was not able to add products to other stores if a product was duplicated (copy) to other categories, through the 'add to store' button in a category and selected the enable / disable option. it seems that for some reason in categories.php (admin) round line 370 $check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . (int)$key . "' and categories_id not in (" . $category_ids . ")"); $check = tep_db_fetch_array($check_query); if ($check['total'] < '1') { $products_add[$key] = $key; } was the issue. I have changed the code to: $products_add[$key] = $key; and now I am able to enable products in sub categories for different stores. just for info. Boudy
  2. @mike: Have you tried the errorreporting? Also make sure you close the altered line with a ; chdir (DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG); @ darren: There are no issues related to mysql 5 with image magic: Make sure GD library support is installed, they have probably updated to PHP 5 aswell. Boudy
  3. For all who have the problem with not dhowing the image (if you have configured your store in a sub folder) change in /catalog/imagemagick.php round line: 21 chdir (DIR_FS_CATALOG) to: chdir (DIR_FS_CATALOG . DIR_WS_HTTP_CATALOG) or to: chdir (DIR_FS_CATALOG . '/your_folder_name/') it did the trick for me! (I figured it out when I disabled the error reporting by adding the php function: error_reporting(0);) Good luck Boudy
×