sellbrite - Version 1.2.1

Version Notes

Fixed issue with WSDL.

Download this release

Release Info

Developer Sellbrite
Extension sellbrite
Version 1.2.1
Comparing to
See all releases


Code changes from version 1.1.1.0 to 1.2.1

app/code/community/Sellbrite/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Block/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Block/Adminhtml/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Block/Adminhtml/System/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Block/Adminhtml/System/Config/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Model/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Model/Catalog/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Model/Catalog/Product/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/Model/Catalog/Product/Api.php CHANGED
@@ -21,6 +21,7 @@ class Sellbrite_Api_Model_Catalog_Product_Api extends Mage_Catalog_Model_Product
21
 
22
  $pageNum = isset($filters['page']) ? array_pop($filters['page']) : 1;
23
  $pageSize = isset($filters['limit']) ? array_pop($filters['limit']) : 50;
 
24
  unset($filters['page'], $filters['limit']);
25
  $collection->setPage($pageNum, $pageSize);
26
 
@@ -61,9 +62,9 @@ class Sellbrite_Api_Model_Catalog_Product_Api extends Mage_Catalog_Model_Product
61
  $parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
62
  $data['sb_configurable_parent_product_ids'] = $parent_ids;
63
  }
64
-
65
  $result[] = $this->infoResult($data, $product);;
66
  }
 
67
  return $result;
68
  }
69
 
@@ -107,6 +108,7 @@ class Sellbrite_Api_Model_Catalog_Product_Api extends Mage_Catalog_Model_Product
107
  foreach ($attributesData as $attribute) {
108
  $options[$k]['code'] = $attribute['attribute_code'];
109
  foreach ($attribute['values'] as $value) {
 
110
  $value['attribute_code'] = $attribute['attribute_code'];
111
  $options[$k]['options'][] = $value;
112
  }
21
 
22
  $pageNum = isset($filters['page']) ? array_pop($filters['page']) : 1;
23
  $pageSize = isset($filters['limit']) ? array_pop($filters['limit']) : 50;
24
+
25
  unset($filters['page'], $filters['limit']);
26
  $collection->setPage($pageNum, $pageSize);
27
 
62
  $parent_ids = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
63
  $data['sb_configurable_parent_product_ids'] = $parent_ids;
64
  }
 
65
  $result[] = $this->infoResult($data, $product);;
66
  }
67
+
68
  return $result;
69
  }
70
 
108
  foreach ($attributesData as $attribute) {
109
  $options[$k]['code'] = $attribute['attribute_code'];
110
  foreach ($attribute['values'] as $value) {
111
+ $value['value_text'] = 'as';
112
  $value['attribute_code'] = $attribute['attribute_code'];
113
  $options[$k]['options'][] = $value;
114
  }
app/code/community/Sellbrite/Api/data/.DS_Store ADDED
Binary file
app/code/community/Sellbrite/Api/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Sellbrite_Api>
5
- <version>1.1.0</version>
6
  </Sellbrite_Api>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Sellbrite_Api>
5
+ <version>1.2.1</version>
6
  </Sellbrite_Api>
7
  </modules>
8
  <global>
app/code/community/Sellbrite/Api/etc/wsi.xml CHANGED
@@ -50,7 +50,7 @@
50
  <xsd:element name="options_container" type="xsd:string" minOccurs="0"/>
51
  <xsd:element name="image_url" type="xsd:string" minOccurs="0"/>
52
  <xsd:element name="qty" type="xsd:string" minOccurs="0"/>
53
- <xsd:element name="additional_attributes" type="typens:associativeArray" minOccurs="0"/>
54
  <xsd:element name="sb_configurable_parent_product_ids" type="typens:ArrayOfString" minOccurs="0"/>
55
  <xsd:element name="sb_configurable_child_product_ids" type="typens:ArrayOfString" minOccurs="0"/>
56
  <xsd:element name="sb_configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
@@ -70,7 +70,7 @@
70
  <xsd:sequence>
71
  <xsd:element name="product_id" type="xsd:int" minOccurs="0" />
72
  <xsd:element name="sku" type="xsd:string" minOccurs="0" />
73
- <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:childrenEntityOptionsArray" />
74
  </xsd:sequence>
75
  </xsd:complexType>
76
  <xsd:complexType name="childrenEntityOptionsArray">
@@ -94,7 +94,26 @@
94
  <xsd:complexType name="configurableOptionsEntity">
95
  <xsd:sequence>
96
  <xsd:element name="code" type="xsd:string" minOccurs="0" />
97
- <xsd:element name="options" type="typens:associativeArray" minOccurs="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  </xsd:sequence>
99
  </xsd:complexType>
100
  <xsd:element name="sellbriteProductListRequestParam">
50
  <xsd:element name="options_container" type="xsd:string" minOccurs="0"/>
51
  <xsd:element name="image_url" type="xsd:string" minOccurs="0"/>
52
  <xsd:element name="qty" type="xsd:string" minOccurs="0"/>
53
+ <xsd:element name="=" type="typens:associativeArray" minOccurs="0"/>
54
  <xsd:element name="sb_configurable_parent_product_ids" type="typens:ArrayOfString" minOccurs="0"/>
55
  <xsd:element name="sb_configurable_child_product_ids" type="typens:ArrayOfString" minOccurs="0"/>
56
  <xsd:element name="sb_configurable_products_data" type="typens:childrenEntityArray" minOccurs="0"/>
70
  <xsd:sequence>
71
  <xsd:element name="product_id" type="xsd:int" minOccurs="0" />
72
  <xsd:element name="sku" type="xsd:string" minOccurs="0" />
73
+ <xsd:element name="options" type="typens:childrenEntityOptionsArray" minOccurs="0" />
74
  </xsd:sequence>
75
  </xsd:complexType>
76
  <xsd:complexType name="childrenEntityOptionsArray">
94
  <xsd:complexType name="configurableOptionsEntity">
95
  <xsd:sequence>
96
  <xsd:element name="code" type="xsd:string" minOccurs="0" />
97
+ <xsd:element name="options" type="typens:optionsEntityArray" minOccurs="0"/>
98
+ </xsd:sequence>
99
+ </xsd:complexType>
100
+ <xsd:complexType name="optionsEntityArray">
101
+ <xsd:sequence>
102
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:optionsEntity" />
103
+ </xsd:sequence>
104
+ </xsd:complexType>
105
+ <xsd:complexType name="optionsEntity">
106
+ <xsd:sequence>
107
+ <xsd:element name="product_super_attribute_id" type="xsd:string" minOccurs="0"/>
108
+ <xsd:element name="value_index" type="xsd:string" minOccurs="0"/>
109
+ <xsd:element name="value_text" type="xsd:string" minOccurs="0"/>
110
+ <xsd:element name="label" type="xsd:string" minOccurs="0"/>
111
+ <xsd:element name="default_label" type="xsd:string" minOccurs="0"/>
112
+ <xsd:element name="store_label" type="xsd:string" minOccurs="0"/>
113
+ <xsd:element name="is_percent" type="xsd:int" minOccurs="0"/>
114
+ <xsd:element name="pricing_value" type="xsd:double" minOccurs="0"/>
115
+ <xsd:element name="use_default_value" type="xsd:boolean" minOccurs="0"/>
116
+ <xsd:element name="attribute_code" type="xsd:string" minOccurs="0"/>
117
  </xsd:sequence>
118
  </xsd:complexType>
119
  <xsd:element name="sellbriteProductListRequestParam">
app/design/adminhtml/default/default/template/sellbrite/.DS_Store ADDED
Binary file
app/design/adminhtml/default/default/template/sellbrite/api/.DS_Store ADDED
Binary file
app/design/adminhtml/default/default/template/sellbrite/api/system/.DS_Store ADDED
Binary file
app/design/adminhtml/default/default/template/sellbrite/api/system/config/.DS_Store ADDED
Binary file
app/design/adminhtml/{base → default}/default/template/sellbrite/api/system/config/fieldset/hint.phtml RENAMED
File without changes
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>sellbrite</name>
4
- <version>1.1.1.0</version>
5
  <stability>stable</stability>
6
  <license>MIT</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>- add new Sellbrite product list SOAP api with pagination&#xD;
12
- - remove using REST API</notes>
13
- <authors><author><name>Selbrite</name><user>Sellbrite</user><email>hello@sellbrite.com</email></author></authors>
14
- <date>2016-08-17</date>
15
- <time>05:38:29</time>
16
- <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="a69ef5e41d264dba6ffeedfa7e302a5e"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="fc1bc420427fc76d541930ff49d25e81"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="bcc476bdc1b9709d15de792c669c7a84"/></dir><file name="Api.php" hash="524277cf4c21741830032eeaad04ec8d"/></dir></dir><file name="Credentials.php" hash="1700cfc78747dfe9cc4b997e43ca8074"/></dir><dir name="data"><dir name="sellbrite_setup"><file name="data-install-1.1.0.php" hash="ac25ecd20c8f3cf716aa1542d669e452"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d15a171ae1cede0f46acfd8b2d31f12c"/><file name="api.xml" hash="6057bc38c8310d0f5f0e813c9dd217c2"/><file name="config.xml" hash="36ca10e149e95d70bdfdf6f177827f20"/><file name="system.xml" hash="34a4d1c88115c78887e65bc14d8ef06e"/><file name="wsdl.xml" hash="3a2b9583eedae9cb7d938aac6c3c437f"/><file name="wsi.xml" hash="eeb8a4e7743ba2fb212550c92504f8d5"/></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="cbc512ae4bd38153976a5cdb9a37f905"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sellbrite_Api.xml" hash="1caa543c8db9bc2e24dc4bd4e07cf1a7"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>sellbrite</name>
4
+ <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license>MIT</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>Fixed issue with WSDL.</notes>
12
+ <authors><author><name>Sellbrite</name><user>Sellbrite</user><email>hello@sellbrite.com</email></author></authors>
13
+ <date>2017-05-31</date>
14
+ <time>11:41:04</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="a69ef5e41d264dba6ffeedfa7e302a5e"/></dir><file name=".DS_Store" hash="0cf609eb6660a234402d42314522db68"/></dir><file name=".DS_Store" hash="60d450ab59b771a3c283579b2d35d28e"/></dir><file name=".DS_Store" hash="13c47c0f5dc265d0c60feb18896f270c"/></dir><file name=".DS_Store" hash="0047fe0bc161a58c6088a4e959de43a4"/></dir><dir name="Helper"><file name="Data.php" hash="fc1bc420427fc76d541930ff49d25e81"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="bcc476bdc1b9709d15de792c669c7a84"/></dir><file name="Api.php" hash="e01d8c6e2a13de4bc1e05724a61e3210"/><file name=".DS_Store" hash="ba325a0c7bdbea01ddef81b8682f6dac"/></dir><file name=".DS_Store" hash="d032518ab85e6c3cbbb43688f6bc5bfe"/></dir><file name="Credentials.php" hash="1700cfc78747dfe9cc4b997e43ca8074"/><file name=".DS_Store" hash="06dff06f46cef53bba9d158be1a76198"/></dir><dir name="data"><dir name="sellbrite_setup"><file name="data-install-1.1.0.php" hash="ac25ecd20c8f3cf716aa1542d669e452"/></dir><file name=".DS_Store" hash="79c7dd984d9360150633b0b55842f43a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d15a171ae1cede0f46acfd8b2d31f12c"/><file name="api.xml" hash="6057bc38c8310d0f5f0e813c9dd217c2"/><file name="config.xml" hash="a7d3d536a593b269080299ca953dd91e"/><file name="system.xml" hash="34a4d1c88115c78887e65bc14d8ef06e"/><file name="wsdl.xml" hash="3a2b9583eedae9cb7d938aac6c3c437f"/><file name="wsi.xml" hash="bf75f6f84255a18d4f5aca3648871c97"/></dir><file name=".DS_Store" hash="7b38687cd48c0249fd0ae24ca20b3163"/></dir><file name=".DS_Store" hash="ba325a0c7bdbea01ddef81b8682f6dac"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><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="cbc512ae4bd38153976a5cdb9a37f905"/></dir><file name=".DS_Store" hash="21c168566829c6a42a9865d442f34a73"/></dir><file name=".DS_Store" hash="40f65db350f06e1673e0561dadb5fefb"/></dir><file name=".DS_Store" hash="99ebf0b9ae603488b44f098a36aadc6f"/></dir><file name=".DS_Store" hash="1add46d4a8823e2a880d5da7362827fa"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sellbrite_Api.xml" hash="1caa543c8db9bc2e24dc4bd4e07cf1a7"/></dir></target></contents>
 
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
18
  </package>