Version Notes
Add new tag store language
Download this release
Release Info
Developer | Karsten Hoffmann |
Extension | Adventos_OrderExport |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.3.0
app/code/local/Adventos/OrderExport/Model/Observer.php
CHANGED
@@ -154,6 +154,7 @@ class Adventos_OrderExport_Model_Observer
|
|
154 |
"store_id" => $order->getStoreId(),
|
155 |
"store_name" => Mage::getModel('core/store')->load($order->getStoreID())->getName(),
|
156 |
"hofakt_lager" => Mage::getStoreConfig('catalog/orderexport/storage_id'),
|
|
|
157 |
"payment" => $order->getPayment()->getMethod(),
|
158 |
"shipping_amount" => $order->getShippingAmount(),
|
159 |
"discount_amount" => $order->getDiscountAmount(),
|
154 |
"store_id" => $order->getStoreId(),
|
155 |
"store_name" => Mage::getModel('core/store')->load($order->getStoreID())->getName(),
|
156 |
"hofakt_lager" => Mage::getStoreConfig('catalog/orderexport/storage_id'),
|
157 |
+
"hofakt_language" => Mage::getStoreConfig('catalog/orderexport/store_language'),
|
158 |
"payment" => $order->getPayment()->getMethod(),
|
159 |
"shipping_amount" => $order->getShippingAmount(),
|
160 |
"discount_amount" => $order->getDiscountAmount(),
|
app/code/local/Adventos/OrderExport/etc/config.xml
CHANGED
@@ -45,6 +45,7 @@
|
|
45 |
<orderexport>
|
46 |
<process>0</process>
|
47 |
<storage_id>2</storage_id>
|
|
|
48 |
</orderexport>
|
49 |
</catalog>
|
50 |
</default>
|
45 |
<orderexport>
|
46 |
<process>0</process>
|
47 |
<storage_id>2</storage_id>
|
48 |
+
<store_language>de</store_language>
|
49 |
</orderexport>
|
50 |
</catalog>
|
51 |
</default>
|
app/code/local/Adventos/OrderExport/etc/system.xml
CHANGED
@@ -28,6 +28,14 @@
|
|
28 |
<show_in_website>1</show_in_website>
|
29 |
<show_in_store>1</show_in_store>
|
30 |
</storage_id>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
</fields>
|
32 |
</orderexport>
|
33 |
</groups>
|
28 |
<show_in_website>1</show_in_website>
|
29 |
<show_in_store>1</show_in_store>
|
30 |
</storage_id>
|
31 |
+
<store_language translate="label">
|
32 |
+
<label>Language</label>
|
33 |
+
<frontend_type>text</frontend_type>
|
34 |
+
<sort_order>3</sort_order>
|
35 |
+
<show_in_default>1</show_in_default>
|
36 |
+
<show_in_website>1</show_in_website>
|
37 |
+
<show_in_store>1</show_in_store>
|
38 |
+
</store_language>
|
39 |
</fields>
|
40 |
</orderexport>
|
41 |
</groups>
|
package.xml
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Adventos_OrderExport</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
-
<license>OSL
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
10 |
-
<description>
|
11 |
-
|
12 |
-
<
|
13 |
-
|
14 |
-
<
|
15 |
-
<
|
16 |
-
<time>12:23:35</time>
|
17 |
-
<contents><target name="magelocal"><dir name="Adventos"><dir name="OrderExport"><dir name="Helper"><file name="Data.php" hash="f90dd7d2136cfb6349ba1d7ee939cd15"/></dir><dir name="Model"><dir name="Creditmemo"><dir name="Api"><file name="V2.php" hash="afba3391027e1ebe798253cdc034d034"/></dir><file name="Api.php" hash="c41e82cf79235d51f25d248719e93f92"/></dir><dir name="Invoice"><dir name="Api"><file name="V2.php" hash="ed0e742f85e0f450c3387bb8a7738033"/></dir><file name="Api.php" hash="280512b1ae37690871384b3cba0a3a2b"/></dir><file name="Observer.php" hash="ad9fc9a19bb966ac2800bd7db9804ecf"/><dir name="Shipment"><dir name="Api"><file name="V2.php" hash="22acaee0fe176a65fc1071d4dab5d6f5"/></dir><file name="Api.php" hash="0b9bf452b7e36c1ee5cefbb3d6c5eb3b"/></dir></dir><dir name="etc"><file name="api.xml" hash="8126b41684e8ee21ed6c8916e29f67d3"/><file name="config.xml" hash="44f24ba32bd7dc728c15227402870c3c"/><file name="system.xml" hash="5c5f13a808798403227d3fedd43c877f"/><file name="wsdl.xml" hash="b3e1086c7e06ece8e0c0e5f537b1480f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adventos_OrderExport.xml" hash="479b13bf3a08de9f93f5f58d77d3f9bb"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Adventos_OrderExport</name>
|
4 |
+
<version>1.3.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Magento integration for HeadOffice</summary>
|
10 |
+
<description>Create Order XML file to integrate Magento with HeadOffice and synchronize stock, order status, invoice, shipments and credit memos.</description>
|
11 |
+
<notes>Add new tag store language</notes>
|
12 |
+
<authors><author><name>Karsten Hoffmann</name><user>adventos</user><email>karsten@adventos.de</email></author></authors>
|
13 |
+
<date>2013-01-11</date>
|
14 |
+
<time>09:52:23</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Adventos"><dir name="OrderExport"><dir name="Helper"><file name="Data.php" hash="f90dd7d2136cfb6349ba1d7ee939cd15"/></dir><dir name="Model"><dir name="Creditmemo"><dir name="Api"><file name="V2.php" hash="afba3391027e1ebe798253cdc034d034"/></dir><file name="Api.php" hash="c41e82cf79235d51f25d248719e93f92"/></dir><dir name="Invoice"><dir name="Api"><file name="V2.php" hash="ed0e742f85e0f450c3387bb8a7738033"/></dir><file name="Api.php" hash="280512b1ae37690871384b3cba0a3a2b"/></dir><file name="Observer.php" hash="8fe3a15cc5b67d661236ff9291200cec"/><dir name="Shipment"><dir name="Api"><file name="V2.php" hash="22acaee0fe176a65fc1071d4dab5d6f5"/></dir><file name="Api.php" hash="0b9bf452b7e36c1ee5cefbb3d6c5eb3b"/></dir></dir><dir name="etc"><file name="api.xml" hash="8126b41684e8ee21ed6c8916e29f67d3"/><file name="config.xml" hash="9705b7f42368d7c949e9d885ba81c701"/><file name="system.xml" hash="1d99dfcd52a16873b299faad7284a952"/><file name="wsdl.xml" hash="b3e1086c7e06ece8e0c0e5f537b1480f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adventos_OrderExport.xml" hash="479b13bf3a08de9f93f5f58d77d3f9bb"/></dir></target></contents>
|
|
|
|
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|