Version Notes
Install notification url updated
Download this release
Release Info
Developer | EasySize IVS |
Extension | easysize |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
app/code/community/EasySize/SizeGuide/Block/Data.php
CHANGED
@@ -35,6 +35,23 @@ class EasySize_SizeGuide_Block_Data extends Mage_Core_Block_Template {
|
|
35 |
return json_encode($this->required_attributes);
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
/*
|
39 |
* Returns all product category names
|
40 |
*/
|
35 |
return json_encode($this->required_attributes);
|
36 |
}
|
37 |
|
38 |
+
/*
|
39 |
+
* Returns product brand if the brand is amongst categories
|
40 |
+
*/
|
41 |
+
private function getProductBrandFromCategory($product, $parentCategoryToLookFor) {
|
42 |
+
$categoryCollection = $product->getCategoryCollection();
|
43 |
+
|
44 |
+
foreach($categoryCollection as $_productCategory) {
|
45 |
+
$_parentCategories = $_productCategory->getParentCategories();
|
46 |
+
|
47 |
+
foreach($parentCategoryToLookFor != $_parentCategory->getId() && $_parentCategories as $_parentCategory) {
|
48 |
+
if(in_array($parentCategoryToLookFor, $_parentCategory->getPathIds())) {
|
49 |
+
return $_parentCategory->getName();
|
50 |
+
}
|
51 |
+
}
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
/*
|
56 |
* Returns all product category names
|
57 |
*/
|
app/code/community/EasySize/SizeGuide/sql/sizeguide_setup/{install-1.2.2.php → install-1.2.3.php}
RENAMED
@@ -12,7 +12,7 @@ $curl = curl_init();
|
|
12 |
|
13 |
curl_setopt_array($curl, array(
|
14 |
CURLOPT_PORT => "6565",
|
15 |
-
CURLOPT_URL => "
|
16 |
CURLOPT_RETURNTRANSFER => true,
|
17 |
CURLOPT_ENCODING => "",
|
18 |
CURLOPT_MAXREDIRS => 10,
|
12 |
|
13 |
curl_setopt_array($curl, array(
|
14 |
CURLOPT_PORT => "6565",
|
15 |
+
CURLOPT_URL => "https://internal-tracking.easysize.me/install?domain={$shop_doman}&email={$user_email}",
|
16 |
CURLOPT_RETURNTRANSFER => true,
|
17 |
CURLOPT_ENCODING => "",
|
18 |
CURLOPT_MAXREDIRS => 10,
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easysize</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.easysize.me/terms-of-use/">EasySize</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EasySize sizing solution</summary>
|
10 |
<description>EasySize was founded in October 2014 by Gulnaz Khusainova and is currently based in Copenhagen, Denmark. EasySize’s aim is to improve the online shopping experience for customers and empower retailers to grow their online businesses by using smart technology to accurately understand what a customer’s ideal fit is. To date, EasySize has helped over 400,000 unique users find their ideal fit all over the world. Please visit easysize.me for more information.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>EasySize IVS</name><user>EasySize</user><email>gk@easysize.me</email></author></authors>
|
13 |
-
<date>2016-
|
14 |
-
<time>11:
|
15 |
-
<contents><target name="magecommunity"><dir name="EasySize"><dir name="SizeGuide"><dir name="Block"><file name="Data.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>easysize</name>
|
4 |
+
<version>1.2.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.easysize.me/terms-of-use/">EasySize</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EasySize sizing solution</summary>
|
10 |
<description>EasySize was founded in October 2014 by Gulnaz Khusainova and is currently based in Copenhagen, Denmark. EasySize’s aim is to improve the online shopping experience for customers and empower retailers to grow their online businesses by using smart technology to accurately understand what a customer’s ideal fit is. To date, EasySize has helped over 400,000 unique users find their ideal fit all over the world. Please visit easysize.me for more information.</description>
|
11 |
+
<notes>Install notification url updated</notes>
|
12 |
<authors><author><name>EasySize IVS</name><user>EasySize</user><email>gk@easysize.me</email></author></authors>
|
13 |
+
<date>2016-07-07</date>
|
14 |
+
<time>11:31:41</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="EasySize"><dir name="SizeGuide"><dir name="Block"><file name="Data.php" hash="dde0f70a151b01c1026c467dab9ed2d1"/></dir><dir name="Helper"><file name="Data.php" hash="e1f1c548146a5eedc58222620232a758"/></dir><dir name="Model"><file name="Observer.php" hash="87c607e056e53cacd367c75f314e4921"/><dir name="Resource"><file name="Setup.php" hash="db68d16089806da3849ab919e4e35a01"/></dir><file name="ShopAttributes.php" hash="cc02d02ce5ed899280cd72b049c066e1"/></dir><dir name="etc"><file name="config.xml" hash="b5d50851fdcb066af902d675b46944b5"/><file name="system.xml" hash="8cb01b6b5fc246f7a4a8170a5cf72cfa"/></dir><dir name="sql"><dir name="sizeguide_setup"><file name="install-1.2.3.php" hash="e6d955001e5c845f6a6954af6dc95880"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sizeguide"><file name="easysize.phtml" hash="04a9b0118af89064f1ceb527289f1f6d"/></dir></dir><dir name="layout"><file name="sizeguide.xml" hash="719082d2622034408573c6650e98e644"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EasySize_SizeGuide.xml" hash="2397289fc71f8ddb23dec37aefdf4779"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|