#######################################################

 Magic 360™
 X-Cart module version v5.5.13 [v1.6.103:v4.6.13]

 www.magictoolbox.com
 support@magictoolbox.com

 Copyright 2025 Magic Toolbox

#######################################################

INSTALLATION:

IMPORTANT: Before you start, we recommend you open readme.txt and follow those instructions. It is faster and easier than these readme_manual.txt instructions. If installation failed using the readme.txt procedure, then continue with these instructions instead.

1. Unzip the contents and upload the 'admin', 'images' and 'modules' folders to your X-Cart directory.

2. Go to the 'include/templater' directory of your X-Cart website and create backup for 'templater.php' file.

3. Open the file 'include/templater/templater.php' in the editor.

4. If the version of your X-Cart is lower than 4.7, find this line:
 
class Templater extends Smarty {

and replace it for this:

class TemplaterOriginal extends Smarty {

5. If you use the X-Cart version 4.7 or above, find this line:

class XCTemplater extends SmartyBC {

and replace it for this:

class XCTemplaterOriginal extends SmartyBC {

6. If the version of your X-Cart is lower than 4.7, find this line:

function Templater() {

and replace it for this:

function TemplaterOriginal() {

7. Find the line at the end of file:

?>

and add this line before it:

require_once($xcart_dir.DIRECTORY_SEPARATOR.'modules'.DIRECTORY_SEPARATOR.'MagicToolbox'.DIRECTORY_SEPARATOR.'templater.php');

8. Open the file 'include/product_modify.php' in the editor and find this line:

if (($REQUEST_METHOD == 'POST') && ($mode == 'product_modify')) {

and add this lines before it:

if(!empty($product_info))
$dialog_tools_data['left'][] = array(
    'link'  => $xcart_web_dir.DIR_ADMIN."/magic360_images.php?productid={$productid}",
    'target' => '_blank',
    'title' => 'Magic 360 Images'
);

9. Go to http://your.site.url/admin/magic360.php and configure Magic 360™ as you wish.

10. Upload images for Magic 360™ here http://your.site.url/admin/magic360_images.php

11. Magic 360 demo version is ready to use!

12. To upgrade your version of Magic 360 (which removes the "Please upgrade" text), buy Magic 360 and overwrite the [path_to_your_skin_folder]/magictoolbox/core/magic360.js file file with the new one in your licensed version.

Buy a single license here:

http://www.magictoolbox.com/buy/magic360/

