Swift_Checkout - Version 1.3.0

Version Notes

Version 1.3.0 Stable.

Download this release

Release Info

Developer Team php
Extension Swift_Checkout
Version 1.3.0
Comparing to
See all releases


Code changes from version 1.2.0 to 1.3.0

app/code/community/Swift/OnepageCheckout/Model/Type/Opcheckout.php CHANGED
@@ -15,10 +15,9 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
15
  public function __construct()
16
  {
17
  $this->_help_obj = Mage::helper('checkout');
18
- $this->_em_ex_msg = $this->_help_obj->__('This email adress is already registered. Please enter another email to register account or login using this email.');
19
  $this->_check_sess = Mage::getSingleton('checkout/session');
20
- $this->_quote_obj = $this->_check_sess->getQuote();
21
-
22
  $this->_cust_sess = Mage::getSingleton('customer/session');
23
  }
24
 
@@ -113,26 +112,6 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
113
  if (!$customer || !$addresses)
114
  {
115
  $result['equal'] = true;
116
-
117
- /*if (Mage::getStoreConfig('onepagecheckout/geo_ip/country'))
118
- {
119
- $geoip = geoip_open(Mage::getBaseDir('lib').DS.'MaxMind/GeoIP/data/'.Mage::getStoreConfig('onepagecheckout/geo_ip/country_file'),GEOIP_STANDARD);
120
- $country_id = geoip_country_code_by_addr($geoip, Mage::helper('core/http')->getRemoteAddr());
121
- $result['shipping']['country_id'] = $country_id;
122
- $result['billing']['country_id'] = $country_id;
123
- geoip_close($geoip);
124
- }
125
-
126
- if (Mage::getStoreConfig('onepagecheckout/geo_ip/city'))
127
- {
128
- $geoip = geoip_open(Mage::getBaseDir('lib').DS.'MaxMind/GeoIP/data/'.Mage::getStoreConfig('onepagecheckout/geo_ip/city_file'),GEOIP_STANDARD);
129
- $record = geoip_record_by_addr($geoip, Mage::helper('core/http')->getRemoteAddr());
130
- $result['shipping']['city'] = $record->city;
131
- $result['billing']['city'] = $record->city;
132
- $result['shipping']['postcode'] = $record->postal_code;
133
- $result['billing']['postcode'] = $record->postal_code;
134
- geoip_close($geoip);
135
- }*/
136
 
137
  if (empty($result['shipping']['country_id']))
138
  {
@@ -447,7 +426,6 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
447
  return $result;
448
  }
449
 
450
- // fixed by Alex Calko for saving data to define property shipping method
451
  if(!$skip_save)
452
  $this->getQuote()->collectTotals()->save();
453
 
@@ -488,7 +466,6 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
488
  return array('message' => $val_result, 'error' => 1);
489
  }
490
 
491
- // fixed by Alex Calko for saving data to define property shipping method
492
  if(!$skip_save)
493
  $this->getQuote()->collectTotals()->save();
494
 
@@ -514,15 +491,13 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
514
  }
515
 
516
  /**
517
- * Validate customer data and set some its data for further usage in quote
518
- * Will return either true or array with error messages
519
  *
520
  * @param array $data
521
  * @return true|array
522
  */
523
  protected function _validateCustomerData(array $data)
524
  {
525
- /** @var $customerForm Mage_Customer_Model_Form */
526
  $customerForm = Mage::getModel('customer/form');
527
  $customerForm->setFormCode('checkout_register')
528
  ->setIsAjaxRequest(Mage::app()->getRequest()->isAjax());
@@ -533,7 +508,6 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
533
  $customerForm->setEntity($customer);
534
  $customerData = $quote->getCustomer()->getData();
535
  } else {
536
- /* @var $customer Mage_Customer_Model_Customer */
537
  $customer = Mage::getModel('customer/customer');
538
  $customerForm->setEntity($customer);
539
  $customerRequest = $customerForm->prepareRequest($data);
@@ -555,16 +529,12 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
555
  $customerForm->compactData($customerData);
556
 
557
  if ($quote->getCheckoutMethod() == self::REGISTER) {
558
- // set customer password
559
  $customer->setPassword($customerRequest->getParam('customer_password'));
560
  $customer->setConfirmation($customerRequest->getParam('confirm_password'));
561
  } else {
562
- // spoof customer password for guest
563
  $password = $customer->generatePassword();
564
  $customer->setPassword($password);
565
  $customer->setConfirmation($password);
566
- // set NOT LOGGED IN group id explicitly,
567
- // otherwise copyFieldset('customer_account', 'to_quote') will fill it with default group id value
568
  $customer->setGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
569
  }
570
 
@@ -577,14 +547,11 @@ class Swift_OnepageCheckout_Model_Type_Opcheckout
577
  }
578
 
579
  if ($quote->getCheckoutMethod() == self::REGISTER) {
580
- // save customer encrypted password in quote
581
  $quote->setPasswordHash($customer->encryptPassword($customer->getPassword()));
582
  }
583
 
584
- // copy customer/guest email to address
585
  $quote->getBillingAddress()->setEmail($customer->getEmail());
586
 
587
- // copy customer data to quote
588
  Mage::helper('core')->copyFieldset('customer_account', 'to_quote', $customer, $quote);
589
 
590
  return true;
15
  public function __construct()
16
  {
17
  $this->_help_obj = Mage::helper('checkout');
18
+ $this->_em_ex_msg = $this->_help_obj->__('This email address is already registered. Please register with another email or login using this email.');
19
  $this->_check_sess = Mage::getSingleton('checkout/session');
20
+ $this->_quote_obj = $this->_check_sess->getQuote();
 
21
  $this->_cust_sess = Mage::getSingleton('customer/session');
22
  }
23
 
112
  if (!$customer || !$addresses)
113
  {
114
  $result['equal'] = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  if (empty($result['shipping']['country_id']))
117
  {
426
  return $result;
427
  }
428
 
 
429
  if(!$skip_save)
430
  $this->getQuote()->collectTotals()->save();
431
 
466
  return array('message' => $val_result, 'error' => 1);
467
  }
468
 
 
469
  if(!$skip_save)
470
  $this->getQuote()->collectTotals()->save();
471
 
491
  }
492
 
493
  /**
494
+ * Validate customer data
 
495
  *
496
  * @param array $data
497
  * @return true|array
498
  */
499
  protected function _validateCustomerData(array $data)
500
  {
 
501
  $customerForm = Mage::getModel('customer/form');
502
  $customerForm->setFormCode('checkout_register')
503
  ->setIsAjaxRequest(Mage::app()->getRequest()->isAjax());
508
  $customerForm->setEntity($customer);
509
  $customerData = $quote->getCustomer()->getData();
510
  } else {
 
511
  $customer = Mage::getModel('customer/customer');
512
  $customerForm->setEntity($customer);
513
  $customerRequest = $customerForm->prepareRequest($data);
529
  $customerForm->compactData($customerData);
530
 
531
  if ($quote->getCheckoutMethod() == self::REGISTER) {
 
532
  $customer->setPassword($customerRequest->getParam('customer_password'));
533
  $customer->setConfirmation($customerRequest->getParam('confirm_password'));
534
  } else {
 
535
  $password = $customer->generatePassword();
536
  $customer->setPassword($password);
537
  $customer->setConfirmation($password);
 
 
538
  $customer->setGroupId(Mage_Customer_Model_Group::NOT_LOGGED_IN_ID);
539
  }
540
 
547
  }
548
 
549
  if ($quote->getCheckoutMethod() == self::REGISTER) {
 
550
  $quote->setPasswordHash($customer->encryptPassword($customer->getPassword()));
551
  }
552
 
 
553
  $quote->getBillingAddress()->setEmail($customer->getEmail());
554
 
 
555
  Mage::helper('core')->copyFieldset('customer_account', 'to_quote', $customer, $quote);
556
 
557
  return true;
app/code/community/Swift/OnepageCheckout/controllers/IndexController.php CHANGED
@@ -193,9 +193,7 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
193
  {
194
  if ($this->_expireAjax() || !$this->getRequest()->isPost()) {
195
  return;
196
- }
197
- /*********** DISCOUNT CODES **********/
198
-
199
  $quote = $this->getOnepagecheckout()->getQuote();
200
  $couponData = $this->getRequest()->getPost('coupon', array());
201
  $processCoupon = $this->getRequest()->getPost('process_coupon', false);
@@ -229,9 +227,7 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
229
  }
230
 
231
  }
232
- }
233
-
234
- /***********************************/
235
 
236
  $bill_data = $this->getRequest()->getPost('billing', array());
237
  $bill_data = $this->_filterPostData($bill_data);
@@ -288,7 +284,6 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
288
 
289
  $check_shipping_diff = false;
290
 
291
- // check how many shipping methods exist
292
  $rates = Mage::getModel('sales/quote_address_rate')->getCollection()->setAddressFilter($this->getOnepagecheckout()->getQuote()->getShippingAddress()->getId())->toArray();
293
  if(count($rates['items'])==1)
294
  {
@@ -302,7 +297,6 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
302
  else
303
  $check_shipping_diff = true;
304
 
305
- // get prev shipping method
306
  if($check_shipping_diff){
307
  $shipping = $this->getOnepagecheckout()->getQuote()->getShippingAddress();
308
  $shippingMethod_before = $shipping->getShippingMethod();
@@ -324,12 +318,10 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
324
  else
325
  unset($result['reload_totals']);
326
  }
327
- ///////////////
328
 
329
  $result['update_section']['review'] = $this->_getReviewHtml();
330
 
331
 
332
- /*********** DISCOUNT CODES **********/
333
  if ($couponChanged) {
334
  if ($couponData['code'] == $quote->getCouponCode()) {
335
  Mage::getSingleton('checkout/session')->addSuccess(
@@ -343,10 +335,7 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
343
  $method = str_replace(' ', '', ucwords(str_replace('-', ' ', 'coupon-discount')));
344
  $result['update_section']['coupon-discount'] = $this->{'_get' . $method . 'Html'}();
345
 
346
- }
347
- /************************************/
348
-
349
-
350
 
351
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
352
  }
@@ -453,7 +442,6 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
453
  try {
454
  $bill_data = $this->_filterPostData($this->getRequest()->getPost('billing', array()));
455
 
456
- // $result = $this->getOnepagecheckout()->saveBilling($bill_data,$this->getRequest()->getPost('billing_address_id', false));
457
  $result = $this->getOnepagecheckout()->saveBilling($bill_data,$this->getRequest()->getPost('billing_address_id', false),true,true);
458
  if ($result)
459
  {
@@ -466,7 +454,6 @@ class Swift_OnepageCheckout_IndexController extends Mage_Checkout_Controller_Act
466
 
467
  if ((!$bill_data['use_for_shipping'] || !isset($bill_data['use_for_shipping'])) && !$this->getOnepagecheckout()->getQuote()->isVirtual())
468
  {
469
- // $result = $this->getOnepagecheckout()->saveShipping($this->_filterPostData($this->getRequest()->getPost('shipping', array())),$this->getRequest()->getPost('shipping_address_id', false));
470
  $result = $this->getOnepagecheckout()->saveShipping($this->_filterPostData($this->getRequest()->getPost('shipping', array())),$this->getRequest()->getPost('shipping_address_id', false), true, true);
471
  if ($result)
472
  {
193
  {
194
  if ($this->_expireAjax() || !$this->getRequest()->isPost()) {
195
  return;
196
+ }
 
 
197
  $quote = $this->getOnepagecheckout()->getQuote();
198
  $couponData = $this->getRequest()->getPost('coupon', array());
199
  $processCoupon = $this->getRequest()->getPost('process_coupon', false);
227
  }
228
 
229
  }
230
+ }
 
 
231
 
232
  $bill_data = $this->getRequest()->getPost('billing', array());
233
  $bill_data = $this->_filterPostData($bill_data);
284
 
285
  $check_shipping_diff = false;
286
 
 
287
  $rates = Mage::getModel('sales/quote_address_rate')->getCollection()->setAddressFilter($this->getOnepagecheckout()->getQuote()->getShippingAddress()->getId())->toArray();
288
  if(count($rates['items'])==1)
289
  {
297
  else
298
  $check_shipping_diff = true;
299
 
 
300
  if($check_shipping_diff){
301
  $shipping = $this->getOnepagecheckout()->getQuote()->getShippingAddress();
302
  $shippingMethod_before = $shipping->getShippingMethod();
318
  else
319
  unset($result['reload_totals']);
320
  }
 
321
 
322
  $result['update_section']['review'] = $this->_getReviewHtml();
323
 
324
 
 
325
  if ($couponChanged) {
326
  if ($couponData['code'] == $quote->getCouponCode()) {
327
  Mage::getSingleton('checkout/session')->addSuccess(
335
  $method = str_replace(' ', '', ucwords(str_replace('-', ' ', 'coupon-discount')));
336
  $result['update_section']['coupon-discount'] = $this->{'_get' . $method . 'Html'}();
337
 
338
+ }
 
 
 
339
 
340
  $this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
341
  }
442
  try {
443
  $bill_data = $this->_filterPostData($this->getRequest()->getPost('billing', array()));
444
 
 
445
  $result = $this->getOnepagecheckout()->saveBilling($bill_data,$this->getRequest()->getPost('billing_address_id', false),true,true);
446
  if ($result)
447
  {
454
 
455
  if ((!$bill_data['use_for_shipping'] || !isset($bill_data['use_for_shipping'])) && !$this->getOnepagecheckout()->getQuote()->isVirtual())
456
  {
 
457
  $result = $this->getOnepagecheckout()->saveShipping($this->_filterPostData($this->getRequest()->getPost('shipping', array())),$this->getRequest()->getPost('shipping_address_id', false), true, true);
458
  if ($result)
459
  {
app/code/community/Swift/OnepageCheckout/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Swift_OnepageCheckout>
5
- <version>1.2.0</version>
6
  </Swift_OnepageCheckout>
7
  </modules>
8
 
@@ -36,7 +36,6 @@
36
  </onepagecheckout>
37
  </helpers>
38
  </global>
39
-
40
  <frontend>
41
  <routers>
42
  <onepagecheckout>
@@ -46,16 +45,7 @@
46
  <frontName>onepagecheckout</frontName>
47
  </args>
48
  </onepagecheckout>
49
- </routers>
50
- <translate>
51
- <modules>
52
- <Swift_OnepageCheckout>
53
- <files>
54
- <default>Swift_OnepageCheckout.csv</default>
55
- </files>
56
- </Swift_OnepageCheckout>
57
- </modules>
58
- </translate>
59
  <layout>
60
  <updates>
61
  <onepagecheckout>
@@ -95,16 +85,7 @@
95
  </events>
96
  </frontend>
97
 
98
- <adminhtml>
99
- <translate>
100
- <modules>
101
- <Swift_OnepageCheckout>
102
- <files>
103
- <default>Swift_OnepageCheckout.csv</default>
104
- </files>
105
- </Swift_OnepageCheckout>
106
- </modules>
107
- </translate>
108
  <acl>
109
  <resources>
110
  <admin>
2
  <config>
3
  <modules>
4
  <Swift_OnepageCheckout>
5
+ <version>1.3.0</version>
6
  </Swift_OnepageCheckout>
7
  </modules>
8
 
36
  </onepagecheckout>
37
  </helpers>
38
  </global>
 
39
  <frontend>
40
  <routers>
41
  <onepagecheckout>
45
  <frontName>onepagecheckout</frontName>
46
  </args>
47
  </onepagecheckout>
48
+ </routers>
 
 
 
 
 
 
 
 
 
49
  <layout>
50
  <updates>
51
  <onepagecheckout>
85
  </events>
86
  </frontend>
87
 
88
+ <adminhtml>
 
 
 
 
 
 
 
 
 
89
  <acl>
90
  <resources>
91
  <admin>
app/code/community/Swift/OnepageCheckout/etc/system.xml CHANGED
@@ -40,16 +40,7 @@
40
  <show_in_default>1</show_in_default>
41
  <show_in_website>1</show_in_website>
42
  <show_in_store>1</show_in_store>
43
- </title>
44
- <!-- shipping_method translate="label" module="onepagecheckout">
45
- <label>Default Shipping Method</label>
46
- <frontend_type>select</frontend_type>
47
- <source_model>adminhtml/system_config_source_shipping_allmethods</source_model>
48
- <sort_order>20</sort_order>
49
- <show_in_default>1</show_in_default>
50
- <show_in_website>1</show_in_website>
51
- <show_in_store>1</show_in_store>
52
- </shipping_method -->
53
  <payment_method translate="label" module="onepagecheckout">
54
  <label>Default Payment Method</label>
55
  <frontend_type>select</frontend_type>
40
  <show_in_default>1</show_in_default>
41
  <show_in_website>1</show_in_website>
42
  <show_in_store>1</show_in_store>
43
+ </title>
 
 
 
 
 
 
 
 
 
44
  <payment_method translate="label" module="onepagecheckout">
45
  <label>Default Payment Method</label>
46
  <frontend_type>select</frontend_type>
app/design/frontend/base/default/template/onepagecheckout/onepage/coupon.phtml CHANGED
@@ -41,20 +41,6 @@
41
  'process_coupon': 1,
42
  'review': 1
43
  });
44
- });
45
-
46
- /*
47
- $('coupon-code').observe('change', function(e) {
48
- if (!$(this).value.length) {
49
- $('coupon-remove').value = "1";
50
- } else {
51
- $('coupon-remove').value = "0";
52
- }
53
- checkout.update({
54
- 'process_coupon': 1,
55
- 'review': 1
56
- });
57
- });
58
- */
59
  //]]>
60
  </script>
41
  'process_coupon': 1,
42
  'review': 1
43
  });
44
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  //]]>
46
  </script>
package.xml CHANGED
@@ -1,21 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Swift_Checkout</name>
4
- <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Swift checkout is a custom Magento extension to allow users to have an easy and quick checkout process with a single click</summary>
10
- <description>Swift checkout is a custom Magento extension to allow users to have an easy checkout process with a single click. Swift checkout extension allows a fast and easy checkout with all features as in default checkout process incorporated in to a single page. Please follow the below steps carefully to install the swift checkout extension to make your store checkout more attractive</description>
11
- <notes>Version 1.2.0 Stable.&#xD;
12
- &#xD;
13
- Added address form fileds validation configurations and terms and conditions checkbox with different view options&#xD;
14
- </notes>
15
- <authors><author><name>Team Php</name><user>teamphp2013</user><email>teamphp2013@gmail.com</email></author><author><name>Arun</name><user>abalakrishnan</user><email>abalakrishnan@suyati.com</email></author><author><name>Naveenbos</name><user>nmohanan</user><email>nmohanan@suyati.com</email></author></authors>
16
- <date>2013-10-14</date>
17
- <time>09:45:13</time>
18
- <contents><target name="magecommunity"><dir name="Swift"><dir name="OnepageCheckout"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="AddressOptions.php" hash="3a2d3422d48a43b5564efe762f1d655b"/><file name="AgreementOptions.php" hash="cdee58b12855c02b6f6a035c0aceda0c"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Agreements.php" hash="8e07f591ec995f71e60fa6aa4d15bdd5"/><file name="Links.php" hash="7dc69dc45015d67c509323c37e23b2bd"/><dir name="Onepage"><file name="Billship.php" hash="bdbe58046a2b350c6f3cd11358870037"/><file name="Link.php" hash="e433c5a5eca5a8189ab61fa3be486fb4"/></dir><dir name="Widget"><file name="Dob.php" hash="eb1730f2f6bfaa2ffcf393068713be7d"/><file name="Gender.php" hash="7b2a12486685bd7bddf5724e8a018413"/><file name="Name.php" hash="b60c353fead5b3104eaa08a0f5f14370"/><file name="Taxvat.php" hash="8c8bacb546cc524e633d39fb94ba65e1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="0ee6370ca9ac1fbae725ea6eef07be8e"/><file name="Url.php" hash="7ae7cdf77c2d60a91649ff61a22db47f"/></dir><dir name="Model"><file name="Observer.php" hash="ef3ec64bb3406f4263ee3b8ccacd4d33"/><dir name="Service"><file name="Quote.php" hash="28535cc31c19821d264a82754e40e4f4"/></dir><dir name="Type"><file name="Opcheckout.php" hash="8a74ef23cbf21952342d396d59b2e02c"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="2a65da531b934a7c01d5f5517e681650"/></dir><dir name="etc"><file name="adminhtml.xml" hash="258a8979a38f642305fd92d038d2d812"/><file name="config.xml" hash="8f5ad9fcb60012e1a882c985db093bf7"/><file name="system.xml" hash="a7b2cb5e508dc807eb8cecb17cd7345b"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="onepagecheckout.xml" hash="cf9eb0dd1f6a5f7d25ac9e4bcfa1ed58"/></dir><dir name="template"><dir name="onepagecheckout"><dir name="cart"><file name="noItems.phtml" hash="7241842adf6e48a262721ece2c1dc5c1"/></dir><file name="forgotpassword.phtml" hash="1c8b800716deddc1d1af13bd1e9a09cf"/><file name="login.phtml" hash="393710bf7c2867c3f348b9a559d6f8a7"/><dir name="onepage"><file name="agreements.phtml" hash="2d23d7a225354b518f31601dbc576c54"/><file name="billing.phtml" hash="b919bf535fabab7c43fe419dd032776a"/><file name="coupon.phtml" hash="682634b887fccdc897a48ecb9fe398e7"/><file name="link.phtml" hash="d8fe913d591231e0b0b07faa7b03cfbf"/><dir name="payment"><file name="methods.phtml" hash="ab38ce6dd1ef7cc7abd8fad455126b9a"/></dir><file name="payment.phtml" hash="f9d3832d0868639bfefcc0ebe6a0dcba"/><dir name="review"><file name="info.phtml" hash="93526d037504fa3848fb57403b80b2b6"/><file name="item.phtml" hash="f295522164317aad1d946641f0db3214"/><file name="totals.phtml" hash="ebede001e60aa493ee3e8c2910e7f376"/></dir><file name="review.phtml" hash="4607596510b51ab29ea5df9ba5f24bed"/><file name="shipping.phtml" hash="7c46e724e4274be3ffc1cb22951032cd"/><file name="shipping_method.phtml" hash="5e2ff8826fa66e984872be1228d98a3b"/></dir><file name="onepagecheckout.phtml" hash="2933161b18b325e9ea12b39e2300848e"/><dir name="widget"><file name="dob.phtml" hash="dee2e3ef1280104e85c235f55e583496"/><file name="gender.phtml" hash="a6ea08aea88e20d17237a40b1603732b"/><file name="name.phtml" hash="0c9866e0a21ac9b536ba97949e09d18d"/><file name="taxvat.phtml" hash="5e6eb55af488ad82fdf5677fb48d81b6"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swift_OnepageCheckout.xml" hash="b8e954d259d9c5f9ebdd0198431f21e7"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="onepagecheckout.css" hash="0e1abc240ee7213610960f24418a9152"/></dir><dir name="images"><dir name="onepagecheckout"><file name="buttonbg.gif" hash="4880178dca4ff0230a82f964691c6a81"/><file name="buttonbgsmall.gif" hash="e8864f54f4c973ed8c091bdcaff2a6b4"/><file name="cancel.png" hash="52882817381a5cecc72b77b9579d4d2b"/><file name="cancel_round.png" hash="afcb08c1bdcdb7f9922ea289906fdfbf"/><file name="close.png" hash="0aa9c71e1e00deb929514c3b004e30c2"/><file name="loader.gif" hash="cf46f7db4c452ea2a94d33eabca8ba93"/><file name="place-order.jpg" hash="fd9e10e234dd1cb4f59f24ba6fd6b435"/><file name="shd-medium.png" hash="1c85643035d7b3bffc06f9b4a4f92417"/></dir></dir><dir name="js"><file name="onepagecheckout.js" hash="070d502cb226b60c9091de95a8d02846"/></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Swift_Checkout</name>
4
+ <version>1.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Swift checkout is a custom Magento extension to allow users to have an easy and quick checkout process with a single click</summary>
10
+ <description>Swift checkout is a custom Magento extension to allow users to have an easy checkout process with a single click. Swift checkout extension allows a fast and easy checkout with all features as in default checkout process incorporated in to a single page. Please follow the below steps carefully to install the swift checkout extension to make your store checkout more attractive</description>
11
+ <notes>Version 1.3.0 Stable.</notes>
12
+ <authors><author><name>Team php</name><user>teamphp2013</user><email>teamphp2013@gmail.com</email></author><author><name> Arun</name><user>Abalakrishnan</user><email>abalakrishnan@suyati.com</email></author><author><name>Naveenbos</name><user>Nmohanan</user><email>nmohanan@suyati.com</email></author></authors>
13
+ <date>2013-11-14</date>
14
+ <time>07:47:23</time>
15
+ <contents><target name="magecommunity"><dir name="Swift"><dir name="OnepageCheckout"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="AddressOptions.php" hash="3a2d3422d48a43b5564efe762f1d655b"/><file name="AgreementOptions.php" hash="cdee58b12855c02b6f6a035c0aceda0c"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Agreements.php" hash="8e07f591ec995f71e60fa6aa4d15bdd5"/><file name="Links.php" hash="7dc69dc45015d67c509323c37e23b2bd"/><dir name="Onepage"><file name="Billship.php" hash="bdbe58046a2b350c6f3cd11358870037"/><file name="Link.php" hash="e433c5a5eca5a8189ab61fa3be486fb4"/></dir><dir name="Widget"><file name="Dob.php" hash="eb1730f2f6bfaa2ffcf393068713be7d"/><file name="Gender.php" hash="7b2a12486685bd7bddf5724e8a018413"/><file name="Name.php" hash="b60c353fead5b3104eaa08a0f5f14370"/><file name="Taxvat.php" hash="8c8bacb546cc524e633d39fb94ba65e1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="0ee6370ca9ac1fbae725ea6eef07be8e"/><file name="Url.php" hash="7ae7cdf77c2d60a91649ff61a22db47f"/></dir><dir name="Model"><file name="Observer.php" hash="ef3ec64bb3406f4263ee3b8ccacd4d33"/><dir name="Service"><file name="Quote.php" hash="28535cc31c19821d264a82754e40e4f4"/></dir><dir name="Type"><file name="Opcheckout.php" hash="e6fc93af403a3d21b02c6626602272c1"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="da17c910c61d045879e8db004549d48c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="258a8979a38f642305fd92d038d2d812"/><file name="config.xml" hash="d6e63e04a3a7086760f1f61319666461"/><file name="system.xml" hash="8e347e90f8b84d681215a80066d864bb"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="onepagecheckout.xml" hash="cf9eb0dd1f6a5f7d25ac9e4bcfa1ed58"/></dir><dir name="template"><dir name="onepagecheckout"><dir name="cart"><file name="noItems.phtml" hash="7241842adf6e48a262721ece2c1dc5c1"/></dir><file name="forgotpassword.phtml" hash="1c8b800716deddc1d1af13bd1e9a09cf"/><file name="login.phtml" hash="393710bf7c2867c3f348b9a559d6f8a7"/><dir name="onepage"><file name="agreements.phtml" hash="2d23d7a225354b518f31601dbc576c54"/><file name="billing.phtml" hash="b919bf535fabab7c43fe419dd032776a"/><file name="coupon.phtml" hash="e1a328084c572815b97c5e4339af9c8a"/><file name="link.phtml" hash="d8fe913d591231e0b0b07faa7b03cfbf"/><dir name="payment"><file name="methods.phtml" hash="ab38ce6dd1ef7cc7abd8fad455126b9a"/></dir><file name="payment.phtml" hash="f9d3832d0868639bfefcc0ebe6a0dcba"/><dir name="review"><file name="info.phtml" hash="93526d037504fa3848fb57403b80b2b6"/><file name="item.phtml" hash="f295522164317aad1d946641f0db3214"/><file name="totals.phtml" hash="ebede001e60aa493ee3e8c2910e7f376"/></dir><file name="review.phtml" hash="4607596510b51ab29ea5df9ba5f24bed"/><file name="shipping.phtml" hash="7c46e724e4274be3ffc1cb22951032cd"/><file name="shipping_method.phtml" hash="5e2ff8826fa66e984872be1228d98a3b"/></dir><file name="onepagecheckout.phtml" hash="2933161b18b325e9ea12b39e2300848e"/><dir name="widget"><file name="dob.phtml" hash="dee2e3ef1280104e85c235f55e583496"/><file name="gender.phtml" hash="a6ea08aea88e20d17237a40b1603732b"/><file name="name.phtml" hash="0c9866e0a21ac9b536ba97949e09d18d"/><file name="taxvat.phtml" hash="5e6eb55af488ad82fdf5677fb48d81b6"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swift_OnepageCheckout.xml" hash="b8e954d259d9c5f9ebdd0198431f21e7"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="onepagecheckout.css" hash="b4a6d3a6126219baba2cea0f73adc385"/></dir><dir name="images"><dir name="onepagecheckout"><file name="buttonbg.gif" hash="4880178dca4ff0230a82f964691c6a81"/><file name="buttonbgsmall.gif" hash="e8864f54f4c973ed8c091bdcaff2a6b4"/><file name="cancel.png" hash="52882817381a5cecc72b77b9579d4d2b"/><file name="cancel_round.png" hash="afcb08c1bdcdb7f9922ea289906fdfbf"/><file name="close.png" hash="0aa9c71e1e00deb929514c3b004e30c2"/><file name="loader.gif" hash="cf46f7db4c452ea2a94d33eabca8ba93"/><file name="place-order.jpg" hash="fd9e10e234dd1cb4f59f24ba6fd6b435"/><file name="shd-medium.png" hash="1c85643035d7b3bffc06f9b4a4f92417"/></dir></dir><dir name="js"><file name="onepagecheckout.js" hash="070d502cb226b60c9091de95a8d02846"/></dir></dir></dir></dir></target></contents>
 
 
 
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/css/onepagecheckout.css CHANGED
@@ -1,5 +1,4 @@
1
  .h1_opc{text-transform:uppercase;font-size:22px;color:#000;}
2
-
3
  .onepagecheckout_loginarea { margin: 10px 0 20px; }
4
  .op_login_area{width:200px;padding:10px;border:1px solid #ccc;margin-bottom:15px;}
5
  .op_login_area sup{color:#767676;font-size:100%;line-height:0;margin-left:3px;position:relative;top:6px;}
@@ -88,17 +87,9 @@ input, select, textarea, button{color:#000;}
88
  .onepagecheckout_loginlink{ color:#767676;}
89
 
90
  .onepagecheckout_datafields .discount .buttons-set button:first-child{margin-left:0}
91
- /*
92
- #onepagecheckout_orderform button.btn-checkout{float:right;border:1px solid #ccc;margin-bottom:10px;
93
- background:url("../images/onepagecheckout/buttonbg.gif") repeat-x scroll 0 0 #00A7D1;
94
- -moz-box-shadow: 3px 3px 5px #ccc;-webkit-box-shadow: 3px 3px 5px #ccc;box-shadow: 3px 3px 5px #ccc;}
95
- #onepagecheckout_orderform button.btn-checkout span {background:none no-repeat scroll 0 0 transparent;border:0 none;
96
- color:#FFFFFF;font:bold 16px/32px Arial,Helvetica,sans-serif;height:32px !important;padding:0 0 0 20px;text-transform:uppercase;}
97
- #onepagecheckout_orderform button.btn-checkout span span{background-position:100% 0;padding:0 20px 0 0;}
98
- */
99
 
100
  #onepagecheckout_orderform button.btn-checkout{border:0;margin-bottom:10px;padding:0 20px;
101
- background:url("../images/onepagecheckout/buttonbg.gif") repeat-x scroll 0 0 #F18200; /*00A7D1*/
102
  color:#FFFFFF;font:bold 16px/32px Arial,Helvetica,sans-serif;height:32px !important;text-transform:none;
103
  box-shadow:0px 0px 8px #555;
104
  -webkit-box-shadow: 0px 0px 8px #555;
@@ -107,20 +98,14 @@ filter: progid:DXImageTransform.Microsoft.dropShadow(color=#555, offX=0, offY=0,
107
  }
108
 
109
  #onepagecheckout_orderform .form_fields sup {color:#767676;font-size:100%;line-height:0;margin-left:3px;position:relative;top:6px;}
110
-
111
  #onepagecheckout_orderform .form-list label.required em{color:#767676;}
112
-
113
- /* CHECKOUT Review Your Order Table */
114
  #checkout-review-table-wrapper{margin-top:-5px;}
 
115
  .order-products-table { width:100%;color:#767676;}
116
  .order-products-table .odd { background:#fff; }
117
  .order-products-table .even { background:#fff; }
118
  .order-products-table td.last,
119
  .order-products-table th.last { border-right:0; width:30%;}
120
- /*
121
- .order-products-table tr.last th,
122
- .order-products-table tr.last td { border-bottom:0 !important; }
123
- */
124
  .order-products-table th { padding:3px 8px; font-weight:bold; border-bottom:1px solid #BFBFBF;}
125
  .order-products-table td { padding:8px 8px 2px;}
126
 
@@ -139,19 +124,16 @@ filter: progid:DXImageTransform.Microsoft.dropShadow(color=#555, offX=0, offY=0,
139
 
140
  .order-products-table tbody th,
141
  .order-products-table tbody td { border:0; border-bottom:1px dotted #BFBFBF;}
142
-
143
  .order-products-table tbody.odd tr { background:#f8f7f5 !important; }
144
  .order-products-table tbody.even tr { background:#f6f6f6 !important; }
145
  .order-products-table tbody.odd tr td,
146
  .order-products-table tbody.even tr td { border-bottom:0; }
147
  .order-products-table tbody.odd tr.border td,
148
  .order-products-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
149
-
150
  .order-products-table tbody td .option-label { font-weight:bold; font-style:italic; }
151
  .order-products-table tbody td .option-value { padding-left:10px; }
152
 
153
  .clr{clear:both;}
154
-
155
  p.agree a{color:#8E8D8B;}
156
  p.newsletter label{color:#8E8D8B;}
157
 
@@ -175,9 +157,9 @@ p.newsletter label{color:#8E8D8B;}
175
  .d-sh-bl { left: -46px; padding-right: 42px; clip: rect(auto auto auto 25px); }
176
  .d-sh-br { left: -4px; }
177
 
178
- /* IE6 fix */
179
  * html .onepagecheckout-hidden { visibility: hidden; }
180
  * html .onepagecheckout-window { width: 500px; }
181
  * html .d-sh-tl, * html .d-sh-tr { padding-right:42px; }
182
- /* IE7 fix */
183
  *:first-child+html .onepagecheckout-window { width: 500px; }
1
  .h1_opc{text-transform:uppercase;font-size:22px;color:#000;}
 
2
  .onepagecheckout_loginarea { margin: 10px 0 20px; }
3
  .op_login_area{width:200px;padding:10px;border:1px solid #ccc;margin-bottom:15px;}
4
  .op_login_area sup{color:#767676;font-size:100%;line-height:0;margin-left:3px;position:relative;top:6px;}
87
  .onepagecheckout_loginlink{ color:#767676;}
88
 
89
  .onepagecheckout_datafields .discount .buttons-set button:first-child{margin-left:0}
 
 
 
 
 
 
 
 
90
 
91
  #onepagecheckout_orderform button.btn-checkout{border:0;margin-bottom:10px;padding:0 20px;
92
+ background:url("../images/onepagecheckout/buttonbg.gif") repeat-x scroll 0 0 #F18200;
93
  color:#FFFFFF;font:bold 16px/32px Arial,Helvetica,sans-serif;height:32px !important;text-transform:none;
94
  box-shadow:0px 0px 8px #555;
95
  -webkit-box-shadow: 0px 0px 8px #555;
98
  }
99
 
100
  #onepagecheckout_orderform .form_fields sup {color:#767676;font-size:100%;line-height:0;margin-left:3px;position:relative;top:6px;}
 
101
  #onepagecheckout_orderform .form-list label.required em{color:#767676;}
 
 
102
  #checkout-review-table-wrapper{margin-top:-5px;}
103
+
104
  .order-products-table { width:100%;color:#767676;}
105
  .order-products-table .odd { background:#fff; }
106
  .order-products-table .even { background:#fff; }
107
  .order-products-table td.last,
108
  .order-products-table th.last { border-right:0; width:30%;}
 
 
 
 
109
  .order-products-table th { padding:3px 8px; font-weight:bold; border-bottom:1px solid #BFBFBF;}
110
  .order-products-table td { padding:8px 8px 2px;}
111
 
124
 
125
  .order-products-table tbody th,
126
  .order-products-table tbody td { border:0; border-bottom:1px dotted #BFBFBF;}
 
127
  .order-products-table tbody.odd tr { background:#f8f7f5 !important; }
128
  .order-products-table tbody.even tr { background:#f6f6f6 !important; }
129
  .order-products-table tbody.odd tr td,
130
  .order-products-table tbody.even tr td { border-bottom:0; }
131
  .order-products-table tbody.odd tr.border td,
132
  .order-products-table tbody.even tr.border td { border-bottom:1px solid #d9dde3; }
 
133
  .order-products-table tbody td .option-label { font-weight:bold; font-style:italic; }
134
  .order-products-table tbody td .option-value { padding-left:10px; }
135
 
136
  .clr{clear:both;}
 
137
  p.agree a{color:#8E8D8B;}
138
  p.newsletter label{color:#8E8D8B;}
139
 
157
  .d-sh-bl { left: -46px; padding-right: 42px; clip: rect(auto auto auto 25px); }
158
  .d-sh-br { left: -4px; }
159
 
160
+ /* For IE6 */
161
  * html .onepagecheckout-hidden { visibility: hidden; }
162
  * html .onepagecheckout-window { width: 500px; }
163
  * html .d-sh-tl, * html .d-sh-tr { padding-right:42px; }
164
+ /* For IE7 */
165
  *:first-child+html .onepagecheckout-window { width: 500px; }