Version Notes
Stable
Version 1.0.9
Fixed: Admin was using previous version of jQuery code.
Fixed: jQuery conflict on front-end
Moved skin files to base/default
Version 1.0.8
Uses jQuery Update Extension
Version 1.0.7
Moved jQuery file
Version 1.0.6
Fixed problems with using extension with 3rd-party templates
Version 1.0.5
Fixed Bug: File mis-named
Version 1.0.4
Changed codePool to community
Version 1.0.3
Fixed jQuery bug in Admin
Version 1.0.2
Added ability to change swatch sizes within admin.
Version Number 1.0.1
Updated Image Zoom Options
Fixed jQuery noConflict bug in admin
Version number: 1.0.0
Stability: Stable
Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7
Download this release
Release Info
Developer | Les Green |
Extension | Grasshopperpebbles_Configurablecolors |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- app/design/frontend/base/default/template/configurablecolors/settings.phtml +2 -2
- package.xml +11 -6
- skin/adminhtml/default/default/grasshopperpebbles_configurablecolors/adminhtml.js +3 -5
- skin/frontend/{default → base}/default/css/grasshopperpebbles_configurablecolors/cloud-zoom.css +0 -0
- skin/frontend/{default → base}/default/css/grasshopperpebbles_configurablecolors/grasshopperpebbles_configurablecolors.css +0 -0
- skin/frontend/{default → base}/default/js/gpconfigurablecolors/cloud-zoom.1.0.2.min.js +0 -0
- skin/frontend/{default → base}/default/js/gpconfigurablecolors/jquery.gpConfigurableColors.min.js +0 -0
app/design/frontend/base/default/template/configurablecolors/settings.phtml
CHANGED
@@ -30,10 +30,10 @@ if ($_product->getTypeId() == "configurable") {
|
|
30 |
<script type="text/javascript">
|
31 |
jQuery.noConflict();
|
32 |
|
33 |
-
|
34 |
var c_map = '';
|
35 |
<?php if ($color_map) { ?>
|
36 |
-
c_map = <?php echo $color_map;
|
37 |
c_map = c_map.color_map;
|
38 |
<?php } ?>
|
39 |
$(document.body).gpConfigurableColors({
|
30 |
<script type="text/javascript">
|
31 |
jQuery.noConflict();
|
32 |
|
33 |
+
jQuery(document).ready(function($) {
|
34 |
var c_map = '';
|
35 |
<?php if ($color_map) { ?>
|
36 |
+
c_map = <?php echo $color_map; ?>;
|
37 |
c_map = c_map.color_map;
|
38 |
<?php } ?>
|
39 |
$(document.body).gpConfigurableColors({
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Grasshopperpebbles_Configurablecolors</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -14,7 +14,12 @@ The Configurable Colors extension also controls the display of the thumb and lar
|
|
14 |
The Configurable Colors extension also comes with an image zoom component. The size of the zoom image is also configurable. </description>
|
15 |
<notes>Stable
|
16 |

|
17 |
-
Version 1.0.
|
|
|
|
|
|
|
|
|
|
|
18 |
Uses jQuery Update Extension
|
19 |

|
20 |

|
@@ -45,9 +50,9 @@ Stability: Stable
|
|
45 |
Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7
|
46 |
</notes>
|
47 |
<authors><author><name>Les Green</name><user>lesgreen</user><email>lesgreen@grasshopperpebbles.com</email></author></authors>
|
48 |
-
<date>2014-
|
49 |
-
<time>15:
|
50 |
-
<contents><target name="magecommunity"><dir name="Grasshopperpebbles"><dir name="Configurablecolors"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Zoomposition.php" hash="2883febb17ca83736fa9456c935a10dc"/></dir></dir></dir></dir></dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Colormap.php" hash="324bb5b9f058af0a7b7ed4fcf7ff277d"/></dir></dir></dir></dir></dir><file name="Settings.php" hash="9634c1ae39ebc33c4e81f12d47e4ceab"/></dir><dir name="Catalog"><dir name="Block"><dir name="Product"><dir name="View"><file name="Media.php" hash="c8ecb33955ef6c2048885ba60f0c95e4"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8672fad39f74623d4e51decd7c4d0f61"/></dir><dir name="Model"><file name="BeforeObserver.php" hash="20616e98d839e8a4ab7b977a47cd6bb2"/></dir><dir name="controllers"><file name="ConfigurablecolorsController.php" hash="9cae9f31baab8c504657aa6886615971"/></dir><dir name="etc"><file name="config.xml" hash="12cd23bae40d54f215f97595fe53c3b6"/><file name="system.xml" hash="c61b121936adc5ad0d3f0fac9e438ed8"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="grasshopperpebbles_configurablecolors.xml" hash="aedbfb659247a1d5a22349fc81e0e557"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="grasshopperpebbles_configurablecolors.xml" hash="9c9b1e8a16c0e3a58e95adc6fd81664d"/></dir><dir name="template"><dir name="configurablecolors"><dir name="catalog"><dir name="product"><dir name="view"><file name="media.phtml" hash="913cf620398dc8c08bf8f04a4cfbeb61"/></dir></dir></dir><file name="settings.phtml" hash="
|
51 |
<compatible/>
|
52 |
-
<dependencies><required><php><min>5.2.0</min><max>5.5.7</max></php><package><name>Grasshopperpebbles_Jqueryupdate</name><channel>community</channel><min>1.0.0</min><max
|
53 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Grasshopperpebbles_Configurablecolors</name>
|
4 |
+
<version>1.0.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
14 |
The Configurable Colors extension also comes with an image zoom component. The size of the zoom image is also configurable. </description>
|
15 |
<notes>Stable
|
16 |

|
17 |
+
Version 1.0.9
|
18 |
+
Fixed: Admin was using previous version of jQuery code.
|
19 |
+
Fixed: jQuery conflict on front-end 
|
20 |
+
Moved skin files to base/default
|
21 |
+

|
22 |
+
Version 1.0.8
|
23 |
Uses jQuery Update Extension
|
24 |

|
25 |

|
50 |
Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7
|
51 |
</notes>
|
52 |
<authors><author><name>Les Green</name><user>lesgreen</user><email>lesgreen@grasshopperpebbles.com</email></author></authors>
|
53 |
+
<date>2014-08-01</date>
|
54 |
+
<time>13:15:03</time>
|
55 |
+
<contents><target name="magecommunity"><dir name="Grasshopperpebbles"><dir name="Configurablecolors"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Zoomposition.php" hash="2883febb17ca83736fa9456c935a10dc"/></dir></dir></dir></dir></dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Colormap.php" hash="324bb5b9f058af0a7b7ed4fcf7ff277d"/></dir></dir></dir></dir></dir><file name="Settings.php" hash="9634c1ae39ebc33c4e81f12d47e4ceab"/></dir><dir name="Catalog"><dir name="Block"><dir name="Product"><dir name="View"><file name="Media.php" hash="c8ecb33955ef6c2048885ba60f0c95e4"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8672fad39f74623d4e51decd7c4d0f61"/></dir><dir name="Model"><file name="BeforeObserver.php" hash="20616e98d839e8a4ab7b977a47cd6bb2"/></dir><dir name="controllers"><file name="ConfigurablecolorsController.php" hash="9cae9f31baab8c504657aa6886615971"/></dir><dir name="etc"><file name="config.xml" hash="12cd23bae40d54f215f97595fe53c3b6"/><file name="system.xml" hash="c61b121936adc5ad0d3f0fac9e438ed8"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="grasshopperpebbles_configurablecolors.xml" hash="aedbfb659247a1d5a22349fc81e0e557"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="grasshopperpebbles_configurablecolors.xml" hash="9c9b1e8a16c0e3a58e95adc6fd81664d"/></dir><dir name="template"><dir name="configurablecolors"><dir name="catalog"><dir name="product"><dir name="view"><file name="media.phtml" hash="913cf620398dc8c08bf8f04a4cfbeb61"/></dir></dir></dir><file name="settings.phtml" hash="24947723d27b1121ec441162d4bee94d"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Grasshopperpebbles_Configurablecolors.xml" hash="e76b2f951e1fdffe02974dd6d8bef064"/></dir></target><target name="magemedia"><dir name="grasshopperpebbles_configurablecolors"><file name="white.png" hash="515cb83c2ece7967ff8b82e43ccf080c"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="grasshopperpebbles_configurablecolors"><file name="adminhtml.css" hash="a17f9528ed9dffe4af3d4551672467ba"/><file name="adminhtml.js" hash="cd8a6104fa0859c293906221b1741dc2"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="grasshopperpebbles_configurablecolors"><file name="cloud-zoom.css" hash="c38ebaa2cece30139d7f120d719c079a"/><file name="grasshopperpebbles_configurablecolors.css" hash="a634c8b47b31c93f760ad69c3487a745"/></dir></dir><dir name="js"><dir name="gpconfigurablecolors"><file name="cloud-zoom.1.0.2.min.js" hash="e233d9a799550d0f58248d6eee669590"/><file name="jquery.gpConfigurableColors.min.js" hash="89ae6dab5cdbd75103a8529d04aad6ef"/></dir></dir></dir></dir></dir></target></contents>
|
56 |
<compatible/>
|
57 |
+
<dependencies><required><php><min>5.2.0</min><max>5.5.7</max></php><package><name>Grasshopperpebbles_Jqueryupdate</name><channel>community</channel><min>1.0.0</min><max></max></package></required></dependencies>
|
58 |
</package>
|
skin/adminhtml/default/default/grasshopperpebbles_configurablecolors/adminhtml.js
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
|
2 |
-
(function ($) {
|
3 |
-
$(document).ready(function() {
|
4 |
var v, tr, row;
|
5 |
$("#color_map").hide();
|
|
|
6 |
v = $.parseJSON($("#configurablecolors_color_options_color_map").val());
|
7 |
//v = {"color_map":[{"Color Name":"24","Color Type":"color_hex","Color Value":"#CCCCCC"}]};
|
8 |
if (v) {
|
@@ -75,5 +74,4 @@ $(document).ready(function() {
|
|
75 |
obj.color_map = ar;
|
76 |
$("#configurablecolors_color_options_color_map").val(JSON.stringify(obj));
|
77 |
}
|
78 |
-
});
|
79 |
-
}(jqCol17));
|
1 |
+
jQuery(document).ready(function($) {
|
|
|
|
|
2 |
var v, tr, row;
|
3 |
$("#color_map").hide();
|
4 |
+
//console.log($("#configurablecolors_color_options_color_map").val());
|
5 |
v = $.parseJSON($("#configurablecolors_color_options_color_map").val());
|
6 |
//v = {"color_map":[{"Color Name":"24","Color Type":"color_hex","Color Value":"#CCCCCC"}]};
|
7 |
if (v) {
|
74 |
obj.color_map = ar;
|
75 |
$("#configurablecolors_color_options_color_map").val(JSON.stringify(obj));
|
76 |
}
|
77 |
+
});
|
|
skin/frontend/{default → base}/default/css/grasshopperpebbles_configurablecolors/cloud-zoom.css
RENAMED
File without changes
|
skin/frontend/{default → base}/default/css/grasshopperpebbles_configurablecolors/grasshopperpebbles_configurablecolors.css
RENAMED
File without changes
|
skin/frontend/{default → base}/default/js/gpconfigurablecolors/cloud-zoom.1.0.2.min.js
RENAMED
File without changes
|
skin/frontend/{default → base}/default/js/gpconfigurablecolors/jquery.gpConfigurableColors.min.js
RENAMED
File without changes
|