Version Notes
fixed issue with last name
Download this release
Release Info
| Developer | Alex Boone |
| Extension | ship200_bulk |
| Version | 1.0.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.3 to 1.0.4
app/code/local/Ship200/Bulk/controllers/IndexController.php
CHANGED
|
@@ -153,7 +153,8 @@ if(isset($_REQUEST['maintenance']) && $_REQUEST['maintenance'] == 1) {
|
|
| 153 |
foreach($salesCollection as $order)
|
| 154 |
|
| 155 |
{
|
| 156 |
-
|
|
|
|
| 157 |
$shipping_address = $order->getShippingAddress();
|
| 158 |
//var_dump($shipping_address);
|
| 159 |
//exit;
|
|
@@ -229,12 +230,16 @@ if(isset($_REQUEST['maintenance']) && $_REQUEST['maintenance'] == 1) {
|
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
-
if($this->clear($order->getData($value))==""){
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
}else{
|
| 239 |
|
| 240 |
if($value=="status"){
|
|
@@ -349,7 +354,7 @@ if(isset($_REQUEST['maintenance']) && $_REQUEST['maintenance'] == 1) {
|
|
| 349 |
|
| 350 |
$value = str_replace(" ", " ", $value);
|
| 351 |
|
| 352 |
-
$value = str_replace("�", " ", $value);
|
| 353 |
|
| 354 |
|
| 355 |
|
| 153 |
foreach($salesCollection as $order)
|
| 154 |
|
| 155 |
{
|
| 156 |
+
|
| 157 |
+
|
| 158 |
$shipping_address = $order->getShippingAddress();
|
| 159 |
//var_dump($shipping_address);
|
| 160 |
//exit;
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
+
if($this->clear($order->getData($value))=="") {
|
| 234 |
+
|
| 235 |
+
|
| 236 |
+
if ($key == "Name"){
|
| 237 |
+
$out .= "<$key>" . $this->clear($shipping_address->getData('firstname')) .' '. $this->clear($shipping_address->getData('lastname')) . "</$key>\n";
|
| 238 |
+
}else{
|
| 239 |
+
|
| 240 |
+
$out .= "<$key>" . $this->clear($shipping_address->getData($value)) . "</$key>\n";
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
}else{
|
| 244 |
|
| 245 |
if($value=="status"){
|
| 354 |
|
| 355 |
$value = str_replace(" ", " ", $value);
|
| 356 |
|
| 357 |
+
$value = str_replace("�", " ", $value);
|
| 358 |
|
| 359 |
|
| 360 |
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>ship200_bulk</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -10,11 +10,11 @@
|
|
| 10 |
<description>Ship200 is Multi Carrier (Fedex, UPS, USPS) Shipping Software which allows you to print shipping labels in bulk or individually and integrate process of creating labels directly into you Magento. 
|
| 11 |

|
| 12 |
This Plugin connects your Magento store to Ship200, and adds the ability to download new orders to Ship200 for creating shipping labels in bulk. </description>
|
| 13 |
-
<notes>
|
| 14 |
<authors><author><name>Ship200</name><user>Alex</user><email>support@ship200.com</email></author></authors>
|
| 15 |
-
<date>
|
| 16 |
-
<time>
|
| 17 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Ship200_Bulk.xml" hash="8d72455b0d5fd4b13d19a03e1ee70b89"/></dir></target><target name="magelocal"><dir name="Ship200"><dir name="Bulk"><dir name="Helper"><file name="Data.php" hash="5501e6608f0a1cef651ae2a89cee1bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="
|
| 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>ship200_bulk</name>
|
| 4 |
+
<version>1.0.4</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
| 10 |
<description>Ship200 is Multi Carrier (Fedex, UPS, USPS) Shipping Software which allows you to print shipping labels in bulk or individually and integrate process of creating labels directly into you Magento. 
|
| 11 |

|
| 12 |
This Plugin connects your Magento store to Ship200, and adds the ability to download new orders to Ship200 for creating shipping labels in bulk. </description>
|
| 13 |
+
<notes>fixed issue with last name</notes>
|
| 14 |
<authors><author><name>Ship200</name><user>Alex</user><email>support@ship200.com</email></author></authors>
|
| 15 |
+
<date>2016-03-17</date>
|
| 16 |
+
<time>16:13:37</time>
|
| 17 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Ship200_Bulk.xml" hash="8d72455b0d5fd4b13d19a03e1ee70b89"/></dir></target><target name="magelocal"><dir name="Ship200"><dir name="Bulk"><dir name="Helper"><file name="Data.php" hash="5501e6608f0a1cef651ae2a89cee1bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="d2204f76e0f525412b66c65d16025dd3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3457b8da52d66fda1e386ed0d7ca078"/><file name="config.xml" hash="149400f39236bd2da3be790326134a81"/><file name="system.xml" hash="9f6a029173997f8a69621913890fe487"/></dir></dir></dir></target></contents>
|
| 18 |
<compatible/>
|
| 19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 20 |
</package>
|
