Version Notes
minor bugfixes
Download this release
Release Info
Developer | Virtooal |
Extension | Virtooal_MagicMirror |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Virtooal/MagicMirror/controllers/Adminhtml/MagicmirrorController.php
CHANGED
@@ -56,38 +56,38 @@
|
|
56 |
<h1>'.$this->__('What is Magic Mirror?').'</h1>
|
57 |
<div style="clear: both;">
|
58 |
<div style="float: left; width: 680px;">
|
59 |
-
<p>The Magic Mirror add-ons from Virtooal allow your
|
60 |
customers to try products using their own photo. Your
|
61 |
conversions will grow and the number of complaints and
|
62 |
-
returns will be effectively reduced
|
63 |
<br />
|
64 |
<h2>'.$this->__('How it works').'</h2>
|
65 |
|
66 |
-
<p><strong>Setup:</strong></p>
|
67 |
<ol style="list-style-type: decimal; margin-left: 30px;">
|
68 |
-
<li>Go to Magic Mirror > Dashboard</li>
|
69 |
-
<li>Click on "Register & Subscribe" button</li>
|
70 |
-
<li>Choose the modules you want to use, choose payment type and fill in the registration form
|
71 |
-
<li>After subscribing and registering log in to your Magic Mirror Admin
|
72 |
-
<li>
|
|
|
73 |
</ol>
|
74 |
<br />
|
75 |
-
<p><strong>Products integration:</strong></p>
|
76 |
<ol style="list-style-type: decimal; margin-left: 30px;">
|
77 |
-
<li>Go to Catalog > Manage Products and choose one of your products</li>
|
78 |
-
<li>On the left side navigation click on "Add Magic Mirror"</li>
|
79 |
-
<li>Login to your Magic Mirror Admin if you not logged in yet
|
80 |
-
<li>Choose from your active moduls and setup the product
|
81 |
|
82 |
</ol>
|
83 |
|
84 |
</div>
|
85 |
<div style="float: right; width: 200px;">
|
86 |
-
<img src="//setup.virtooal.com/assets/img/logo.png" alt="" />
|
87 |
</div>
|
88 |
</div>
|
89 |
-
</div>
|
90 |
-
';
|
91 |
$block = $this->getLayout()
|
92 |
->createBlock('core/text', 'magicmirror-help-block')
|
93 |
->setText($html);
|
56 |
<h1>'.$this->__('What is Magic Mirror?').'</h1>
|
57 |
<div style="clear: both;">
|
58 |
<div style="float: left; width: 680px;">
|
59 |
+
<p>'.$this->__('The Magic Mirror add-ons from Virtooal allow your
|
60 |
customers to try products using their own photo. Your
|
61 |
conversions will grow and the number of complaints and
|
62 |
+
returns will be effectively reduced.').'</p>
|
63 |
<br />
|
64 |
<h2>'.$this->__('How it works').'</h2>
|
65 |
|
66 |
+
<p><strong>'.$this->__('Setup').':</strong></p>
|
67 |
<ol style="list-style-type: decimal; margin-left: 30px;">
|
68 |
+
<li>'.$this->__('Go to Magic Mirror > Dashboard').'</li>
|
69 |
+
<li>'.$this->__('Click on "Register & Subscribe" button').'</li>
|
70 |
+
<li>'.$this->__('Choose the modules you want to use, choose payment type and fill in the registration form.').'</li>
|
71 |
+
<li>'.$this->__('After subscribing and registering log in to your Magic Mirror Admin.').'</li>
|
72 |
+
<li>'.$this->__('Set your widget\'s colors, size and language.').'</li>
|
73 |
+
<li>'.$this->__('Copy your API key and username into Magic Mirror > Configuration').'</li>
|
74 |
</ol>
|
75 |
<br />
|
76 |
+
<p><strong>Products integration').':</strong></p>
|
77 |
<ol style="list-style-type: decimal; margin-left: 30px;">
|
78 |
+
<li>'.$this->__('Go to Catalog > Manage Products and choose one of your products').'</li>
|
79 |
+
<li>'.$this->__('On the left side navigation click on "Add Magic Mirror"').'</li>
|
80 |
+
<li>'.$this->__('Login to your Magic Mirror Admin if you not logged in yet.').'</li>
|
81 |
+
<li>'.$this->__('Choose from your active moduls and setup the product.').'</li>
|
82 |
|
83 |
</ol>
|
84 |
|
85 |
</div>
|
86 |
<div style="float: right; width: 200px;">
|
87 |
+
<img src="//setup.virtooal.com/assets/img/logo.png" alt="Virtooal" />
|
88 |
</div>
|
89 |
</div>
|
90 |
+
</div>';
|
|
|
91 |
$block = $this->getLayout()
|
92 |
->createBlock('core/text', 'magicmirror-help-block')
|
93 |
->setText($html);
|
app/code/community/Virtooal/MagicMirror/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Virtooal_MagicMirror>
|
5 |
-
<version>1.0.
|
6 |
</Virtooal_MagicMirror>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Virtooal_MagicMirror>
|
5 |
+
<version>1.0.1</version>
|
6 |
</Virtooal_MagicMirror>
|
7 |
</modules>
|
8 |
<global>
|
app/design/adminhtml/default/default/template/catalog/product/tab/magicmirror.phtml
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
<?php
|
2 |
$_product = $this->getProduct();
|
|
|
3 |
$has_real_image_set = ($_product->getSmallImage() != null && $_product->getSmallImage() != "no_selection");
|
4 |
|
5 |
$api_key = Mage::getStoreConfig('magicmirror_options/magicmirror_settings/magicmirror_apikey');
|
|
|
6 |
$langcode = Mage::getStoreConfig('magicmirror_options/magicmirror_settings/magicmirror_language');
|
7 |
?>
|
8 |
|
@@ -162,7 +164,7 @@ $langcode = Mage::getStoreConfig('magicmirror_options/magicmirror_settings/magic
|
|
162 |
callbackParamName: "callback",
|
163 |
parameters: {
|
164 |
img : '<?php echo $has_real_image_set?$_product->getImageUrl():''; ?>',
|
165 |
-
api_key : '<?php echo $
|
166 |
product_id : '<?php echo $_product->getId() ?>',
|
167 |
iframe : 1,
|
168 |
},
|
1 |
<?php
|
2 |
$_product = $this->getProduct();
|
3 |
+
|
4 |
$has_real_image_set = ($_product->getSmallImage() != null && $_product->getSmallImage() != "no_selection");
|
5 |
|
6 |
$api_key = Mage::getStoreConfig('magicmirror_options/magicmirror_settings/magicmirror_apikey');
|
7 |
+
|
8 |
$langcode = Mage::getStoreConfig('magicmirror_options/magicmirror_settings/magicmirror_language');
|
9 |
?>
|
10 |
|
164 |
callbackParamName: "callback",
|
165 |
parameters: {
|
166 |
img : '<?php echo $has_real_image_set?$_product->getImageUrl():''; ?>',
|
167 |
+
api_key : '<?php echo $api_key; ?>',
|
168 |
product_id : '<?php echo $_product->getId() ?>',
|
169 |
iframe : 1,
|
170 |
},
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Virtooal_MagicMirror</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,11 +10,11 @@
|
|
10 |
<description>Magic mirror is a fun and easy way to virtually try out a vast selection of accessories, apparel, make-up, glasses, contact lenses, jewelry and many more... on customer's own photo. The user-friendly HTML5 widget can be implemented and edited with no programming skills.
|
11 |
Magic mirror rapidly increases conversion rates and customer satisfaction, reduces the amount of product returns and curbs the number of complaints.
|
12 |
Magic mirror is an amazing shopping assistant. Just browse in the e-shop and products are instantly displayed on photos of models and users alike. Using Magic mirror means a lot of fun which attracts visitors like a magnet and they will gladly return to your site to use Magic mirror and buy your products over and over again.</description>
|
13 |
-
<notes>
|
14 |
-
<authors><author><name>
|
15 |
-
<date>2015-08-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="Virtooal"><dir name="MagicMirror"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Tab.php" hash="0eb9a7e816b4e1536a025f57732bf6ec"/></dir></dir></dir><file name="Magicmirror.php" hash="5ab5fc06ad85b2f6d3b8569f9a63d237"/></dir><dir name="Helper"><file name="Data.php" hash="7e1312bd6da9025bbccc16eb29964471"/></dir><dir name="Model"><file name="Language.php" hash="1af04bab40f9f233cb447409fe7307ce"/><file name="Observer.php" hash="b39bd87085aaa4764c952ef478813178"/><file name="Position.php" hash="7ab3837dbbda98ba5c4b8d93aad3f780"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MagicmirrorController.php" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Virtooal_MagicMirror</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Magic mirror is a fun and easy way to virtually try out a vast selection of accessories, apparel, make-up, glasses, contact lenses, jewelry and many more... on customer's own photo. The user-friendly HTML5 widget can be implemented and edited with no programming skills.
|
11 |
Magic mirror rapidly increases conversion rates and customer satisfaction, reduces the amount of product returns and curbs the number of complaints.
|
12 |
Magic mirror is an amazing shopping assistant. Just browse in the e-shop and products are instantly displayed on photos of models and users alike. Using Magic mirror means a lot of fun which attracts visitors like a magnet and they will gladly return to your site to use Magic mirror and buy your products over and over again.</description>
|
13 |
+
<notes>minor bugfixes</notes>
|
14 |
+
<authors><author><name>Virtooal</name><user>Virtooal</user><email>info@virtooal.com</email></author></authors>
|
15 |
+
<date>2015-08-31</date>
|
16 |
+
<time>19:02:13</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Virtooal"><dir name="MagicMirror"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><file name="Tab.php" hash="0eb9a7e816b4e1536a025f57732bf6ec"/></dir></dir></dir><file name="Magicmirror.php" hash="5ab5fc06ad85b2f6d3b8569f9a63d237"/></dir><dir name="Helper"><file name="Data.php" hash="7e1312bd6da9025bbccc16eb29964471"/></dir><dir name="Model"><file name="Language.php" hash="1af04bab40f9f233cb447409fe7307ce"/><file name="Observer.php" hash="b39bd87085aaa4764c952ef478813178"/><file name="Position.php" hash="7ab3837dbbda98ba5c4b8d93aad3f780"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MagicmirrorController.php" hash="6f5f54561dca4cba6bf94ef701a83648"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7b9b79c4450c0bfe24081733169e87db"/><file name="config.xml" hash="0035d66a94eccf32b73e5c2e390a94a4"/><file name="system.xml" hash="594b86b327b8c11be87c8363c354607a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magicmirror.xml" hash="af6875ff48105d4b77691b25e52ac70a"/></dir><dir name="template"><dir name="catalog"><dir name="product"><dir name="tab"><file name="magicmirror.phtml" hash="65f50f38789cab2234ed784e8967b395"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="magicmirror"><file name="magicmirror.phtml" hash="282e8dc000b6eb76040d649fbf848127"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Virtooal_MagicMirror.xml" hash="00de0598819946f446ce021d44bf70e6"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|