Version Notes
This extension is developed on magento version 1.4.2
Download this release
Release Info
Developer | Magento Core Team |
Extension | Xogenics_CleanCarts |
Version | 1.0 |
Comparing to | |
See all releases |
Version 1.0
- app/code/community/Xogenics/CleanCart/Block/Adminhtml/Fieldset/System/Logo/Global.php +83 -0
- app/code/community/Xogenics/CleanCart/Helper/Data.php +13 -0
- app/code/community/Xogenics/CleanCart/etc/config.xml +77 -0
- app/code/community/Xogenics/CleanCart/etc/system.xml +57 -0
- app/design/adminhtml/default/default/template/cleancart/global.phtml +38 -0
- app/design/frontend/base/default/layout/cleancart.xml +8 -0
- app/design/frontend/base/default/template/cleancart/cart.phtml +140 -0
- app/etc/modules/Xogenics_CleanCart.xml +9 -0
- app/locale/en_US/Xogenics_CleanCart.csv +7 -0
- app/locale/nl_NL/Xogenics_CleanCart.csv +7 -0
- app/locale/sr_RS/Xogenics_CleanCart.csv +7 -0
- package.xml +18 -0
- skin/adminhtml/default/default/images/xogenics/xogenics_logo_full_72ppi.png +0 -0
app/code/community/Xogenics/CleanCart/Block/Adminhtml/Fieldset/System/Logo/Global.php
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Xogenics
|
22 |
+
* @package Xogenics_cleancart
|
23 |
+
* @copyright Copyright (c) 2011 Xogenics IT
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Fieldset renderer for cleancart text and logo settings
|
29 |
+
* @author Miroslav Pavkovic
|
30 |
+
*/
|
31 |
+
class Xogenics_Cleancart_Block_Adminhtml_Fieldset_System_Logo_Global
|
32 |
+
extends Mage_Adminhtml_Block_Abstract
|
33 |
+
implements Varien_Data_Form_Element_Renderer_Interface
|
34 |
+
{
|
35 |
+
/**
|
36 |
+
* Associative array of elements
|
37 |
+
*
|
38 |
+
* @var array
|
39 |
+
*/
|
40 |
+
protected $_elements = array();
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Custom template
|
44 |
+
*
|
45 |
+
* @var string
|
46 |
+
*/
|
47 |
+
protected $_template = 'cleancart/global.phtml';
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Getter for element label
|
51 |
+
*
|
52 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
53 |
+
* @return string
|
54 |
+
*/
|
55 |
+
public function getElementLabel(Varien_Data_Form_Element_Abstract $element)
|
56 |
+
{
|
57 |
+
return $element->getLabel();
|
58 |
+
}
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Render fieldset html
|
62 |
+
*
|
63 |
+
* @param Varien_Data_Form_Element_Abstract $fieldset
|
64 |
+
* @return string
|
65 |
+
*/
|
66 |
+
public function render(Varien_Data_Form_Element_Abstract $fieldset)
|
67 |
+
{
|
68 |
+
foreach ($fieldset->getSortedElements() as $element) {
|
69 |
+
$htmlId = $element->getHtmlId();
|
70 |
+
$this->_elements[$htmlId] = $element;
|
71 |
+
}
|
72 |
+
$originalData = $fieldset->getOriginalData();
|
73 |
+
$this->addData(array(
|
74 |
+
'fieldset_label' => $fieldset->getLegend(),
|
75 |
+
'fieldset_help_url' => isset($originalData['help_url']) ? $originalData['help_url'] : '',
|
76 |
+
));
|
77 |
+
return $this->toHtml();
|
78 |
+
}
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
}
|
app/code/community/Xogenics/CleanCart/Helper/Data.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Magento Xogenics - hide discount and shipping estimate on shopping cart page
|
4 |
+
*
|
5 |
+
* @category Xogenics
|
6 |
+
* @package Xogenics_CleanCart
|
7 |
+
* @copyright Copyright (c) 2011 Xogenics.IT
|
8 |
+
* @author Miroslav Pavkovic
|
9 |
+
*/
|
10 |
+
class Xogenics_CleanCart_Helper_Data extends Mage_Core_Helper_Abstract
|
11 |
+
{
|
12 |
+
|
13 |
+
}
|
app/code/community/Xogenics/CleanCart/etc/config.xml
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Xogenics_CleanCart>
|
5 |
+
<version>0.0.1</version>
|
6 |
+
</Xogenics_CleanCart>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<cleancart>
|
11 |
+
<class>Xogenics_CleanCart_Helper</class>
|
12 |
+
</cleancart>
|
13 |
+
</helpers>
|
14 |
+
<resources>
|
15 |
+
<cleancart_setup>
|
16 |
+
<setup>
|
17 |
+
<module>Xogenics_CleanCart</module>
|
18 |
+
</setup>
|
19 |
+
<connection>
|
20 |
+
<use>core_setup</use>
|
21 |
+
</connection>
|
22 |
+
</cleancart_setup>
|
23 |
+
<config_write>
|
24 |
+
<connection>
|
25 |
+
<use>core_write</use>
|
26 |
+
</connection>
|
27 |
+
</config_write>
|
28 |
+
<config_read>
|
29 |
+
<connection>
|
30 |
+
<use>core_read</use>
|
31 |
+
</connection>
|
32 |
+
</config_read>
|
33 |
+
</resources>
|
34 |
+
</global>
|
35 |
+
<frontend>
|
36 |
+
<layout>
|
37 |
+
<updates>
|
38 |
+
<cleancart>
|
39 |
+
<file>cleancart.xml</file>
|
40 |
+
</cleancart>
|
41 |
+
</updates>
|
42 |
+
</layout>
|
43 |
+
</frontend>
|
44 |
+
<adminhtml>
|
45 |
+
<translate>
|
46 |
+
<modules>
|
47 |
+
<Xogenics_CleanCart>
|
48 |
+
<files>
|
49 |
+
<default>Xogenics_CleanCart.csv</default>
|
50 |
+
</files>
|
51 |
+
</Xogenics_CleanCart>
|
52 |
+
</modules>
|
53 |
+
</translate>
|
54 |
+
<acl>
|
55 |
+
<resources>
|
56 |
+
<all>
|
57 |
+
<title>Allow Everything</title>
|
58 |
+
</all>
|
59 |
+
<admin>
|
60 |
+
<children>
|
61 |
+
<system>
|
62 |
+
<children>
|
63 |
+
<config>
|
64 |
+
<children>
|
65 |
+
<cleancart>
|
66 |
+
<title>Xogenics CleanCart</title>
|
67 |
+
</cleancart>
|
68 |
+
</children>
|
69 |
+
</config>
|
70 |
+
</children>
|
71 |
+
</system>
|
72 |
+
</children>
|
73 |
+
</admin>
|
74 |
+
</resources>
|
75 |
+
</acl>
|
76 |
+
</adminhtml>
|
77 |
+
</config>
|
app/code/community/Xogenics/CleanCart/etc/system.xml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<Xogenics translate="label" module="cleancart">
|
5 |
+
<label>Xogenics</label>
|
6 |
+
<sort_order>1000000</sort_order>
|
7 |
+
</Xogenics>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<cleancart translate="label" module="cleancart">
|
11 |
+
<label>Clean Carts Configuration</label>
|
12 |
+
<tab>Xogenics</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>1000000</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<cart translate="label">
|
20 |
+
<label>Shopping Cart Settings</label>
|
21 |
+
<sort_order>1</sort_order>
|
22 |
+
<show_in_default>1</show_in_default>
|
23 |
+
<show_in_website>1</show_in_website>
|
24 |
+
<show_in_store>1</show_in_store>
|
25 |
+
<fields>
|
26 |
+
<show_coupon>
|
27 |
+
<label>Show Discount Coupon In Shopping Cart</label>
|
28 |
+
<frontend_type>select</frontend_type>
|
29 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
30 |
+
<sort_order>20</sort_order>
|
31 |
+
<show_in_default>1</show_in_default>
|
32 |
+
<show_in_website>1</show_in_website>
|
33 |
+
<show_in_store>1</show_in_store>
|
34 |
+
</show_coupon>
|
35 |
+
<show_estimate>
|
36 |
+
<label>Show Shipping Estimate In Shopping Cart</label>
|
37 |
+
<frontend_type>select</frontend_type>
|
38 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
39 |
+
<sort_order>30</sort_order>
|
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 |
+
</show_estimate>
|
44 |
+
</fields>
|
45 |
+
</cart>
|
46 |
+
<global translate="label">
|
47 |
+
<label>Thank you for choosing Xogenics!</label>
|
48 |
+
<frontend_type>text</frontend_type>
|
49 |
+
<frontend_model>Xogenics_CleanCart_Block_Adminhtml_Fieldset_System_Logo_Global</frontend_model>
|
50 |
+
<sort_order>2</sort_order>
|
51 |
+
<show_in_default>1</show_in_default>
|
52 |
+
<show_in_website>1</show_in_website>
|
53 |
+
</global>
|
54 |
+
</groups>
|
55 |
+
</cleancart>
|
56 |
+
</sections>
|
57 |
+
</config>
|
app/design/adminhtml/default/default/template/cleancart/global.phtml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Xogenics_Cleancart_adminhtml_fieldset_system_logo_global
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<table style="width: 80%; margin-top:20px;" cellspacing="0">
|
33 |
+
<tbody>
|
34 |
+
<tr><td align="center"><?php echo $this->escapeHtml($this->getFieldsetLabel()) ?></td></tr>
|
35 |
+
<tr><td align="center"><a href="<?php echo $this->escapeHtml('http://www.xogenics.com') ?>" target="_blank"><img src="<?php echo $this->getSkinUrl('images/xogenics/xogenics_logo_full_72ppi.png')?>" alt="Xogenics" /></a></td></tr>
|
36 |
+
<tr><td align="center"><?php echo Mage::helper('cleancart')->__('We value customer feedback! Please ')?><a href="<?php echo $this->escapeHtml('http://www.xogenics.com') ?>" target="_blank"><?php echo Mage::helper('cleancart')->__('help us improve this extension')?></a></td></tr>
|
37 |
+
</tbody>
|
38 |
+
</table>
|
app/design/frontend/base/default/layout/cleancart.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layoutUpdate>
|
3 |
+
<checkout_cart_index translate="label">
|
4 |
+
<reference name="checkout.cart">
|
5 |
+
<action method="setTemplate"><template>cleancart/cart.phtml</template></action>
|
6 |
+
</reference>
|
7 |
+
</checkout_cart_index>
|
8 |
+
</layoutUpdate>
|
app/design/frontend/base/default/template/cleancart/cart.phtml
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2011 Xogenics
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Shopping cart template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart
|
32 |
+
*/
|
33 |
+
|
34 |
+
$_cartConfig = Mage::getStoreConfig('cleancart/cart');
|
35 |
+
?>
|
36 |
+
<div class="cart">
|
37 |
+
<div class="page-title title-buttons">
|
38 |
+
<h1><?php echo $this->__('Shopping Cart') ?></h1>
|
39 |
+
<?php if(!$this->hasError()): ?>
|
40 |
+
<ul class="checkout-types">
|
41 |
+
<?php foreach ($this->getMethods('top_methods') as $method): ?>
|
42 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
43 |
+
<li><?php echo $methodHtml; ?></li>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</ul>
|
47 |
+
<?php endif; ?>
|
48 |
+
</div>
|
49 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
50 |
+
<?php echo $this->getChildHtml('form_before') ?>
|
51 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
52 |
+
<fieldset>
|
53 |
+
<table id="shopping-cart-table" class="data-table cart-table">
|
54 |
+
<col width="1" />
|
55 |
+
<col />
|
56 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
57 |
+
<col width="1" />
|
58 |
+
<?php endif ?>
|
59 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<col width="1" />
|
61 |
+
<?php endif; ?>
|
62 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
63 |
+
<col width="1" />
|
64 |
+
<?php endif; ?>
|
65 |
+
<col width="1" />
|
66 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
67 |
+
<col width="1" />
|
68 |
+
<?php endif; ?>
|
69 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
70 |
+
<col width="1" />
|
71 |
+
<?php endif; ?>
|
72 |
+
<col width="1" />
|
73 |
+
|
74 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
75 |
+
<thead>
|
76 |
+
<tr>
|
77 |
+
<th rowspan="<?php echo $mergedCells; ?>"> </th>
|
78 |
+
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
|
79 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
80 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
|
81 |
+
<?php endif ?>
|
82 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
|
83 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
84 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
|
85 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"> </th>
|
86 |
+
</tr>
|
87 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
88 |
+
<tr>
|
89 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
90 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
91 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
92 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
93 |
+
</tr>
|
94 |
+
<?php endif; ?>
|
95 |
+
</thead>
|
96 |
+
<tfoot>
|
97 |
+
<tr>
|
98 |
+
<td colspan="50" class="a-right">
|
99 |
+
<?php if($this->getContinueShoppingUrl()): ?>
|
100 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
101 |
+
<?php endif; ?>
|
102 |
+
<button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
|
103 |
+
</td>
|
104 |
+
</tr>
|
105 |
+
</tfoot>
|
106 |
+
<tbody>
|
107 |
+
<?php foreach($this->getItems() as $_item): ?>
|
108 |
+
<?php echo $this->getItemHtml($_item) ?>
|
109 |
+
<?php endforeach ?>
|
110 |
+
</tbody>
|
111 |
+
</table>
|
112 |
+
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
113 |
+
</fieldset>
|
114 |
+
</form>
|
115 |
+
<div class="cart-collaterals">
|
116 |
+
<div class="col2-set">
|
117 |
+
<div class="col-1">
|
118 |
+
<?php echo $this->getChildHtml('crosssell') ?>
|
119 |
+
</div>
|
120 |
+
<div class="col-2">
|
121 |
+
<?php if ($_cartConfig['show_coupon'] || $_cartConfig['show_coupon'] == ''):?>
|
122 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
123 |
+
<?php endif; ?>
|
124 |
+
<?php if (!$this->getIsVirtual() && $_cartConfig['show_estimate'] || $_cartConfig['show_estimate'] == ''): echo $this->getChildHtml('shipping'); endif; ?>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
<div class="totals">
|
128 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
129 |
+
<?php if(!$this->hasError()): ?>
|
130 |
+
<ul class="checkout-types">
|
131 |
+
<?php foreach ($this->getMethods('methods') as $method): ?>
|
132 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
133 |
+
<li><?php echo $methodHtml; ?></li>
|
134 |
+
<?php endif; ?>
|
135 |
+
<?php endforeach; ?>
|
136 |
+
</ul>
|
137 |
+
<?php endif; ?>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
</div>
|
app/etc/modules/Xogenics_CleanCart.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Xogenics_CleanCart>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</Xogenics_CleanCart>
|
8 |
+
</modules>
|
9 |
+
</config>
|
app/locale/en_US/Xogenics_CleanCart.csv
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"Shopping Cart Settings","Shopping Cart Settings"
|
2 |
+
"Show Discount Coupon In Shopping Cart","Show Discount Coupon In Shopping Cart"
|
3 |
+
"Show Shipping Estimate In Shopping Cart","Show Shipping Estimate In Shopping Cart"
|
4 |
+
"CleanCart Configuration","CleanCart Configuration"
|
5 |
+
"Thank you for choosing Xogenics!","Thank you for choosing Xogenics!"
|
6 |
+
"We value customer feedback! Please ","We value customer feedback! Please "
|
7 |
+
"help us improve this extension","help us improve this extension"
|
app/locale/nl_NL/Xogenics_CleanCart.csv
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"Shopping Cart Settings","Winkelwagen instellingen"
|
2 |
+
"Show Discount Coupon In Shopping Cart","Toon kortingscode in winkelwagen"
|
3 |
+
"Show Shipping Estimate In Shopping Cart","Toon schatting verzendkosten in winkelwagen"
|
4 |
+
"Clean Carts Configuration","CleanCart Configuratie"
|
5 |
+
"Thank you for choosing Xogenics!","Bedankt voor het kiezen Xogenics!"
|
6 |
+
"We value customer feedback! Please ","Wij waarderen feedback van de klant! Alstublieft "
|
7 |
+
"help us improve this extension","helpen ons bij het verbeteren deze uitbreiding"
|
app/locale/sr_RS/Xogenics_CleanCart.csv
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"Shopping Cart Settings","Podesavanja korpe"
|
2 |
+
"Show Discount Coupon In Shopping Cart","Prikazi kupon za popust u korpi"
|
3 |
+
"Show Shipping Estimate In Shopping Cart","Prikazi procenu za slanje u korpi"
|
4 |
+
"Clean Carts Configuration","Clean Cart Konfiguracija"
|
5 |
+
"Thank you for choosing Xogenics!","Hvala sto ste izabrali Xogenics!"
|
6 |
+
"We value customer feedback! Please ","Mi cenimo misljenje nasih klijenata! Molimo vas "
|
7 |
+
"help us improve this extension","pomozite nam da popravimo ovaj proizvod"
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Xogenics_CleanCarts</name>
|
4 |
+
<version>1.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license>OSL v3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>The free "Clean Carts" extension allows you to individually disable the shipping estimate and coupon code boxes in your shopping cart. Whenever you think these features need to be shown again, simply enable either or both. With this little extension, you never have to show redundant information wich confuses your customer.</summary>
|
10 |
+
<description>Remove irrelevant information on your shop and retain clarity and simplicity. Easily hide the coupon code block in your shopping cart when you’re (temporarily) not using it! Also hide the shipping estimate block in case you don’t use variable shipping rates or simply because you don’t want to scare potential customers away even before they reach your checkout page. Of course you can easily switch it back on whenever you need! This extension is completely free; no strings attached!</description>
|
11 |
+
<notes>This extension is developed on magento version 1.4.2</notes>
|
12 |
+
<authors><author><name>Miroslav Pavkovic</name><user>auto-converted</user><email>ms.pavkovic@levi9.com</email></author></authors>
|
13 |
+
<date>2011-09-29</date>
|
14 |
+
<time>13:39:23</time>
|
15 |
+
<contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="xogenics"><file name="xogenics_logo_full_72ppi.png" hash="92fe62378d1e07b3fcf0afadcd72bc82"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="cleancart"><file name="global.phtml" hash="0eff2585f2d4ae91c5f7e169cac9addb"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cleancart.xml" hash="5fdc6f8f1736e13cd27b5b70f89415fe"/></dir><dir name="template"><dir name="cleancart"><file name="cart.phtml" hash="9891106d332147f05992d8d809f784eb"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Xogenics_CleanCart.csv" hash="11831b2bc104be3981a52c8b26822f63"/></dir><dir name="nl_NL"><file name="Xogenics_CleanCart.csv" hash="ddce6ce663e9fab9c89157e44f48d3dd"/></dir><dir name="sr_RS"><file name="Xogenics_CleanCart.csv" hash="7860484e58ed4f44230a6811480018f0"/></dir></target><target name="mageetc"><dir name="modules"><file name="Xogenics_CleanCart.xml" hash="01c74bfe4dc54c3c023a83d2d885f1ec"/></dir></target><target name="magecommunity"><dir name="Xogenics"><dir name="CleanCart"><dir name="Block"><dir name="Adminhtml"><dir name="Fieldset"><dir name="System"><dir name="Logo"><file name="Global.php" hash="38f4823b909d0698958137d9391bb987"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="3d68765137cdda58297bdb50fbe4829a"/><file name="system.xml" hash="f0e1a640fdc4d995c503b146a3973d8b"/></dir><dir name="Helper"><file name="Data.php" hash="a513c8b7e52fd90c3f6e58664cefb1ba"/></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|
skin/adminhtml/default/default/images/xogenics/xogenics_logo_full_72ppi.png
ADDED
Binary file
|