Version Notes
Magento version check
Download this release
Release Info
Developer | Sellbrite |
Extension | sellbrite |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/design/adminhtml/base/default/template/sellbrite/api/system/config/fieldset/hint.phtml
CHANGED
@@ -3,6 +3,33 @@
|
|
3 |
* @var $this Sellbrite_Api_Block_Adminhtml_System_Config_Fieldset_Hint
|
4 |
*/
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
$api_key = Mage::getStoreConfig('sellbrite_api/config/api_key');
|
7 |
$site_url = Mage::helper('core/url')->getHomeUrl();
|
8 |
|
@@ -94,6 +121,7 @@
|
|
94 |
|
95 |
<br>
|
96 |
<b>Your API Key:</b> <code><?= $api_key ?></code><br><br>
|
|
|
97 |
|
98 |
<a href='https://app.sellbrite.com/merchants/auth/magento?api_key=<?= $api_key ?>&site_url=<?= $site_url ?>' style='display: inline-block; color: white; border-radius: 5px; padding: 10px 20px; background: #6fcc37; -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
|
99 |
box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); font-weight: bold; font-size: 14px; text-decoration: none;'>Connect to Sellbrite</a>
|
3 |
* @var $this Sellbrite_Api_Block_Adminhtml_System_Config_Fieldset_Hint
|
4 |
*/
|
5 |
|
6 |
+
$mage_ver = Mage::getVersion();
|
7 |
+
$min_version = '1.8';
|
8 |
+
$max_version = '1.9.0.1';
|
9 |
+
|
10 |
+
if( $mage_ver < $min_version || $mage_ver > $max_version ){
|
11 |
+
?>
|
12 |
+
|
13 |
+
<div class="box">
|
14 |
+
<div>
|
15 |
+
<a href="https://www.sellbrite.com" target="_blank"><img src="http://sellbrite.com/wp-content/uploads/sellbrite-logo-300@2x1.png" height='50' alt="Sellbrite" title="Sellbrite" /></a><br>
|
16 |
+
|
17 |
+
<br>
|
18 |
+
<h2 style='color: red'>Sorry, but we don't currently support your Magento version.</h2>
|
19 |
+
<b>Your Magento Version:</b> <code><?= $mage_ver ?></code><br>
|
20 |
+
<b>Supported Versions:</b> <code><?= $min_version ?> - <?= $max_version ?></code><br><br>
|
21 |
+
|
22 |
+
We are working hard to add support for more versions. So stay tuned!
|
23 |
+
|
24 |
+
<div style='clear: both;'></div>
|
25 |
+
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
<?php
|
30 |
+
return;
|
31 |
+
}
|
32 |
+
|
33 |
$api_key = Mage::getStoreConfig('sellbrite_api/config/api_key');
|
34 |
$site_url = Mage::helper('core/url')->getHomeUrl();
|
35 |
|
121 |
|
122 |
<br>
|
123 |
<b>Your API Key:</b> <code><?= $api_key ?></code><br><br>
|
124 |
+
<b>Your Magento Version:</b> <code><?= $mage_ver ?></code><br><br>
|
125 |
|
126 |
<a href='https://app.sellbrite.com/merchants/auth/magento?api_key=<?= $api_key ?>&site_url=<?= $site_url ?>' style='display: inline-block; color: white; border-radius: 5px; padding: 10px 20px; background: #6fcc37; -webkit-box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
|
127 |
box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); font-weight: bold; font-size: 14px; text-decoration: none;'>Connect to Sellbrite</a>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sellbrite</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Simplified Multi-channel selling.</summary>
|
10 |
<description>List your products on more channels, access more customers and maximize your sales, quickly and easily.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Sellbrite</name><user>machineboy2045</user><email>machineboy2045@gmail.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>18:29
|
15 |
-
<contents><target name="magecommunity"><dir name="Sellbrite"><dir name="Api"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="eee09d85dc2ddf0dc49a9b3c788eb2cd"/></dir></dir></dir></dir></dir><dir name="Helper"><dir name="Catalog"><file name="Product.php" hash="1e0567fd4fc6da68635c5153749c1659"/></dir><file name="Data.php" hash="10776abef0d3e369c6dec5566de5dfed"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="001e4766191ba2e6bb630fc2ee9d015d"/></dir><file name="Api.php" hash="bb344211ad4623774c10ec85ed5e7458"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ba6e97e5e14d3b00fd281cf1c07c3958"/><file name="config.xml" hash="5fa352976f061989324bfb6f3b28261c"/><file name="system.xml" hash="5b61898dd5be81781c6b908738eaa6fb"/><file name="wsdl.xml" hash="22bfa736fad32b8ed5013cccb4aabc9d"/><file name="wsi.xml" hash="f06f9b1374aac0f2585d3fc1c916d7ec"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="sellbrite"><dir name="api"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sellbrite</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>MIT License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Simplified Multi-channel selling.</summary>
|
10 |
<description>List your products on more channels, access more customers and maximize your sales, quickly and easily.</description>
|
11 |
+
<notes>Magento version check</notes>
|
12 |
<authors><author><name>Sellbrite</name><user>machineboy2045</user><email>machineboy2045@gmail.com</email></author></authors>
|
13 |
+
<date>2015-03-02</date>
|
14 |
+
<time>18:37:29</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Sellbrite"><dir name="Api"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="eee09d85dc2ddf0dc49a9b3c788eb2cd"/></dir></dir></dir></dir></dir><dir name="Helper"><dir name="Catalog"><file name="Product.php" hash="1e0567fd4fc6da68635c5153749c1659"/></dir><file name="Data.php" hash="10776abef0d3e369c6dec5566de5dfed"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="001e4766191ba2e6bb630fc2ee9d015d"/></dir><file name="Api.php" hash="bb344211ad4623774c10ec85ed5e7458"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ba6e97e5e14d3b00fd281cf1c07c3958"/><file name="config.xml" hash="5fa352976f061989324bfb6f3b28261c"/><file name="system.xml" hash="5b61898dd5be81781c6b908738eaa6fb"/><file name="wsdl.xml" hash="22bfa736fad32b8ed5013cccb4aabc9d"/><file name="wsi.xml" hash="f06f9b1374aac0f2585d3fc1c916d7ec"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="sellbrite"><dir name="api"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="2823b09003c42d4f8cc8e0b69dc2ab1a"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sellbrite_Api.xml" hash="eb836727e6b1e328091e7ccd9003294f"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|