Version Notes
Added 360 degree "Product Tour"
Download this release
Release Info
Developer | AJAX-ZOOM |
Extension | AJAX_ZOOM |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.2.0
- app/code/local/Ax/Zoom/Block/Adminhtml/System/Config/Fieldset/License.php +5 -5
- app/code/local/Ax/Zoom/Block/Adminhtml/Tabs.php +9 -10
- app/code/local/Ax/Zoom/Block/Adminhtml/Tabs/Tabid.php +5 -5
- app/code/local/Ax/Zoom/Helper/Data.php +5 -5
- app/code/local/Ax/Zoom/Helper/Head.php +5 -5
- app/code/local/Ax/Zoom/Model/Ax360.php +43 -22
- app/code/local/Ax/Zoom/Model/Ax360set.php +5 -5
- app/code/local/Ax/Zoom/Model/Axproducts.php +5 -5
- app/code/local/Ax/Zoom/Model/Galleryposition.php +5 -5
- app/code/local/Ax/Zoom/Model/Observer.php +5 -5
- app/code/local/Ax/Zoom/Model/Position.php +5 -5
- app/code/local/Ax/Zoom/Model/Position4.php +28 -0
- app/code/local/Ax/Zoom/Model/Resource/Ax360.php +5 -5
- app/code/local/Ax/Zoom/Model/Resource/Ax360/Collection.php +5 -5
- app/code/local/Ax/Zoom/Model/Resource/Ax360set.php +5 -5
- app/code/local/Ax/Zoom/Model/Resource/Ax360set/Collection.php +5 -5
- app/code/local/Ax/Zoom/Model/Resource/Axproducts.php +5 -5
- app/code/local/Ax/Zoom/Model/Resource/Axproducts/Collection.php +5 -5
- app/code/local/Ax/Zoom/Model/Words.php +5 -5
- app/code/local/Ax/Zoom/Model/Yesno.php +5 -5
- app/code/local/Ax/Zoom/controllers/AxzoomController.php +54 -20
- app/code/local/Ax/Zoom/etc/config.xml +12 -4
- app/code/local/Ax/Zoom/etc/system.xml +80 -5
- app/code/local/Ax/Zoom/sql/axzoom_setup/install-0.0.1.php +12 -12
- app/design/adminhtml/default/default/layout/axzoom.xml +7 -6
- app/design/adminhtml/default/default/template/axzoom/tab.phtml +4 -4
- app/design/adminhtml/default/default/template/axzoom/tab360-sets.phtml +28 -5
- app/design/adminhtml/default/default/template/axzoom/tab360-settings.phtml +5 -5
- app/design/adminhtml/default/default/template/axzoom/tab360.phtml +3 -3
- app/design/adminhtml/default/default/template/axzoom/uploader.phtml +3 -3
- app/design/frontend/base/default/layout/axzoom.xml +15 -5
- app/design/frontend/base/default/template/ax_zoom/catalog/product/view/media.phtml +30 -17
- app/etc/modules/Ax_Zoom.xml +3 -3
- js/axzoom/check_fallback.js +12 -6
- js/axzoom/check_jquery.js +5 -5
- js/axzoom/check_jquery_admin.js +3 -3
- js/axzoom/lic.php +6 -5
- js/axzoom/preview/cropeditor.php +1324 -0
- js/axzoom/preview/preview.php +0 -5
- js/axzoom/zoomConfigCustomAZ.inc.php +15 -0
- package.xml +5 -5
app/code/local/Ax/Zoom/Block/Adminhtml/System/Config/Fieldset/License.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/System/Config/Fieldset/License.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/System/Config/Fieldset/License.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Block/Adminhtml/Tabs.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/tabs.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
@@ -22,20 +22,19 @@ class Ax_Zoom_Block_Adminhtml_Tabs extends Mage_Adminhtml_Block_Catalog_Product_
|
|
22 |
{
|
23 |
|
24 |
$productId = Mage::app()->getRequest()->getParam('id');
|
25 |
-
|
26 |
//get all existing tabs
|
27 |
$this->parent = parent::_prepareLayout();
|
28 |
-
|
29 |
if (!empty($productId)) {
|
30 |
//add new tab
|
31 |
$this->addTab(
|
32 |
'tabid', array(
|
33 |
'label' => Mage::helper('catalog')->__('AJAX ZOOM'),
|
34 |
-
'content' => $this->getLayout()
|
35 |
-
->createBlock('zoom/adminhtml_tabs_tabid')->toHtml(),
|
36 |
));
|
37 |
}
|
38 |
-
|
39 |
return $this->parent;
|
40 |
}
|
41 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/tabs.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
22 |
{
|
23 |
|
24 |
$productId = Mage::app()->getRequest()->getParam('id');
|
25 |
+
|
26 |
//get all existing tabs
|
27 |
$this->parent = parent::_prepareLayout();
|
28 |
+
|
29 |
if (!empty($productId)) {
|
30 |
//add new tab
|
31 |
$this->addTab(
|
32 |
'tabid', array(
|
33 |
'label' => Mage::helper('catalog')->__('AJAX ZOOM'),
|
34 |
+
'content' => $this->getLayout()->createBlock('zoom/adminhtml_tabs_tabid')->toHtml(),
|
|
|
35 |
));
|
36 |
}
|
37 |
+
|
38 |
return $this->parent;
|
39 |
}
|
40 |
}
|
app/code/local/Ax/Zoom/Block/Adminhtml/Tabs/Tabid.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/Tabs/Tabid.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Block/Adminhtml/Tabs/Tabid.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Helper/Data.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Helper/Data.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Helper/Data.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Helper/Head.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Helper/Head.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Helper/Head.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Ax360.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Ax360.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
@@ -74,11 +74,21 @@ class Ax_Zoom_Model_Ax360 extends Mage_Core_Model_Abstract
|
|
74 |
if (!empty($settings)) $settings = ", $settings";
|
75 |
|
76 |
if ($group['qty'] > 0) {
|
|
|
|
|
|
|
77 |
if ($group['qty'] == 1) {
|
78 |
-
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $productId . "/" . $group['id_360'] . "/" . $group['id_360set'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]
|
79 |
} else {
|
80 |
-
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $productId . "/" . $group['id_360'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]
|
81 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
$cnt++;
|
83 |
if ($cnt != count($setsGroups)+1) $json .= ',';
|
84 |
}
|
@@ -86,27 +96,38 @@ class Ax_Zoom_Model_Ax360 extends Mage_Core_Model_Abstract
|
|
86 |
}
|
87 |
|
88 |
$cnt = 1;
|
89 |
-
if ($extraGroups)
|
|
|
90 |
|
91 |
-
|
92 |
-
|
93 |
|
94 |
-
|
95 |
-
|
96 |
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
-
|
107 |
-
if ($cnt != count($extraGroups)+1) $json .= ',';
|
108 |
}
|
109 |
-
|
110 |
}
|
111 |
|
112 |
$json .= '}';
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Ax360.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
74 |
if (!empty($settings)) $settings = ", $settings";
|
75 |
|
76 |
if ($group['qty'] > 0) {
|
77 |
+
|
78 |
+
$crop = empty($group['crop']) ? '[]' : trim(preg_replace('/\s+/', ' ', $group['crop']));
|
79 |
+
|
80 |
if ($group['qty'] == 1) {
|
81 |
+
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $productId . "/" . $group['id_360'] . "/" . $group['id_360set'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]";
|
82 |
} else {
|
83 |
+
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $productId . "/" . $group['id_360'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]";
|
84 |
}
|
85 |
+
|
86 |
+
if ($crop && $crop != '[]') {
|
87 |
+
$json .= ', "crop": '.$crop;
|
88 |
+
}
|
89 |
+
|
90 |
+
$json .= '}';
|
91 |
+
|
92 |
$cnt++;
|
93 |
if ($cnt != count($setsGroups)+1) $json .= ',';
|
94 |
}
|
96 |
}
|
97 |
|
98 |
$cnt = 1;
|
99 |
+
if ($extraGroups) {
|
100 |
+
foreach ($extraGroups as $id360) {
|
101 |
|
102 |
+
$setsGroup = $this->getSetsGroup($id360);
|
103 |
+
$group = $setsGroup[0];
|
104 |
|
105 |
+
if ($group['status'] == 0)
|
106 |
+
continue;
|
107 |
|
108 |
+
$settings = $this->prepareSettings($group['settings']);
|
109 |
+
if (!empty($settings)) $settings = ", $settings";
|
110 |
+
|
111 |
+
if ($group['qty'] > 0) {
|
112 |
+
$crop = empty($group['crop']) ? '[]' : trim(preg_replace('/\s+/', ' ', $group['crop']));
|
113 |
|
114 |
+
if ($group['qty'] == 1) {
|
115 |
+
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $group['id_product'] . "/" . $group['id_360'] . "/" . $group['id_360set'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]";
|
116 |
+
} else {
|
117 |
+
$json .= "'" . $group['id_360'] . "'" . ": {'path': '" . $this->rootFolder() . "js/axzoom/pic/360/" . $group['id_product'] . "/" . $group['id_360'] . "'" . $settings . ", 'combinations': [" . $group['combinations'] . "]";
|
118 |
+
}
|
119 |
+
|
120 |
+
if ($crop && $crop != '[]') {
|
121 |
+
$json .= ', "crop": '.$crop;
|
122 |
+
}
|
123 |
+
|
124 |
+
$json .= '}';
|
125 |
+
|
126 |
+
$cnt++;
|
127 |
+
if ($cnt != count($extraGroups)+1) $json .= ',';
|
128 |
}
|
129 |
+
|
|
|
130 |
}
|
|
|
131 |
}
|
132 |
|
133 |
$json .= '}';
|
app/code/local/Ax/Zoom/Model/Ax360set.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Ax360set.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Ax360set.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Axproducts.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Axproducts.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Axproducts.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Galleryposition.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Galleryposition.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Galleryposition.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Observer.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Observer.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Observer.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Position.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Position.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Position.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Position4.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Position4.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
+
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
+
* URL: http://www.ajax-zoom.com
|
10 |
+
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
+
*
|
12 |
+
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
+
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
+
*/
|
16 |
+
|
17 |
+
class Ax_Zoom_Model_Position4
|
18 |
+
{
|
19 |
+
public function toOptionArray()
|
20 |
+
{
|
21 |
+
return array(
|
22 |
+
array('value'=>'top', 'label'=>Mage::helper('axzoom')->__('top')),
|
23 |
+
array('value'=>'right', 'label'=>Mage::helper('axzoom')->__('right')),
|
24 |
+
array('value'=>'bottom', 'label'=>Mage::helper('axzoom')->__('bottom')),
|
25 |
+
array('value'=>'left', 'label'=>Mage::helper('axzoom')->__('left'))
|
26 |
+
);
|
27 |
+
}
|
28 |
+
}
|
app/code/local/Ax/Zoom/Model/Resource/Ax360.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Resource/Ax360/Collection.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360/Collection.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360/Collection.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Resource/Ax360set.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360set.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360set.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Resource/Ax360set/Collection.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360set/Collection.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Ax360set/Collection.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Resource/Axproducts.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Axproducts.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Axproducts.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Resource/Axproducts/Collection.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Axproducts/Collection.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Resource/Axproducts/Collection.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Words.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Words.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Words.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/Model/Yesno.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Yesno.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/Model/Yesno.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
app/code/local/Ax/Zoom/controllers/AxzoomController.php
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/controllers/IndexController.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
-
|
17 |
class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
18 |
{
|
19 |
public function AddProductImage360Action()
|
@@ -22,7 +22,7 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
22 |
$id360set = $this->getRequest()->getPost('id_360set');
|
23 |
$id360 = Mage::getModel('axzoom/ax360set')->load($id360set)->getId_360();
|
24 |
$folder = $this->createProduct360Folder($productId, $id360set);
|
25 |
-
|
26 |
if (isset($_FILES['file360']['name'][0]) && $_FILES['file360']['name'][0] != '') {
|
27 |
try {
|
28 |
$fileName = $_FILES['file360']['name'][0];
|
@@ -40,7 +40,7 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
40 |
$uploader->setAllowedExtensions(array('png', 'jpg')); //allowed extensions
|
41 |
$uploader->setAllowRenameFiles(false);
|
42 |
$uploader->setFilesDispersion(false);
|
43 |
-
|
44 |
$uploader->save($folder, $fileName );
|
45 |
} catch (Exception $e) {
|
46 |
echo $e->getMessage();
|
@@ -144,9 +144,9 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
144 |
public function Set360StatusAction()
|
145 |
{
|
146 |
$get = Mage::app()->getRequest();
|
147 |
-
$productId =
|
148 |
-
$id360
|
149 |
-
$status
|
150 |
|
151 |
Mage::getModel('axzoom/ax360')->load($id360)->addData(array('status' => $status))->setId($id360)->save();
|
152 |
|
@@ -155,16 +155,53 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
155 |
'confirmations' => array('The status has been updated.' . $status . '-' . $id360)
|
156 |
)));
|
157 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
public function AddSetAction()
|
160 |
{
|
161 |
$get = Mage::app()->getRequest();
|
162 |
-
$productId =
|
163 |
-
$name
|
164 |
-
$existing
|
165 |
-
$zip
|
166 |
-
$delete
|
167 |
-
$arcfile
|
168 |
$newId = '';
|
169 |
$newName = '';
|
170 |
$newSettings = '';
|
@@ -208,7 +245,6 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
208 |
)));
|
209 |
}
|
210 |
|
211 |
-
|
212 |
public function addImagesArc($arcfile, $productId, $id360, $id360set, $delete = '')
|
213 |
{
|
214 |
set_time_limit(0);
|
@@ -252,7 +288,6 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
252 |
}
|
253 |
}
|
254 |
|
255 |
-
|
256 |
// delete temp directory which was created when zip extracted
|
257 |
if(!is_dir($path)) {
|
258 |
$this->deleteDirectory($dst);
|
@@ -336,7 +371,6 @@ class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
|
336 |
}
|
337 |
}
|
338 |
|
339 |
-
|
340 |
public function getFilesFromFolder($path)
|
341 |
{
|
342 |
$files = array();
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/controllers/IndexController.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
+
|
17 |
class Ax_Zoom_AxzoomController extends Mage_Adminhtml_Controller_Action
|
18 |
{
|
19 |
public function AddProductImage360Action()
|
22 |
$id360set = $this->getRequest()->getPost('id_360set');
|
23 |
$id360 = Mage::getModel('axzoom/ax360set')->load($id360set)->getId_360();
|
24 |
$folder = $this->createProduct360Folder($productId, $id360set);
|
25 |
+
|
26 |
if (isset($_FILES['file360']['name'][0]) && $_FILES['file360']['name'][0] != '') {
|
27 |
try {
|
28 |
$fileName = $_FILES['file360']['name'][0];
|
40 |
$uploader->setAllowedExtensions(array('png', 'jpg')); //allowed extensions
|
41 |
$uploader->setAllowRenameFiles(false);
|
42 |
$uploader->setFilesDispersion(false);
|
43 |
+
|
44 |
$uploader->save($folder, $fileName );
|
45 |
} catch (Exception $e) {
|
46 |
echo $e->getMessage();
|
144 |
public function Set360StatusAction()
|
145 |
{
|
146 |
$get = Mage::app()->getRequest();
|
147 |
+
$productId = $get->getParam('id_product');
|
148 |
+
$id360 = $get->getParam('id_360');
|
149 |
+
$status = $get->getParam('status');
|
150 |
|
151 |
Mage::getModel('axzoom/ax360')->load($id360)->addData(array('status' => $status))->setId($id360)->save();
|
152 |
|
155 |
'confirmations' => array('The status has been updated.' . $status . '-' . $id360)
|
156 |
)));
|
157 |
}
|
158 |
+
|
159 |
+
public function GetCropJsonAction()
|
160 |
+
{
|
161 |
+
$get = Mage::app()->getRequest();
|
162 |
+
$id_360 = $get->getParam('id_360');
|
163 |
+
|
164 |
+
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
|
165 |
+
$check_crop_field = $db->query('SHOW FIELDS FROM `ajaxzoom360`');
|
166 |
+
if ($check_crop_field){
|
167 |
+
$check_crop_field_fetch = $check_crop_field->fetchAll(PDO::FETCH_COLUMN);
|
168 |
+
// Update table
|
169 |
+
if (!in_array('crop', $check_crop_field_fetch)){
|
170 |
+
$db->query('ALTER TABLE `ajaxzoom360` ADD `crop` TEXT NOT NULL');
|
171 |
+
}
|
172 |
+
}
|
173 |
+
|
174 |
+
$row = $db->fetchAll('SELECT * FROM `ajaxzoom360` WHERE id_360 = '.(int)$id_360.' LIMIT 1');
|
175 |
+
if ($row[0]['crop']){
|
176 |
+
die(stripslashes($row[0]['crop']));
|
177 |
+
}else{
|
178 |
+
die('[]');
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
public function SetCropJsonAction()
|
183 |
+
{
|
184 |
+
$json = $this->getRequest()->getPost('json');
|
185 |
+
$id_360 = Mage::app()->getRequest()->getParam('id_360');
|
186 |
+
|
187 |
+
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
|
188 |
+
$query = 'UPDATE `ajaxzoom360` SET crop = \''.addslashes($json).'\' WHERE id_360 = '.(int)$id_360;
|
189 |
+
$result = $db->query($query);
|
190 |
+
|
191 |
+
die(Mage::helper('core')->jsonEncode(array(
|
192 |
+
'status' => $result->rowCount()
|
193 |
+
)));
|
194 |
+
}
|
195 |
|
196 |
public function AddSetAction()
|
197 |
{
|
198 |
$get = Mage::app()->getRequest();
|
199 |
+
$productId = $get->getParam('id_product');
|
200 |
+
$name = $get->getParam('name');
|
201 |
+
$existing = $get->getParam('existing');
|
202 |
+
$zip = $get->getParam('zip');
|
203 |
+
$delete = $get->getParam('delete');
|
204 |
+
$arcfile = $get->getParam('arcfile');
|
205 |
$newId = '';
|
206 |
$newName = '';
|
207 |
$newSettings = '';
|
245 |
)));
|
246 |
}
|
247 |
|
|
|
248 |
public function addImagesArc($arcfile, $productId, $id360, $id360set, $delete = '')
|
249 |
{
|
250 |
set_time_limit(0);
|
288 |
}
|
289 |
}
|
290 |
|
|
|
291 |
// delete temp directory which was created when zip extracted
|
292 |
if(!is_dir($path)) {
|
293 |
$this->deleteDirectory($dst);
|
371 |
}
|
372 |
}
|
373 |
|
|
|
374 |
public function getFilesFromFolder($path)
|
375 |
{
|
376 |
$files = array();
|
app/code/local/Ax/Zoom/etc/config.xml
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/etc/config.xml
|
5 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
-
* Version: 1.
|
8 |
-
* Date: 2016-
|
9 |
-
* Review:
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
@@ -20,7 +20,7 @@
|
|
20 |
|
21 |
<modules>
|
22 |
<Ax_Zoom>
|
23 |
-
<version>1.
|
24 |
</Ax_Zoom>
|
25 |
</modules>
|
26 |
|
@@ -407,6 +407,14 @@
|
|
407 |
<btnSrc>//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png</btnSrc>
|
408 |
<data>{}</data>
|
409 |
</pinterest>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
<mouseOverZoomParam>
|
411 |
<position>right</position>
|
412 |
<posAutoInside>150</posAutoInside>
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/etc/config.xml
|
5 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
+
* Version: 1.2.0
|
8 |
+
* Date: 2016-05-07
|
9 |
+
* Review: 2016-05-07
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
20 |
|
21 |
<modules>
|
22 |
<Ax_Zoom>
|
23 |
+
<version>1.2.0</version>
|
24 |
</Ax_Zoom>
|
25 |
</modules>
|
26 |
|
407 |
<btnSrc>//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png</btnSrc>
|
408 |
<data>{}</data>
|
409 |
</pinterest>
|
410 |
+
<producttour>
|
411 |
+
<cropAxZmThumbSliderParam></cropAxZmThumbSliderParam>
|
412 |
+
<cropSliderPosition>left</cropSliderPosition>
|
413 |
+
<cropSliderDimension>86</cropSliderDimension>
|
414 |
+
<cropSliderThumbAutoSize>true</cropSliderThumbAutoSize>
|
415 |
+
<cropSliderThumbAutoMargin>7</cropSliderThumbAutoMargin>
|
416 |
+
<cropSliderThumbDescr>true</cropSliderThumbDescr>
|
417 |
+
</producttour>
|
418 |
<mouseOverZoomParam>
|
419 |
<position>right</position>
|
420 |
<posAutoInside>150</posAutoInside>
|
app/code/local/Ax/Zoom/etc/system.xml
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/etc/system.xml
|
5 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
-
* Version: 1.
|
8 |
-
* Date: 2016-
|
9 |
-
* Review:
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
@@ -1279,7 +1279,10 @@
|
|
1279 |
<fields>
|
1280 |
<enabled>
|
1281 |
<label><![CDATA[<div class="notice-msg importantAZoption">enabled</div>]]></label>
|
1282 |
-
<comment>
|
|
|
|
|
|
|
1283 |
<frontend_type>select</frontend_type>
|
1284 |
<source_model>axzoom/yesno</source_model>
|
1285 |
<sort_order>50</sort_order>
|
@@ -1361,7 +1364,79 @@
|
|
1361 |
</data>
|
1362 |
</fields>
|
1363 |
</pinterest>
|
1364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1365 |
<magento translate="label">
|
1366 |
<label>Magento specific settings</label>
|
1367 |
<frontend_type>text</frontend_type>
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/etc/system.xml
|
5 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
+
* Version: 1.2.0
|
8 |
+
* Date: 2016-05-07
|
9 |
+
* Review: 2016-05-07
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
1279 |
<fields>
|
1280 |
<enabled>
|
1281 |
<label><![CDATA[<div class="notice-msg importantAZoption">enabled</div>]]></label>
|
1282 |
+
<comment>Pinterest button should be disabled till it is reimplemented!
|
1283 |
+
Experimental feature - enable Pinterest button.
|
1284 |
+
Pinterest allows to collect visual bookmarks in the form of images collected on the internet.
|
1285 |
+
</comment>
|
1286 |
<frontend_type>select</frontend_type>
|
1287 |
<source_model>axzoom/yesno</source_model>
|
1288 |
<sort_order>50</sort_order>
|
1364 |
</data>
|
1365 |
</fields>
|
1366 |
</pinterest>
|
1367 |
+
|
1368 |
+
<producttour translate="label">
|
1369 |
+
<label>New: 360° Product Tour</label>
|
1370 |
+
<frontend_type>text</frontend_type>
|
1371 |
+
<sort_order>51</sort_order>
|
1372 |
+
<show_in_default>1</show_in_default>
|
1373 |
+
<show_in_website>1</show_in_website>
|
1374 |
+
<show_in_store>1</show_in_store>
|
1375 |
+
<fields>
|
1376 |
+
<cropAxZmThumbSliderParam>
|
1377 |
+
<label>cropAxZmThumbSliderParam</label>
|
1378 |
+
<comment>
|
1379 |
+
<![CDATA[<div class="validation-advice">Attention: you are editing JavaScript object! Errors will lead to AJAX-ZOOM not working properly.</div>
|
1380 |
+
Slider settings for 360° "Product Tour". Can be kept empty. See also "galleryAxZmThumbSliderParam" option for more info.
|
1381 |
+
]]>
|
1382 |
+
</comment>
|
1383 |
+
<frontend_type>textarea</frontend_type>
|
1384 |
+
<sort_order>10</sort_order>
|
1385 |
+
<show_in_default>1</show_in_default>
|
1386 |
+
<show_in_website>1</show_in_website>
|
1387 |
+
<show_in_store>1</show_in_store>
|
1388 |
+
</cropAxZmThumbSliderParam>
|
1389 |
+
<cropSliderPosition>
|
1390 |
+
<label><![CDATA[<div class="notice-msg importantAZoption">cropSliderPosition</div>]]></label>
|
1391 |
+
<comment>Position of the crop slider, possible values: "top", "right", "bottom", "left".</comment>
|
1392 |
+
<frontend_type>select</frontend_type>
|
1393 |
+
<source_model>axzoom/position4</source_model>
|
1394 |
+
<sort_order>20</sort_order>
|
1395 |
+
<show_in_default>1</show_in_default>
|
1396 |
+
<show_in_website>1</show_in_website>
|
1397 |
+
<show_in_store>1</show_in_store>
|
1398 |
+
</cropSliderPosition>
|
1399 |
+
<cropSliderDimension>
|
1400 |
+
<label><![CDATA[<div class="notice-msg importantAZoption">cropSliderDimension</div>]]></label>
|
1401 |
+
<comment>Width or height (depending on position) of the instantly created container for the 360° "Product Tour" thumb slider.</comment>
|
1402 |
+
<frontend_type>text</frontend_type>
|
1403 |
+
<sort_order>30</sort_order>
|
1404 |
+
<show_in_default>1</show_in_default>
|
1405 |
+
<show_in_website>1</show_in_website>
|
1406 |
+
<show_in_store>1</show_in_store>
|
1407 |
+
</cropSliderDimension>
|
1408 |
+
<cropSliderThumbAutoSize>
|
1409 |
+
<label>cropSliderThumbAutoSize</label>
|
1410 |
+
<comment>Thumb CSS size will be set instantly depending on "cropSliderDimension" option</comment>
|
1411 |
+
<frontend_type>select</frontend_type>
|
1412 |
+
<source_model>axzoom/yesno</source_model>
|
1413 |
+
<sort_order>40</sort_order>
|
1414 |
+
<show_in_default>1</show_in_default>
|
1415 |
+
<show_in_website>1</show_in_website>
|
1416 |
+
<show_in_store>1</show_in_store>
|
1417 |
+
</cropSliderThumbAutoSize>
|
1418 |
+
<cropSliderThumbAutoMargin>
|
1419 |
+
<label>cropSliderThumbAutoMargin</label>
|
1420 |
+
<comment>Thumb margin when set instantly.</comment>
|
1421 |
+
<frontend_type>text</frontend_type>
|
1422 |
+
<sort_order>50</sort_order>
|
1423 |
+
<show_in_default>1</show_in_default>
|
1424 |
+
<show_in_website>1</show_in_website>
|
1425 |
+
<show_in_store>1</show_in_store>
|
1426 |
+
</cropSliderThumbAutoMargin>
|
1427 |
+
<cropSliderThumbDescr>
|
1428 |
+
<label>cropSliderThumbDescr</label>
|
1429 |
+
<comment>Enable descriptions for the thumbs in the slider for 360° "Product Tour"</comment>
|
1430 |
+
<frontend_type>select</frontend_type>
|
1431 |
+
<source_model>axzoom/yesno</source_model>
|
1432 |
+
<sort_order>60</sort_order>
|
1433 |
+
<show_in_default>1</show_in_default>
|
1434 |
+
<show_in_website>1</show_in_website>
|
1435 |
+
<show_in_store>1</show_in_store>
|
1436 |
+
</cropSliderThumbDescr>
|
1437 |
+
</fields>
|
1438 |
+
</producttour>
|
1439 |
+
|
1440 |
<magento translate="label">
|
1441 |
<label>Magento specific settings</label>
|
1442 |
<frontend_type>text</frontend_type>
|
app/code/local/Ax/Zoom/sql/axzoom_setup/install-0.0.1.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Module: jQuery AJAX-ZOOM for Magento, install-0.0.1.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
@@ -19,10 +19,10 @@
|
|
19 |
$installer = $this;
|
20 |
$installer->startSetup();
|
21 |
$installer->run("
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
|
27 |
$installer->endSetup();
|
28 |
|
@@ -33,9 +33,9 @@ foreach (array('360', 'cache', 'zoomgallery', 'zoommap', 'zoomthumb', 'zoomtiles
|
|
33 |
|
34 |
// download axZm if not exists
|
35 |
if (!file_exists(Mage::getBaseDir() . '/js/axzoom/axZm') && ini_get('allow_url_fopen') ) {
|
36 |
-
$remoteFileContents = file_get_contents('http://www.ajax-zoom.com/download.php?ver=latest');
|
37 |
$localFilePath = Mage::getBaseDir() . '/js/axzoom/pic/tmp/jquery.ajaxZoom_ver_latest.zip';
|
38 |
-
|
39 |
if ($remoteFileContents !== false){
|
40 |
file_put_contents($localFilePath, $remoteFileContents);
|
41 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Module: jQuery AJAX-ZOOM for Magento, /app/code/local/Ax/Zoom/sql/axzoom_setup/install-0.0.1.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
19 |
$installer = $this;
|
20 |
$installer->startSetup();
|
21 |
$installer->run("
|
22 |
+
CREATE TABLE IF NOT EXISTS `ajaxzoom360` (`id_360` int(11) NOT NULL AUTO_INCREMENT, `id_product` int(11) NOT NULL, `name` varchar(255) NOT NULL, `num` int(11) NOT NULL DEFAULT '1', `settings` text NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '0', `combinations` text NOT NULL, `crop` text NOT NULL, PRIMARY KEY (`id_360`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
|
23 |
+
CREATE TABLE IF NOT EXISTS `ajaxzoom360set` (`id_360set` int(11) NOT NULL AUTO_INCREMENT, `id_360` int(11) NOT NULL, `sort_order` int(11) NOT NULL, PRIMARY KEY (`id_360set`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|
24 |
+
CREATE TABLE IF NOT EXISTS `ajaxzoomproducts` (`id_product` int(11) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
25 |
+
");
|
26 |
|
27 |
$installer->endSetup();
|
28 |
|
33 |
|
34 |
// download axZm if not exists
|
35 |
if (!file_exists(Mage::getBaseDir() . '/js/axzoom/axZm') && ini_get('allow_url_fopen') ) {
|
36 |
+
$remoteFileContents = file_get_contents('http://www.ajax-zoom.com/download.php?ver=latest&module=magento');
|
37 |
$localFilePath = Mage::getBaseDir() . '/js/axzoom/pic/tmp/jquery.ajaxZoom_ver_latest.zip';
|
38 |
+
|
39 |
if ($remoteFileContents !== false){
|
40 |
file_put_contents($localFilePath, $remoteFileContents);
|
41 |
|
app/design/adminhtml/default/default/layout/axzoom.xml
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
<!--
|
3 |
/**
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/layout/axzoom.xml
|
5 |
-
* Copyright: Copyright (c) 2010-
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
-
* Version: 1.
|
8 |
-
* Date:
|
9 |
-
* Review:
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
13 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
14 |
-
* @copyright 2010-
|
15 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
16 |
*/
|
17 |
-->
|
@@ -29,7 +29,8 @@
|
|
29 |
</action>
|
30 |
<action method="addJs"><script>axzoom/axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.pack.js</script></action>
|
31 |
<action method="addJs"><script>axzoom/axZm/extensions/jquery.axZm.openAjaxZoomInFancyBox.js</script></action>
|
32 |
-
|
|
|
33 |
<!-- Fileupload for 360 images -->
|
34 |
<action method="addJs"><script>axzoom/jquery.ui.widget.min.js</script></action>
|
35 |
<action method="addJs"><script>axzoom/jquery.fileupload.js</script></action>
|
2 |
<!--
|
3 |
/**
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/layout/axzoom.xml
|
5 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
+
* Version: 1.2.0
|
8 |
+
* Date: 2016-05-07
|
9 |
+
* Review: 2016-05-07
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
13 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
14 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
15 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
16 |
*/
|
17 |
-->
|
29 |
</action>
|
30 |
<action method="addJs"><script>axzoom/axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.pack.js</script></action>
|
31 |
<action method="addJs"><script>axzoom/axZm/extensions/jquery.axZm.openAjaxZoomInFancyBox.js</script></action>
|
32 |
+
<action method="addJs"><script>axzoom/axZm/plugins/jquery.scrollTo.min.js</script></action>
|
33 |
+
|
34 |
<!-- Fileupload for 360 images -->
|
35 |
<action method="addJs"><script>axzoom/jquery.ui.widget.min.js</script></action>
|
36 |
<action method="addJs"><script>axzoom/jquery.fileupload.js</script></action>
|
app/design/adminhtml/default/default/template/axzoom/tab.phtml
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date: 2016-
|
8 |
-
* Review: 2016-
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
-->
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
-->
|
app/design/adminhtml/default/default/template/axzoom/tab360-sets.phtml
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360-sets.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date: 2016-
|
8 |
-
* Review: 2016-
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
@@ -52,6 +52,11 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
52 |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAA8klEQVQoU43MoUsEYRAF8Mclg4hsMB0iF8QgIqZDLi5m8yEGEf8CwyFWg4gYRIxy0b/gohhNJrkkKmK6tLret9/OzPsMG2TXvcM3ZYb3Y4D/Z9y0Z5Ni9PBvvcChXha7dfS+Wkf2GIKdFRc3K+Bz1h4YGGR3AmBXB1ns24Br+U46p6t6VwHSB5IZvWUIgV+yl7ZqgJ4wybfdop7T/FoJhK70ARvqKQC8NuxNj2s+2JNeAMCoYR/aqwF6RCf7fkNvaNlyCUjMF14n83pFYaAxSPkD4GPZcetAGo1Xvpt8p+VbmJy8Tc9RtjSFyIENXDQF/OYHw2GYt0Xo/PcAAAAASUVORK5CYII=);
|
53 |
background-repeat: no-repeat;
|
54 |
}
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
#file360-add-button span{
|
57 |
padding-left: 20px;
|
@@ -176,7 +181,7 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
176 |
<th><?php echo $this->__('Cover Image'); ?></th>
|
177 |
<th><?php echo $this->__('Name'); ?></th>
|
178 |
<th><?php echo $this->__('Active'); ?></th>
|
179 |
-
<th class="last" style="width:
|
180 |
</tr>
|
181 |
</thead>
|
182 |
<tbody id="imageTableSetsRows">
|
@@ -201,6 +206,7 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
201 |
<button class="delete_set scalable delete"><span><?php echo $this->__('Delete'); ?></span></button>
|
202 |
<button class="images_set scalable"><span><?php echo $this->__('Images'); ?></span></button>
|
203 |
<button class="scalable preview_set hide_class"><span><?php echo $this->__('Preview'); ?></span></button>
|
|
|
204 |
</td>
|
205 |
</tr>
|
206 |
</table>
|
@@ -322,6 +328,12 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
322 |
imageLine360(data.images[i]['id'], data.images[i]['thumb'], '', "", "", "");
|
323 |
};
|
324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
}
|
326 |
|
327 |
|
@@ -370,6 +382,17 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
370 |
|
371 |
$.openAjaxZoomInFancyBox({href: '<?php echo Mage::getBaseUrl('js') ?>axzoom/preview/preview.php?3dDir=<?php echo Mage::getModel('axzoom/ax360')->rootFolder() ?>js/axzoom/pic/360/' + id_product + '/' + id360+'&group='+id360+'&id='+id360set, iframe: true});
|
372 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
|
374 |
$('.images_set').die().live('click', function(e) {
|
375 |
e.preventDefault();
|
@@ -385,7 +408,7 @@ $conf = Mage::getStoreConfig('axzoom_options');
|
|
385 |
"id_product" : <?php echo $productId ?>,
|
386 |
"id_360set" : id}, afterGetImages
|
387 |
);
|
388 |
-
|
389 |
$('#id_360set').val(id);
|
390 |
$('#product-images360').show();
|
391 |
});
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360-sets.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
52 |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAA8klEQVQoU43MoUsEYRAF8Mclg4hsMB0iF8QgIqZDLi5m8yEGEf8CwyFWg4gYRIxy0b/gohhNJrkkKmK6tLret9/OzPsMG2TXvcM3ZYb3Y4D/Z9y0Z5Ni9PBvvcChXha7dfS+Wkf2GIKdFRc3K+Bz1h4YGGR3AmBXB1ns24Br+U46p6t6VwHSB5IZvWUIgV+yl7ZqgJ4wybfdop7T/FoJhK70ARvqKQC8NuxNj2s+2JNeAMCoYR/aqwF6RCf7fkNvaNlyCUjMF14n83pFYaAxSPkD4GPZcetAGo1Xvpt8p+VbmJy8Tc9RtjSFyIENXDQF/OYHw2GYt0Xo/PcAAAAASUVORK5CYII=);
|
53 |
background-repeat: no-repeat;
|
54 |
}
|
55 |
+
#imageTableSetsRows .crop_set>span {
|
56 |
+
padding-left: 20px;
|
57 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABX0lEQVQYGXXBPyiEcRgH8O/wJunSdRkvGSSZDDJckmSQZDCYrhskg0xGm3RJBoMMMkoGww2XJBkMMhh06XqTZJDOFV3e+/e+v+d5fo97ryuu+HzwmxnmIzOFdkWnHEeDF6WUPKragpkvOvjB11b5lLN8SatmQQpmkZYoy+laXzniT5YjkJKq/arNoOGtg47R5I/QgXyqSh5mVIr+OB9wxk9UBziNFi9uVdUSAHbRUOvlPb6nja8uk/QTtCJPfCEuJQGwixazxhl5VbXKx9Ue3g8mEGIXTZU+W+c0bVm1pXoc4Nx7B0LsAl6E1ilL23REh3xVjgG1QckgxLtW+ITOg2k00R7ngkmvm3doCSG5UBXXi6KFbypDtCEFVZNCqBoL5mhZHoIxNHgxzgP1Xnmz1WACP/wBvqXND8ckedfM8mW9P+eg3YdDm/JsRV5ov9SJv8mdqpVSDP8xY3xGK2jzDTL14vqSI1apAAAAAElFTkSuQmCC);
|
58 |
+
background-repeat: no-repeat;
|
59 |
+
}
|
60 |
|
61 |
#file360-add-button span{
|
62 |
padding-left: 20px;
|
181 |
<th><?php echo $this->__('Cover Image'); ?></th>
|
182 |
<th><?php echo $this->__('Name'); ?></th>
|
183 |
<th><?php echo $this->__('Active'); ?></th>
|
184 |
+
<th class="last" style="width:400px;"><?php echo $this->__('Actions'); ?></th>
|
185 |
</tr>
|
186 |
</thead>
|
187 |
<tbody id="imageTableSetsRows">
|
206 |
<button class="delete_set scalable delete"><span><?php echo $this->__('Delete'); ?></span></button>
|
207 |
<button class="images_set scalable"><span><?php echo $this->__('Images'); ?></span></button>
|
208 |
<button class="scalable preview_set hide_class"><span><?php echo $this->__('Preview'); ?></span></button>
|
209 |
+
<button class="crop_set scalable"><span><?php echo $this->__('360° Product Tour'); ?></span></button>
|
210 |
</td>
|
211 |
</tr>
|
212 |
</table>
|
328 |
imageLine360(data.images[i]['id'], data.images[i]['thumb'], '', "", "", "");
|
329 |
};
|
330 |
|
331 |
+
var pppPos = $('#product-images360').offset();
|
332 |
+
|
333 |
+
if ($.scrollTo && pppPos && pppPos.top){
|
334 |
+
$.scrollTo(pppPos.top - 50);
|
335 |
+
}
|
336 |
+
|
337 |
}
|
338 |
|
339 |
|
382 |
|
383 |
$.openAjaxZoomInFancyBox({href: '<?php echo Mage::getBaseUrl('js') ?>axzoom/preview/preview.php?3dDir=<?php echo Mage::getModel('axzoom/ax360')->rootFolder() ?>js/axzoom/pic/360/' + id_product + '/' + id360+'&group='+id360+'&id='+id360set, iframe: true});
|
384 |
});
|
385 |
+
|
386 |
+
|
387 |
+
$('.crop_set').die().live('click', function(e) {
|
388 |
+
e.preventDefault();
|
389 |
+
|
390 |
+
var id360 = $(this).parent().parent().data('group');
|
391 |
+
var id360set = $(this).parent().parent().attr('id');
|
392 |
+
|
393 |
+
$.openAjaxZoomInFancyBox({href: '<?php echo Mage::getBaseUrl('js') ?>axzoom/preview/cropeditor.php?&3dDir=<?php echo Mage::getModel('axzoom/ax360')->rootFolder() ?>js/axzoom/pic/360/' + id_product + '/' + id360+'&group='+id360+'&id='+id360set+'&url_get=<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/axzoom/getCropJson") ?>&url_set=<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/axzoom/setCropJson") ?>&form_key=<?php echo $this->getFormKey();?>', iframe: true, scrolling: 1});
|
394 |
+
|
395 |
+
});
|
396 |
|
397 |
$('.images_set').die().live('click', function(e) {
|
398 |
e.preventDefault();
|
408 |
"id_product" : <?php echo $productId ?>,
|
409 |
"id_360set" : id}, afterGetImages
|
410 |
);
|
411 |
+
|
412 |
$('#id_360set').val(id);
|
413 |
$('#product-images360').show();
|
414 |
});
|
app/design/adminhtml/default/default/template/axzoom/tab360-settings.phtml
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<!--
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360-settings.phtml
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
-->
|
1 |
<!--
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360-settings.phtml
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
-->
|
app/design/adminhtml/default/default/template/axzoom/tab360.phtml
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date: 2016-
|
8 |
-
* Review: 2016-
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/tab360.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
app/design/adminhtml/default/default/template/axzoom/uploader.phtml
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/uploader.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date: 2016-
|
8 |
-
* Review: 2016-
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/adminhtml/default/default/template/axzoom/uploader.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
app/design/frontend/base/default/layout/axzoom.xml
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
<!--
|
3 |
/**
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/frontend/base/default/layout/axzoom.xml
|
5 |
-
* Copyright: Copyright (c) 2010-
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
-
* Version: 1.0
|
8 |
-
* Date:
|
9 |
-
* Review:
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
13 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
14 |
-
* @copyright 2010-
|
15 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
16 |
*/
|
17 |
-->
|
@@ -50,6 +50,16 @@
|
|
50 |
<action ifconfig="axzoom_options/mouseOverZoomParam/spinner" method="addJs">
|
51 |
<script>axzoom/axZm/plugins/spin/spin.min.js</script>
|
52 |
</action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
<action method="addItem">
|
54 |
<type>js_css</type>
|
55 |
<name>axzoom/axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.css</name>
|
2 |
<!--
|
3 |
/**
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/frontend/base/default/layout/axzoom.xml
|
5 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
+
* Version: 1.2.0
|
8 |
+
* Date: 2016-05-07
|
9 |
+
* Review: 2016-05-07
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
13 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
14 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
15 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
16 |
*/
|
17 |
-->
|
50 |
<action ifconfig="axzoom_options/mouseOverZoomParam/spinner" method="addJs">
|
51 |
<script>axzoom/axZm/plugins/spin/spin.min.js</script>
|
52 |
</action>
|
53 |
+
<action method="addItem">
|
54 |
+
<type>js_css</type>
|
55 |
+
<name>axzoom/axZm/extensions/jquery.axZm.expButton.css</name>
|
56 |
+
</action>
|
57 |
+
<action method="addJs">
|
58 |
+
<script>axzoom/axZm/extensions/jquery.axZm.expButton.js</script>
|
59 |
+
</action>
|
60 |
+
<action method="addJs">
|
61 |
+
<script>axzoom/axZm/extensions/jquery.axZm.imageCropLoad.js</script>
|
62 |
+
</action>
|
63 |
<action method="addItem">
|
64 |
<type>js_css</type>
|
65 |
<name>axzoom/axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.css</name>
|
app/design/frontend/base/default/template/ax_zoom/catalog/product/view/media.phtml
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/frontend/base/default/template/ax_zoom/catalog/product/view/media.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.0
|
7 |
-
* Date: 2016-
|
8 |
-
* Review: 2016-
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
@@ -145,7 +145,7 @@ if ($product->isConfigurable()) {
|
|
145 |
|
146 |
$pairs = array();
|
147 |
$labels = array();
|
148 |
-
|
149 |
foreach ($attributesCodes as $code) { // $code is e.g. color or size
|
150 |
$pairs[] = $mapAttributesCodeId[$code] . ':' . $data[$code]; // generate pairs of attribures
|
151 |
$attr = $product->getResource()->getAttribute($code);
|
@@ -157,7 +157,7 @@ if ($product->isConfigurable()) {
|
|
157 |
// This would return language specific values
|
158 |
$option_label = $attr->getSource()->getOptionText($data[$code]);
|
159 |
}
|
160 |
-
|
161 |
array_push($labels, trim($option_label));
|
162 |
}
|
163 |
|
@@ -201,7 +201,7 @@ if ($product->isConfigurable()) {
|
|
201 |
} else {
|
202 |
$res[$idx]['images'] = new stdClass();
|
203 |
}
|
204 |
-
|
205 |
$extraGroups = empty($map[$data['entity_id']]) ? array() : $map[$data['entity_id']];
|
206 |
$res[$idx]['images360'] = Mage::helper('core')->jsonDecode(str_replace("'", '"', $ax->images360Json($data['entity_id'], $extraGroups)));
|
207 |
}
|
@@ -223,7 +223,7 @@ if (count($this->getGalleryImages()) > 0) {
|
|
223 |
foreach ($this->getGalleryImages() as $image) {
|
224 |
|
225 |
$check_image = false;
|
226 |
-
|
227 |
if (method_exists($this, 'isGalleryImageVisible')) {
|
228 |
$check_image = $this->isGalleryImageVisible($image);
|
229 |
} else {
|
@@ -254,8 +254,15 @@ echo $this->getChildHtml('after');
|
|
254 |
|
255 |
<!-- AJAX-ZOOM js block -->
|
256 |
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
;(function($){
|
258 |
-
|
259 |
// Load plugin settings
|
260 |
<?php
|
261 |
$exclParArray = array('LICENSE_LIC');
|
@@ -264,17 +271,17 @@ echo $this->getChildHtml('after');
|
|
264 |
$groupKey = strtoupper($group . '_' . $key);
|
265 |
if (!in_array($groupKey, $exclParArray)){
|
266 |
if ($value == 'false' || $value == 'true' || $value == 'null' || is_numeric($value) || substr(trim($value), 0, 1) == '{' || substr(trim($value), 0, 1) == '['){
|
267 |
-
echo ' var AJAXZOOM_' . $groupKey . ' = ' . $value . '; ' . "\n";
|
268 |
} else {
|
269 |
-
echo ' var AJAXZOOM_' . $groupKey . ' = "' . str_replace('"', '"', $value) . '"; ' . "\n";
|
270 |
}
|
271 |
}
|
272 |
}
|
273 |
}
|
274 |
?>
|
275 |
-
|
276 |
var AXZMPATH = '<?php echo $axZmPath; ?>';
|
277 |
-
|
278 |
// Colors / attributes
|
279 |
var axAssociated = jQuery.parseJSON('<?php echo Mage::helper('core')->jsonEncode($res); ?>');
|
280 |
|
@@ -284,18 +291,18 @@ echo $this->getChildHtml('after');
|
|
284 |
<?php } else { ?>
|
285 |
var IMAGES_JSON = {<?php echo implode(',', $imagesJson);?>};
|
286 |
<?php } ?>
|
287 |
-
|
288 |
// All images
|
289 |
var IMAGES_ALL_JSON = <?php echo $ax->imagesJsonAll($imagesJsonAll);?>;
|
290 |
|
291 |
// Default 360
|
292 |
var IMAGES_360_JSON = <?php echo $images360Json; ?>;
|
293 |
-
|
294 |
// Need that later for not reloading if images are the same
|
295 |
var IMAGES_AND_360_LOADED = JSON.stringify({
|
296 |
images: jQuery.extend(true, {}, IMAGES_JSON),
|
297 |
images360: jQuery.extend(true, {}, IMAGES_360_JSON)
|
298 |
-
});
|
299 |
|
300 |
// AJAX-ZOOM mouseover and other parameters
|
301 |
var zoomParams = {
|
@@ -314,6 +321,12 @@ echo $this->getChildHtml('after');
|
|
314 |
qualityThumb: AJAXZOOM_MAIN_QUALITYTHUMB,
|
315 |
quality: AJAXZOOM_MAIN_QUALITY,
|
316 |
qualityZoom: AJAXZOOM_MAIN_QUALITYZOOM,
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
images: IMAGES_JSON,
|
318 |
firstImageToLoad: AJAXZOOM_MAIN_FIRSTIMAGETOLOAD,
|
319 |
images360: IMAGES_360_JSON,
|
@@ -429,7 +442,7 @@ echo $this->getChildHtml('after');
|
|
429 |
spinnerParam: AJAXZOOM_MOUSEOVERZOOMPARAM_SPINNERPARAM
|
430 |
}
|
431 |
};
|
432 |
-
|
433 |
// Swatches
|
434 |
var resetAxZoom = function() {
|
435 |
if (JSON.stringify({images: IMAGES_JSON, images360: IMAGES_360_JSON}) == IMAGES_AND_360_LOADED) {
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /app/design/frontend/base/default/template/ax_zoom/catalog/product/view/media.phtml
|
4 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
145 |
|
146 |
$pairs = array();
|
147 |
$labels = array();
|
148 |
+
|
149 |
foreach ($attributesCodes as $code) { // $code is e.g. color or size
|
150 |
$pairs[] = $mapAttributesCodeId[$code] . ':' . $data[$code]; // generate pairs of attribures
|
151 |
$attr = $product->getResource()->getAttribute($code);
|
157 |
// This would return language specific values
|
158 |
$option_label = $attr->getSource()->getOptionText($data[$code]);
|
159 |
}
|
160 |
+
|
161 |
array_push($labels, trim($option_label));
|
162 |
}
|
163 |
|
201 |
} else {
|
202 |
$res[$idx]['images'] = new stdClass();
|
203 |
}
|
204 |
+
|
205 |
$extraGroups = empty($map[$data['entity_id']]) ? array() : $map[$data['entity_id']];
|
206 |
$res[$idx]['images360'] = Mage::helper('core')->jsonDecode(str_replace("'", '"', $ax->images360Json($data['entity_id'], $extraGroups)));
|
207 |
}
|
223 |
foreach ($this->getGalleryImages() as $image) {
|
224 |
|
225 |
$check_image = false;
|
226 |
+
|
227 |
if (method_exists($this, 'isGalleryImageVisible')) {
|
228 |
$check_image = $this->isGalleryImageVisible($image);
|
229 |
} else {
|
254 |
|
255 |
<!-- AJAX-ZOOM js block -->
|
256 |
<script type="text/javascript">
|
257 |
+
/*!
|
258 |
+
* Module: jQuery AJAX-ZOOM for Magento
|
259 |
+
* Info: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
260 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
261 |
+
* @license http://www.ajax-zoom.com/index.php?cid=download
|
262 |
+
*/
|
263 |
+
|
264 |
;(function($){
|
265 |
+
|
266 |
// Load plugin settings
|
267 |
<?php
|
268 |
$exclParArray = array('LICENSE_LIC');
|
271 |
$groupKey = strtoupper($group . '_' . $key);
|
272 |
if (!in_array($groupKey, $exclParArray)){
|
273 |
if ($value == 'false' || $value == 'true' || $value == 'null' || is_numeric($value) || substr(trim($value), 0, 1) == '{' || substr(trim($value), 0, 1) == '['){
|
274 |
+
echo ' var AJAXZOOM_' . $groupKey . ' = ' . $value . '; ';// . "\n";
|
275 |
} else {
|
276 |
+
echo ' var AJAXZOOM_' . $groupKey . ' = "' . str_replace('"', '"', $value) . '"; ';// . "\n";
|
277 |
}
|
278 |
}
|
279 |
}
|
280 |
}
|
281 |
?>
|
282 |
+
|
283 |
var AXZMPATH = '<?php echo $axZmPath; ?>';
|
284 |
+
|
285 |
// Colors / attributes
|
286 |
var axAssociated = jQuery.parseJSON('<?php echo Mage::helper('core')->jsonEncode($res); ?>');
|
287 |
|
291 |
<?php } else { ?>
|
292 |
var IMAGES_JSON = {<?php echo implode(',', $imagesJson);?>};
|
293 |
<?php } ?>
|
294 |
+
|
295 |
// All images
|
296 |
var IMAGES_ALL_JSON = <?php echo $ax->imagesJsonAll($imagesJsonAll);?>;
|
297 |
|
298 |
// Default 360
|
299 |
var IMAGES_360_JSON = <?php echo $images360Json; ?>;
|
300 |
+
|
301 |
// Need that later for not reloading if images are the same
|
302 |
var IMAGES_AND_360_LOADED = JSON.stringify({
|
303 |
images: jQuery.extend(true, {}, IMAGES_JSON),
|
304 |
images360: jQuery.extend(true, {}, IMAGES_360_JSON)
|
305 |
+
});
|
306 |
|
307 |
// AJAX-ZOOM mouseover and other parameters
|
308 |
var zoomParams = {
|
321 |
qualityThumb: AJAXZOOM_MAIN_QUALITYTHUMB,
|
322 |
quality: AJAXZOOM_MAIN_QUALITY,
|
323 |
qualityZoom: AJAXZOOM_MAIN_QUALITYZOOM,
|
324 |
+
cropAxZmThumbSliderParam: AJAXZOOM_PRODUCTTOUR_CROPAXZMTHUMBSLIDERPARAM,
|
325 |
+
cropSliderPosition: AJAXZOOM_PRODUCTTOUR_CROPSLIDERPOSITION,
|
326 |
+
cropSliderDimension: AJAXZOOM_PRODUCTTOUR_CROPSLIDERDIMENSION,
|
327 |
+
cropSliderThumbAutoSize: AJAXZOOM_PRODUCTTOUR_CROPSLIDERTHUMBAUTOSIZE,
|
328 |
+
cropSliderThumbAutoMargin: AJAXZOOM_PRODUCTTOUR_CROPSLIDERTHUMBAUTOMARGIN,
|
329 |
+
cropSliderThumbDescr: AJAXZOOM_PRODUCTTOUR_CROPSLIDERTHUMBDESCR,
|
330 |
images: IMAGES_JSON,
|
331 |
firstImageToLoad: AJAXZOOM_MAIN_FIRSTIMAGETOLOAD,
|
332 |
images360: IMAGES_360_JSON,
|
442 |
spinnerParam: AJAXZOOM_MOUSEOVERZOOMPARAM_SPINNERPARAM
|
443 |
}
|
444 |
};
|
445 |
+
|
446 |
// Swatches
|
447 |
var resetAxZoom = function() {
|
448 |
if (JSON.stringify({images: IMAGES_JSON, images360: IMAGES_360_JSON}) == IMAGES_AND_360_LOADED) {
|
app/etc/modules/Ax_Zoom.xml
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/etc/modules/Ax_Zoom.xml
|
5 |
* Copyright: Copyright (c) 2010-2015 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
-
* Version: 1.0
|
8 |
-
* Date:
|
9 |
-
* Review:
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
4 |
* Module: jQuery AJAX-ZOOM for Magento, /app/etc/modules/Ax_Zoom.xml
|
5 |
* Copyright: Copyright (c) 2010-2015 Vadim Jacobi
|
6 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
7 |
+
* Version: 1.2.0
|
8 |
+
* Date: 2016-05-07
|
9 |
+
* Review: 2016-05-07
|
10 |
* URL: http://www.ajax-zoom.com
|
11 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
12 |
*
|
js/axzoom/check_fallback.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
/**
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/check_fallback.js
|
3 |
-
* Copyright: Copyright (c) 2010-
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
-
* Version: 1.0
|
6 |
-
* Date:
|
7 |
-
* Review:
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
11 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
12 |
-
* @copyright 2010-
|
13 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
14 |
*/
|
15 |
|
@@ -21,8 +21,9 @@ if (!jQuery.isFunction(jQuery.mouseOverZoomInit)){
|
|
21 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/skins/default/jquery.axZm.thumbSlider.css' %3E"));
|
22 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.css' %3E"));
|
23 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/mods/jquery.axZm.mouseOverZoomMagento.4.css' %3E"));
|
|
|
24 |
|
25 |
-
|
26 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.css' %3E"));
|
27 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.pack.js'%3E%3C/script%3E"));
|
28 |
}
|
@@ -31,8 +32,13 @@ if (!jQuery.isFunction(jQuery.mouseOverZoomInit)){
|
|
31 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/lib/jquery.mousewheel.min.js'%3E%3C/script%3E"));
|
32 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/lib/jquery.axZm.thumbSlider.js'%3E%3C/script%3E"));
|
33 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/spin/spin.min.js'%3E%3C/script%3E"));
|
|
|
|
|
|
|
|
|
34 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.js'%3E%3C/script%3E"));
|
35 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoomInit.4.js'%3E%3C/script%3E"));
|
|
|
36 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/jquery.axZm.openAjaxZoomInFancyBox.js'%3E%3C/script%3E"));
|
37 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/JSON/jquery.json-2.3.min.js'%3E%3C/script%3E"));
|
38 |
}
|
1 |
/**
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/check_fallback.js
|
3 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
+
* Version: 1.2.0
|
6 |
+
* Date: 2016-05-07
|
7 |
+
* Review: 2016-05-07
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
11 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
12 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
13 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
14 |
*/
|
15 |
|
21 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/skins/default/jquery.axZm.thumbSlider.css' %3E"));
|
22 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.css' %3E"));
|
23 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/mods/jquery.axZm.mouseOverZoomMagento.4.css' %3E"));
|
24 |
+
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/extensions/jquery.axZm.expButton.css' %3E"));
|
25 |
|
26 |
+
if (!jQuery.isFunction(jQuery.fancybox)){
|
27 |
document.writeln(unescape("%3Clink rel='stylesheet' type='text/css' href='"+mageAzJsUrl+"axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.css' %3E"));
|
28 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/demo/jquery.fancybox/jquery.fancybox-1.3.4.pack.js'%3E%3C/script%3E"));
|
29 |
}
|
32 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/lib/jquery.mousewheel.min.js'%3E%3C/script%3E"));
|
33 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmThumbSlider/lib/jquery.axZm.thumbSlider.js'%3E%3C/script%3E"));
|
34 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/spin/spin.min.js'%3E%3C/script%3E"));
|
35 |
+
|
36 |
+
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/jquery.axZm.expButton.js'%3E%3C/script%3E"));
|
37 |
+
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/jquery.axZm.imageCropLoad.js'%3E%3C/script%3E"));
|
38 |
+
|
39 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoom.4.js'%3E%3C/script%3E"));
|
40 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/axZmMouseOverZoom/jquery.axZm.mouseOverZoomInit.4.js'%3E%3C/script%3E"));
|
41 |
+
|
42 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/extensions/jquery.axZm.openAjaxZoomInFancyBox.js'%3E%3C/script%3E"));
|
43 |
document.writeln(unescape("%3Cscript type='text/javascript' src='"+mageAzJsUrl+"axZm/plugins/JSON/jquery.json-2.3.min.js'%3E%3C/script%3E"));
|
44 |
}
|
js/axzoom/check_jquery.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
/**
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/check_jquery.js
|
3 |
-
* Copyright: Copyright (c) 2010-
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
-
* Version: 1.
|
6 |
-
* Date:
|
7 |
-
* Review:
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
11 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
12 |
-
* @copyright 2010-
|
13 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
14 |
*/
|
15 |
|
1 |
/**
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/check_jquery.js
|
3 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
+
* Version: 1.2.0
|
6 |
+
* Date: 2016-05-07
|
7 |
+
* Review: 2016-05-07
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
11 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
12 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
13 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
14 |
*/
|
15 |
|
js/axzoom/check_jquery_admin.js
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/check_jquery_admin.php
|
3 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
-
* Version: 1.
|
6 |
-
* Date: 2016-
|
7 |
-
* Review:
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
2 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/check_jquery_admin.php
|
3 |
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
4 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
5 |
+
* Version: 1.2.0
|
6 |
+
* Date: 2016-05-07
|
7 |
+
* Review: 2016-05-07
|
8 |
* URL: http://www.ajax-zoom.com
|
9 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
10 |
*
|
js/axzoom/lic.php
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/lic.php
|
4 |
-
* Copyright: Copyright (c) 2010-
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
-
* Version: 1.
|
7 |
-
* Date:
|
8 |
-
* Review:
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
-
* @copyright 2010-
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
17 |
$obj = SimpleXML_Load_String(implode('', file(dirname(dirname(dirname(__FILE__))).'/app/etc/local.xml')));
|
|
|
18 |
$mysqli = mysqli_connect(preg_replace('/:[0-9]{1,}$/', '', (string)$obj->global->resources->default_setup->connection->host), (string)$obj->global->resources->default_setup->connection->username, (string)$obj->global->resources->default_setup->connection->password, (string)$obj->global->resources->default_setup->connection->dbname);
|
19 |
|
20 |
$data_query = mysqli_query($mysqli, "SELECT `value` FROM `" . (string)$obj->global->resources->db->table_prefix . "core_config_data` WHERE `path` = 'axzoom_options/license/lic'");
|
1 |
<?php
|
2 |
/**
|
3 |
* Module: jQuery AJAX-ZOOM for Magento, /js/axzoom/lic.php
|
4 |
+
* Copyright: Copyright (c) 2010-2016 Vadim Jacobi
|
5 |
* License Agreement: http://www.ajax-zoom.com/index.php?cid=download
|
6 |
+
* Version: 1.2.0
|
7 |
+
* Date: 2016-05-07
|
8 |
+
* Review: 2016-05-07
|
9 |
* URL: http://www.ajax-zoom.com
|
10 |
* Documentation: http://www.ajax-zoom.com/index.php?cid=modules&module=magento
|
11 |
*
|
12 |
* @author AJAX-ZOOM <support@ajax-zoom.com>
|
13 |
+
* @copyright 2010-2016 AJAX-ZOOM, Vadim Jacobi
|
14 |
* @license http://www.ajax-zoom.com/index.php?cid=download
|
15 |
*/
|
16 |
|
17 |
$obj = SimpleXML_Load_String(implode('', file(dirname(dirname(dirname(__FILE__))).'/app/etc/local.xml')));
|
18 |
+
error_reporting(0);
|
19 |
$mysqli = mysqli_connect(preg_replace('/:[0-9]{1,}$/', '', (string)$obj->global->resources->default_setup->connection->host), (string)$obj->global->resources->default_setup->connection->username, (string)$obj->global->resources->default_setup->connection->password, (string)$obj->global->resources->default_setup->connection->dbname);
|
20 |
|
21 |
$data_query = mysqli_query($mysqli, "SELECT `value` FROM `" . (string)$obj->global->resources->db->table_prefix . "core_config_data` WHERE `path` = 'axzoom_options/license/lic'");
|
js/axzoom/preview/cropeditor.php
ADDED
@@ -0,0 +1,1324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|