Magic Toolbox

Magic Touch for CRELoaded

Zoom into the image!

Download for  

Please contact us if you need help with these instructions.

  1. Remove the old Magic Touch if you installed it previously.
  2. Download and unzip the CRE Loaded module for Magic Touch.
  3. Upload the contents of the 'catalog' directory to their respective folders of your CRELoaded website.
  4. Install the Magic Toolbox GUI (unless you have already installed this).
    1. Open the file admin/includes/boxes/modules.php in the editor and find this line:

      tep_admin_files_boxes(FILENAME_MODULES, BOX_MODULES_PAYMENT, 'SSL' , 'set=payment', '2') .

      Add this line after it:

      tep_admin_files_boxes(FILENAME_MODULES, 'MagicToolbox', 'NONSSL' , 'set=magictoolbox', '2') .

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

      switch ($set) {

      Add the following 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");

      $SSL= 'NONSSL';

      break;

  5. Install the Magic Touch content parcer (skip this step if you use the STS module).
    1. Backup your /product_info.php file.
    2. Open /product_info.php in the editor and find this line:

      require('includes/application_top.php');

      Add this line after it:

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

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

      require(DIR_WS_INCLUDES . 'application_bottom.php');

      Add this line before it:

      MagicTouch();

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

      $params = (isset($_SESSION['CDpath'])) ? '&CDpath=' . $_SESSION['CDpath'] : '';

      and add this line before it:

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

    6. Find these 2 lines:

      new productListingBox($list_box_contents);

      } else {

      and replace them with:

      new productListingBox($list_box_contents);

      MagicTouch();

      } else {

    7. Backup your includes/modules/product_listing_col.php file.
    8. Open includes/modules/product_listing_col.php in the editor and find this line:

      $params = (isset($_SESSION['CDpath'])) ? '&CDpath=' . $_SESSION['CDpath'] : '';

      and add this line before it:

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

    9. Find following 2 lines:

      new productListingBox($list_box_contents);

      } else {

      and replace them with:

      new productListingBox($list_box_contents);

      MagicTouch();

      } else {

  6. If you use the STS module, install the Magic Touch content parcer, otherwise skip this step.
    1. Backup your /includes/classes/sts.php file.
    2. Open your /includes/classes/sts.php file in the editor and find the following 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']);

      }

      Add these 2 lines before it:

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

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

  7. Backup your /includes/functions/html_output.php file, then open it in the editor and find this line:

    'function tep_javascript_image'

    And replace it with:

    'function tep_javascript_image_original'

  8. Enter your unique ID for Magic Touch - either login or sign up.
  9. Go to [Admin panel -> Modules -> MagicToolbox -> Magic Touch] to configure Magic Touch (customisation options).

This mod was built for the popular CRE Loaded shopping cart. Please contact us for help installing the module.

Other CRE Loaded modules

We also provide some of the other best CRE Loaded modules:

Installation guides

Magic Touch can be installed on any website. It's even easier to install if your site uses one of these platforms:

Step-by-step instructions Zip file
Standard instructions (any website) Sign up
VirtueMart instructions Download 1.5 / 1.0
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
CRE Loaded instructions Download
WordPress instructions Download
WordPress e-Commerce instructions Download
Drupal instructions Download 6 / 5
Gallery instructions Download
CS-Cart instructions Download
WYSIWYG instructions Download
osCMax instructions Download
OXID instructions Download

Download CRE Loaded module

Sign up now Get your unique code

Log in

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