Version Notes
- Added Pace, StarTrack Express, CouriersPlease Shipping Methods.
- Added Rates at Checkout for Pace, StarTrack Express, CouriersPlease carriers.
Download this release
Release Info
| Developer | George Plummer |
| Extension | Rvtech_Starshipit |
| Version | 1.6.3.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.6.2.7 to 1.6.3.0
- app/code/community/Rvtech/Starshipit/Model/Carrier/Couriersplease.php +167 -0
- app/code/community/Rvtech/Starshipit/Model/Carrier/Pace.php +167 -0
- app/code/community/Rvtech/Starshipit/Model/Carrier/Startrackexpress.php +167 -0
- app/code/community/Rvtech/Starshipit/etc/config.xml +40 -10
- app/code/community/Rvtech/Starshipit/etc/system.xml +259 -16
- package.xml +6 -6
app/code/community/Rvtech/Starshipit/Model/Carrier/Couriersplease.php
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Rvtech_Starshipit_Model_Carrier_Couriersplease extends Mage_Shipping_Model_Carrier_Abstract
|
| 3 |
+
implements Mage_Shipping_Model_Carrier_Interface {
|
| 4 |
+
protected $_code = 'couriersplease';
|
| 5 |
+
|
| 6 |
+
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
|
| 7 |
+
{
|
| 8 |
+
if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
|
| 9 |
+
return false;
|
| 10 |
+
}
|
| 11 |
+
$price = 0;
|
| 12 |
+
$doCalulate = $this->getConfigData('calculate');
|
| 13 |
+
if ($doCalulate==0)
|
| 14 |
+
{
|
| 15 |
+
$price = $this->getConfigData('price');
|
| 16 |
+
}
|
| 17 |
+
else{
|
| 18 |
+
try {
|
| 19 |
+
$shipItApiKey = Mage::helper('shipnote')->getShipItApiKey();
|
| 20 |
+
if ($shipItApiKey == "") {
|
| 21 |
+
return false;
|
| 22 |
+
}
|
| 23 |
+
$origCountryId = $request->getCountryId(); //Package Source Country ID
|
| 24 |
+
$origRegionId = $request->getRegionId(); //Package Source Region ID
|
| 25 |
+
$origRegionCode = $request->getRegion(); //Package Source Region Code
|
| 26 |
+
$origCity = $request->getCity(); //Package Source City
|
| 27 |
+
$origPostcode = $request->getPostcode(); //Package Source Post Code
|
| 28 |
+
|
| 29 |
+
$destCountryId = $request->getDestCountryId();
|
| 30 |
+
$destCountry = $request->getDestCountry();
|
| 31 |
+
$destRegion = $request->getDestRegionId();
|
| 32 |
+
$destRegionCode = $request->getDestRegionCode();
|
| 33 |
+
$destFullStreet = $request->getDestStreet();
|
| 34 |
+
$destStreet = "";
|
| 35 |
+
$destSuburb = "";
|
| 36 |
+
$destCity = $request->getDestCity();
|
| 37 |
+
$destPostcode = $request->getDestPostcode();
|
| 38 |
+
|
| 39 |
+
$destFullStreetArray = explode("\n", $destFullStreet);
|
| 40 |
+
if ($destFullStreetArray[0] !== false)
|
| 41 |
+
$destStreet = $destFullStreetArray[0];
|
| 42 |
+
if ($destFullStreetArray[1] !== false)
|
| 43 |
+
$destSuburb = $destFullStreetArray[1];
|
| 44 |
+
|
| 45 |
+
$packageValue = $request->getPackageValue(); //Dest Package Value
|
| 46 |
+
$packageValueDiscout = $request->getPackageValueWithDiscount(); //Dest Package Value After Discount
|
| 47 |
+
$packageWeight = $request->getPackageWeight() * 1000; //Package Weight (grams)
|
| 48 |
+
$packageCurrency = $request->getPackageCurrency();
|
| 49 |
+
|
| 50 |
+
$url = 'https://api.shipit.click/rate?apiKey=' . $shipItApiKey . '&integration=magento&format=json';
|
| 51 |
+
$post_data = '{
|
| 52 |
+
"rate": {
|
| 53 |
+
"origin": {
|
| 54 |
+
"country": "' . $origCountryId . '",
|
| 55 |
+
"postal_code": "' . $origPostcode . '",
|
| 56 |
+
"province": "' . $origRegionCode . '",
|
| 57 |
+
"city": "' . $origCity . '",
|
| 58 |
+
"name": null,
|
| 59 |
+
"address1": null,
|
| 60 |
+
"address2": null,
|
| 61 |
+
"address3": null,
|
| 62 |
+
"phone": null,
|
| 63 |
+
"fax": null,
|
| 64 |
+
"address_type": null,
|
| 65 |
+
"company_name": null
|
| 66 |
+
},
|
| 67 |
+
"destination":{
|
| 68 |
+
"country": "' . $destCountryId . '",
|
| 69 |
+
"postal_code": "' . $destPostcode . '",
|
| 70 |
+
"province": "' . $destRegionCode . '",
|
| 71 |
+
"city": "' . $destCity . '",
|
| 72 |
+
"name": null,
|
| 73 |
+
"address1": "' . $destStreet . '",
|
| 74 |
+
"address2": "' . $destSuburb . '",
|
| 75 |
+
"address3": null,
|
| 76 |
+
"phone": null,
|
| 77 |
+
"fax": null,
|
| 78 |
+
"address_type": null,
|
| 79 |
+
"company_name": null
|
| 80 |
+
},
|
| 81 |
+
"items":[
|
| 82 |
+
{
|
| 83 |
+
"name": "Total Items",
|
| 84 |
+
"sku": null,
|
| 85 |
+
"quantity": 1,
|
| 86 |
+
"grams": ' . $packageWeight . ' ,
|
| 87 |
+
"price": ' . $packageValue . ',
|
| 88 |
+
"vendor": null,
|
| 89 |
+
"requires_shipping": true,
|
| 90 |
+
"taxable": true,
|
| 91 |
+
"fulfillment_service": "manual"
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"currency": "' . $packageCurrency->getCurrencyCode() . '",
|
| 95 |
+
"carrierid": "17"
|
| 96 |
+
}
|
| 97 |
+
}';
|
| 98 |
+
$contentLength = strlen($post_data);
|
| 99 |
+
|
| 100 |
+
$ch = curl_init();
|
| 101 |
+
curl_setopt($ch, CURLOPT_URL, $url);
|
| 102 |
+
curl_setopt($ch, CURLOPT_HEADER, false);
|
| 103 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 104 |
+
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
|
| 105 |
+
curl_setopt($ch, CURLOPT_POST, true);
|
| 106 |
+
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
|
| 107 |
+
$response = curl_exec($ch);
|
| 108 |
+
curl_close($ch);
|
| 109 |
+
|
| 110 |
+
$json_obj = json_decode($response);
|
| 111 |
+
$rates_obj = $json_obj->{'rates'};
|
| 112 |
+
|
| 113 |
+
$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
|
| 114 |
+
$result = Mage::getModel('shipping/rate_result');
|
| 115 |
+
$show = true;
|
| 116 |
+
if($show){
|
| 117 |
+
if(sizeof($rates_obj) > 0) {
|
| 118 |
+
foreach($rates_obj as $rate) {
|
| 119 |
+
if(is_object($rate)) {
|
| 120 |
+
// Add shipping option with shipping price
|
| 121 |
+
$method = Mage::getModel('shipping/rate_result_method');
|
| 122 |
+
$method->setCarrier($this->_code);
|
| 123 |
+
$method->setMethod($this->_code . $rate->{'service_code'});
|
| 124 |
+
$method->setCarrierTitle($this->getConfigData('title'));
|
| 125 |
+
$method->setMethodTitle($rate->{'service_name'});
|
| 126 |
+
$method->setPrice($rate->{'total_price'});
|
| 127 |
+
$method->setCost(0);
|
| 128 |
+
$result->append($method);
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
}else{
|
| 133 |
+
$error = Mage::getModel('shipping/rate_result_error');
|
| 134 |
+
$error->setCarrier($this->_code);
|
| 135 |
+
$error->setCarrierTitle($this->getConfigData('name'));
|
| 136 |
+
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
|
| 137 |
+
$result->append($error);
|
| 138 |
+
}
|
| 139 |
+
}
|
| 140 |
+
catch (Exception $e) {
|
| 141 |
+
Mage::log($e->getMessage());
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
return $result;
|
| 146 |
+
}
|
| 147 |
+
public function getAllowedMethods()
|
| 148 |
+
{
|
| 149 |
+
return array('couriersplease'=>$this->getConfigData('name'));
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
public function isTrackingAvailable()
|
| 153 |
+
{
|
| 154 |
+
return true;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
public function getTrackingInfo($tracking)
|
| 158 |
+
{
|
| 159 |
+
$status = Mage::getModel('shipping/tracking_result_status');
|
| 160 |
+
$status->setCarrier($this->_code);
|
| 161 |
+
$status->setCarrierTitle($this->getConfigData('title'));
|
| 162 |
+
$status->setTracking($tracking);
|
| 163 |
+
$status->setPopup(1);
|
| 164 |
+
$status->setUrl("http://www2.couriersplease.com.au/37:ezytrak-results?couponid=".$tracking);
|
| 165 |
+
return $status;
|
| 166 |
+
}
|
| 167 |
+
}
|
app/code/community/Rvtech/Starshipit/Model/Carrier/Pace.php
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Rvtech_Starshipit_Model_Carrier_Pace extends Mage_Shipping_Model_Carrier_Abstract
|
| 3 |
+
implements Mage_Shipping_Model_Carrier_Interface {
|
| 4 |
+
protected $_code = 'pace';
|
| 5 |
+
|
| 6 |
+
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
|
| 7 |
+
{
|
| 8 |
+
if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
|
| 9 |
+
return false;
|
| 10 |
+
}
|
| 11 |
+
$price = 0;
|
| 12 |
+
$doCalulate = $this->getConfigData('calculate');
|
| 13 |
+
if ($doCalulate==0)
|
| 14 |
+
{
|
| 15 |
+
$price = $this->getConfigData('price');
|
| 16 |
+
}
|
| 17 |
+
else{
|
| 18 |
+
try {
|
| 19 |
+
$shipItApiKey = Mage::helper('shipnote')->getShipItApiKey();
|
| 20 |
+
if ($shipItApiKey == "") {
|
| 21 |
+
return false;
|
| 22 |
+
}
|
| 23 |
+
$origCountryId = $request->getCountryId(); //Package Source Country ID
|
| 24 |
+
$origRegionId = $request->getRegionId(); //Package Source Region ID
|
| 25 |
+
$origRegionCode = $request->getRegion(); //Package Source Region Code
|
| 26 |
+
$origCity = $request->getCity(); //Package Source City
|
| 27 |
+
$origPostcode = $request->getPostcode(); //Package Source Post Code
|
| 28 |
+
|
| 29 |
+
$destCountryId = $request->getDestCountryId();
|
| 30 |
+
$destCountry = $request->getDestCountry();
|
| 31 |
+
$destRegion = $request->getDestRegionId();
|
| 32 |
+
$destRegionCode = $request->getDestRegionCode();
|
| 33 |
+
$destFullStreet = $request->getDestStreet();
|
| 34 |
+
$destStreet = "";
|
| 35 |
+
$destSuburb = "";
|
| 36 |
+
$destCity = $request->getDestCity();
|
| 37 |
+
$destPostcode = $request->getDestPostcode();
|
| 38 |
+
|
| 39 |
+
$destFullStreetArray = explode("\n", $destFullStreet);
|
| 40 |
+
if ($destFullStreetArray[0] !== false)
|
| 41 |
+
$destStreet = $destFullStreetArray[0];
|
| 42 |
+
if ($destFullStreetArray[1] !== false)
|
| 43 |
+
$destSuburb = $destFullStreetArray[1];
|
| 44 |
+
|
| 45 |
+
$packageValue = $request->getPackageValue(); //Dest Package Value
|
| 46 |
+
$packageValueDiscout = $request->getPackageValueWithDiscount(); //Dest Package Value After Discount
|
| 47 |
+
$packageWeight = $request->getPackageWeight() * 1000; //Package Weight (grams)
|
| 48 |
+
$packageCurrency = $request->getPackageCurrency();
|
| 49 |
+
|
| 50 |
+
$url = 'https://api.shipit.click/rate?apiKey=' . $shipItApiKey . '&integration=magento&format=json';
|
| 51 |
+
$post_data = '{
|
| 52 |
+
"rate": {
|
| 53 |
+
"origin": {
|
| 54 |
+
"country": "' . $origCountryId . '",
|
| 55 |
+
"postal_code": "' . $origPostcode . '",
|
| 56 |
+
"province": "' . $origRegionCode . '",
|
| 57 |
+
"city": "' . $origCity . '",
|
| 58 |
+
"name": null,
|
| 59 |
+
"address1": null,
|
| 60 |
+
"address2": null,
|
| 61 |
+
"address3": null,
|
| 62 |
+
"phone": null,
|
| 63 |
+
"fax": null,
|
| 64 |
+
"address_type": null,
|
| 65 |
+
"company_name": null
|
| 66 |
+
},
|
| 67 |
+
"destination":{
|
| 68 |
+
"country": "' . $destCountryId . '",
|
| 69 |
+
"postal_code": "' . $destPostcode . '",
|
| 70 |
+
"province": "' . $destRegionCode . '",
|
| 71 |
+
"city": "' . $destCity . '",
|
| 72 |
+
"name": null,
|
| 73 |
+
"address1": "' . $destStreet . '",
|
| 74 |
+
"address2": "' . $destSuburb . '",
|
| 75 |
+
"address3": null,
|
| 76 |
+
"phone": null,
|
| 77 |
+
"fax": null,
|
| 78 |
+
"address_type": null,
|
| 79 |
+
"company_name": null
|
| 80 |
+
},
|
| 81 |
+
"items":[
|
| 82 |
+
{
|
| 83 |
+
"name": "Total Items",
|
| 84 |
+
"sku": null,
|
| 85 |
+
"quantity": 1,
|
| 86 |
+
"grams": ' . $packageWeight . ' ,
|
| 87 |
+
"price": ' . $packageValue . ',
|
| 88 |
+
"vendor": null,
|
| 89 |
+
"requires_shipping": true,
|
| 90 |
+
"taxable": true,
|
| 91 |
+
"fulfillment_service": "manual"
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"currency": "' . $packageCurrency->getCurrencyCode() . '",
|
| 95 |
+
"carrierid": "19"
|
| 96 |
+
}
|
| 97 |
+
}';
|
| 98 |
+
$contentLength = strlen($post_data);
|
| 99 |
+
|
| 100 |
+
$ch = curl_init();
|
| 101 |
+
curl_setopt($ch, CURLOPT_URL, $url);
|
| 102 |
+
curl_setopt($ch, CURLOPT_HEADER, false);
|
| 103 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 104 |
+
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
|
| 105 |
+
curl_setopt($ch, CURLOPT_POST, true);
|
| 106 |
+
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
|
| 107 |
+
$response = curl_exec($ch);
|
| 108 |
+
curl_close($ch);
|
| 109 |
+
|
| 110 |
+
$json_obj = json_decode($response);
|
| 111 |
+
$rates_obj = $json_obj->{'rates'};
|
| 112 |
+
|
| 113 |
+
$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
|
| 114 |
+
$result = Mage::getModel('shipping/rate_result');
|
| 115 |
+
$show = true;
|
| 116 |
+
if($show){
|
| 117 |
+
if(sizeof($rates_obj) > 0) {
|
| 118 |
+
foreach($rates_obj as $rate) {
|
| 119 |
+
if(is_object($rate)) {
|
| 120 |
+
// Add shipping option with shipping price
|
| 121 |
+
$method = Mage::getModel('shipping/rate_result_method');
|
| 122 |
+
$method->setCarrier($this->_code);
|
| 123 |
+
$method->setMethod($this->_code . $rate->{'service_code'});
|
| 124 |
+
$method->setCarrierTitle($this->getConfigData('title'));
|
| 125 |
+
$method->setMethodTitle($rate->{'service_name'});
|
| 126 |
+
$method->setPrice($rate->{'total_price'});
|
| 127 |
+
$method->setCost(0);
|
| 128 |
+
$result->append($method);
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
}else{
|
| 133 |
+
$error = Mage::getModel('shipping/rate_result_error');
|
| 134 |
+
$error->setCarrier($this->_code);
|
| 135 |
+
$error->setCarrierTitle($this->getConfigData('name'));
|
| 136 |
+
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
|
| 137 |
+
$result->append($error);
|
| 138 |
+
}
|
| 139 |
+
}
|
| 140 |
+
catch (Exception $e) {
|
| 141 |
+
Mage::log($e->getMessage());
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
return $result;
|
| 146 |
+
}
|
| 147 |
+
public function getAllowedMethods()
|
| 148 |
+
{
|
| 149 |
+
return array('pace'=>$this->getConfigData('name'));
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
public function isTrackingAvailable()
|
| 153 |
+
{
|
| 154 |
+
return true;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
public function getTrackingInfo($tracking)
|
| 158 |
+
{
|
| 159 |
+
$status = Mage::getModel('shipping/tracking_result_status');
|
| 160 |
+
$status->setCarrier($this->_code);
|
| 161 |
+
$status->setCarrierTitle($this->getConfigData('title'));
|
| 162 |
+
$status->setTracking($tracking);
|
| 163 |
+
$status->setPopup(1);
|
| 164 |
+
$status->setUrl("http://trackandtrace.courierpost.co.nz/search/".$tracking);
|
| 165 |
+
return $status;
|
| 166 |
+
}
|
| 167 |
+
}
|
app/code/community/Rvtech/Starshipit/Model/Carrier/Startrackexpress.php
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Rvtech_Starshipit_Model_Carrier_Startrackexpress extends Mage_Shipping_Model_Carrier_Abstract
|
| 3 |
+
implements Mage_Shipping_Model_Carrier_Interface {
|
| 4 |
+
protected $_code = 'startrackexpress';
|
| 5 |
+
|
| 6 |
+
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
|
| 7 |
+
{
|
| 8 |
+
if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active')) {
|
| 9 |
+
return false;
|
| 10 |
+
}
|
| 11 |
+
$price = 0;
|
| 12 |
+
$doCalulate = $this->getConfigData('calculate');
|
| 13 |
+
if ($doCalulate==0)
|
| 14 |
+
{
|
| 15 |
+
$price = $this->getConfigData('price');
|
| 16 |
+
}
|
| 17 |
+
else{
|
| 18 |
+
try {
|
| 19 |
+
$shipItApiKey = Mage::helper('shipnote')->getShipItApiKey();
|
| 20 |
+
if ($shipItApiKey == "") {
|
| 21 |
+
return false;
|
| 22 |
+
}
|
| 23 |
+
$origCountryId = $request->getCountryId(); //Package Source Country ID
|
| 24 |
+
$origRegionId = $request->getRegionId(); //Package Source Region ID
|
| 25 |
+
$origRegionCode = $request->getRegion(); //Package Source Region Code
|
| 26 |
+
$origCity = $request->getCity(); //Package Source City
|
| 27 |
+
$origPostcode = $request->getPostcode(); //Package Source Post Code
|
| 28 |
+
|
| 29 |
+
$destCountryId = $request->getDestCountryId();
|
| 30 |
+
$destCountry = $request->getDestCountry();
|
| 31 |
+
$destRegion = $request->getDestRegionId();
|
| 32 |
+
$destRegionCode = $request->getDestRegionCode();
|
| 33 |
+
$destFullStreet = $request->getDestStreet();
|
| 34 |
+
$destStreet = "";
|
| 35 |
+
$destSuburb = "";
|
| 36 |
+
$destCity = $request->getDestCity();
|
| 37 |
+
$destPostcode = $request->getDestPostcode();
|
| 38 |
+
|
| 39 |
+
$destFullStreetArray = explode("\n", $destFullStreet);
|
| 40 |
+
if ($destFullStreetArray[0] !== false)
|
| 41 |
+
$destStreet = $destFullStreetArray[0];
|
| 42 |
+
if ($destFullStreetArray[1] !== false)
|
| 43 |
+
$destSuburb = $destFullStreetArray[1];
|
| 44 |
+
|
| 45 |
+
$packageValue = $request->getPackageValue(); //Dest Package Value
|
| 46 |
+
$packageValueDiscout = $request->getPackageValueWithDiscount(); //Dest Package Value After Discount
|
| 47 |
+
$packageWeight = $request->getPackageWeight() * 1000; //Package Weight (grams)
|
| 48 |
+
$packageCurrency = $request->getPackageCurrency();
|
| 49 |
+
|
| 50 |
+
$url = 'https://api.shipit.click/rate?apiKey=' . $shipItApiKey . '&integration=magento&format=json';
|
| 51 |
+
$post_data = '{
|
| 52 |
+
"rate": {
|
| 53 |
+
"origin": {
|
| 54 |
+
"country": "' . $origCountryId . '",
|
| 55 |
+
"postal_code": "' . $origPostcode . '",
|
| 56 |
+
"province": "' . $origRegionCode . '",
|
| 57 |
+
"city": "' . $origCity . '",
|
| 58 |
+
"name": null,
|
| 59 |
+
"address1": null,
|
| 60 |
+
"address2": null,
|
| 61 |
+
"address3": null,
|
| 62 |
+
"phone": null,
|
| 63 |
+
"fax": null,
|
| 64 |
+
"address_type": null,
|
| 65 |
+
"company_name": null
|
| 66 |
+
},
|
| 67 |
+
"destination":{
|
| 68 |
+
"country": "' . $destCountryId . '",
|
| 69 |
+
"postal_code": "' . $destPostcode . '",
|
| 70 |
+
"province": "' . $destRegionCode . '",
|
| 71 |
+
"city": "' . $destCity . '",
|
| 72 |
+
"name": null,
|
| 73 |
+
"address1": "' . $destStreet . '",
|
| 74 |
+
"address2": "' . $destSuburb . '",
|
| 75 |
+
"address3": null,
|
| 76 |
+
"phone": null,
|
| 77 |
+
"fax": null,
|
| 78 |
+
"address_type": null,
|
| 79 |
+
"company_name": null
|
| 80 |
+
},
|
| 81 |
+
"items":[
|
| 82 |
+
{
|
| 83 |
+
"name": "Total Items",
|
| 84 |
+
"sku": null,
|
| 85 |
+
"quantity": 1,
|
| 86 |
+
"grams": ' . $packageWeight . ' ,
|
| 87 |
+
"price": ' . $packageValue . ',
|
| 88 |
+
"vendor": null,
|
| 89 |
+
"requires_shipping": true,
|
| 90 |
+
"taxable": true,
|
| 91 |
+
"fulfillment_service": "manual"
|
| 92 |
+
}
|
| 93 |
+
],
|
| 94 |
+
"currency": "' . $packageCurrency->getCurrencyCode() . '",
|
| 95 |
+
"carrierid": "20"
|
| 96 |
+
}
|
| 97 |
+
}';
|
| 98 |
+
$contentLength = strlen($post_data);
|
| 99 |
+
|
| 100 |
+
$ch = curl_init();
|
| 101 |
+
curl_setopt($ch, CURLOPT_URL, $url);
|
| 102 |
+
curl_setopt($ch, CURLOPT_HEADER, false);
|
| 103 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 104 |
+
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
|
| 105 |
+
curl_setopt($ch, CURLOPT_POST, true);
|
| 106 |
+
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
|
| 107 |
+
$response = curl_exec($ch);
|
| 108 |
+
curl_close($ch);
|
| 109 |
+
|
| 110 |
+
$json_obj = json_decode($response);
|
| 111 |
+
$rates_obj = $json_obj->{'rates'};
|
| 112 |
+
|
| 113 |
+
$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
|
| 114 |
+
$result = Mage::getModel('shipping/rate_result');
|
| 115 |
+
$show = true;
|
| 116 |
+
if($show){
|
| 117 |
+
if(sizeof($rates_obj) > 0) {
|
| 118 |
+
foreach($rates_obj as $rate) {
|
| 119 |
+
if(is_object($rate)) {
|
| 120 |
+
// Add shipping option with shipping price
|
| 121 |
+
$method = Mage::getModel('shipping/rate_result_method');
|
| 122 |
+
$method->setCarrier($this->_code);
|
| 123 |
+
$method->setMethod($this->_code . $rate->{'service_code'});
|
| 124 |
+
$method->setCarrierTitle($this->getConfigData('title'));
|
| 125 |
+
$method->setMethodTitle($rate->{'service_name'});
|
| 126 |
+
$method->setPrice($rate->{'total_price'});
|
| 127 |
+
$method->setCost(0);
|
| 128 |
+
$result->append($method);
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
}else{
|
| 133 |
+
$error = Mage::getModel('shipping/rate_result_error');
|
| 134 |
+
$error->setCarrier($this->_code);
|
| 135 |
+
$error->setCarrierTitle($this->getConfigData('name'));
|
| 136 |
+
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
|
| 137 |
+
$result->append($error);
|
| 138 |
+
}
|
| 139 |
+
}
|
| 140 |
+
catch (Exception $e) {
|
| 141 |
+
Mage::log($e->getMessage());
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
return $result;
|
| 146 |
+
}
|
| 147 |
+
public function getAllowedMethods()
|
| 148 |
+
{
|
| 149 |
+
return array('startrackexpress'=>$this->getConfigData('name'));
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
public function isTrackingAvailable()
|
| 153 |
+
{
|
| 154 |
+
return true;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
public function getTrackingInfo($tracking)
|
| 158 |
+
{
|
| 159 |
+
$status = Mage::getModel('shipping/tracking_result_status');
|
| 160 |
+
$status->setCarrier($this->_code);
|
| 161 |
+
$status->setCarrierTitle($this->getConfigData('title'));
|
| 162 |
+
$status->setTracking($tracking);
|
| 163 |
+
$status->setPopup(1);
|
| 164 |
+
$status->setUrl("http://www.startrack.com.au/track-trace/?id=".$tracking);
|
| 165 |
+
return $status;
|
| 166 |
+
}
|
| 167 |
+
}
|
app/code/community/Rvtech/Starshipit/etc/config.xml
CHANGED
|
@@ -291,6 +291,16 @@
|
|
| 291 |
</basic_settings>
|
| 292 |
</shipnote_options>
|
| 293 |
<carriers>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
<courierpost>
|
| 295 |
<active>0</active>
|
| 296 |
<model>ship/carrier_courierpost</model>
|
|
@@ -301,16 +311,26 @@
|
|
| 301 |
using this shipping method, please contact us.</specificerrmsg>
|
| 302 |
<showmethod>1</showmethod>
|
| 303 |
</courierpost>
|
| 304 |
-
<
|
| 305 |
<active>0</active>
|
| 306 |
-
<model>ship/
|
| 307 |
-
<title>
|
| 308 |
-
<name>
|
| 309 |
<price>0.00</price>
|
| 310 |
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 311 |
using this shipping method, please contact us.</specificerrmsg>
|
| 312 |
<showmethod>1</showmethod>
|
| 313 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 314 |
<fastway>
|
| 315 |
<active>0</active>
|
| 316 |
<model>ship/carrier_fastway</model>
|
|
@@ -331,16 +351,26 @@
|
|
| 331 |
using this shipping method, please contact us.</specificerrmsg>
|
| 332 |
<showmethod>1</showmethod>
|
| 333 |
</nzpost>
|
| 334 |
-
<
|
| 335 |
<active>0</active>
|
| 336 |
-
<model>ship/
|
| 337 |
-
<title>
|
| 338 |
-
<name>
|
| 339 |
<price>0.00</price>
|
| 340 |
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 341 |
using this shipping method, please contact us.</specificerrmsg>
|
| 342 |
<showmethod>1</showmethod>
|
| 343 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 344 |
<shipit>
|
| 345 |
<active>0</active>
|
| 346 |
<model>ship/carrier_shipit</model>
|
| 291 |
</basic_settings>
|
| 292 |
</shipnote_options>
|
| 293 |
<carriers>
|
| 294 |
+
<auspost>
|
| 295 |
+
<active>0</active>
|
| 296 |
+
<model>ship/carrier_auspost</model>
|
| 297 |
+
<title>Australia Post</title>
|
| 298 |
+
<name>Standard</name>
|
| 299 |
+
<price>0.00</price>
|
| 300 |
+
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 301 |
+
using this shipping method, please contact us.</specificerrmsg>
|
| 302 |
+
<showmethod>1</showmethod>
|
| 303 |
+
</auspost>
|
| 304 |
<courierpost>
|
| 305 |
<active>0</active>
|
| 306 |
<model>ship/carrier_courierpost</model>
|
| 311 |
using this shipping method, please contact us.</specificerrmsg>
|
| 312 |
<showmethod>1</showmethod>
|
| 313 |
</courierpost>
|
| 314 |
+
<couriersplease>
|
| 315 |
<active>0</active>
|
| 316 |
+
<model>ship/carrier_couriersplease</model>
|
| 317 |
+
<title>CouriersPlease</title>
|
| 318 |
+
<name>CouriersPlease Parcel</name>
|
| 319 |
<price>0.00</price>
|
| 320 |
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 321 |
using this shipping method, please contact us.</specificerrmsg>
|
| 322 |
<showmethod>1</showmethod>
|
| 323 |
+
</couriersplease>
|
| 324 |
+
<dhlexpress>
|
| 325 |
+
<active>0</active>
|
| 326 |
+
<model>ship/carrier_dhlexpress</model>
|
| 327 |
+
<title>DHL Express</title>
|
| 328 |
+
<name>Express</name>
|
| 329 |
+
<price>0.00</price>
|
| 330 |
+
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 331 |
+
using this shipping method, please contact us.</specificerrmsg>
|
| 332 |
+
<showmethod>1</showmethod>
|
| 333 |
+
</dhlexpress>
|
| 334 |
<fastway>
|
| 335 |
<active>0</active>
|
| 336 |
<model>ship/carrier_fastway</model>
|
| 351 |
using this shipping method, please contact us.</specificerrmsg>
|
| 352 |
<showmethod>1</showmethod>
|
| 353 |
</nzpost>
|
| 354 |
+
<pace>
|
| 355 |
<active>0</active>
|
| 356 |
+
<model>ship/carrier_pace</model>
|
| 357 |
+
<title>Pace</title>
|
| 358 |
+
<name>Same Day</name>
|
| 359 |
<price>0.00</price>
|
| 360 |
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 361 |
using this shipping method, please contact us.</specificerrmsg>
|
| 362 |
<showmethod>1</showmethod>
|
| 363 |
+
</pace>
|
| 364 |
+
<startrackexpress>
|
| 365 |
+
<active>0</active>
|
| 366 |
+
<model>ship/carrier_startrackexpress</model>
|
| 367 |
+
<title>StarTrack Express</title>
|
| 368 |
+
<name>Same Day</name>
|
| 369 |
+
<price>0.00</price>
|
| 370 |
+
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship
|
| 371 |
+
using this shipping method, please contact us.</specificerrmsg>
|
| 372 |
+
<showmethod>1</showmethod>
|
| 373 |
+
</startrackexpress>
|
| 374 |
<shipit>
|
| 375 |
<active>0</active>
|
| 376 |
<model>ship/carrier_shipit</model>
|
app/code/community/Rvtech/Starshipit/etc/system.xml
CHANGED
|
@@ -85,10 +85,91 @@
|
|
| 85 |
</shipnote_options>
|
| 86 |
<carriers>
|
| 87 |
<groups>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
<courierpost translate="label" module="ship">
|
| 89 |
<label>ShipIt (CourierPost)</label>
|
| 90 |
<frontend_type>text</frontend_type>
|
| 91 |
-
<sort_order>
|
| 92 |
<show_in_default>1</show_in_default>
|
| 93 |
<show_in_website>1</show_in_website>
|
| 94 |
<show_in_store>1</show_in_store>
|
|
@@ -166,10 +247,10 @@
|
|
| 166 |
</specificcountry>
|
| 167 |
</fields>
|
| 168 |
</courierpost>
|
| 169 |
-
<
|
| 170 |
-
<label>ShipIt (
|
| 171 |
<frontend_type>text</frontend_type>
|
| 172 |
-
<sort_order>
|
| 173 |
<show_in_default>1</show_in_default>
|
| 174 |
<show_in_website>1</show_in_website>
|
| 175 |
<show_in_store>1</show_in_store>
|
|
@@ -246,11 +327,11 @@
|
|
| 246 |
<can_be_empty>1</can_be_empty>
|
| 247 |
</specificcountry>
|
| 248 |
</fields>
|
| 249 |
-
</
|
| 250 |
-
<
|
| 251 |
-
<label>ShipIt (
|
| 252 |
<frontend_type>text</frontend_type>
|
| 253 |
-
<sort_order>
|
| 254 |
<show_in_default>1</show_in_default>
|
| 255 |
<show_in_website>1</show_in_website>
|
| 256 |
<show_in_store>1</show_in_store>
|
|
@@ -287,7 +368,7 @@
|
|
| 287 |
<sort_order>3</sort_order>
|
| 288 |
<show_in_default>1</show_in_default>
|
| 289 |
<show_in_website>1</show_in_website>
|
| 290 |
-
<show_in_store>
|
| 291 |
</calculate>
|
| 292 |
<price translate="label">
|
| 293 |
<label>Flat Rate Price</label>
|
|
@@ -327,11 +408,11 @@
|
|
| 327 |
<can_be_empty>1</can_be_empty>
|
| 328 |
</specificcountry>
|
| 329 |
</fields>
|
| 330 |
-
</
|
| 331 |
<fastway translate="label" module="ship">
|
| 332 |
<label>ShipIt (Fastway)</label>
|
| 333 |
<frontend_type>text</frontend_type>
|
| 334 |
-
<sort_order>
|
| 335 |
<show_in_default>1</show_in_default>
|
| 336 |
<show_in_website>1</show_in_website>
|
| 337 |
<show_in_store>1</show_in_store>
|
|
@@ -409,10 +490,10 @@
|
|
| 409 |
</specificcountry>
|
| 410 |
</fields>
|
| 411 |
</fastway>
|
| 412 |
-
<
|
| 413 |
-
<label>ShipIt (
|
| 414 |
<frontend_type>text</frontend_type>
|
| 415 |
-
<sort_order>
|
| 416 |
<show_in_default>1</show_in_default>
|
| 417 |
<show_in_website>1</show_in_website>
|
| 418 |
<show_in_store>1</show_in_store>
|
|
@@ -449,7 +530,88 @@
|
|
| 449 |
<sort_order>3</sort_order>
|
| 450 |
<show_in_default>1</show_in_default>
|
| 451 |
<show_in_website>1</show_in_website>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 452 |
<show_in_store>1</show_in_store>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 453 |
</calculate>
|
| 454 |
<price translate="label">
|
| 455 |
<label>Flat Rate Price</label>
|
|
@@ -489,11 +651,92 @@
|
|
| 489 |
<can_be_empty>1</can_be_empty>
|
| 490 |
</specificcountry>
|
| 491 |
</fields>
|
| 492 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 493 |
<shipit translate="label" module="ship">
|
| 494 |
<label>ShipIt (Rate Service)</label>
|
| 495 |
<frontend_type>text</frontend_type>
|
| 496 |
-
<sort_order>
|
| 497 |
<show_in_default>1</show_in_default>
|
| 498 |
<show_in_website>1</show_in_website>
|
| 499 |
<show_in_store>1</show_in_store>
|
| 85 |
</shipnote_options>
|
| 86 |
<carriers>
|
| 87 |
<groups>
|
| 88 |
+
<auspost translate="label" module="ship">
|
| 89 |
+
<label>ShipIt (Australia Post)</label>
|
| 90 |
+
<frontend_type>text</frontend_type>
|
| 91 |
+
<sort_order>80</sort_order>
|
| 92 |
+
<show_in_default>1</show_in_default>
|
| 93 |
+
<show_in_website>1</show_in_website>
|
| 94 |
+
<show_in_store>1</show_in_store>
|
| 95 |
+
<fields>
|
| 96 |
+
<active translate="label">
|
| 97 |
+
<label>Enabled</label>
|
| 98 |
+
<frontend_type>select</frontend_type>
|
| 99 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 100 |
+
<sort_order>1</sort_order>
|
| 101 |
+
<show_in_default>1</show_in_default>
|
| 102 |
+
<show_in_website>1</show_in_website>
|
| 103 |
+
<show_in_store>1</show_in_store>
|
| 104 |
+
</active>
|
| 105 |
+
<title translate="label">
|
| 106 |
+
<label>Title</label>
|
| 107 |
+
<frontend_type>text</frontend_type>
|
| 108 |
+
<sort_order>2</sort_order>
|
| 109 |
+
<show_in_default>1</show_in_default>
|
| 110 |
+
<show_in_website>1</show_in_website>
|
| 111 |
+
<show_in_store>1</show_in_store>
|
| 112 |
+
</title>
|
| 113 |
+
<name translate="label">
|
| 114 |
+
<label>Method Name</label>
|
| 115 |
+
<frontend_type>text</frontend_type>
|
| 116 |
+
<sort_order>2</sort_order>
|
| 117 |
+
<show_in_default>1</show_in_default>
|
| 118 |
+
<show_in_website>1</show_in_website>
|
| 119 |
+
<show_in_store>1</show_in_store>
|
| 120 |
+
</name>
|
| 121 |
+
<calculate translate="label">
|
| 122 |
+
<label>Calculate (otherwise flat rate below)</label>
|
| 123 |
+
<frontend_type>select</frontend_type>
|
| 124 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 125 |
+
<sort_order>3</sort_order>
|
| 126 |
+
<show_in_default>1</show_in_default>
|
| 127 |
+
<show_in_website>1</show_in_website>
|
| 128 |
+
<show_in_store>0</show_in_store>
|
| 129 |
+
</calculate>
|
| 130 |
+
<price translate="label">
|
| 131 |
+
<label>Flat Rate Price</label>
|
| 132 |
+
<frontend_type>text</frontend_type>
|
| 133 |
+
<sort_order>4</sort_order>
|
| 134 |
+
<show_in_default>1</show_in_default>
|
| 135 |
+
<show_in_website>1</show_in_website>
|
| 136 |
+
<show_in_store>1</show_in_store>
|
| 137 |
+
</price>
|
| 138 |
+
<specificerrmsg translate="label">
|
| 139 |
+
<label>Displayed Error Message</label>
|
| 140 |
+
<frontend_type>textarea</frontend_type>
|
| 141 |
+
<sort_order>6</sort_order>
|
| 142 |
+
<show_in_default>1</show_in_default>
|
| 143 |
+
<show_in_website>1</show_in_website>
|
| 144 |
+
<show_in_store>1</show_in_store>
|
| 145 |
+
</specificerrmsg>
|
| 146 |
+
<sallowspecific translate="label">
|
| 147 |
+
<label>Ship to Applicable Countries</label>
|
| 148 |
+
<frontend_type>select</frontend_type>
|
| 149 |
+
<sort_order>90</sort_order>
|
| 150 |
+
<frontend_class>shipping-applicable-country</frontend_class>
|
| 151 |
+
<source_model>
|
| 152 |
+
adminhtml/system_config_source_shipping_allspecificcountries</source_model>
|
| 153 |
+
<show_in_default>1</show_in_default>
|
| 154 |
+
<show_in_website>1</show_in_website>
|
| 155 |
+
<show_in_store>0</show_in_store>
|
| 156 |
+
</sallowspecific>
|
| 157 |
+
<specificcountry translate="label">
|
| 158 |
+
<label>Ship to Specific Countries</label>
|
| 159 |
+
<frontend_type>multiselect</frontend_type>
|
| 160 |
+
<sort_order>91</sort_order>
|
| 161 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
| 162 |
+
<show_in_default>1</show_in_default>
|
| 163 |
+
<show_in_website>1</show_in_website>
|
| 164 |
+
<show_in_store>0</show_in_store>
|
| 165 |
+
<can_be_empty>1</can_be_empty>
|
| 166 |
+
</specificcountry>
|
| 167 |
+
</fields>
|
| 168 |
+
</auspost>
|
| 169 |
<courierpost translate="label" module="ship">
|
| 170 |
<label>ShipIt (CourierPost)</label>
|
| 171 |
<frontend_type>text</frontend_type>
|
| 172 |
+
<sort_order>81</sort_order>
|
| 173 |
<show_in_default>1</show_in_default>
|
| 174 |
<show_in_website>1</show_in_website>
|
| 175 |
<show_in_store>1</show_in_store>
|
| 247 |
</specificcountry>
|
| 248 |
</fields>
|
| 249 |
</courierpost>
|
| 250 |
+
<couriersplease translate="label" module="ship">
|
| 251 |
+
<label>ShipIt (CouriersPlease)</label>
|
| 252 |
<frontend_type>text</frontend_type>
|
| 253 |
+
<sort_order>82</sort_order>
|
| 254 |
<show_in_default>1</show_in_default>
|
| 255 |
<show_in_website>1</show_in_website>
|
| 256 |
<show_in_store>1</show_in_store>
|
| 327 |
<can_be_empty>1</can_be_empty>
|
| 328 |
</specificcountry>
|
| 329 |
</fields>
|
| 330 |
+
</couriersplease>
|
| 331 |
+
<dhlexpress translate="label" module="ship">
|
| 332 |
+
<label>ShipIt (DHL Express)</label>
|
| 333 |
<frontend_type>text</frontend_type>
|
| 334 |
+
<sort_order>83</sort_order>
|
| 335 |
<show_in_default>1</show_in_default>
|
| 336 |
<show_in_website>1</show_in_website>
|
| 337 |
<show_in_store>1</show_in_store>
|
| 368 |
<sort_order>3</sort_order>
|
| 369 |
<show_in_default>1</show_in_default>
|
| 370 |
<show_in_website>1</show_in_website>
|
| 371 |
+
<show_in_store>1</show_in_store>
|
| 372 |
</calculate>
|
| 373 |
<price translate="label">
|
| 374 |
<label>Flat Rate Price</label>
|
| 408 |
<can_be_empty>1</can_be_empty>
|
| 409 |
</specificcountry>
|
| 410 |
</fields>
|
| 411 |
+
</dhlexpress>
|
| 412 |
<fastway translate="label" module="ship">
|
| 413 |
<label>ShipIt (Fastway)</label>
|
| 414 |
<frontend_type>text</frontend_type>
|
| 415 |
+
<sort_order>84</sort_order>
|
| 416 |
<show_in_default>1</show_in_default>
|
| 417 |
<show_in_website>1</show_in_website>
|
| 418 |
<show_in_store>1</show_in_store>
|
| 490 |
</specificcountry>
|
| 491 |
</fields>
|
| 492 |
</fastway>
|
| 493 |
+
<nzpost translate="label" module="ship">
|
| 494 |
+
<label>ShipIt (New Zealand Post)</label>
|
| 495 |
<frontend_type>text</frontend_type>
|
| 496 |
+
<sort_order>85</sort_order>
|
| 497 |
<show_in_default>1</show_in_default>
|
| 498 |
<show_in_website>1</show_in_website>
|
| 499 |
<show_in_store>1</show_in_store>
|
| 530 |
<sort_order>3</sort_order>
|
| 531 |
<show_in_default>1</show_in_default>
|
| 532 |
<show_in_website>1</show_in_website>
|
| 533 |
+
<show_in_store>0</show_in_store>
|
| 534 |
+
</calculate>
|
| 535 |
+
<price translate="label">
|
| 536 |
+
<label>Flat Rate Price</label>
|
| 537 |
+
<frontend_type>text</frontend_type>
|
| 538 |
+
<sort_order>4</sort_order>
|
| 539 |
+
<show_in_default>1</show_in_default>
|
| 540 |
+
<show_in_website>1</show_in_website>
|
| 541 |
+
<show_in_store>1</show_in_store>
|
| 542 |
+
</price>
|
| 543 |
+
<specificerrmsg translate="label">
|
| 544 |
+
<label>Displayed Error Message</label>
|
| 545 |
+
<frontend_type>textarea</frontend_type>
|
| 546 |
+
<sort_order>6</sort_order>
|
| 547 |
+
<show_in_default>1</show_in_default>
|
| 548 |
+
<show_in_website>1</show_in_website>
|
| 549 |
<show_in_store>1</show_in_store>
|
| 550 |
+
</specificerrmsg>
|
| 551 |
+
<sallowspecific translate="label">
|
| 552 |
+
<label>Ship to Applicable Countries</label>
|
| 553 |
+
<frontend_type>select</frontend_type>
|
| 554 |
+
<sort_order>90</sort_order>
|
| 555 |
+
<frontend_class>shipping-applicable-country</frontend_class>
|
| 556 |
+
<source_model>
|
| 557 |
+
adminhtml/system_config_source_shipping_allspecificcountries</source_model>
|
| 558 |
+
<show_in_default>1</show_in_default>
|
| 559 |
+
<show_in_website>1</show_in_website>
|
| 560 |
+
<show_in_store>0</show_in_store>
|
| 561 |
+
</sallowspecific>
|
| 562 |
+
<specificcountry translate="label">
|
| 563 |
+
<label>Ship to Specific Countries</label>
|
| 564 |
+
<frontend_type>multiselect</frontend_type>
|
| 565 |
+
<sort_order>91</sort_order>
|
| 566 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
| 567 |
+
<show_in_default>1</show_in_default>
|
| 568 |
+
<show_in_website>1</show_in_website>
|
| 569 |
+
<show_in_store>0</show_in_store>
|
| 570 |
+
<can_be_empty>1</can_be_empty>
|
| 571 |
+
</specificcountry>
|
| 572 |
+
</fields>
|
| 573 |
+
</nzpost>
|
| 574 |
+
<pace translate="label" module="ship">
|
| 575 |
+
<label>ShipIt (Pace)</label>
|
| 576 |
+
<frontend_type>text</frontend_type>
|
| 577 |
+
<sort_order>86</sort_order>
|
| 578 |
+
<show_in_default>1</show_in_default>
|
| 579 |
+
<show_in_website>1</show_in_website>
|
| 580 |
+
<show_in_store>1</show_in_store>
|
| 581 |
+
<fields>
|
| 582 |
+
<active translate="label">
|
| 583 |
+
<label>Enabled</label>
|
| 584 |
+
<frontend_type>select</frontend_type>
|
| 585 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 586 |
+
<sort_order>1</sort_order>
|
| 587 |
+
<show_in_default>1</show_in_default>
|
| 588 |
+
<show_in_website>1</show_in_website>
|
| 589 |
+
<show_in_store>1</show_in_store>
|
| 590 |
+
</active>
|
| 591 |
+
<title translate="label">
|
| 592 |
+
<label>Title</label>
|
| 593 |
+
<frontend_type>text</frontend_type>
|
| 594 |
+
<sort_order>2</sort_order>
|
| 595 |
+
<show_in_default>1</show_in_default>
|
| 596 |
+
<show_in_website>1</show_in_website>
|
| 597 |
+
<show_in_store>1</show_in_store>
|
| 598 |
+
</title>
|
| 599 |
+
<name translate="label">
|
| 600 |
+
<label>Method Name</label>
|
| 601 |
+
<frontend_type>text</frontend_type>
|
| 602 |
+
<sort_order>2</sort_order>
|
| 603 |
+
<show_in_default>1</show_in_default>
|
| 604 |
+
<show_in_website>1</show_in_website>
|
| 605 |
+
<show_in_store>1</show_in_store>
|
| 606 |
+
</name>
|
| 607 |
+
<calculate translate="label">
|
| 608 |
+
<label>Calculate (otherwise flat rate below)</label>
|
| 609 |
+
<frontend_type>select</frontend_type>
|
| 610 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 611 |
+
<sort_order>3</sort_order>
|
| 612 |
+
<show_in_default>1</show_in_default>
|
| 613 |
+
<show_in_website>1</show_in_website>
|
| 614 |
+
<show_in_store>0</show_in_store>
|
| 615 |
</calculate>
|
| 616 |
<price translate="label">
|
| 617 |
<label>Flat Rate Price</label>
|
| 651 |
<can_be_empty>1</can_be_empty>
|
| 652 |
</specificcountry>
|
| 653 |
</fields>
|
| 654 |
+
</pace>
|
| 655 |
+
<startrackexpress translate="label" module="ship">
|
| 656 |
+
<label>ShipIt (StarTrack Express)</label>
|
| 657 |
+
<frontend_type>text</frontend_type>
|
| 658 |
+
<sort_order>87</sort_order>
|
| 659 |
+
<show_in_default>1</show_in_default>
|
| 660 |
+
<show_in_website>1</show_in_website>
|
| 661 |
+
<show_in_store>1</show_in_store>
|
| 662 |
+
<fields>
|
| 663 |
+
<active translate="label">
|
| 664 |
+
<label>Enabled</label>
|
| 665 |
+
<frontend_type>select</frontend_type>
|
| 666 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 667 |
+
<sort_order>1</sort_order>
|
| 668 |
+
<show_in_default>1</show_in_default>
|
| 669 |
+
<show_in_website>1</show_in_website>
|
| 670 |
+
<show_in_store>1</show_in_store>
|
| 671 |
+
</active>
|
| 672 |
+
<title translate="label">
|
| 673 |
+
<label>Title</label>
|
| 674 |
+
<frontend_type>text</frontend_type>
|
| 675 |
+
<sort_order>2</sort_order>
|
| 676 |
+
<show_in_default>1</show_in_default>
|
| 677 |
+
<show_in_website>1</show_in_website>
|
| 678 |
+
<show_in_store>1</show_in_store>
|
| 679 |
+
</title>
|
| 680 |
+
<name translate="label">
|
| 681 |
+
<label>Method Name</label>
|
| 682 |
+
<frontend_type>text</frontend_type>
|
| 683 |
+
<sort_order>2</sort_order>
|
| 684 |
+
<show_in_default>1</show_in_default>
|
| 685 |
+
<show_in_website>1</show_in_website>
|
| 686 |
+
<show_in_store>1</show_in_store>
|
| 687 |
+
</name>
|
| 688 |
+
<calculate translate="label">
|
| 689 |
+
<label>Calculate (otherwise flat rate below)</label>
|
| 690 |
+
<frontend_type>select</frontend_type>
|
| 691 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 692 |
+
<sort_order>3</sort_order>
|
| 693 |
+
<show_in_default>1</show_in_default>
|
| 694 |
+
<show_in_website>1</show_in_website>
|
| 695 |
+
<show_in_store>0</show_in_store>
|
| 696 |
+
</calculate>
|
| 697 |
+
<price translate="label">
|
| 698 |
+
<label>Flat Rate Price</label>
|
| 699 |
+
<frontend_type>text</frontend_type>
|
| 700 |
+
<sort_order>4</sort_order>
|
| 701 |
+
<show_in_default>1</show_in_default>
|
| 702 |
+
<show_in_website>1</show_in_website>
|
| 703 |
+
<show_in_store>1</show_in_store>
|
| 704 |
+
</price>
|
| 705 |
+
<specificerrmsg translate="label">
|
| 706 |
+
<label>Displayed Error Message</label>
|
| 707 |
+
<frontend_type>textarea</frontend_type>
|
| 708 |
+
<sort_order>6</sort_order>
|
| 709 |
+
<show_in_default>1</show_in_default>
|
| 710 |
+
<show_in_website>1</show_in_website>
|
| 711 |
+
<show_in_store>1</show_in_store>
|
| 712 |
+
</specificerrmsg>
|
| 713 |
+
<sallowspecific translate="label">
|
| 714 |
+
<label>Ship to Applicable Countries</label>
|
| 715 |
+
<frontend_type>select</frontend_type>
|
| 716 |
+
<sort_order>90</sort_order>
|
| 717 |
+
<frontend_class>shipping-applicable-country</frontend_class>
|
| 718 |
+
<source_model>
|
| 719 |
+
adminhtml/system_config_source_shipping_allspecificcountries</source_model>
|
| 720 |
+
<show_in_default>1</show_in_default>
|
| 721 |
+
<show_in_website>1</show_in_website>
|
| 722 |
+
<show_in_store>0</show_in_store>
|
| 723 |
+
</sallowspecific>
|
| 724 |
+
<specificcountry translate="label">
|
| 725 |
+
<label>Ship to Specific Countries</label>
|
| 726 |
+
<frontend_type>multiselect</frontend_type>
|
| 727 |
+
<sort_order>91</sort_order>
|
| 728 |
+
<source_model>adminhtml/system_config_source_country</source_model>
|
| 729 |
+
<show_in_default>1</show_in_default>
|
| 730 |
+
<show_in_website>1</show_in_website>
|
| 731 |
+
<show_in_store>0</show_in_store>
|
| 732 |
+
<can_be_empty>1</can_be_empty>
|
| 733 |
+
</specificcountry>
|
| 734 |
+
</fields>
|
| 735 |
+
</startrackexpress>
|
| 736 |
<shipit translate="label" module="ship">
|
| 737 |
<label>ShipIt (Rate Service)</label>
|
| 738 |
<frontend_type>text</frontend_type>
|
| 739 |
+
<sort_order>88</sort_order>
|
| 740 |
<show_in_default>1</show_in_default>
|
| 741 |
<show_in_website>1</show_in_website>
|
| 742 |
<show_in_store>1</show_in_store>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Rvtech_Starshipit</name>
|
| 4 |
-
<version>1.6.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -18,12 +18,12 @@ From ShipIT shipping labels can be produced, tracking of orders is supported, qu
|
|
| 18 |
DHL Express Worldwide is supported as well 
|
| 19 |

|
| 20 |
Australia Post eParcel, CourierPost, Fastways, and more.</description>
|
| 21 |
-
<notes>- Added
|
| 22 |
-
-
|
| 23 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@shipit.click</email></author></authors>
|
| 24 |
-
<date>2015-11-
|
| 25 |
-
<time>
|
| 26 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Rvtech_Starshipit.xml" hash="5f957b335ffd3ef220188acc0a4261c2"/></dir></target><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Shipnote.php" hash="e3978a998056ca01f2c1eecadad492f9"/></dir><file name="Note.php" hash="b176725ad1d11312fc9b2e6da10300a3"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="bef51209ace24c39e1d0933c4695665c"/><file name="Syncbutton.php" hash="1b90bc1d0ce6f8fd85783771ffc3720b"/></dir></dir></dir></dir><file name="Note.php" hash="d89159b063408b3496b5a7c1238b9f90"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="bcec9d256397a5c39879eba37520370e"/><file name="View.php" hash="bee1026715c9a99d4d0ab31c2cb58325"/></dir></dir><file name="Ship.php" hash="19080a45c06dc07b7991dd694d83708a"/><file name="Shiptracking.php" hash="a64dbb626cb60a3f62994564e0d3e288"/></dir><dir name="Helper"><file name="Data.php" hash="09a753bbbc36ce95a6222587d53cd1c1"/><file name="Starship.php" hash="ebc879a96df5c80ffae9744d11a6cac5"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="2956099cbc3109242139fb0b8e07ba47"/></dir><file name="Api.php" hash="9c0c7ad4df68db05f5caf2970b91a542"/><dir name="Carrier"><file name="Auspost.php" hash="73507c7a8e26ec0cd7f6a2583b0e4a4e"/><file name="Courierpost.php" hash="7b750c7eadbdc40a26cc791bfce21ad5"/><file name="Dhlexpress.php" hash="1927e72dfe8b8b21a3237d1ee60d26a9"/><file name="Fastway.php" hash="dd239c7f46e2af1d6ed567e9dc27c5f1"/><file name="Nzpost.php" hash="fae6c459c4c4354f3ecf6813b068b454"/><file name="Shipit.php" hash="4885844bdc91ed748a1a458f7372f7eb"/></dir><file name="Note.php" hash="91fdbf3caa65797d8050e999a487c4ae"/><file name="Observer.php" hash="c21ae81b45649c886a30a2a9b6c99425"/><file name="Orders.php" hash="5e6d34681f4ffde9b8b0fcad9f898481"/><dir name="Resource"><dir name="Note"><file name="Collection.php" hash="2526c09006bf6a74b1ddcf2d94b85bd1"/></dir><file name="Note.php" hash="188639765c95bb03abf24785bbcfabbe"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ShipItController.php" hash="7a82038aa1b2e9fd8bc543b402dcbf9a"/></dir><file name="IndexController.php" hash="20b9637c3eb1a5e7c6a97faa72a0a3fb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="02121bfdaabeb4aa30733462d532b211"/><file name="api.xml" hash="03ba9d58ced7f06da747006e8ddf6861"/><file name="config.xml" hash="
|
| 27 |
<compatible/>
|
| 28 |
<dependencies><required><php><min>5.1.0</min><max>5.6.15</max></php></required></dependencies>
|
| 29 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Rvtech_Starshipit</name>
|
| 4 |
+
<version>1.6.3.0</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>
|
| 18 |
DHL Express Worldwide is supported as well 
|
| 19 |

|
| 20 |
Australia Post eParcel, CourierPost, Fastways, and more.</description>
|
| 21 |
+
<notes>- Added Pace, StarTrack Express, CouriersPlease Shipping Methods.
|
| 22 |
+
- Added Rates at Checkout for Pace, StarTrack Express, CouriersPlease carriers.</notes>
|
| 23 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@shipit.click</email></author></authors>
|
| 24 |
+
<date>2015-11-12</date>
|
| 25 |
+
<time>04:52:49</time>
|
| 26 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Rvtech_Starshipit.xml" hash="5f957b335ffd3ef220188acc0a4261c2"/></dir></target><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Shipnote.php" hash="e3978a998056ca01f2c1eecadad492f9"/></dir><file name="Note.php" hash="b176725ad1d11312fc9b2e6da10300a3"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="bef51209ace24c39e1d0933c4695665c"/><file name="Syncbutton.php" hash="1b90bc1d0ce6f8fd85783771ffc3720b"/></dir></dir></dir></dir><file name="Note.php" hash="d89159b063408b3496b5a7c1238b9f90"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="bcec9d256397a5c39879eba37520370e"/><file name="View.php" hash="bee1026715c9a99d4d0ab31c2cb58325"/></dir></dir><file name="Ship.php" hash="19080a45c06dc07b7991dd694d83708a"/><file name="Shiptracking.php" hash="a64dbb626cb60a3f62994564e0d3e288"/></dir><dir name="Helper"><file name="Data.php" hash="09a753bbbc36ce95a6222587d53cd1c1"/><file name="Starship.php" hash="ebc879a96df5c80ffae9744d11a6cac5"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="2956099cbc3109242139fb0b8e07ba47"/></dir><file name="Api.php" hash="9c0c7ad4df68db05f5caf2970b91a542"/><dir name="Carrier"><file name="Auspost.php" hash="73507c7a8e26ec0cd7f6a2583b0e4a4e"/><file name="Courierpost.php" hash="7b750c7eadbdc40a26cc791bfce21ad5"/><file name="Couriersplease.php" hash="54f0f919582c8d83f6c60c1b895c685d"/><file name="Dhlexpress.php" hash="1927e72dfe8b8b21a3237d1ee60d26a9"/><file name="Fastway.php" hash="dd239c7f46e2af1d6ed567e9dc27c5f1"/><file name="Nzpost.php" hash="fae6c459c4c4354f3ecf6813b068b454"/><file name="Pace.php" hash="6c187cbeb207c53f3d1ec90fb076fd3d"/><file name="Shipit.php" hash="4885844bdc91ed748a1a458f7372f7eb"/><file name="Startrackexpress.php" hash="e0eb4ff34a0d56f8b099f48c833420b9"/></dir><file name="Note.php" hash="91fdbf3caa65797d8050e999a487c4ae"/><file name="Observer.php" hash="c21ae81b45649c886a30a2a9b6c99425"/><file name="Orders.php" hash="5e6d34681f4ffde9b8b0fcad9f898481"/><dir name="Resource"><dir name="Note"><file name="Collection.php" hash="2526c09006bf6a74b1ddcf2d94b85bd1"/></dir><file name="Note.php" hash="188639765c95bb03abf24785bbcfabbe"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ShipItController.php" hash="7a82038aa1b2e9fd8bc543b402dcbf9a"/></dir><file name="IndexController.php" hash="20b9637c3eb1a5e7c6a97faa72a0a3fb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="02121bfdaabeb4aa30733462d532b211"/><file name="api.xml" hash="03ba9d58ced7f06da747006e8ddf6861"/><file name="config.xml" hash="ad9e77aeaf4cdf99bceb85023cc0d7e7"/><file name="system.xml" hash="79c3ae8d2ba1a537e565466dcbe95e89"/></dir><dir name="sql"><dir name="shipnote_setup"><file name="install-1.6.2.0.php" hash="3440e960c4ae3a4036c797c02703f025"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="shipit.xml" hash="61408954f82f5ac2edcf77d859fd4591"/><file name="shipnote.xml" hash="b30f8ced0fa77550a09c3ab5ee03f28d"/></dir><dir name="template"><dir name="shipit"><dir name="system"><dir name="config"><file name="button.phtml" hash="064f053f67fc7b749d1aec40cd352ce1"/><file name="syncbutton.phtml" hash="3e67731254d4d0298891cd2598471dc9"/></dir></dir></dir><dir name="shipnote"><file name="note-create.phtml" hash="218318453338adb8a43d01dcf3aa74f3"/><file name="note.phtml" hash="dc72f98a11c955181a3d4706e9cfd297"/><dir name="sales"><dir name="order"><dir name="create"><file name="data.phtml" hash="63aa7c2343f1d801b92e61b8497b99cb"/><file name="shipnote.phtml" hash="101f8cbd09937b1c9b232a94592e72dd"/></dir><dir name="creditmemo"><dir name="create"><file name="form.phtml" hash="95b2ca2ff1b2d48519cc9f0302179804"/></dir><dir name="view"><file name="form.phtml" hash="0b851bb2da3a68d6b21195cc88d9c3a3"/></dir></dir><dir name="invoice"><dir name="create"><file name="form.phtml" hash="00a1d471675697ff345fb8744b337a54"/></dir><dir name="view"><file name="form.phtml" hash="eb85ea9873900429a859f31585ecb93b"/></dir></dir><dir name="shipment"><dir name="create"><file name="form.phtml" hash="6655a2814e346290ebefce2d45225127"/></dir><dir name="view"><file name="form.phtml" hash="1f5790819a38b162f76a32ec725a0b77"/></dir></dir><dir name="view"><dir name="tab"><file name="info.phtml" hash="66fd085aa3d4e985f914e61ef4ca6748"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shipnote.xml" hash="4662d0b069083e71689f79ad5ce0102e"/><file name="addressautocomplete.xml" hash="88a6cbeb5077d85cac0e98632b467b2a"/><file name="shiptracking.xml" hash="cd598d60854e00759d7e201a9b819a65"/></dir><dir name="template"><dir name="shipnote"><file name="note.phtml" hash="f6199bbe2739b4689cadd2a854a3d753"/></dir><dir name="shiptracking"><file name="shiptracking.phtml" hash="dc155a0bf7d2d83579492d432de1a6f9"/><file name="trackdetail.phtml" hash="1e6967f50a922088ec1aaf9d23910163"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_GB"><file name="Rvtech_StarshipitNote.csv" hash="45582b181cd95563d26e516d9dc5efe4"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="shipnote.css" hash="1cd880ba6ee2ae963fd8b6208d9e6fd8"/></dir><dir name="js"><dir name="shipit"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="onstepcheckout.js" hash="67f1b1d859c79bc9465ca33a7b9f2e5d"/><file name="onstepcheckout_shipping.js" hash="b63dda070bdc41f68623a3168b19c485"/></dir></dir><dir name="shiptracking"><dir name="css"><file name="shiptracking.css" hash="71583b99e56b8cc1ebd9b575e17e9414"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="01a95f2b5387dfec28b58bab64aa32ae"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="shipit"><dir name="adminhtml"><file name="grid.js" hash="dbf45931948c6c611e1af954ae2430e5"/></dir></dir></dir></target></contents>
|
| 27 |
<compatible/>
|
| 28 |
<dependencies><required><php><min>5.1.0</min><max>5.6.15</max></php></required></dependencies>
|
| 29 |
</package>
|
