Version Notes
To sync the Magento orders with Storeship for shipping
Download this release
Release Info
Developer | Storeship |
Extension | Fulfillment_Ordersync |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Fulfillment/Ordersync/controllers/IndexController.php
CHANGED
@@ -1,312 +1,317 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Fulfillment_Ordersync_IndexController extends Mage_Core_Controller_Front_Action{
|
4 |
-
/**
|
5 |
-
* default action
|
6 |
-
* @access public
|
7 |
-
* @return void
|
8 |
-
* @author Pankaj Pareek
|
9 |
-
*/
|
10 |
-
public function indexAction(){
|
11 |
-
|
12 |
-
$status = 1; // 1 = Enabled, 0 = Disabled
|
13 |
-
|
14 |
-
$apiUsername = Mage::getStoreConfig('ordersync/display_settings/username');
|
15 |
-
$apiPassword = Mage::getStoreConfig('ordersync/display_settings/password');
|
16 |
-
$this->loadLayout();
|
17 |
-
$this->renderLayout();
|
18 |
-
|
19 |
-
$parms = $this->getRequest()->getParams();
|
20 |
-
$ssfUsername = $parms['ssfUsername'];
|
21 |
-
$ssfPassword = $parms['ssfPassword'];
|
22 |
-
$ssfAPICall = $parms['ssfAPICall'];
|
23 |
-
|
24 |
-
|
25 |
-
if($status == 1 && !empty($ssfUsername) && !empty($ssfPassword) && $ssfUsername == $apiUsername && $ssfPassword == $apiPassword){
|
26 |
-
// Download list of orders
|
27 |
-
if(isset($ssfAPICall) && $ssfAPICall == "importCSV"){
|
28 |
-
|
29 |
-
$collection = Mage::getResourceModel('sales/order_collection')->addAttributeToSelect('*');
|
30 |
-
$collection->addFieldToFilter('status', 'processing');
|
31 |
-
|
32 |
-
$csvstring = "";
|
33 |
-
|
34 |
-
foreach ($collection as $col) {
|
35 |
-
|
36 |
-
$_shippingAddress = $col->getShippingAddress();
|
37 |
-
$id = $col->getId();
|
38 |
-
|
39 |
-
$basetotal = $col->getBaseSubtotal();
|
40 |
-
$baseshippingamount = $col->getBaseShippingAmount();
|
41 |
-
$basegrandtotal = $col->getBaseGrandTotal();
|
42 |
-
$baseshippingaaxamount = $col->getBaseShippingTaxAmount();
|
43 |
-
//echo $customerid = $col->getCustomerId();
|
44 |
-
|
45 |
-
$order_id = $col->getIncrementId();
|
46 |
-
$createdate = $col->getCreatedAt();
|
47 |
-
$created_date = strtotime($createdate);
|
48 |
-
$updateddate = $col->getUpdatedAt();
|
49 |
-
$updated_date = strtotime($updateddate);
|
50 |
-
$get_state = $col->getState();
|
51 |
-
$get_status = $col->getStatus();
|
52 |
-
$customer_name = $_shippingAddress->getFirstname()." ".$_shippingAddress->getLastname();
|
53 |
-
$address1 = $_shippingAddress->getStreet1();
|
54 |
-
$address2 = $_shippingAddress->getStreet2();
|
55 |
-
$city = $_shippingAddress->getCity();
|
56 |
-
$state = $_shippingAddress->getRegion();
|
57 |
-
$country_code = $_shippingAddress->getCountry_id();
|
58 |
-
$country = Mage::app()->getLocale()->getCountryTranslation($country_code);
|
59 |
-
$customer_email = $_shippingAddress->getEmail();
|
60 |
-
$customerNote = $col->getCustomerNote();
|
61 |
-
$telephone = $_shippingAddress->getTelephone();
|
62 |
-
|
63 |
-
|
64 |
-
$
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
$product_it['
|
70 |
-
$product_it['
|
71 |
-
$product_it['
|
72 |
-
$product_it['
|
73 |
-
|
74 |
-
$
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
"
|
84 |
-
"
|
85 |
-
"
|
86 |
-
"
|
87 |
-
"
|
88 |
-
"
|
89 |
-
"
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
95 |
-
"
|
96 |
-
"
|
97 |
-
"
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
$productItem['
|
174 |
-
$
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
}
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
$
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
$stockItem->setData('
|
221 |
-
$stockItem->
|
222 |
-
|
223 |
-
|
224 |
-
$stockItem
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
$
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
$
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
$
|
282 |
-
|
283 |
-
$
|
284 |
-
$
|
285 |
-
|
286 |
-
$
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
|
|
|
|
|
|
|
|
|
|
312 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Fulfillment_Ordersync_IndexController extends Mage_Core_Controller_Front_Action{
|
4 |
+
/**
|
5 |
+
* default action
|
6 |
+
* @access public
|
7 |
+
* @return void
|
8 |
+
* @author Pankaj Pareek
|
9 |
+
*/
|
10 |
+
public function indexAction(){
|
11 |
+
|
12 |
+
$status = 1; // 1 = Enabled, 0 = Disabled
|
13 |
+
|
14 |
+
$apiUsername = Mage::getStoreConfig('ordersync/display_settings/username');
|
15 |
+
$apiPassword = Mage::getStoreConfig('ordersync/display_settings/password');
|
16 |
+
$this->loadLayout();
|
17 |
+
$this->renderLayout();
|
18 |
+
|
19 |
+
$parms = $this->getRequest()->getParams();
|
20 |
+
$ssfUsername = $parms['ssfUsername'];
|
21 |
+
$ssfPassword = $parms['ssfPassword'];
|
22 |
+
$ssfAPICall = $parms['ssfAPICall'];
|
23 |
+
|
24 |
+
|
25 |
+
if($status == 1 && !empty($ssfUsername) && !empty($ssfPassword) && $ssfUsername == $apiUsername && $ssfPassword == $apiPassword){
|
26 |
+
// Download list of orders
|
27 |
+
if(isset($ssfAPICall) && $ssfAPICall == "importCSV"){
|
28 |
+
|
29 |
+
$collection = Mage::getResourceModel('sales/order_collection')->addAttributeToSelect('*');
|
30 |
+
$collection->addFieldToFilter('status', 'processing');
|
31 |
+
|
32 |
+
$csvstring = "";
|
33 |
+
|
34 |
+
foreach ($collection as $col) {
|
35 |
+
|
36 |
+
$_shippingAddress = $col->getShippingAddress();
|
37 |
+
$id = $col->getId();
|
38 |
+
|
39 |
+
$basetotal = $col->getBaseSubtotal();
|
40 |
+
$baseshippingamount = $col->getBaseShippingAmount();
|
41 |
+
$basegrandtotal = $col->getBaseGrandTotal();
|
42 |
+
$baseshippingaaxamount = $col->getBaseShippingTaxAmount();
|
43 |
+
//echo $customerid = $col->getCustomerId();
|
44 |
+
|
45 |
+
$order_id = $col->getIncrementId();
|
46 |
+
$createdate = $col->getCreatedAt();
|
47 |
+
$created_date = strtotime($createdate);
|
48 |
+
$updateddate = $col->getUpdatedAt();
|
49 |
+
$updated_date = strtotime($updateddate);
|
50 |
+
$get_state = $col->getState();
|
51 |
+
$get_status = $col->getStatus();
|
52 |
+
$customer_name = $_shippingAddress->getFirstname()." ".$_shippingAddress->getLastname();
|
53 |
+
$address1 = $_shippingAddress->getStreet1();
|
54 |
+
$address2 = $_shippingAddress->getStreet2();
|
55 |
+
$city = $_shippingAddress->getCity();
|
56 |
+
$state = $_shippingAddress->getRegion();
|
57 |
+
$country_code = $_shippingAddress->getCountry_id();
|
58 |
+
$country = Mage::app()->getLocale()->getCountryTranslation($country_code);
|
59 |
+
$customer_email = $_shippingAddress->getEmail();
|
60 |
+
$customerNote = $col->getCustomerNote();
|
61 |
+
$telephone = $_shippingAddress->getTelephone();
|
62 |
+
$$postcode = $_shippingAddress->getPostcode();
|
63 |
+
$fax = $_shippingAddress->getFax();
|
64 |
+
$vat = $_shippingAddress->getVatId();
|
65 |
+
|
66 |
+
$products = array();
|
67 |
+
$items = $col->getAllVisibleItems();
|
68 |
+
foreach($items as $i) {
|
69 |
+
$product_it['pid'] = $i->getProductId();
|
70 |
+
$product_it['sku'] = $i->getSku();
|
71 |
+
$product_it['qty'] = $i->getQtyOrdered();
|
72 |
+
$product_it['price'] = $i->getPrice();
|
73 |
+
$product_it['name'] = $i->getName();
|
74 |
+
$product_it['order_id'] = $order_id;
|
75 |
+
|
76 |
+
$products[] = $product_it;
|
77 |
+
}
|
78 |
+
|
79 |
+
$str = serialize($products);
|
80 |
+
$products_str = urlencode($str);
|
81 |
+
|
82 |
+
$csvv = "order_id=".$this->_csvSafe($order_id).",".
|
83 |
+
"get_status=".$this->_csvSafe($get_status).",".
|
84 |
+
"created_date=".$this->_csvSafe($created_date).",".
|
85 |
+
"updated_date=".$this->_csvSafe($updated_date).",".
|
86 |
+
"get_state=".$this->_csvSafe($get_state).",".
|
87 |
+
"address1=".$this->_csvSafe($address1).",".
|
88 |
+
"address2=".$this->_csvSafe($address2).",".
|
89 |
+
"city=".$this->_csvSafe($city).",".
|
90 |
+
"state=".$this->_csvSafe($state).",".
|
91 |
+
"country=".$this->_csvSafe($country).",".
|
92 |
+
"customer_email=".$this->_csvSafe($customer_email).",".
|
93 |
+
"customer_name=".$this->_csvSafe($customer_name).",".
|
94 |
+
"basetotal=".$this->_csvSafe($basetotal).",".
|
95 |
+
"baseshippingamount=".$this->_csvSafe($baseshippingamount).",".
|
96 |
+
"basegrandtotal=".$this->_csvSafe($basegrandtotal).",".
|
97 |
+
"baseshippingaaxamount=".$this->_csvSafe($baseshippingaaxamount).",".
|
98 |
+
"customerNote=".$this->_csvSafe($customerNote).",".
|
99 |
+
"telephone=".$this->_csvSafe($telephone).",".
|
100 |
+
"postcode=".$this->_csvSafe($postcode).",".
|
101 |
+
"fax=".$this->_csvSafe($fax).",".
|
102 |
+
"vat=".$this->_csvSafe($vat).",".
|
103 |
+
"products=".$products_str;
|
104 |
+
|
105 |
+
if(isset($csvstring) && $csvstring!="")
|
106 |
+
{
|
107 |
+
$csvstring = $csvstring."\r\n".$csvv;
|
108 |
+
|
109 |
+
} else {
|
110 |
+
$csvstring = $csvv;
|
111 |
+
}
|
112 |
+
}
|
113 |
+
|
114 |
+
echo $csvstring;
|
115 |
+
}
|
116 |
+
|
117 |
+
|
118 |
+
//----- Generate shipment and updae order -----------------------
|
119 |
+
if(isset($ssfAPICall) && $ssfAPICall == "importShipped"){
|
120 |
+
|
121 |
+
$ssfData = $parms['ssfData'];
|
122 |
+
$ssfStock = $parms['ssfStock'];
|
123 |
+
$orders = unserialize(base64_decode($ssfData));
|
124 |
+
$prds_stocks = unserialize(base64_decode($ssfStock));
|
125 |
+
|
126 |
+
|
127 |
+
if(count($orders))
|
128 |
+
{
|
129 |
+
foreach($orders as $oval)
|
130 |
+
{
|
131 |
+
$orderno = $oval['orderId'];
|
132 |
+
$tracking = $oval['trackingNumber'];
|
133 |
+
$shipDate = $oval['shipDate'];
|
134 |
+
|
135 |
+
$this->_processOrder($orderno, $tracking);
|
136 |
+
|
137 |
+
}
|
138 |
+
echo(1);
|
139 |
+
} else {
|
140 |
+
echo(0);
|
141 |
+
}
|
142 |
+
|
143 |
+
|
144 |
+
if(count($prds_stocks))
|
145 |
+
{
|
146 |
+
foreach($prds_stocks as $pval)
|
147 |
+
{
|
148 |
+
$sku = $pval['sku'];
|
149 |
+
$stock = $pval['stock'];
|
150 |
+
$name = $pval['name'];
|
151 |
+
|
152 |
+
$this->_productStockUpdate($sku, $stock);
|
153 |
+
|
154 |
+
}
|
155 |
+
echo(1);
|
156 |
+
} else {
|
157 |
+
echo(0);
|
158 |
+
}
|
159 |
+
|
160 |
+
|
161 |
+
}
|
162 |
+
|
163 |
+
|
164 |
+
//---------Get Prodcuts to import in to sytem -------------------------
|
165 |
+
|
166 |
+
if(isset($ssfAPICall) && $ssfAPICall == "productList"){
|
167 |
+
|
168 |
+
$collection = Mage::getModel('catalog/product')->getCollection()->addAttributeToSelect('*');
|
169 |
+
|
170 |
+
$productlist = array();
|
171 |
+
foreach($collection as $product) {
|
172 |
+
|
173 |
+
$productItem['pid'] = $product->getId();
|
174 |
+
$productItem['name'] = $product->getName();
|
175 |
+
$productItem['price'] = $product->getPrice();
|
176 |
+
$productItem['sku'] = $product->getSku();
|
177 |
+
$productItem['weight'] = $product->getWeight();
|
178 |
+
$productItem['qty'] = (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($product->getId())->getQty();
|
179 |
+
$productlist[] = $productItem;
|
180 |
+
|
181 |
+
}
|
182 |
+
|
183 |
+
$str = serialize($productlist);
|
184 |
+
echo $strenc = urlencode($str);
|
185 |
+
|
186 |
+
}
|
187 |
+
//----------------------------------
|
188 |
+
|
189 |
+
|
190 |
+
} else {
|
191 |
+
echo("-1");
|
192 |
+
exit;
|
193 |
+
}
|
194 |
+
|
195 |
+
echo("-1");
|
196 |
+
exit;
|
197 |
+
}
|
198 |
+
|
199 |
+
|
200 |
+
function _csvSafe($string){
|
201 |
+
return str_replace('"', '\"', $string);
|
202 |
+
}
|
203 |
+
|
204 |
+
|
205 |
+
//---------function to update the product stock --------
|
206 |
+
|
207 |
+
function _productStockUpdate($sku, $qty){
|
208 |
+
|
209 |
+
$connection = Mage::getSingleton('core/resource')->getConnection('core_read');
|
210 |
+
$connectionW = Mage::getSingleton('core/resource')->getConnection('core_write');
|
211 |
+
|
212 |
+
$product = Mage::getModel('catalog/product')->loadByAttribute('sku',$sku);
|
213 |
+
if($product)
|
214 |
+
{
|
215 |
+
$stockItem = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product->getId());
|
216 |
+
$stockItemData = $stockItem->getData();
|
217 |
+
if (empty($stockItemData)) {
|
218 |
+
|
219 |
+
// Create the initial stock item object
|
220 |
+
$stockItem->setData('manage_stock',1);
|
221 |
+
$stockItem->setData('is_in_stock',$qty ? 1 : 0);
|
222 |
+
$stockItem->setData('use_config_manage_stock', 0);
|
223 |
+
$stockItem->setData('stock_id',1);
|
224 |
+
$stockItem->setData('product_id',$product->getId());
|
225 |
+
$stockItem->setData('qty',0);
|
226 |
+
$stockItem->save();
|
227 |
+
|
228 |
+
// Init the object again after it has been saved so we get the full object
|
229 |
+
$stockItem = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product->getId());
|
230 |
+
}
|
231 |
+
|
232 |
+
// Set the quantity
|
233 |
+
$stockItem->setData('is_in_stock',$qty ? 1 : 0);
|
234 |
+
$stockItem->setData('qty',$qty);
|
235 |
+
$stockItem->save();
|
236 |
+
$product->save();
|
237 |
+
|
238 |
+
}
|
239 |
+
|
240 |
+
}
|
241 |
+
|
242 |
+
//---------function to generate shipment and add tracking number --------
|
243 |
+
|
244 |
+
function _processOrder($ORDERIDPP, $order_trackingno) {
|
245 |
+
|
246 |
+
$connection = Mage::getSingleton('core/resource')->getConnection('core_read');
|
247 |
+
$connectionW = Mage::getSingleton('core/resource')->getConnection('core_write');
|
248 |
+
|
249 |
+
|
250 |
+
$orders = array();
|
251 |
+
|
252 |
+
$odrid = $ORDERIDPP;
|
253 |
+
$orders[$ORDERIDPP] = array($order_trackingno, 'Custom');
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
foreach($orders as $orderno => $tinfo) {
|
258 |
+
|
259 |
+
$order = Mage::getModel('sales/order'); //Load the orders Model, so we can fetch and verify the order number
|
260 |
+
|
261 |
+
if($order->loadByIncrementId($orderno)){
|
262 |
+
|
263 |
+
$convertor = Mage::getModel('sales/convert_order'); //Load the convert_order model, this allows us to 'convert' the order to a shipment (it can also do credit memos.)
|
264 |
+
$shipment = $convertor->toShipment($order); //Tells the convertor we want to convert it to a shipment
|
265 |
+
|
266 |
+
if($shipment) { //This foreach simply gets all the items, and adds them to our shipment.
|
267 |
+
|
268 |
+
foreach ($order->getAllItems() as $orderItem) {
|
269 |
+
if (!$orderItem->getQtyToShip()) {
|
270 |
+
continue;
|
271 |
+
}
|
272 |
+
if ($orderItem->getIsVirtual()) {
|
273 |
+
continue;
|
274 |
+
}
|
275 |
+
$item = $convertor->itemToShipmentItem($orderItem); //Prepares to add the item
|
276 |
+
$qty = $orderItem->getQtyToShip();
|
277 |
+
$item->setQty($qty); //Sets the quantity of that item to be shipped. Line above we set the quantity we wanted to ship
|
278 |
+
$shipment->addItem($item); //Adds the item
|
279 |
+
}
|
280 |
+
|
281 |
+
$data = array();
|
282 |
+
$data['carrier_code'] = 'custom'; //This needs to be custom, it allows us to enter a courier's company name in the 'title' section.
|
283 |
+
$data['title'] = $tinfo[1]; //Couriers company name
|
284 |
+
$data['number'] = $order_trackingno;//$tinfo[0]; //The tracking number
|
285 |
+
|
286 |
+
$track = Mage::getModel('sales/order_shipment_track')->addData($data);
|
287 |
+
|
288 |
+
$shipment->addTrack($track); //Adds the tracking to the shipment
|
289 |
+
$shipment->register();
|
290 |
+
$shipment->addComment(null, true); //Adds any comments if there are any. Includes the comment in the email if required.
|
291 |
+
$shipment->setEmailSent(true); //This marks the shipment as customer notified, otherwise it doesn't.
|
292 |
+
$shipment->getOrder()->setIsInProcess(true);
|
293 |
+
|
294 |
+
try {
|
295 |
+
//Now we try to save the 'transaction', just to confirm everything has worked without the hitch.
|
296 |
+
$transactionSave = Mage::getModel('core/resource_transaction')
|
297 |
+
->addObject($shipment)
|
298 |
+
->addObject($shipment->getOrder())
|
299 |
+
->save();
|
300 |
+
} catch (Exception $e) {
|
301 |
+
//print_r($e); //Prints out any exceptions that have been thrown up, hopefully none!
|
302 |
+
continue;
|
303 |
+
}
|
304 |
+
|
305 |
+
$shipment->sendEmail(true, ''); //Finally, Send email customer
|
306 |
+
|
307 |
+
}
|
308 |
+
|
309 |
+
}
|
310 |
+
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fulfillment_Ordersync</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>To sync the Magento orders with Storeship for shipping</description>
|
11 |
<notes>To sync the Magento orders with Storeship for shipping</notes>
|
12 |
<authors><author><name>Storeship</name><user>Storeship</user><email>sales@storeship.co.uk</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fulfillment"><dir name="Ordersync"><dir name="Helper"><file name="Data.php" hash="018943e4fed216c0566687443a3c3513"/></dir><dir name="controllers"><file name="IndexController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fulfillment_Ordersync</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>To sync the Magento orders with Storeship for shipping</description>
|
11 |
<notes>To sync the Magento orders with Storeship for shipping</notes>
|
12 |
<authors><author><name>Storeship</name><user>Storeship</user><email>sales@storeship.co.uk</email></author></authors>
|
13 |
+
<date>2014-09-04</date>
|
14 |
+
<time>13:34:55</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fulfillment"><dir name="Ordersync"><dir name="Helper"><file name="Data.php" hash="018943e4fed216c0566687443a3c3513"/></dir><dir name="controllers"><file name="IndexController.php" hash="e05e09ec0b4e0ca07c2caeccacc5671b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="760529eb184e19c83cb61afc82abb789"/><file name="config.xml" hash="d971cff9c0809c03148410d704ffdd0e"/><file name="system.xml" hash="d3ce08ae5da3d7cbe7694da642ca489f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fulfillment_Ordersync.xml" hash="8af85a52db86eb7e0e0f86d0d741d0fc"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|