Version Notes
First version.
Download this release
Release Info
Developer | EaDesign |
Extension | Eadesigndev_Shipestimation |
Version | 1.0.1 |
Comparing to | |
See all releases |
Version 1.0.1
- app/code/local/Eadesigndev/Shipestimation/Helper/Data.php +44 -0
- app/code/local/Eadesigndev/Shipestimation/controllers/IndexController.php +81 -0
- app/code/local/Eadesigndev/Shipestimation/etc/config.xml +84 -0
- app/code/local/Eadesigndev/Shipestimation/etc/system.xml +60 -0
- app/design/frontend/base/default/layout/eadesigndev/shipestimation.xml +38 -0
- app/design/frontend/base/default/template/eadesigndev/shipestimation/catalog/product/view/estimate.phtml +149 -0
- app/design/frontend/base/default/template/eadesigndev/shipestimation/shipestimation.phtml +27 -0
- app/design/frontend/rwd/default/layout/eadesigndev/shipestimation.xml +38 -0
- app/design/frontend/rwd/default/template/eadesigndev/shipestimation/catalog/product/view/estimate.phtml +149 -0
- app/design/frontend/rwd/default/template/eadesigndev/shipestimation/shipestimation.phtml +27 -0
- app/etc/modules/Eadesigndev_Shipestimation.xml +28 -0
- package.xml +18 -0
- skin/frontend/base/default/eadesigndev/shipestimation/71222.png +0 -0
- skin/frontend/base/default/eadesigndev/shipestimation/bkg_main2.gif +0 -0
- skin/frontend/base/default/eadesigndev/shipestimation/css/default.css +228 -0
- skin/frontend/rwd/default/eadesigndev/shipestimation/71222.png +0 -0
- skin/frontend/rwd/default/eadesigndev/shipestimation/bkg_main2.gif +0 -0
- skin/frontend/rwd/default/eadesigndev/shipestimation/css/default.css +240 -0
app/code/local/Eadesigndev/Shipestimation/Helper/Data.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
|
21 |
+
class Eadesigndev_Shipestimation_Helper_Data extends Mage_Core_Helper_Abstract
|
22 |
+
{
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Check if module is active
|
26 |
+
* @return boolean
|
27 |
+
*/
|
28 |
+
public function isActive()
|
29 |
+
{
|
30 |
+
return Mage::getStoreConfig('shipestimationopt/shipestimation_opt/active');
|
31 |
+
}
|
32 |
+
|
33 |
+
public function ifItApplies()
|
34 |
+
{
|
35 |
+
$isActive = $this->isActive();
|
36 |
+
$_product = Mage::registry('current_product');
|
37 |
+
|
38 |
+
if ($isActive && $_product->getData('type_id') == Mage_Catalog_Model_Product_Type::TYPE_SIMPLE) {
|
39 |
+
return true;
|
40 |
+
}
|
41 |
+
return false;
|
42 |
+
|
43 |
+
}
|
44 |
+
}
|
app/code/local/Eadesigndev/Shipestimation/controllers/IndexController.php
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
class Eadesigndev_Shipestimation_IndexController extends Mage_Core_Controller_Front_Action
|
21 |
+
{
|
22 |
+
|
23 |
+
|
24 |
+
public function indexAction()
|
25 |
+
{
|
26 |
+
}
|
27 |
+
|
28 |
+
public function quotationAction()
|
29 |
+
{
|
30 |
+
|
31 |
+
$shippingblock = $this->getLayout()->createBlock('checkout/cart_shipping');
|
32 |
+
|
33 |
+
$country = $this->getRequest()->getParam('country_id');
|
34 |
+
$regionId = $this->getRequest()->getParam('region_id');
|
35 |
+
$zipId = $this->getRequest()->getParam('zip');
|
36 |
+
$productId = $this->getRequest()->getParam('productId');
|
37 |
+
|
38 |
+
$_product = Mage::getModel('catalog/product')->load($productId);
|
39 |
+
|
40 |
+
$quote = Mage::getModel('sales/quote');
|
41 |
+
|
42 |
+
$shippingAddress = $quote->getShippingAddress();
|
43 |
+
$shippingAddress->setCountryId($country);
|
44 |
+
$shippingAddress->setRegionId($regionId);
|
45 |
+
$shippingAddress->setPostcode($zipId);
|
46 |
+
$shippingAddress->setCollectShippingRates(true);
|
47 |
+
|
48 |
+
|
49 |
+
$quote->addProduct($_product);
|
50 |
+
$quote->getShippingAddress()->collectTotals();
|
51 |
+
$quote->getShippingAddress()->setCollectShippingRates(true);
|
52 |
+
$quote->getShippingAddress()->collectShippingRates();
|
53 |
+
|
54 |
+
$rates = $quote->getShippingAddress()->getGroupedAllShippingRates();
|
55 |
+
|
56 |
+
|
57 |
+
if(empty($rates)){
|
58 |
+
echo Mage::helper('shipping')->__('There are no rates available');
|
59 |
+
}
|
60 |
+
|
61 |
+
|
62 |
+
foreach ($rates as $code=>$rate) {
|
63 |
+
$carierName = '<div class="cariername">'
|
64 |
+
. $shippingblock->getCarrierName($code)
|
65 |
+
.'</div>';
|
66 |
+
echo $carierName;
|
67 |
+
|
68 |
+
foreach($rate as $r){
|
69 |
+
$price = Mage::helper('core')->currency($r->getPrice(), true, false);
|
70 |
+
$rates = '<div>'
|
71 |
+
. $r->getMethodTitle()
|
72 |
+
. ' <strong>'
|
73 |
+
. $price
|
74 |
+
.' </strong>';
|
75 |
+
echo $rates;
|
76 |
+
}
|
77 |
+
|
78 |
+
}
|
79 |
+
return;
|
80 |
+
}
|
81 |
+
}
|
app/code/local/Eadesigndev/Shipestimation/etc/config.xml
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Eadesigndev_Shipestimation>
|
25 |
+
<version>1.0.1</version>
|
26 |
+
</Eadesigndev_Shipestimation>
|
27 |
+
</modules>
|
28 |
+
<global>
|
29 |
+
<helpers>
|
30 |
+
<shipestimation>
|
31 |
+
<class>Eadesigndev_Shipestimation_Helper</class>
|
32 |
+
</shipestimation>
|
33 |
+
</helpers>
|
34 |
+
<blocks>
|
35 |
+
<shipestimation>
|
36 |
+
<class>Eadesigndev_Shipestimation_Block</class>
|
37 |
+
</shipestimation>
|
38 |
+
</blocks>
|
39 |
+
<models>
|
40 |
+
<shipestimation>
|
41 |
+
<class>Eadesigndev_Shipestimation_Model</class>
|
42 |
+
</shipestimation>
|
43 |
+
</models>
|
44 |
+
</global>
|
45 |
+
<adminhtml>
|
46 |
+
<acl>
|
47 |
+
<resources>
|
48 |
+
<admin>
|
49 |
+
<children>
|
50 |
+
<system>
|
51 |
+
<children>
|
52 |
+
<config>
|
53 |
+
<children>
|
54 |
+
<shipestimationopt>
|
55 |
+
<title>EaDesign Shipestimation</title>
|
56 |
+
</shipestimationopt>
|
57 |
+
</children>
|
58 |
+
</config>
|
59 |
+
</children>
|
60 |
+
</system>
|
61 |
+
</children>
|
62 |
+
</admin>
|
63 |
+
</resources>
|
64 |
+
</acl>
|
65 |
+
</adminhtml>
|
66 |
+
<frontend>
|
67 |
+
<layout>
|
68 |
+
<updates>
|
69 |
+
<affiliate module="Eadesigndev_Shipestimation">
|
70 |
+
<file>eadesigndev/shipestimation.xml</file>
|
71 |
+
</affiliate>
|
72 |
+
</updates>
|
73 |
+
</layout>
|
74 |
+
<routers>
|
75 |
+
<shipestimation>
|
76 |
+
<use>standard</use>
|
77 |
+
<args>
|
78 |
+
<module>Eadesigndev_Shipestimation</module>
|
79 |
+
<frontName>shipestimation</frontName>
|
80 |
+
</args>
|
81 |
+
</shipestimation>
|
82 |
+
</routers>
|
83 |
+
</frontend>
|
84 |
+
</config>
|
app/code/local/Eadesigndev/Shipestimation/etc/system.xml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
<config>
|
22 |
+
<tabs>
|
23 |
+
<eadesigndevconfig translate="label" module="shipestimation">
|
24 |
+
<label>EaDesign</label>
|
25 |
+
<sort_order>999</sort_order>
|
26 |
+
</eadesigndevconfig>
|
27 |
+
</tabs>
|
28 |
+
<sections>
|
29 |
+
<shipestimationopt translate="label" module="shipestimation"> <!--Sections meniu stanga activ cu click-->
|
30 |
+
<label>EaDesign Shipestimation</label>
|
31 |
+
<tab>eadesigndevconfig</tab>
|
32 |
+
<frontend_type>text</frontend_type>
|
33 |
+
<sort_order>1000</sort_order>
|
34 |
+
<show_in_default>1</show_in_default>
|
35 |
+
<show_in_website>1</show_in_website>
|
36 |
+
<show_in_store>1</show_in_store>
|
37 |
+
<groups>
|
38 |
+
<shipestimation_opt translate="label">
|
39 |
+
<label>Shipestimation</label>
|
40 |
+
<frontend_type>text</frontend_type>
|
41 |
+
<sort_order>1</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<fields>
|
46 |
+
<active translate="label">
|
47 |
+
<label>Activat</label>
|
48 |
+
<frontend_type>select</frontend_type>
|
49 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
50 |
+
<sort_order>1</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
<show_in_store>0</show_in_store>
|
54 |
+
</active>
|
55 |
+
</fields>
|
56 |
+
</shipestimation_opt>
|
57 |
+
</groups>
|
58 |
+
</shipestimationopt>
|
59 |
+
</sections>
|
60 |
+
</config>
|
app/design/frontend/base/default/layout/eadesigndev/shipestimation.xml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
|
22 |
+
<layout version="0.1.0">
|
23 |
+
<catalog_product_view translate="label">
|
24 |
+
<reference name="product.info.addtocart">
|
25 |
+
<block type="core/template" name="ship.button" template="eadesigndev/shipestimation/shipestimation.phtml"/>
|
26 |
+
</reference>
|
27 |
+
<reference name="product.info.additional">
|
28 |
+
<block type="core/template" name="ship.button"
|
29 |
+
template="eadesigndev/shipestimation/catalog/product/view/estimate.phtml"/>
|
30 |
+
</reference>
|
31 |
+
</catalog_product_view>
|
32 |
+
<default>
|
33 |
+
<reference name="head">
|
34 |
+
<action method="addJs"><script>prototype/window.js</script></action>
|
35 |
+
<action method="addCss"><stylesheet>eadesigndev/shipestimation/css/default.css</stylesheet></action>
|
36 |
+
</reference>
|
37 |
+
</default>
|
38 |
+
</layout>
|
app/design/frontend/base/default/template/eadesigndev/shipestimation/catalog/product/view/estimate.phtml
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EaDesgin
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
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 license@eadesign.ro so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Eadesigndev_Shipestimation
|
16 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
17 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<?php
|
21 |
+
$_product = Mage::registry('current_product');
|
22 |
+
$ifTrue=Mage::Helper('shipestimation')->ifItApplies();
|
23 |
+
?>
|
24 |
+
<?php if ($ifTrue): ?>
|
25 |
+
<?php $shippingblock = $this->getLayout()->createBlock('checkout/cart_shipping'); ?>
|
26 |
+
<div class="form-estimate window" id="calctransport">
|
27 |
+
<a href="#" class="close" onclick="closeMe()">X</a>
|
28 |
+
<h4><?php echo Mage::helper('checkout')->__('Estimate Shipping and Tax') ?></h4>
|
29 |
+
|
30 |
+
<div class="adress">
|
31 |
+
<div class="input-boxes">
|
32 |
+
<input type="hidden" id="estimate_country" name="estimate[country_id]" value="RO"/>
|
33 |
+
|
34 |
+
<div class="country-input">
|
35 |
+
<label for="country" class="required"><em>*</em><?php echo Mage::helper('checkout')->__('Country') ?></label>
|
36 |
+
|
37 |
+
<div class="input-box">
|
38 |
+
<?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
<li class="state-input">
|
42 |
+
<label
|
43 |
+
for="region_id"<?php if ($shippingblock->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($shippingblock->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo Mage::helper('checkout')->__('State/Province') ?></label>
|
44 |
+
|
45 |
+
<div class="input-box">
|
46 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>"
|
47 |
+
style="display:none;"<?php echo($shippingblock->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
48 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
49 |
+
</select>
|
50 |
+
|
51 |
+
<input type="text" id="region" name="region"
|
52 |
+
value="<?php echo $shippingblock->escapeHtml($shippingblock->getEstimateRegion()) ?>"
|
53 |
+
title="<?php echo $this->__('State/Province') ?>" class="input-text"
|
54 |
+
style="display:none;"/>
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
</div>
|
58 |
+
<div class="zip-code">
|
59 |
+
<label
|
60 |
+
for="postcode"<?php if ($shippingblock->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($shippingblock->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo Mage::helper('checkout')->__('Zip/Postal Code') ?></label>
|
61 |
+
|
62 |
+
<div class="input-box">
|
63 |
+
<input
|
64 |
+
class="input-text validate-postcode<?php if ($shippingblock->isZipCodeRequired()): ?> required-entry<?php endif; ?>"
|
65 |
+
type="text" id="postcode" name="estimate_postcode"
|
66 |
+
value="<?php echo $shippingblock->escapeHtml($shippingblock->getEstimatePostcode()) ?>"/>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<div class="buttons-set">
|
70 |
+
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="calculateCost()"
|
71 |
+
class="button"><span><span><?php echo Mage::helper('checkout')->__('Get a Quote') ?></span></span></button>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="estimate-cost">
|
76 |
+
<span class="cost-tr">
|
77 |
+
<span class="car-cost"></span>
|
78 |
+
<span class="cost-title"></span>
|
79 |
+
<span id="shipestimate-values"></span>
|
80 |
+
</span>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
|
85 |
+
<script type="text/javascript">
|
86 |
+
//<![CDATA[
|
87 |
+
function openwindow() {
|
88 |
+
Dialog.info($('calctransport').innerHTML,
|
89 |
+
{
|
90 |
+
width: 400,
|
91 |
+
height: 250,
|
92 |
+
okLabel: "close",
|
93 |
+
showProgress: true
|
94 |
+
}
|
95 |
+
);
|
96 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $shippingblock->getEstimateRegionId() ?>");
|
97 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $shippingblock->helper('directory')->getRegionJson() ?>);
|
98 |
+
|
99 |
+
return;
|
100 |
+
}
|
101 |
+
|
102 |
+
function closeMe() {
|
103 |
+
Dialog.okCallback();
|
104 |
+
return;
|
105 |
+
}
|
106 |
+
|
107 |
+
function calculateCost() {
|
108 |
+
|
109 |
+
var action = "<?php echo $this->getUrl('shipestimation/index/quotation'); ?>";
|
110 |
+
|
111 |
+
var country = $('country').value;
|
112 |
+
var regionId = $('region_id').value;
|
113 |
+
var zip = $('postcode').value;
|
114 |
+
|
115 |
+
<?php if($_product):?>
|
116 |
+
var productId = <?php echo $_product->getId(); ?>;
|
117 |
+
<?php endif;?>
|
118 |
+
|
119 |
+
|
120 |
+
new Ajax.Request(action,
|
121 |
+
{
|
122 |
+
method: 'GET',
|
123 |
+
onSuccess: function (data) {
|
124 |
+
//console.log(data);
|
125 |
+
if (data.responseText == 'nu') {
|
126 |
+
$$('.cost-tr').each(function (ele) {
|
127 |
+
ele.setStyle({display: 'none'})
|
128 |
+
});
|
129 |
+
} else {
|
130 |
+
console.log('test');
|
131 |
+
$$('.cost-tr').each(function (ele) {
|
132 |
+
ele.setStyle({display: 'block'})
|
133 |
+
});
|
134 |
+
}
|
135 |
+
$('shipestimate-values').replace('<span id="shipestimate-values">' + data.responseText + '</span>');
|
136 |
+
},
|
137 |
+
onFailure: '',
|
138 |
+
parameters: {
|
139 |
+
country_id: country,
|
140 |
+
region_id: regionId,
|
141 |
+
zip_id: zip,
|
142 |
+
productId: productId
|
143 |
+
}
|
144 |
+
}
|
145 |
+
);
|
146 |
+
}
|
147 |
+
//]]>
|
148 |
+
</script>
|
149 |
+
<?php endif ?>
|
app/design/frontend/base/default/template/eadesigndev/shipestimation/shipestimation.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EaDesgin
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
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 license@eadesign.ro so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Eadesigndev_Shipestimation
|
16 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
17 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<?php
|
21 |
+
$ifTrue=Mage::Helper('shipestimation')->ifItApplies();
|
22 |
+
?>
|
23 |
+
<?php if ($ifTrue): ?>
|
24 |
+
<div class="shipping-estimate">
|
25 |
+
<a href="#calctransport" name="modal" onclick="openwindow()"><?php echo Mage::helper('checkout')->__('Estimate Shipping and Tax') ?></a>
|
26 |
+
</div>
|
27 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/layout/eadesigndev/shipestimation.xml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
|
22 |
+
<layout version="0.1.0">
|
23 |
+
<catalog_product_view translate="label">
|
24 |
+
<reference name="product.info.addtocart">
|
25 |
+
<block type="core/template" name="ship.button" template="eadesigndev/shipestimation/shipestimation.phtml"/>
|
26 |
+
</reference>
|
27 |
+
<reference name="product.info.additional">
|
28 |
+
<block type="core/template" name="ship.button"
|
29 |
+
template="eadesigndev/shipestimation/catalog/product/view/estimate.phtml"/>
|
30 |
+
</reference>
|
31 |
+
</catalog_product_view>
|
32 |
+
<default>
|
33 |
+
<reference name="head">
|
34 |
+
<action method="addJs"><script>prototype/window.js</script></action>
|
35 |
+
<action method="addCss"><stylesheet>eadesigndev/shipestimation/css/default.css</stylesheet></action>
|
36 |
+
</reference>
|
37 |
+
</default>
|
38 |
+
</layout>
|
app/design/frontend/rwd/default/template/eadesigndev/shipestimation/catalog/product/view/estimate.phtml
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EaDesgin
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
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 license@eadesign.ro so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Eadesigndev_Shipestimation
|
16 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
17 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<?php
|
21 |
+
$_product = Mage::registry('current_product');
|
22 |
+
$ifTrue=Mage::Helper('shipestimation')->ifItApplies();
|
23 |
+
?>
|
24 |
+
<?php if ($ifTrue): ?>
|
25 |
+
<?php $shippingblock = $this->getLayout()->createBlock('checkout/cart_shipping'); ?>
|
26 |
+
<div class="form-estimate window" id="calctransport">
|
27 |
+
<a href="#" class="close" onclick="closeMe()">X</a>
|
28 |
+
<h4><?php echo Mage::helper('checkout')->__('Estimate Shipping and Tax') ?></h4>
|
29 |
+
|
30 |
+
<div class="adress">
|
31 |
+
<div class="input-boxes">
|
32 |
+
<input type="hidden" id="estimate_country" name="estimate[country_id]" value="RO"/>
|
33 |
+
|
34 |
+
<div class="country-input">
|
35 |
+
<label for="country" class="required"><em>*</em><?php echo Mage::helper('checkout')->__('Country') ?></label>
|
36 |
+
|
37 |
+
<div class="input-box">
|
38 |
+
<?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
<li class="state-input">
|
42 |
+
<label
|
43 |
+
for="region_id"<?php if ($shippingblock->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($shippingblock->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo Mage::helper('checkout')->__('State/Province') ?></label>
|
44 |
+
|
45 |
+
<div class="input-box">
|
46 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>"
|
47 |
+
style="display:none;"<?php echo($shippingblock->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
48 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
49 |
+
</select>
|
50 |
+
|
51 |
+
<input type="text" id="region" name="region"
|
52 |
+
value="<?php echo $shippingblock->escapeHtml($shippingblock->getEstimateRegion()) ?>"
|
53 |
+
title="<?php echo $this->__('State/Province') ?>" class="input-text"
|
54 |
+
style="display:none;"/>
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
</div>
|
58 |
+
<div class="zip-code">
|
59 |
+
<label
|
60 |
+
for="postcode"<?php if ($shippingblock->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($shippingblock->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo Mage::helper('checkout')->__('Zip/Postal Code') ?></label>
|
61 |
+
|
62 |
+
<div class="input-box">
|
63 |
+
<input
|
64 |
+
class="input-text validate-postcode<?php if ($shippingblock->isZipCodeRequired()): ?> required-entry<?php endif; ?>"
|
65 |
+
type="text" id="postcode" name="estimate_postcode"
|
66 |
+
value="<?php echo $shippingblock->escapeHtml($shippingblock->getEstimatePostcode()) ?>"/>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<div class="buttons-set">
|
70 |
+
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="calculateCost()"
|
71 |
+
class="button"><span><span><?php echo Mage::helper('checkout')->__('Get a Quote') ?></span></span></button>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="estimate-cost">
|
76 |
+
<span class="cost-tr">
|
77 |
+
<span class="car-cost"></span>
|
78 |
+
<span class="cost-title"></span>
|
79 |
+
<span id="shipestimate-values"></span>
|
80 |
+
</span>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
|
85 |
+
<script type="text/javascript">
|
86 |
+
//<![CDATA[
|
87 |
+
function openwindow() {
|
88 |
+
Dialog.info($('calctransport').innerHTML,
|
89 |
+
{
|
90 |
+
width: 400,
|
91 |
+
height: 250,
|
92 |
+
okLabel: "close",
|
93 |
+
showProgress: true
|
94 |
+
}
|
95 |
+
);
|
96 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $shippingblock->getEstimateRegionId() ?>");
|
97 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $shippingblock->helper('directory')->getRegionJson() ?>);
|
98 |
+
|
99 |
+
return;
|
100 |
+
}
|
101 |
+
|
102 |
+
function closeMe() {
|
103 |
+
Dialog.okCallback();
|
104 |
+
return;
|
105 |
+
}
|
106 |
+
|
107 |
+
function calculateCost() {
|
108 |
+
|
109 |
+
var action = "<?php echo $this->getUrl('shipestimation/index/quotation'); ?>";
|
110 |
+
|
111 |
+
var country = $('country').value;
|
112 |
+
var regionId = $('region_id').value;
|
113 |
+
var zip = $('postcode').value;
|
114 |
+
|
115 |
+
<?php if($_product):?>
|
116 |
+
var productId = <?php echo $_product->getId(); ?>;
|
117 |
+
<?php endif;?>
|
118 |
+
|
119 |
+
|
120 |
+
new Ajax.Request(action,
|
121 |
+
{
|
122 |
+
method: 'GET',
|
123 |
+
onSuccess: function (data) {
|
124 |
+
//console.log(data);
|
125 |
+
if (data.responseText == 'nu') {
|
126 |
+
$$('.cost-tr').each(function (ele) {
|
127 |
+
ele.setStyle({display: 'none'})
|
128 |
+
});
|
129 |
+
} else {
|
130 |
+
console.log('test');
|
131 |
+
$$('.cost-tr').each(function (ele) {
|
132 |
+
ele.setStyle({display: 'block'})
|
133 |
+
});
|
134 |
+
}
|
135 |
+
$('shipestimate-values').replace('<span id="shipestimate-values">' + data.responseText + '</span>');
|
136 |
+
},
|
137 |
+
onFailure: '',
|
138 |
+
parameters: {
|
139 |
+
country_id: country,
|
140 |
+
region_id: regionId,
|
141 |
+
zip_id: zip,
|
142 |
+
productId: productId
|
143 |
+
}
|
144 |
+
}
|
145 |
+
);
|
146 |
+
}
|
147 |
+
//]]>
|
148 |
+
</script>
|
149 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/eadesigndev/shipestimation/shipestimation.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EaDesgin
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
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 license@eadesign.ro so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Eadesigndev_Shipestimation
|
16 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
17 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<?php
|
21 |
+
$ifTrue=Mage::Helper('shipestimation')->ifItApplies();
|
22 |
+
?>
|
23 |
+
<?php if ($ifTrue): ?>
|
24 |
+
<div class="shipping-estimate">
|
25 |
+
<a href="#calctransport" name="modal" onclick="openwindow()"><?php echo Mage::helper('checkout')->__('Estimate Shipping and Tax') ?></a>
|
26 |
+
</div>
|
27 |
+
<?php endif ?>
|
app/etc/modules/Eadesigndev_Shipestimation.xml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
**
|
4 |
+
* EaDesgin
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@eadesign.ro so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Eadesigndev_Shipestimation
|
17 |
+
* @copyright Copyright (c) 2008-2015 EaDesign by Eco Active S.R.L.
|
18 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
19 |
+
*/
|
20 |
+
-->
|
21 |
+
<config>
|
22 |
+
<modules>
|
23 |
+
<Eadesigndev_Shipestimation>
|
24 |
+
<active>true</active>
|
25 |
+
<codePool>local</codePool>
|
26 |
+
</Eadesigndev_Shipestimation>
|
27 |
+
</modules>
|
28 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Eadesigndev_Shipestimation</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">Extension license name (OSL v3.0)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Estimate shipping</summary>
|
10 |
+
<description>The extension get the estimated cost for shipping for country, regions and postal code.</description>
|
11 |
+
<notes>First version.</notes>
|
12 |
+
<authors><author><name>EaDesign</name><user>eadesign</user><email>office@eadesign.ro</email></author></authors>
|
13 |
+
<date>2015-10-14</date>
|
14 |
+
<time>09:28:27</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Eadesigndev"><dir name="Shipestimation"><dir name="Helper"><file name="Data.php" hash="5dae9c8cd88a46cb9d35f72661426df8"/></dir><dir name="controllers"><file name="IndexController.php" hash="e542194f5ace60ef5cd2ca7fe67d67f1"/></dir><dir name="etc"><file name="config.xml" hash="fd8cdbb68a81b9676f3010a6054983df"/><file name="system.xml" hash="21a5b1618a36b44d9401b6cd4927adc9"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="eadesigndev"><dir name="shipestimation"><dir name="catalog"><dir name="product"><dir name="view"><file name="estimate.phtml" hash="8979d1231e4a9cf8bc956e83c727f22f"/></dir></dir></dir><file name="shipestimation.phtml" hash="814331439e53749ddb2105bcfd4dde0a"/></dir></dir></dir><dir name="layout"><dir name="eadesigndev"><file name="shipestimation.xml" hash="9a77c641f4c4fe5d925ee5cbb777ce9a"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="layout"><dir name="eadesigndev"><file name="shipestimation.xml" hash="9a77c641f4c4fe5d925ee5cbb777ce9a"/></dir></dir><dir name="template"><dir name="eadesigndev"><dir name="shipestimation"><dir name="catalog"><dir name="product"><dir name="view"><file name="estimate.phtml" hash="8979d1231e4a9cf8bc956e83c727f22f"/></dir></dir></dir><file name="shipestimation.phtml" hash="814331439e53749ddb2105bcfd4dde0a"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="eadesigndev"><dir name="shipestimation"><file name="71222.png" hash="f596a4fd67aa4a6eccc019c1722fa3cb"/><file name="bkg_main2.gif" hash="cf18ba9f7c7e6b058b439cde1a897e9c"/><dir name="css"><file name="default.css" hash="d57f7fffaa9f7f07137168eb515fd29e"/></dir></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="eadesigndev"><dir name="shipestimation"><file name="71222.png" hash="f596a4fd67aa4a6eccc019c1722fa3cb"/><file name="bkg_main2.gif" hash="cf18ba9f7c7e6b058b439cde1a897e9c"/><dir name="css"><file name="default.css" hash="acd3d7eaf9cfd1ca7bf33d6ece22c6fc"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eadesigndev_Shipestimation.xml" hash="e9c7ced8afd9a27b5917d269c354726a"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>5.6.3</max></php></required></dependencies>
|
18 |
+
</package>
|
skin/frontend/base/default/eadesigndev/shipestimation/71222.png
ADDED
Binary file
|
skin/frontend/base/default/eadesigndev/shipestimation/bkg_main2.gif
ADDED
Binary file
|
skin/frontend/base/default/eadesigndev/shipestimation/css/default.css
ADDED
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.overlay_dialog {
|
2 |
+
background-color: #666666;
|
3 |
+
filter:alpha(opacity=60);
|
4 |
+
-moz-opacity: 0.6;
|
5 |
+
opacity: 0.6;
|
6 |
+
}
|
7 |
+
|
8 |
+
.overlay___invisible__ {
|
9 |
+
background-color: #666666;
|
10 |
+
filter:alpha(opacity=0);
|
11 |
+
-moz-opacity: 0;
|
12 |
+
opacity: 0;
|
13 |
+
}
|
14 |
+
|
15 |
+
.dialog_nw {
|
16 |
+
width: 9px;
|
17 |
+
height: 23px;
|
18 |
+
background: transparent url(default/top_left.gif) no-repeat 0 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
.dialog_n {
|
22 |
+
background: transparent url(default/top_mid.gif) repeat-x 0 0;
|
23 |
+
height: 23px;
|
24 |
+
}
|
25 |
+
|
26 |
+
.dialog_ne {
|
27 |
+
width: 9px;
|
28 |
+
height: 23px;
|
29 |
+
background: transparent url(default/top_right.gif) no-repeat 0 0;
|
30 |
+
}
|
31 |
+
|
32 |
+
.dialog_e {
|
33 |
+
width: 2px;
|
34 |
+
background: transparent url(default/center_right.gif) repeat-y 0 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
.dialog_w {
|
38 |
+
width: 2px;
|
39 |
+
background: transparent url(default/center_left.gif) repeat-y 0 0;
|
40 |
+
}
|
41 |
+
|
42 |
+
.dialog_sw {
|
43 |
+
width: 9px;
|
44 |
+
height: 19px;
|
45 |
+
background: transparent url(default/bottom_left.gif) no-repeat 0 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
.dialog_s {
|
49 |
+
background: transparent url(default/bottom_mid.gif) repeat-x 0 0;
|
50 |
+
height: 19px;
|
51 |
+
}
|
52 |
+
|
53 |
+
.dialog_se {
|
54 |
+
width: 9px;
|
55 |
+
height: 19px;
|
56 |
+
background: transparent url(default/bottom_right.gif) no-repeat 0 0;
|
57 |
+
}
|
58 |
+
|
59 |
+
.dialog_sizer {
|
60 |
+
width: 9px;
|
61 |
+
height: 19px;
|
62 |
+
background: transparent url(default/sizer.gif) no-repeat 0 0;
|
63 |
+
cursor:se-resize;
|
64 |
+
}
|
65 |
+
|
66 |
+
.dialog_close {
|
67 |
+
width: 14px;
|
68 |
+
height: 14px;
|
69 |
+
background: transparent url(default/close.gif) no-repeat 0 0;
|
70 |
+
position:absolute;
|
71 |
+
top:5px;
|
72 |
+
left:8px;
|
73 |
+
cursor:pointer;
|
74 |
+
z-index:2000;
|
75 |
+
}
|
76 |
+
|
77 |
+
.dialog_minimize {
|
78 |
+
width: 14px;
|
79 |
+
height: 15px;
|
80 |
+
background: transparent url(default/minimize.gif) no-repeat 0 0;
|
81 |
+
position:absolute;
|
82 |
+
top:5px;
|
83 |
+
left:28px;
|
84 |
+
cursor:pointer;
|
85 |
+
z-index:2000;
|
86 |
+
}
|
87 |
+
|
88 |
+
.dialog_maximize {
|
89 |
+
width: 14px;
|
90 |
+
height: 15px;
|
91 |
+
background: transparent url(default/maximize.gif) no-repeat 0 0;
|
92 |
+
position:absolute;
|
93 |
+
top:5px;
|
94 |
+
left:49px;
|
95 |
+
cursor:pointer;
|
96 |
+
z-index:2000;
|
97 |
+
}
|
98 |
+
|
99 |
+
.dialog_title {
|
100 |
+
float:left;
|
101 |
+
height:14px;
|
102 |
+
font-family: Tahoma, Arial, sans-serif;
|
103 |
+
font-size:12px;
|
104 |
+
text-align:center;
|
105 |
+
width:100%;
|
106 |
+
color:#000;
|
107 |
+
}
|
108 |
+
|
109 |
+
.dialog_content {
|
110 |
+
overflow:auto;
|
111 |
+
color: #DDD;
|
112 |
+
font-family: Tahoma, Arial, sans-serif;
|
113 |
+
font-size: 10px;
|
114 |
+
background-color:#123;
|
115 |
+
}
|
116 |
+
|
117 |
+
.top_draggable, .bottom_draggable {
|
118 |
+
cursor:move;
|
119 |
+
}
|
120 |
+
|
121 |
+
.status_bar {
|
122 |
+
font-size:12px;
|
123 |
+
}
|
124 |
+
.status_bar input{
|
125 |
+
font-size:12px;
|
126 |
+
}
|
127 |
+
|
128 |
+
.wired_frame {
|
129 |
+
display: block;
|
130 |
+
position: absolute;
|
131 |
+
border: 1px #000 dashed;
|
132 |
+
}
|
133 |
+
|
134 |
+
/* DO NOT CHANGE THESE VALUES*/
|
135 |
+
.dialog {
|
136 |
+
display: block;
|
137 |
+
position: absolute;
|
138 |
+
}
|
139 |
+
|
140 |
+
.dialog table.table_window {
|
141 |
+
border-collapse: collapse;
|
142 |
+
border-spacing: 0;
|
143 |
+
width: 100%;
|
144 |
+
margin: 0px;
|
145 |
+
padding:0px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.dialog table.table_window td , .dialog table.table_window th {
|
149 |
+
padding: 0;
|
150 |
+
}
|
151 |
+
|
152 |
+
.dialog .title_window {
|
153 |
+
-moz-user-select:none;
|
154 |
+
}
|
155 |
+
.dialog{
|
156 |
+
background: #fffffe url('../../shipestimation/bkg_main2.gif') 0 0 no-repeat; ;
|
157 |
+
height: auto!important;
|
158 |
+
position: fixed;
|
159 |
+
display: block;
|
160 |
+
z-index: 80!important;
|
161 |
+
}
|
162 |
+
.alert_content .buttons-set{
|
163 |
+
margin: 0;
|
164 |
+
}
|
165 |
+
.alert_message h4{
|
166 |
+
border-bottom: 2px solid #a7c6dd;
|
167 |
+
padding: 0 20px 15px;
|
168 |
+
color: #d96708;
|
169 |
+
}
|
170 |
+
.alert_message a{
|
171 |
+
color: #a7c6dd;
|
172 |
+
text-decoration: none;
|
173 |
+
}
|
174 |
+
#shipestimate-values pre{
|
175 |
+
display: inline;
|
176 |
+
}
|
177 |
+
.close{
|
178 |
+
position: absolute;
|
179 |
+
right: 0px;
|
180 |
+
width: 16px;
|
181 |
+
z-index: 100;
|
182 |
+
font-size: 20px;
|
183 |
+
top: -3px;
|
184 |
+
}
|
185 |
+
.buttons-set button.button{
|
186 |
+
float: left;
|
187 |
+
margin: 0;
|
188 |
+
}
|
189 |
+
#calctransport {
|
190 |
+
display: none;
|
191 |
+
}
|
192 |
+
.alert_message .adress{
|
193 |
+
padding-left: 20px;
|
194 |
+
padding-top: 15px;
|
195 |
+
}
|
196 |
+
.alert_message .adress-title{
|
197 |
+
padding-bottom: 10px;
|
198 |
+
}
|
199 |
+
.input-boxes .country-input, .state-input{
|
200 |
+
padding-bottom: 10px;
|
201 |
+
|
202 |
+
}
|
203 |
+
.adress .buttons-set{
|
204 |
+
padding-bottom: 10px;
|
205 |
+
border: none;
|
206 |
+
}
|
207 |
+
.car-cost{
|
208 |
+
background: url('../../shipestimation/71222.png') no-repeat center left;
|
209 |
+
padding-top: 10px;
|
210 |
+
}
|
211 |
+
.shipping-estimate a{
|
212 |
+
background: url('../../shipestimation/71222.png') no-repeat center left;
|
213 |
+
padding: 10px 0 10px 45px;
|
214 |
+
}
|
215 |
+
.estimate-cost{
|
216 |
+
padding-left: 20px;
|
217 |
+
background-color: #f6f8f9;
|
218 |
+
padding-bottom: 10px;
|
219 |
+
}
|
220 |
+
.input-box select{
|
221 |
+
width: 65%;
|
222 |
+
}
|
223 |
+
.input-box input{
|
224 |
+
width: 63.5%;
|
225 |
+
}
|
226 |
+
.shipping-estimate{
|
227 |
+
margin-top: 35px;
|
228 |
+
}
|
skin/frontend/rwd/default/eadesigndev/shipestimation/71222.png
ADDED
Binary file
|
skin/frontend/rwd/default/eadesigndev/shipestimation/bkg_main2.gif
ADDED
Binary file
|
skin/frontend/rwd/default/eadesigndev/shipestimation/css/default.css
ADDED
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.overlay_dialog {
|
2 |
+
background-color: #666666;
|
3 |
+
filter:alpha(opacity=60);
|
4 |
+
-moz-opacity: 0.6;
|
5 |
+
opacity: 0.6;
|
6 |
+
}
|
7 |
+
|
8 |
+
.overlay___invisible__ {
|
9 |
+
background-color: #666666;
|
10 |
+
filter:alpha(opacity=0);
|
11 |
+
-moz-opacity: 0;
|
12 |
+
opacity: 0;
|
13 |
+
}
|
14 |
+
|
15 |
+
.dialog_nw {
|
16 |
+
width: 9px;
|
17 |
+
height: 23px;
|
18 |
+
background: transparent url(default/top_left.gif) no-repeat 0 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
.dialog_n {
|
22 |
+
background: transparent url(default/top_mid.gif) repeat-x 0 0;
|
23 |
+
height: 23px;
|
24 |
+
}
|
25 |
+
|
26 |
+
.dialog_ne {
|
27 |
+
width: 9px;
|
28 |
+
height: 23px;
|
29 |
+
background: transparent url(default/top_right.gif) no-repeat 0 0;
|
30 |
+
}
|
31 |
+
|
32 |
+
.dialog_e {
|
33 |
+
width: 2px;
|
34 |
+
background: transparent url(default/center_right.gif) repeat-y 0 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
.dialog_w {
|
38 |
+
width: 2px;
|
39 |
+
background: transparent url(default/center_left.gif) repeat-y 0 0;
|
40 |
+
}
|
41 |
+
|
42 |
+
.dialog_sw {
|
43 |
+
width: 9px;
|
44 |
+
height: 19px;
|
45 |
+
background: transparent url(default/bottom_left.gif) no-repeat 0 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
.dialog_s {
|
49 |
+
background: transparent url(default/bottom_mid.gif) repeat-x 0 0;
|
50 |
+
height: 19px;
|
51 |
+
}
|
52 |
+
|
53 |
+
.dialog_se {
|
54 |
+
width: 9px;
|
55 |
+
height: 19px;
|
56 |
+
background: transparent url(default/bottom_right.gif) no-repeat 0 0;
|
57 |
+
}
|
58 |
+
|
59 |
+
.dialog_sizer {
|
60 |
+
width: 9px;
|
61 |
+
height: 19px;
|
62 |
+
background: transparent url(default/sizer.gif) no-repeat 0 0;
|
63 |
+
cursor:se-resize;
|
64 |
+
}
|
65 |
+
|
66 |
+
.dialog_close {
|
67 |
+
width: 14px;
|
68 |
+
height: 14px;
|
69 |
+
background: transparent url(default/close.gif) no-repeat 0 0;
|
70 |
+
position:absolute;
|
71 |
+
top:5px;
|
72 |
+
left:8px;
|
73 |
+
cursor:pointer;
|
74 |
+
z-index:2000;
|
75 |
+
}
|
76 |
+
|
77 |
+
.dialog_minimize {
|
78 |
+
width: 14px;
|
79 |
+
height: 15px;
|
80 |
+
background: transparent url(default/minimize.gif) no-repeat 0 0;
|
81 |
+
position:absolute;
|
82 |
+
top:5px;
|
83 |
+
left:28px;
|
84 |
+
cursor:pointer;
|
85 |
+
z-index:2000;
|
86 |
+
}
|
87 |
+
|
88 |
+
.dialog_maximize {
|
89 |
+
width: 14px;
|
90 |
+
height: 15px;
|
91 |
+
background: transparent url(default/maximize.gif) no-repeat 0 0;
|
92 |
+
position:absolute;
|
93 |
+
top:5px;
|
94 |
+
left:49px;
|
95 |
+
cursor:pointer;
|
96 |
+
z-index:2000;
|
97 |
+
}
|
98 |
+
|
99 |
+
.dialog_title {
|
100 |
+
float:left;
|
101 |
+
height:14px;
|
102 |
+
font-family: Tahoma, Arial, sans-serif;
|
103 |
+
font-size:12px;
|
104 |
+
text-align:center;
|
105 |
+
width:100%;
|
106 |
+
color:#000;
|
107 |
+
}
|
108 |
+
|
109 |
+
.dialog_content {
|
110 |
+
overflow:auto;
|
111 |
+
color: #DDD;
|
112 |
+
font-family: Tahoma, Arial, sans-serif;
|
113 |
+
font-size: 10px;
|
114 |
+
background-color:#123;
|
115 |
+
}
|
116 |
+
|
117 |
+
.top_draggable, .bottom_draggable {
|
118 |
+
cursor:move;
|
119 |
+
}
|
120 |
+
|
121 |
+
.status_bar {
|
122 |
+
font-size:12px;
|
123 |
+
}
|
124 |
+
.status_bar input{
|
125 |
+
font-size:12px;
|
126 |
+
}
|
127 |
+
|
128 |
+
.wired_frame {
|
129 |
+
display: block;
|
130 |
+
position: absolute;
|
131 |
+
border: 1px #000 dashed;
|
132 |
+
}
|
133 |
+
|
134 |
+
/* DO NOT CHANGE THESE VALUES*/
|
135 |
+
.dialog {
|
136 |
+
display: block;
|
137 |
+
position: absolute;
|
138 |
+
}
|
139 |
+
|
140 |
+
.dialog table.table_window {
|
141 |
+
border-collapse: collapse;
|
142 |
+
border-spacing: 0;
|
143 |
+
width: 100%;
|
144 |
+
margin: 0px;
|
145 |
+
padding:0px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.dialog table.table_window td , .dialog table.table_window th {
|
149 |
+
padding: 0;
|
150 |
+
}
|
151 |
+
|
152 |
+
.dialog .title_window {
|
153 |
+
-moz-user-select:none;
|
154 |
+
}
|
155 |
+
.dialog{
|
156 |
+
background: #fffffe url('../bkg_main2.gif') 0 0 no-repeat; ;
|
157 |
+
height: auto!important;
|
158 |
+
position: fixed;
|
159 |
+
display: block;
|
160 |
+
z-index: 80!important;
|
161 |
+
}
|
162 |
+
.alert_content .buttons-set{
|
163 |
+
margin: 0;
|
164 |
+
}
|
165 |
+
.alert_message h4{
|
166 |
+
border-bottom: 2px solid #a7c6dd;
|
167 |
+
padding: 0 20px 15px;
|
168 |
+
color: #d96708;
|
169 |
+
}
|
170 |
+
.alert_message a{
|
171 |
+
color: #a7c6dd;
|
172 |
+
text-decoration: none;
|
173 |
+
}
|
174 |
+
#shipestimate-values pre{
|
175 |
+
display: inline;
|
176 |
+
}
|
177 |
+
.close{
|
178 |
+
position: absolute;
|
179 |
+
right: 0px;
|
180 |
+
width: 16px;
|
181 |
+
z-index: 100;
|
182 |
+
font-size: 20px;
|
183 |
+
top: -3px;
|
184 |
+
}
|
185 |
+
.buttons-set button.button{
|
186 |
+
float: left;
|
187 |
+
margin: 0;
|
188 |
+
}
|
189 |
+
#calctransport {
|
190 |
+
display: none;
|
191 |
+
}
|
192 |
+
.alert_message .adress{
|
193 |
+
padding-left: 20px;
|
194 |
+
padding-top: 15px;
|
195 |
+
}
|
196 |
+
.alert_message .adress-title{
|
197 |
+
padding-bottom: 10px;
|
198 |
+
}
|
199 |
+
.input-boxes .country-input, .state-input{
|
200 |
+
padding-bottom: 10px;
|
201 |
+
|
202 |
+
}
|
203 |
+
.adress .buttons-set{
|
204 |
+
padding-bottom: 10px;
|
205 |
+
border: none;
|
206 |
+
padding-right: 15px;
|
207 |
+
margin-bottom: 20px;
|
208 |
+
}
|
209 |
+
.car-cost{
|
210 |
+
background: url('../71222.png') no-repeat center left;
|
211 |
+
padding-top: 10px;
|
212 |
+
}
|
213 |
+
.shipping-estimate a{
|
214 |
+
background: url('../71222.png') no-repeat center left;
|
215 |
+
padding: 10px 0 10px 45px;
|
216 |
+
}
|
217 |
+
.estimate-cost{
|
218 |
+
padding-left: 20px;
|
219 |
+
background-color: #f6f8f9;
|
220 |
+
padding-bottom: 10px;
|
221 |
+
}
|
222 |
+
.input-box select{
|
223 |
+
width: 65%;
|
224 |
+
}
|
225 |
+
.input-box input{
|
226 |
+
width: 65%!important;
|
227 |
+
}
|
228 |
+
.shipping-estimate{
|
229 |
+
margin-top: 35px;
|
230 |
+
}
|
231 |
+
.buttons-set:after{
|
232 |
+
clear: none!important;
|
233 |
+
}
|
234 |
+
.cariername{
|
235 |
+
padding-top: 10px;
|
236 |
+
}
|
237 |
+
.buttons-set button.button{
|
238 |
+
float: left!important;
|
239 |
+
margin: 0!important;
|
240 |
+
}
|