Magic Toolbox

Magic Thumb for osCommerce

Click to enlarge! It's easy to add this impressive effect in .

osCommerce 3 instructions

  1. If you get stuck, contact us and we will help you install this module!
  2. Download the Magic Thumb for osCommerce 3 module (demo version).
  3. Upload the contents of the 'catalog' directory to your osCommerce directory to their respective folders.
  4. Upload the contents of the 'admin' directory to your osCommerce 'admin' directory to their respective folders.
  5. Go to [Admin panel -> Modules -> Services -> Magic Thumb] and configure Magic Thumb how you want it.
  6. The demo is now installed!
  7. To upgrade, buy Magic Thumb and overwrite the magicthumb.js file in this directory 'includes/modules/magictoolbox/core'.

osCommerce 2 instructions

  1. If you already have an earlier version of Magic Thumb, remove it.
  2. Download Magic Thumb for osCommerce (demo version).
  3. Upload the contents of the 'catalog' directory to your osCommerce directory to their respective folders.
  4. Install the admin GUI so you can configure Magic Thumb later. (If you have already installed another Magic Toolbox module, skip this step.)
    1. Open the file admin/includes/boxes/modules.php in the editor and find this line:

      '<a href="' . tep_href_link(FILENAME_MODULES, 'set=payment', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .

      and add this line after it:

      '<a href="' . tep_href_link(FILENAME_MODULES, 'set=magictoolbox', 'NONSSL') . '" class="menuBoxContentLink">MagicToolbox</a><br>' .

    2. Open the file admin/modules.php in the editor and find this line:

      switch ($set) {

      and add these lines after it:

      case 'magictoolbox':

      $module_type = 'magictoolbox';

      $module_directory = DIR_FS_CATALOG_MODULES . 'magictoolbox/admin/';

      $module_key = 'MODULE_MAGICTOOLBOX_INSTALLED';

      define('HEADING_TITLE', "MagicToolbox");

      break;

  5. If you do not use the osCommerce STS module, install the Magic Thumb content parcer as below (otherwise, skip this step).
    1. Backup your /product_info.php file
    2. Open the file /product_info.php in the editor and find this line:

      require('includes/application_top.php');

      and add this line after it:

      require_once(DIR_WS_MODULES . 'magictoolbox/magicthumb.php');

    3. Find this line (almost the last line):

      <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

      and add this line before it:

      <?php MagicThumb();?>

    4. Backup your includes/modules/product_listing.php file.
    5. Open the file includes/modules/product_listing.php in the editor and find this line:

      $listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_SEARCH_RESULTS, 'p.products_id');

      and add this line before it:

      include(dirname(__FILE__) . '/magictoolbox/magicthumb.php');

    6. Find following 2 lines:

      new productListingBox($list_box_contents);

      } else {

      and replace them with:

      new productListingBox($list_box_contents);

      MagicThumb();

      } else {

  6. If you use the osCommerce STS module, install the Magic Thumb content parcer as below (otherwise, skip this step).
    1. Backup the file /includes/classes/sts.php file.
    2. Open the file /includes/classes/sts.php in the editor and find following code lines (maybe lines 202-205):

      foreach ($this->template as $key=>$value) {

      $this->template['template_html'] = str_replace('$' . $key . STS_END_CHAR , $value, $this->template['template_html']);

      }

      and add these 2 lines before it:

      require_once(DIR_WS_MODULES . 'magictoolbox/magicthumb.php');

      $this->template['content'] = MagicThumb($this->template['content']);

  7. Go to [Admin panel -> Modules -> MagicToolbox -> Magic Thumb] and configure Magic Thumb how you want it.
  8. The demo version is now installed
  9. To upgrade to the full version, buy Magic Thumb and overwrite the magicthumb.js file with that from the full version.

For help, contact us and we will help you install this image module on your website. The module was designed for the osCommerce open source e-commerce system.

Other osCommerce modules

Installation guides

There are simple instructions plus dedicated modules and plugins to add this JavaScript image popup tool to any website or ecommerce store:

Step-by-step instructions Zip file
Standard instructions (any website) Download
VirtueMart instructions Download 1.5 / 1.1
Joomla instructions Download 1.5 / 1.0
Magento instructions Download
PrestaShop instructions Download
osCommerce instructions Download 3 / 2
Zen Cart instructions Download
X-Cart instructions Download
xt:commerce instructions Download
CubeCart instructions Download
CRELoaded instructions Download
Gallery instructions Download
WordPress instructions Download
WordPress e-Commerce instructions Download
Drupal instructions Download 6 / 5
WYSIWYG instructions Download
CS-Cart instructions Download
osCMax instructions Download
OXID instructions Download
NetSuite instructions

Buy now Single license £25

Download osCommerce 3 module

Download osCommerce 2 module

Apply for free license (non-commercial)

©2010 Magic Toolbox   About  |  Contact  |  Support  |  Affiliates  |  Newsletter  |  Testimonials  |  License Agreement  |  Terms  |  Privacy