Version Notes
dimension based shipping enabled
shipping label bug fixes
Download this release
Release Info
Developer | selva ganesh |
Extension | soluship_shipping_magento |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.1.0
- app/code/community/Soluship/Shipping1/Model/Demo.php +19 -1
- app/code/community/Soluship/Shipping1/Model/DimensionUnit.php +39 -0
- app/code/community/Soluship/Shipping1/Model/ListAttributes.php +60 -0
- app/code/community/Soluship/Shipping1/Model/Observer.php +19 -3
- app/code/community/Soluship/Shipping1/etc/system.xml +70 -13
- package.xml +7 -5
app/code/community/Soluship/Shipping1/Model/Demo.php
CHANGED
@@ -40,6 +40,11 @@ $request->store_email=Mage::getStoreConfig('trans_email');
|
|
40 |
$request->soluship_setting=Mage::getStoreConfig('carriers');
|
41 |
|
42 |
$request->cartItems = Mage::getSingleton('checkout/session')->getQuote();
|
|
|
|
|
|
|
|
|
|
|
43 |
$new = array();
|
44 |
|
45 |
$session = Mage::getSingleton('checkout/session');
|
@@ -47,14 +52,27 @@ $i=1;
|
|
47 |
foreach ($session->getQuote()->getAllItems() as $item) {
|
48 |
|
49 |
$new[$i]=$item->getData();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
$i=$i+1;
|
51 |
-
|
52 |
}
|
|
|
53 |
$request->items=$new;
|
|
|
54 |
$config = array();
|
55 |
$json =json_encode($config);
|
56 |
$request->weight_unit=$weight_unit;
|
|
|
|
|
57 |
$json = Mage::helper('core')->jsonEncode($request);
|
|
|
58 |
$client->setRawData($json, 'application/json');
|
59 |
|
60 |
// print_r(json_encode(Mage::getStoreConfig('carriers')));
|
40 |
$request->soluship_setting=Mage::getStoreConfig('carriers');
|
41 |
|
42 |
$request->cartItems = Mage::getSingleton('checkout/session')->getQuote();
|
43 |
+
$carriers=Mage::getStoreConfig('carriers');
|
44 |
+
$lenghtc=$carriers['soluship_shipping1']['length_attribute'];
|
45 |
+
$heightc=$carriers['soluship_shipping1']['height_attribute'];
|
46 |
+
$widthc=$carriers['soluship_shipping1']['width_attribute'];
|
47 |
+
|
48 |
$new = array();
|
49 |
|
50 |
$session = Mage::getSingleton('checkout/session');
|
52 |
foreach ($session->getQuote()->getAllItems() as $item) {
|
53 |
|
54 |
$new[$i]=$item->getData();
|
55 |
+
$pid=$item->getProductId();
|
56 |
+
|
57 |
+
$cProduct = Mage::getModel('catalog/product')->load($item->getProductId());
|
58 |
+
Mage::log($cProduct[$lenghtc]);
|
59 |
+
$new[$i]['length']=$cProduct[$lenghtc];
|
60 |
+
$new[$i]['height']=$cProduct[$heightc];
|
61 |
+
$new[$i]['width']=$cProduct[$widthc];
|
62 |
+
|
63 |
$i=$i+1;
|
64 |
+
|
65 |
}
|
66 |
+
|
67 |
$request->items=$new;
|
68 |
+
|
69 |
$config = array();
|
70 |
$json =json_encode($config);
|
71 |
$request->weight_unit=$weight_unit;
|
72 |
+
|
73 |
+
$request->dimension_unit=$dimension_unit;
|
74 |
$json = Mage::helper('core')->jsonEncode($request);
|
75 |
+
|
76 |
$client->setRawData($json, 'application/json');
|
77 |
|
78 |
// print_r(json_encode(Mage::getStoreConfig('carriers')));
|
app/code/community/Soluship/Shipping1/Model/DimensionUnit.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to support@meanbee.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Meanbee
|
16 |
+
* @package Meanbee_Royalmail
|
17 |
+
* @copyright Copyright (c) 2008 Meanbee Internet Solutions (http://www.meanbee.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
class Soluship_Shipping1_Model_Dimensionunit
|
21 |
+
{
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Sets the option array for the weight unit selection
|
25 |
+
* in the admin section of the extension
|
26 |
+
*
|
27 |
+
* @return array
|
28 |
+
*/
|
29 |
+
public function toOptionArray()
|
30 |
+
{
|
31 |
+
$units = array(
|
32 |
+
array('value' => 'in', 'label' => 'Inch(in)'),
|
33 |
+
array('value' => 'cm', 'label' => 'Centimeter (cm)'),
|
34 |
+
array('value' => 'm', 'label' => 'Meter (m)')
|
35 |
+
);
|
36 |
+
|
37 |
+
return $units;
|
38 |
+
}
|
39 |
+
}
|
app/code/community/Soluship/Shipping1/Model/ListAttributes.php
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to support@meanbee.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Meanbee
|
16 |
+
* @package Meanbee_Royalmail
|
17 |
+
* @copyright Copyright (c) 2008 Meanbee Internet Solutions (http://www.meanbee.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
class Soluship_Shipping1_Model_ListAttributes
|
21 |
+
{
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Sets the option array for the weight unit selection
|
25 |
+
* in the admin section of the extension
|
26 |
+
*
|
27 |
+
* @return array
|
28 |
+
*/
|
29 |
+
public function toOptionArray()
|
30 |
+
{
|
31 |
+
/* $units = array(
|
32 |
+
array('value' => 'nil', 'label' => 'N/A'),
|
33 |
+
array('value' => 'weightfs', 'label' => 'By Minmum Package Weight'),
|
34 |
+
array('value' => 'flatfs', 'label' => 'By Minmum Order Amout')
|
35 |
+
);
|
36 |
+
|
37 |
+
return $units;*/
|
38 |
+
$attributes = Mage::getResourceModel('catalog/product_attribute_collection')
|
39 |
+
->getItems();
|
40 |
+
|
41 |
+
|
42 |
+
// return $attributes;
|
43 |
+
$units = array();
|
44 |
+
array_push($units, array('value' => 'nil', 'label' => 'N/A'));
|
45 |
+
/* array('value' => 'nil', 'label' => 'N/A'),
|
46 |
+
array('value' => 'weightfs', 'label' => 'By Minmum Package Weight'),
|
47 |
+
array('value' => 'flatfs', 'label' => 'By Minmum Order Amout')
|
48 |
+
*/
|
49 |
+
|
50 |
+
foreach ($attributes as $attribute){
|
51 |
+
if(trim($attribute->getFrontendLabel())!=''){
|
52 |
+
array_push($units, array('value' => $attribute->getAttributecode(), 'label' => $attribute->getFrontendLabel()));
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
+
return $units;
|
59 |
+
}
|
60 |
+
}
|
app/code/community/Soluship/Shipping1/Model/Observer.php
CHANGED
@@ -29,7 +29,9 @@ $shipment=$converter->toShipment($order);
|
|
29 |
$obj=new Soluship_Shipping1_Model_Observer();
|
30 |
|
31 |
$billingaddress1=$order->getBillingAddress();
|
32 |
-
|
|
|
|
|
33 |
'companyName'=>$billingaddress1->getData('company'),
|
34 |
'telephone'=> $billingaddress1->getData('telephone'),
|
35 |
'email'=> $billingaddress1->getData('email'),
|
@@ -44,8 +46,10 @@ $shipment=$converter->toShipment($order);
|
|
44 |
|
45 |
|
46 |
|
47 |
-
$ShippingAddress=array(
|
48 |
'companyName'=>$shipaddress->getData('company'),
|
|
|
|
|
49 |
'telephone'=> $shipaddress->getData('telephone'),
|
50 |
'email'=> $shipaddress->getData('email'),
|
51 |
'street'=> $shipaddress->getData('street'),
|
@@ -116,6 +120,11 @@ $client->setRawData($json, 'application/json');
|
|
116 |
public function createOrderItems($order)
|
117 |
{
|
118 |
|
|
|
|
|
|
|
|
|
|
|
119 |
$items=$order->getAllVisibleItems();
|
120 |
$i=0;
|
121 |
$IO=array();
|
@@ -134,6 +143,11 @@ $storeId = Mage::app()->getStore()->getStoreId();
|
|
134 |
$IO[$i]['id']=$item->getProductId();
|
135 |
|
136 |
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
//$cProduct = Mage::getModel('catalog/product');
|
139 |
|
@@ -158,7 +172,9 @@ $storeId = Mage::app()->getStore()->getStoreId();
|
|
158 |
{
|
159 |
$IO[$i]['shipping']=$order->getData('shipping_amount');
|
160 |
$IO[$i]['tax'] = $order->getData('tax_amount');
|
161 |
-
}
|
|
|
|
|
162 |
$i++;
|
163 |
}
|
164 |
|
29 |
$obj=new Soluship_Shipping1_Model_Observer();
|
30 |
|
31 |
$billingaddress1=$order->getBillingAddress();
|
32 |
+
|
33 |
+
$billingaddress = array( 'customerName'=>$order->getData('firstname'),
|
34 |
+
'lastName'=>$order->getData('lastname'),
|
35 |
'companyName'=>$billingaddress1->getData('company'),
|
36 |
'telephone'=> $billingaddress1->getData('telephone'),
|
37 |
'email'=> $billingaddress1->getData('email'),
|
46 |
|
47 |
|
48 |
|
49 |
+
$ShippingAddress=array(
|
50 |
'companyName'=>$shipaddress->getData('company'),
|
51 |
+
'customerName'=>$shipaddress->getData('firstname'),
|
52 |
+
'lastName'=>$shipaddress->getData('lastname'),
|
53 |
'telephone'=> $shipaddress->getData('telephone'),
|
54 |
'email'=> $shipaddress->getData('email'),
|
55 |
'street'=> $shipaddress->getData('street'),
|
120 |
public function createOrderItems($order)
|
121 |
{
|
122 |
|
123 |
+
$carriers=Mage::getStoreConfig('carriers');
|
124 |
+
$lenghtc=$carriers['soluship_shipping1']['length_attribute'];
|
125 |
+
$heightc=$carriers['soluship_shipping1']['height_attribute'];
|
126 |
+
$widthc=$carriers['soluship_shipping1']['width_attribute'];
|
127 |
+
|
128 |
$items=$order->getAllVisibleItems();
|
129 |
$i=0;
|
130 |
$IO=array();
|
143 |
$IO[$i]['id']=$item->getProductId();
|
144 |
|
145 |
|
146 |
+
$cProduct = Mage::getModel('catalog/product')->load($item->getProductId());
|
147 |
+
Mage::log($cProduct[$lenghtc]);
|
148 |
+
$IO[$i]['length']=$cProduct[$lenghtc];
|
149 |
+
$IO[$i]['height']=$cProduct[$heightc];
|
150 |
+
$IO[$i]['width']=$cProduct[$widthc];
|
151 |
|
152 |
//$cProduct = Mage::getModel('catalog/product');
|
153 |
|
172 |
{
|
173 |
$IO[$i]['shipping']=$order->getData('shipping_amount');
|
174 |
$IO[$i]['tax'] = $order->getData('tax_amount');
|
175 |
+
}
|
176 |
+
|
177 |
+
|
178 |
$i++;
|
179 |
}
|
180 |
|
app/code/community/Soluship/Shipping1/etc/system.xml
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
<solushipaccesstoekn translate="label">
|
60 |
<label>Soluship Access Token</label>
|
61 |
<frontend_type>text</frontend_type>
|
62 |
-
<sort_order>
|
63 |
<show_in_default>11</show_in_default>
|
64 |
<show_in_website>11</show_in_website>
|
65 |
<show_in_store>11</show_in_store>
|
@@ -69,7 +69,7 @@
|
|
69 |
<title translate="label">
|
70 |
<label>Shipping Method Name</label>
|
71 |
<frontend_type>text</frontend_type>
|
72 |
-
<sort_order>
|
73 |
<show_in_default>1</show_in_default>
|
74 |
<show_in_website>1</show_in_website>
|
75 |
<show_in_store>1</show_in_store>
|
@@ -79,15 +79,16 @@
|
|
79 |
<frontend_type>select</frontend_type>
|
80 |
<frontend_class>shipping-applicable-country</frontend_class>
|
81 |
<source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
|
82 |
-
<sort_order>
|
83 |
<show_in_default>1</show_in_default>
|
84 |
<show_in_website>1</show_in_website>
|
85 |
<show_in_store>1</show_in_store>
|
86 |
</sallowspecific>
|
|
|
87 |
<specificcountry translate="label">
|
88 |
<label>Ship to Specific Countries</label>
|
89 |
<frontend_type>multiselect</frontend_type>
|
90 |
-
<sort_order>
|
91 |
<source_model>adminhtml/system_config_source_country</source_model>
|
92 |
<show_in_default>1</show_in_default>
|
93 |
<show_in_website>1</show_in_website>
|
@@ -98,7 +99,7 @@
|
|
98 |
<label>Unit of Weight</label>
|
99 |
<frontend_type>select</frontend_type>
|
100 |
<source_model>soluship_shipping1/weightunit</source_model>
|
101 |
-
<sort_order>
|
102 |
<show_in_default>1</show_in_default>
|
103 |
<show_in_website>1</show_in_website>
|
104 |
<show_in_store>1</show_in_store>
|
@@ -112,7 +113,7 @@
|
|
112 |
<label>Packaging Method</label>
|
113 |
<frontend_type>select</frontend_type>
|
114 |
<source_model>soluship_shipping1/PackageOption</source_model>
|
115 |
-
<sort_order>
|
116 |
<show_in_default>5</show_in_default>
|
117 |
<show_in_website>1</show_in_website>
|
118 |
<show_in_store>1</show_in_store>
|
@@ -125,17 +126,72 @@
|
|
125 |
<packminweight translate="label">
|
126 |
<label>Maximum Weight of Package</label>
|
127 |
<frontend_type>text</frontend_type>
|
128 |
-
<sort_order>
|
129 |
<show_in_default>11</show_in_default>
|
130 |
<show_in_website>11</show_in_website>
|
131 |
<show_in_store>11</show_in_store>
|
132 |
</packminweight>
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
<free_ship_unit translate="label">
|
135 |
<label>Free Ship Settings</label>
|
136 |
<frontend_type>select</frontend_type>
|
137 |
<source_model>soluship_shipping1/FreeShipOptions</source_model>
|
138 |
-
<sort_order>
|
139 |
<show_in_default>1</show_in_default>
|
140 |
<show_in_website>1</show_in_website>
|
141 |
<show_in_store>1</show_in_store>
|
@@ -143,10 +199,11 @@
|
|
143 |
|
144 |
</comment>
|
145 |
</free_ship_unit>
|
|
|
146 |
<fsamout translate="label">
|
147 |
<label>Minmum order Amount For Free Shipping</label>
|
148 |
<frontend_type>text</frontend_type>
|
149 |
-
<sort_order>
|
150 |
<show_in_default>1</show_in_default>
|
151 |
<show_in_website>1</show_in_website>
|
152 |
<show_in_store>1</show_in_store>
|
@@ -154,7 +211,7 @@
|
|
154 |
<fsweight translate="label">
|
155 |
<label>Minmum Package Weight For Free Shipping</label>
|
156 |
<frontend_type>text</frontend_type>
|
157 |
-
<sort_order>
|
158 |
<show_in_default>1</show_in_default>
|
159 |
<show_in_website>1</show_in_website>
|
160 |
<show_in_store>1</show_in_store>
|
@@ -165,7 +222,7 @@
|
|
165 |
<label>Markup Settings</label>
|
166 |
<frontend_type>select</frontend_type>
|
167 |
<source_model>soluship_shipping1/Dropdown_MarkupType</source_model>
|
168 |
-
<sort_order>
|
169 |
<show_in_default>1</show_in_default>
|
170 |
<show_in_website>1</show_in_website>
|
171 |
<show_in_store>1</show_in_store>
|
@@ -178,7 +235,7 @@
|
|
178 |
<label>Mark Type </label>
|
179 |
<frontend_type>select</frontend_type>
|
180 |
<source_model>soluship_shipping1/Dropdown_MarkupFlatOption</source_model>
|
181 |
-
<sort_order>
|
182 |
<show_in_default>1</show_in_default>
|
183 |
<show_in_website>1</show_in_website>
|
184 |
<show_in_store>1</show_in_store>
|
@@ -190,7 +247,7 @@
|
|
190 |
<markup_value translate="label">
|
191 |
<label>Mark Value</label>
|
192 |
<frontend_type>text</frontend_type>
|
193 |
-
<sort_order>
|
194 |
<show_in_default>1</show_in_default>
|
195 |
<show_in_website>1</show_in_website>
|
196 |
<show_in_store>1</show_in_store>
|
59 |
<solushipaccesstoekn translate="label">
|
60 |
<label>Soluship Access Token</label>
|
61 |
<frontend_type>text</frontend_type>
|
62 |
+
<sort_order>3</sort_order>
|
63 |
<show_in_default>11</show_in_default>
|
64 |
<show_in_website>11</show_in_website>
|
65 |
<show_in_store>11</show_in_store>
|
69 |
<title translate="label">
|
70 |
<label>Shipping Method Name</label>
|
71 |
<frontend_type>text</frontend_type>
|
72 |
+
<sort_order>4</sort_order>
|
73 |
<show_in_default>1</show_in_default>
|
74 |
<show_in_website>1</show_in_website>
|
75 |
<show_in_store>1</show_in_store>
|
79 |
<frontend_type>select</frontend_type>
|
80 |
<frontend_class>shipping-applicable-country</frontend_class>
|
81 |
<source_model>adminhtml/system_config_source_shipping_allspecificcountries</source_model>
|
82 |
+
<sort_order>5</sort_order>
|
83 |
<show_in_default>1</show_in_default>
|
84 |
<show_in_website>1</show_in_website>
|
85 |
<show_in_store>1</show_in_store>
|
86 |
</sallowspecific>
|
87 |
+
|
88 |
<specificcountry translate="label">
|
89 |
<label>Ship to Specific Countries</label>
|
90 |
<frontend_type>multiselect</frontend_type>
|
91 |
+
<sort_order>6</sort_order>
|
92 |
<source_model>adminhtml/system_config_source_country</source_model>
|
93 |
<show_in_default>1</show_in_default>
|
94 |
<show_in_website>1</show_in_website>
|
99 |
<label>Unit of Weight</label>
|
100 |
<frontend_type>select</frontend_type>
|
101 |
<source_model>soluship_shipping1/weightunit</source_model>
|
102 |
+
<sort_order>7</sort_order>
|
103 |
<show_in_default>1</show_in_default>
|
104 |
<show_in_website>1</show_in_website>
|
105 |
<show_in_store>1</show_in_store>
|
113 |
<label>Packaging Method</label>
|
114 |
<frontend_type>select</frontend_type>
|
115 |
<source_model>soluship_shipping1/PackageOption</source_model>
|
116 |
+
<sort_order>8</sort_order>
|
117 |
<show_in_default>5</show_in_default>
|
118 |
<show_in_website>1</show_in_website>
|
119 |
<show_in_store>1</show_in_store>
|
126 |
<packminweight translate="label">
|
127 |
<label>Maximum Weight of Package</label>
|
128 |
<frontend_type>text</frontend_type>
|
129 |
+
<sort_order>9</sort_order>
|
130 |
<show_in_default>11</show_in_default>
|
131 |
<show_in_website>11</show_in_website>
|
132 |
<show_in_store>11</show_in_store>
|
133 |
</packminweight>
|
134 |
|
135 |
+
|
136 |
+
|
137 |
+
<dimension_unit translate="label">
|
138 |
+
<label>Unit of Dimension</label>
|
139 |
+
<frontend_type>select</frontend_type>
|
140 |
+
<source_model>soluship_shipping1/DimensionUnit</source_model>
|
141 |
+
<sort_order>10</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 |
+
<comment>Select the unit that your store uses to designate the dimension of each item.</comment>
|
146 |
+
</dimension_unit>
|
147 |
+
|
148 |
+
|
149 |
+
<length_attribute translate="label">
|
150 |
+
<label>Lenght Attribute</label>
|
151 |
+
<frontend_type>select</frontend_type>
|
152 |
+
<source_model>soluship_shipping1/ListAttributes</source_model>
|
153 |
+
<sort_order>11</sort_order>
|
154 |
+
<show_in_default>1</show_in_default>
|
155 |
+
<show_in_website>1</show_in_website>
|
156 |
+
<show_in_store>1</show_in_store>
|
157 |
+
<comment>Please Select Lenght Attibute
|
158 |
+
</comment>
|
159 |
+
</length_attribute>
|
160 |
+
|
161 |
+
<width_attribute translate="label">
|
162 |
+
<label>Width Attribute</label>
|
163 |
+
<frontend_type>select</frontend_type>
|
164 |
+
<source_model>soluship_shipping1/ListAttributes</source_model>
|
165 |
+
<sort_order>12</sort_order>
|
166 |
+
<show_in_default>1</show_in_default>
|
167 |
+
<show_in_website>1</show_in_website>
|
168 |
+
<show_in_store>1</show_in_store>
|
169 |
+
<comment>Please Select Width Attibute
|
170 |
+
|
171 |
+
</comment>
|
172 |
+
</width_attribute>
|
173 |
+
|
174 |
+
<height_attribute translate="label">
|
175 |
+
<label>height Attribute</label>
|
176 |
+
<frontend_type>select</frontend_type>
|
177 |
+
<source_model>soluship_shipping1/ListAttributes</source_model>
|
178 |
+
<sort_order>13</sort_order>
|
179 |
+
<show_in_default>1</show_in_default>
|
180 |
+
<show_in_website>1</show_in_website>
|
181 |
+
<show_in_store>1</show_in_store>
|
182 |
+
<comment>Please Select Height Attibute
|
183 |
+
|
184 |
+
<![CDATA[
|
185 |
+
<br> <b> If any of the attribute Mapped incorrectly , the default Height Will goes to 1 inch.</b>
|
186 |
+
]]>
|
187 |
+
</comment>
|
188 |
+
</height_attribute>
|
189 |
+
|
190 |
<free_ship_unit translate="label">
|
191 |
<label>Free Ship Settings</label>
|
192 |
<frontend_type>select</frontend_type>
|
193 |
<source_model>soluship_shipping1/FreeShipOptions</source_model>
|
194 |
+
<sort_order>14</sort_order>
|
195 |
<show_in_default>1</show_in_default>
|
196 |
<show_in_website>1</show_in_website>
|
197 |
<show_in_store>1</show_in_store>
|
199 |
|
200 |
</comment>
|
201 |
</free_ship_unit>
|
202 |
+
|
203 |
<fsamout translate="label">
|
204 |
<label>Minmum order Amount For Free Shipping</label>
|
205 |
<frontend_type>text</frontend_type>
|
206 |
+
<sort_order>15</sort_order>
|
207 |
<show_in_default>1</show_in_default>
|
208 |
<show_in_website>1</show_in_website>
|
209 |
<show_in_store>1</show_in_store>
|
211 |
<fsweight translate="label">
|
212 |
<label>Minmum Package Weight For Free Shipping</label>
|
213 |
<frontend_type>text</frontend_type>
|
214 |
+
<sort_order>16</sort_order>
|
215 |
<show_in_default>1</show_in_default>
|
216 |
<show_in_website>1</show_in_website>
|
217 |
<show_in_store>1</show_in_store>
|
222 |
<label>Markup Settings</label>
|
223 |
<frontend_type>select</frontend_type>
|
224 |
<source_model>soluship_shipping1/Dropdown_MarkupType</source_model>
|
225 |
+
<sort_order>17</sort_order>
|
226 |
<show_in_default>1</show_in_default>
|
227 |
<show_in_website>1</show_in_website>
|
228 |
<show_in_store>1</show_in_store>
|
235 |
<label>Mark Type </label>
|
236 |
<frontend_type>select</frontend_type>
|
237 |
<source_model>soluship_shipping1/Dropdown_MarkupFlatOption</source_model>
|
238 |
+
<sort_order>18</sort_order>
|
239 |
<show_in_default>1</show_in_default>
|
240 |
<show_in_website>1</show_in_website>
|
241 |
<show_in_store>1</show_in_store>
|
247 |
<markup_value translate="label">
|
248 |
<label>Mark Value</label>
|
249 |
<frontend_type>text</frontend_type>
|
250 |
+
<sort_order>19</sort_order>
|
251 |
<show_in_default>1</show_in_default>
|
252 |
<show_in_website>1</show_in_website>
|
253 |
<show_in_store>1</show_in_store>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>soluship_shipping_magento</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php"> Magento community website is: OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -24,11 +24,13 @@ CARRIERS WITH SOLUSHIP
|
|
24 |
create shipment by getting the predefined rates with respect to the shipment details provided by the customer, from various services such as UPS, DHL, PUROLATOR, FEDEX etc..,
|
25 |
There are some additional functionalities such as pick up request ,EDI import (where multiple shipments can be created by importing an edi file), Track and Search which makes the shipments user friendly.
|
26 |
*Merchants need not pay nothing for App usages. They will pay only for shipping orders in soluship.</description>
|
27 |
-
<notes>
|
|
|
|
|
28 |
<authors><author><name>selvaganesh</name><user>selva</user><email>ecommerce@justintegrateit.com</email></author></authors>
|
29 |
-
<date>2017-04-
|
30 |
-
<time>
|
31 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Soluship_Shipping_Magento.xml" hash="1a18096cc7c20498f4309178bc94b75b"/></dir></target><target name="magecommunity"><dir name="Soluship"><dir name="Shipping1"><dir name="Helper"><dir name="Data"><file name="Data.php" hash="2e5fa7cb0c497b1394f42299f977e259"/></dir></dir><dir name="Model"><file name="Data.php" hash="2e5fa7cb0c497b1394f42299f977e259"/><file name="Demo.php" hash="
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>soluship_shipping_magento</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php"> Magento community website is: OSL v3.0</license>
|
7 |
<channel>community</channel>
|
24 |
create shipment by getting the predefined rates with respect to the shipment details provided by the customer, from various services such as UPS, DHL, PUROLATOR, FEDEX etc..,
|
25 |
There are some additional functionalities such as pick up request ,EDI import (where multiple shipments can be created by importing an edi file), Track and Search which makes the shipments user friendly.
|
26 |
*Merchants need not pay nothing for App usages. They will pay only for shipping orders in soluship.</description>
|
27 |
+
<notes>dimension based shipping enabled
|
28 |
+
shipping label bug fixes
|
29 |
+
</notes>
|
30 |
<authors><author><name>selvaganesh</name><user>selva</user><email>ecommerce@justintegrateit.com</email></author></authors>
|
31 |
+
<date>2017-04-28</date>
|
32 |
+
<time>10:51:43</time>
|
33 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Soluship_Shipping_Magento.xml" hash="1a18096cc7c20498f4309178bc94b75b"/></dir></target><target name="magecommunity"><dir name="Soluship"><dir name="Shipping1"><dir name="Helper"><dir name="Data"><file name="Data.php" hash="2e5fa7cb0c497b1394f42299f977e259"/></dir></dir><dir name="Model"><file name="Data.php" hash="2e5fa7cb0c497b1394f42299f977e259"/><file name="Demo.php" hash="905d9ed0db62b4207c53fbda0e9486e7"/><file name="DimensionUnit.php" hash="9bc66802605620c4b71503d045517317"/><dir name="Dropdown"><file name="MarkupFlatOption.php" hash="c3dcad22ff96aefc5c0d8fb337b76e72"/><file name="MarkupType.php" hash="cd257aa3181386707781f56440411280"/><file name="Unitofmeasure.php" hash="40941ba42763a599ae6e2fc2f8410208"/></dir><file name="FreeShipOptions.php" hash="440c1e0121575e9f3cf2321831157eb8"/><file name="ListAttributes.php" hash="ca607f97314cff75cdeb155169288e7a"/><file name="Observer.php" hash="b9bf46f6809d86c4a1330b4452b6175b"/><file name="Observer1.php" hash="59c279df024213af05750094d619207a"/><file name="Option.php" hash="8da2d8863b128b42344570b32d344622"/><file name="PackageOption.php" hash="5e20eeab541a8901af33bcd771e7fde9"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e908fb2554b19058b710b52d5fca9aa7"/><file name="View.php" hash="df76dc675e766233bf373cc3389ec102"/><file name="ViewTrack.php" hash="0180b81c41ea8345ac8b5f22280f8163"/></dir></dir><file name="Weightunit.php" hash="fa47f1ad50ae4f689a8ede921d9bd140"/><file name="printlabel.php" hash="feabe5cc691b088d6ade3e04d6b120fc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MassactionController.php" hash="715f6a5dc0b9362faf4e0cc7935db2a5"/></dir></dir><dir name="etc"><file name="config.xml" hash="44c53dcfd1247390dbb8c078aafa0df7"/><file name="system.xml" hash="c24d9cba20645e75f31a77bd48cb8d35"/></dir></dir></dir></target></contents>
|
34 |
<compatible/>
|
35 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
36 |
</package>
|