NewHavenSoftware_CMSAPI - Version 9.0.1.6

Version Notes

9.0.1.6
Removed error data introduced in 9.0.1.5

9.0.1.5
Added support for Amasty Order Attributes for use with custom fields

9.0.1.4
Removed unneeded module dependency. Added the ability to set global custom_field values.

In addition to a comma delimited list of order fields. You can now add name=value in the Custom Fields list. These will be sent with every order.

In CMS add a matching custom field plug-in option:
Name: CMS XML element name to store the data
Value: the custom field name specified in Magento
Type: Custom Field

If no mapping plug-in option is found, the values will appear in the order notes.

9.0.1.3
Changed module dependency to Mage_Api

9.0.1.2
Added app/etc/modules/NewHavenSoftware_CMSAPI.xml file to enable the extension.

9.0.1.1
Added cmsapiCustomFields to the v2 API. This API call is used to get order level data based on the fields entered in System Configuration

Added configuration option "NewHaven Software Settings" to the Services tab of System>Configuration. This provides the custom fields setting. Enter a comma delimited list of order level attributes that may be custom and not available in the v2 API.

Download this release

Release Info

Developer Jason Morrison
Extension NewHavenSoftware_CMSAPI
Version 9.0.1.6
Comparing to
See all releases


Code changes from version 9.0.1.5 to 9.0.1.6

app/code/community/NewHavenSoftware/CMSAPI/Model/Custom/Api/V2.php CHANGED
@@ -8,7 +8,6 @@ class NewHavenSoftware_CMSAPI_Model_Custom_Api_V2 extends Mage_Api_Model_Resourc
8
  // comma separated list of section.fields for instance
9
  // ad_code,customer_number
10
  $fields = explode(',', $customFields);
11
- $results .= json_encode(get_declared_classes()) . '|||';
12
  foreach ($fields as $field) {
13
  if (strpos($field,'=') !== false) {
14
  // we have a global assignment use this value
8
  // comma separated list of section.fields for instance
9
  // ad_code,customer_number
10
  $fields = explode(',', $customFields);
 
11
  foreach ($fields as $field) {
12
  if (strpos($field,'=') !== false) {
13
  // we have a global assignment use this value
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NewHavenSoftware_CMSAPI</name>
4
- <version>9.0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -14,11 +14,38 @@ Adds the following to the v2 API:&#xD;
14
  &lt;/ol&gt;&#xD;
15
  &#xD;
16
  This extension is required for integration with the CMS eCMS module.</description>
17
- <notes>Added support for Amasty Order Attributes to custom fields</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  <authors><author><name>Jason Morrison</name><user>jmorrison</user><email>jmorrison@newhavensoftware.com</email></author></authors>
19
  <date>2013-08-12</date>
20
- <time>19:05:26</time>
21
- <contents><target name="magecommunity"><dir name="NewHavenSoftware"><dir name="CMSAPI"><dir name="Helper"><file name="Data.php" hash="ab4082fe27f7c6732a7f857fc326ec99"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="aad926da6a10b2c2de3c28abac0eaf52"/></dir></dir></dir><dir name="Check"><dir name="Api"><file name="V2.php" hash="c27fcf391dcf5ad7e0c86de44fd14e7c"/></dir></dir><dir name="Custom"><dir name="Api"><file name="V2.php" hash="780035209b78e55c49966656185d138e"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ba4c36dbd3d346c3561fb5822d5fd3b4"/><file name="api.xml" hash="d78c5d767a78b9b03be362c8ef895c98"/><file name="config.xml" hash="780d234cb167e08c7d26f10ceda84f3d"/><file name="system.xml" hash="ab6f7ba6be148634383f9e3a8f63e2cd"/><file name="wsdl.xml" hash="a0c5b11146e29e8bdfcea57ff53f8c4c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NewHavenSoftware_CMSAPI.xml" hash="f858d97574f528dc237ad32e0e96ae73"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.2.0</min><max>5.4.16</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NewHavenSoftware_CMSAPI</name>
4
+ <version>9.0.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
14
  &lt;/ol&gt;&#xD;
15
  &#xD;
16
  This extension is required for integration with the CMS eCMS module.</description>
17
+ <notes>9.0.1.6&#xD;
18
+ Removed error data introduced in 9.0.1.5&#xD;
19
+ &#xD;
20
+ 9.0.1.5&#xD;
21
+ Added support for Amasty Order Attributes for use with custom fields&#xD;
22
+ &#xD;
23
+ 9.0.1.4&#xD;
24
+ Removed unneeded module dependency. Added the ability to set global custom_field values.&#xD;
25
+ &#xD;
26
+ In addition to a comma delimited list of order fields. You can now add name=value in the Custom Fields list. These will be sent with every order. &#xD;
27
+ &#xD;
28
+ In CMS add a matching custom field plug-in option:&#xD;
29
+ Name: CMS XML element name to store the data&#xD;
30
+ Value: the custom field name specified in Magento&#xD;
31
+ Type: Custom Field&#xD;
32
+ &#xD;
33
+ If no mapping plug-in option is found, the values will appear in the order notes.&#xD;
34
+ &#xD;
35
+ 9.0.1.3&#xD;
36
+ Changed module dependency to Mage_Api&#xD;
37
+ &#xD;
38
+ 9.0.1.2&#xD;
39
+ Added app/etc/modules/NewHavenSoftware_CMSAPI.xml file to enable the extension.&#xD;
40
+ &#xD;
41
+ 9.0.1.1&#xD;
42
+ Added cmsapiCustomFields to the v2 API. This API call is used to get order level data based on the fields entered in System Configuration&#xD;
43
+ &#xD;
44
+ Added configuration option "NewHaven Software Settings" to the Services tab of System&gt;Configuration. This provides the custom fields setting. Enter a comma delimited list of order level attributes that may be custom and not available in the v2 API.</notes>
45
  <authors><author><name>Jason Morrison</name><user>jmorrison</user><email>jmorrison@newhavensoftware.com</email></author></authors>
46
  <date>2013-08-12</date>
47
+ <time>19:56:42</time>
48
+ <contents><target name="magecommunity"><dir name="NewHavenSoftware"><dir name="CMSAPI"><dir name="Helper"><file name="Data.php" hash="ab4082fe27f7c6732a7f857fc326ec99"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="aad926da6a10b2c2de3c28abac0eaf52"/></dir></dir></dir><dir name="Check"><dir name="Api"><file name="V2.php" hash="c27fcf391dcf5ad7e0c86de44fd14e7c"/></dir></dir><dir name="Custom"><dir name="Api"><file name="V2.php" hash="a3ffd147fd09212bf4b3c691a9a8ce2b"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="ba4c36dbd3d346c3561fb5822d5fd3b4"/><file name="api.xml" hash="d78c5d767a78b9b03be362c8ef895c98"/><file name="config.xml" hash="780d234cb167e08c7d26f10ceda84f3d"/><file name="system.xml" hash="ab6f7ba6be148634383f9e3a8f63e2cd"/><file name="wsdl.xml" hash="a0c5b11146e29e8bdfcea57ff53f8c4c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NewHavenSoftware_CMSAPI.xml" hash="f858d97574f528dc237ad32e0e96ae73"/></dir></target></contents>
49
  <compatible/>
50
  <dependencies><required><php><min>5.2.0</min><max>5.4.16</max></php></required></dependencies>
51
  </package>