Version Notes
This is the stable version of COD confirmation extension.
Download this release
Release Info
Developer | Keyur |
Extension | 17805632160283535599 |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/local/Iksula/Orderemail/Helper/Data.php +5 -0
- app/code/local/Iksula/Orderemail/Model/Codorders.php +12 -0
- app/code/local/Iksula/Orderemail/Model/Mysql4/Codorders.php +8 -0
- app/code/local/Iksula/Orderemail/Model/Mysql4/Codorders/Collection.php +12 -0
- app/code/local/Iksula/Orderemail/Model/Sales/Order.php +116 -0
- app/code/local/Iksula/Orderemail/controllers/IndexController.php +98 -0
- app/code/local/Iksula/Orderemail/etc/config.xml +89 -0
- app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-install-0.1.0.php +12 -0
- app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.0-0.1.1.php +13 -0
- app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.1-0.1.2.php +16 -0
- app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.2-0.1.3.php +21 -0
- app/design/frontend/.DS_Store +0 -0
- app/design/frontend/base/default/etc/theme.xml +30 -0
- app/design/frontend/base/default/etc/widget.xml +166 -0
- app/design/frontend/base/default/layout/authorizenet.xml +42 -0
- app/design/frontend/base/default/layout/bml.xml +129 -0
- app/design/frontend/base/default/layout/bundle.xml +380 -0
- app/design/frontend/base/default/layout/captcha.xml +106 -0
- app/design/frontend/base/default/layout/catalog.xml +418 -0
- app/design/frontend/base/default/layout/catalog_msrp.xml +108 -0
- app/design/frontend/base/default/layout/cataloginventory.xml +64 -0
- app/design/frontend/base/default/layout/catalogsearch.xml +142 -0
- app/design/frontend/base/default/layout/centinel.xml +65 -0
- app/design/frontend/base/default/layout/checkout.xml +491 -0
- app/design/frontend/base/default/layout/cms.xml +89 -0
- app/design/frontend/base/default/layout/contacts.xml +48 -0
- app/design/frontend/base/default/layout/core.xml +33 -0
- app/design/frontend/base/default/layout/customer.xml +293 -0
- app/design/frontend/base/default/layout/directory.xml +78 -0
- app/design/frontend/base/default/layout/downloadable.xml +231 -0
- app/design/frontend/base/default/layout/googleanalytics.xml +41 -0
- app/design/frontend/base/default/layout/moneybookers.xml +41 -0
- app/design/frontend/base/default/layout/newsletter.xml +69 -0
- app/design/frontend/base/default/layout/oauth.xml +137 -0
- app/design/frontend/base/default/layout/orderemail.xml +8 -0
- app/design/frontend/base/default/layout/page.xml +192 -0
- app/design/frontend/base/default/layout/pagecache.xml +35 -0
- app/design/frontend/base/default/layout/payment.xml +41 -0
- app/design/frontend/base/default/layout/paypal.xml +202 -0
- app/design/frontend/base/default/layout/paypaluk.xml +155 -0
- app/design/frontend/base/default/layout/persistent.xml +62 -0
- app/design/frontend/base/default/layout/poll.xml +57 -0
- app/design/frontend/base/default/layout/productalert.xml +47 -0
- app/design/frontend/base/default/layout/reports.xml +45 -0
- app/design/frontend/base/default/layout/review.xml +134 -0
- app/design/frontend/base/default/layout/rss.xml +103 -0
- app/design/frontend/base/default/layout/sales.xml +526 -0
- app/design/frontend/base/default/layout/sales/billing_agreement.xml +55 -0
- app/design/frontend/base/default/layout/sales/recurring_profile.xml +171 -0
- app/design/frontend/base/default/layout/sendfriend.xml +41 -0
- app/design/frontend/base/default/layout/shipping.xml +52 -0
- app/design/frontend/base/default/layout/tag.xml +134 -0
- app/design/frontend/base/default/layout/tempcp.xml +34 -0
- app/design/frontend/base/default/layout/ves_autosearch.xml +12 -0
- app/design/frontend/base/default/layout/ves_blog.xml +83 -0
- app/design/frontend/base/default/layout/ves_brand.xml +69 -0
- app/design/frontend/base/default/layout/ves_layerslider.xml +19 -0
- app/design/frontend/base/default/layout/ves_megamenu.xml +1 -0
- app/design/frontend/base/default/layout/ves_productcarousel.xml +35 -0
- app/design/frontend/base/default/layout/ves_productcarousel2.xml +35 -0
- app/design/frontend/base/default/layout/ves_socialsidebar.xml +10 -0
- app/design/frontend/base/default/layout/ves_tabshome.xml +40 -0
- app/design/frontend/base/default/layout/ves_verticalmenu.xml +1 -0
- app/design/frontend/base/default/layout/weee.xml +53 -0
- app/design/frontend/base/default/layout/wishlist.xml +139 -0
- app/design/frontend/base/default/layout/xmlconnect.xml +466 -0
- app/design/frontend/base/default/template/authorizenet/directpost/form.phtml +135 -0
- app/design/frontend/base/default/template/authorizenet/directpost/iframe.phtml +56 -0
- app/design/frontend/base/default/template/authorizenet/directpost/info.phtml +35 -0
- app/design/frontend/base/default/template/bundle/catalog/product/list/partof.phtml +52 -0
- app/design/frontend/base/default/template/bundle/catalog/product/price.phtml +289 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/option_tierprices.phtml +234 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/options/notice.phtml +27 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/price.phtml +114 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/tierprices.phtml +41 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle.phtml +54 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/checkbox.phtml +52 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/multi.phtml +49 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/radio.phtml +74 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml +64 -0
- app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/options.phtml +43 -0
- app/design/frontend/base/default/template/bundle/email/order/items/creditmemo/default.phtml +168 -0
- app/design/frontend/base/default/template/bundle/email/order/items/invoice/default.phtml +169 -0
- app/design/frontend/base/default/template/bundle/email/order/items/order/default.phtml +174 -0
- app/design/frontend/base/default/template/bundle/email/order/items/shipment/default.phtml +92 -0
- app/design/frontend/base/default/template/bundle/rss/catalog/product/price.phtml +313 -0
- app/design/frontend/base/default/template/bundle/sales/order/creditmemo/items/renderer.phtml +412 -0
- app/design/frontend/base/default/template/bundle/sales/order/invoice/items/renderer.phtml +390 -0
- app/design/frontend/base/default/template/bundle/sales/order/items/renderer.phtml +375 -0
- app/design/frontend/base/default/template/bundle/sales/order/shipment/items/renderer.phtml +111 -0
- app/design/frontend/base/default/template/callouts/left_col.phtml +39 -0
- app/design/frontend/base/default/template/callouts/right_col.phtml +39 -0
- app/design/frontend/base/default/template/captcha/zend.phtml +51 -0
- app/design/frontend/base/default/template/catalog/category/page.phtml +36 -0
- app/design/frontend/base/default/template/catalog/category/view.phtml +71 -0
- app/design/frontend/base/default/template/catalog/category/widget/link/link_block.phtml +27 -0
- app/design/frontend/base/default/template/catalog/category/widget/link/link_inline.phtml +27 -0
- app/design/frontend/base/default/template/catalog/layer/filter.phtml +47 -0
- app/design/frontend/base/default/template/catalog/layer/state.phtml +55 -0
- app/design/frontend/base/default/template/catalog/layer/view.phtml +59 -0
- app/design/frontend/base/default/template/catalog/msrp/popup.phtml +59 -0
- app/design/frontend/base/default/template/catalog/navigation/left.phtml +59 -0
- app/design/frontend/base/default/template/catalog/navigation/top.phtml +49 -0
- app/design/frontend/base/default/template/catalog/product/compare/list.phtml +162 -0
- app/design/frontend/base/default/template/catalog/product/compare/sidebar.phtml +60 -0
- app/design/frontend/base/default/template/catalog/product/gallery.phtml +66 -0
- app/design/frontend/base/default/template/catalog/product/list.phtml +128 -0
- app/design/frontend/base/default/template/catalog/product/list/related.phtml +94 -0
- app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml +96 -0
- app/design/frontend/base/default/template/catalog/product/list/upsell.phtml +52 -0
- app/design/frontend/base/default/template/catalog/product/new.phtml +59 -0
- app/design/frontend/base/default/template/catalog/product/price.phtml +471 -0
- app/design/frontend/base/default/template/catalog/product/price_msrp.phtml +69 -0
- app/design/frontend/base/default/template/catalog/product/price_msrp_item.phtml +107 -0
- app/design/frontend/base/default/template/catalog/product/price_msrp_noform.phtml +73 -0
- app/design/frontend/base/default/template/catalog/product/price_msrp_rss.phtml +42 -0
- app/design/frontend/base/default/template/catalog/product/view.phtml +170 -0
- app/design/frontend/base/default/template/catalog/product/view/additional.phtml +29 -0
- app/design/frontend/base/default/template/catalog/product/view/addto.phtml +41 -0
- app/design/frontend/base/default/template/catalog/product/view/addtocart.phtml +38 -0
- app/design/frontend/base/default/template/catalog/product/view/attributes.phtml +52 -0
- app/design/frontend/base/default/template/catalog/product/view/description.phtml +39 -0
- app/design/frontend/base/default/template/catalog/product/view/media.phtml +78 -0
- app/design/frontend/base/default/template/catalog/product/view/options.phtml +193 -0
- app/design/frontend/base/default/template/catalog/product/view/options/js.phtml +89 -0
- app/design/frontend/base/default/template/catalog/product/view/options/type/date.phtml +92 -0
- app/design/frontend/base/default/template/catalog/product/view/options/type/default.phtml +30 -0
- app/design/frontend/base/default/template/catalog/product/view/options/type/file.phtml +103 -0
- app/design/frontend/base/default/template/catalog/product/view/options/type/select.phtml +40 -0
- app/design/frontend/base/default/template/catalog/product/view/options/type/text.phtml +41 -0
- app/design/frontend/base/default/template/catalog/product/view/options/wrapper.phtml +33 -0
- app/design/frontend/base/default/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
- app/design/frontend/base/default/template/catalog/product/view/price.phtml +34 -0
- app/design/frontend/base/default/template/catalog/product/view/price_clone.phtml +28 -0
- app/design/frontend/base/default/template/catalog/product/view/tierprices.phtml +232 -0
- app/design/frontend/base/default/template/catalog/product/view/type/configurable.phtml +31 -0
- app/design/frontend/base/default/template/catalog/product/view/type/default.phtml +38 -0
- app/design/frontend/base/default/template/catalog/product/view/type/grouped.phtml +93 -0
- app/design/frontend/base/default/template/catalog/product/view/type/options/configurable.phtml +48 -0
- app/design/frontend/base/default/template/catalog/product/view/type/simple.phtml +31 -0
- app/design/frontend/base/default/template/catalog/product/view/type/virtual.phtml +31 -0
- app/design/frontend/base/default/template/catalog/product/widget/link/link_block.phtml +27 -0
- app/design/frontend/base/default/template/catalog/product/widget/link/link_inline.phtml +27 -0
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_default_list.phtml +56 -0
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_images_list.phtml +47 -0
- app/design/frontend/base/default/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_grid.phtml +66 -0
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_list.phtml +63 -0
- app/design/frontend/base/default/template/catalog/rss/product/price.phtml +449 -0
- app/design/frontend/base/default/template/catalog/seo/sitemap.phtml +50 -0
- app/design/frontend/base/default/template/catalog/seo/sitemap/container.phtml +38 -0
- app/design/frontend/base/default/template/catalog/seo/tree.phtml +43 -0
- app/design/frontend/base/default/template/cataloginventory/qtyincrements.phtml +35 -0
- app/design/frontend/base/default/template/cataloginventory/stockqty/composite.phtml +66 -0
- app/design/frontend/base/default/template/cataloginventory/stockqty/default.phtml +35 -0
- app/design/frontend/base/default/template/catalogsearch/advanced/form.phtml +96 -0
- app/design/frontend/base/default/template/catalogsearch/advanced/result.phtml +60 -0
- app/design/frontend/base/default/template/catalogsearch/form.mini.phtml +43 -0
- app/design/frontend/base/default/template/catalogsearch/result.phtml +55 -0
- app/design/frontend/base/default/template/catalogsearch/term.phtml +38 -0
- app/design/frontend/base/default/template/centinel/authentication.phtml +56 -0
- app/design/frontend/base/default/template/centinel/authentication/complete.phtml +41 -0
- app/design/frontend/base/default/template/centinel/authentication/start.phtml +40 -0
- app/design/frontend/base/default/template/centinel/logo.phtml +33 -0
- app/design/frontend/base/default/template/checkout/cart.phtml +164 -0
- app/design/frontend/base/default/template/checkout/cart/coupon.phtml +59 -0
- app/design/frontend/base/default/template/checkout/cart/crosssell.phtml +59 -0
- app/design/frontend/base/default/template/checkout/cart/item/configure/updatecart.phtml +39 -0
- app/design/frontend/base/default/template/checkout/cart/item/default.phtml +279 -0
- app/design/frontend/base/default/template/checkout/cart/noItems.phtml +36 -0
- app/design/frontend/base/default/template/checkout/cart/render/default.phtml +70 -0
- app/design/frontend/base/default/template/checkout/cart/render/simple.phtml +70 -0
- app/design/frontend/base/default/template/checkout/cart/shipping.phtml +139 -0
- app/design/frontend/base/default/template/checkout/cart/sidebar.phtml +80 -0
- app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml +145 -0
- app/design/frontend/base/default/template/checkout/cart/totals.phtml +48 -0
- app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml +58 -0
- app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml +81 -0
- app/design/frontend/base/default/template/checkout/multishipping/agreements.phtml +49 -0
- app/design/frontend/base/default/template/checkout/multishipping/billing.phtml +116 -0
- app/design/frontend/base/default/template/checkout/multishipping/billing/items.phtml +54 -0
- app/design/frontend/base/default/template/checkout/multishipping/item/default.phtml +45 -0
- app/design/frontend/base/default/template/checkout/multishipping/link.phtml +27 -0
- app/design/frontend/base/default/template/checkout/multishipping/overview.phtml +243 -0
- app/design/frontend/base/default/template/checkout/multishipping/overview/item.phtml +238 -0
- app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml +130 -0
- app/design/frontend/base/default/template/checkout/multishipping/state.phtml +39 -0
- app/design/frontend/base/default/template/checkout/multishipping/success.phtml +50 -0
- app/design/frontend/base/default/template/checkout/onepage.phtml +60 -0
- app/design/frontend/base/default/template/checkout/onepage/agreements.phtml +51 -0
- app/design/frontend/base/default/template/checkout/onepage/billing.phtml +216 -0
- app/design/frontend/base/default/template/checkout/onepage/failure.phtml +32 -0
- app/design/frontend/base/default/template/checkout/onepage/link.phtml +29 -0
- app/design/frontend/base/default/template/checkout/onepage/login.phtml +124 -0
- app/design/frontend/base/default/template/checkout/onepage/payment.phtml +73 -0
- app/design/frontend/base/default/template/checkout/onepage/payment/info.phtml +29 -0
- app/design/frontend/base/default/template/checkout/onepage/payment/methods.phtml +73 -0
- app/design/frontend/base/default/template/checkout/onepage/progress.phtml +59 -0
- app/design/frontend/base/default/template/checkout/onepage/progress/billing.phtml +40 -0
- app/design/frontend/base/default/template/checkout/onepage/progress/payment.phtml +41 -0
- app/design/frontend/base/default/template/checkout/onepage/progress/shipping.phtml +44 -0
- app/design/frontend/base/default/template/checkout/onepage/progress/shipping_method.phtml +57 -0
- app/design/frontend/base/default/template/checkout/onepage/review.phtml +29 -0
- app/design/frontend/base/default/template/checkout/onepage/review/button.phtml +27 -0
- app/design/frontend/base/default/template/checkout/onepage/review/info.phtml +84 -0
- app/design/frontend/base/default/template/checkout/onepage/review/item.phtml +220 -0
app/code/local/Iksula/Orderemail/Helper/Data.php
ADDED
@@ -0,0 +1,5 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Iksula_Orderemail_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
+
{
|
4 |
+
}
|
5 |
+
|
app/code/local/Iksula/Orderemail/Model/Codorders.php
ADDED
@@ -0,0 +1,12 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Iksula_Orderemail_Model_Codorders extends Mage_Core_Model_Abstract
|
4 |
+
{
|
5 |
+
protected function _construct(){
|
6 |
+
|
7 |
+
$this->_init("orderemail/codorders");
|
8 |
+
|
9 |
+
}
|
10 |
+
|
11 |
+
}
|
12 |
+
|
app/code/local/Iksula/Orderemail/Model/Mysql4/Codorders.php
ADDED
@@ -0,0 +1,8 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Iksula_Orderemail_Model_Mysql4_Codorders extends Mage_Core_Model_Mysql4_Abstract
|
3 |
+
{
|
4 |
+
protected function _construct()
|
5 |
+
{
|
6 |
+
$this->_init("orderemail/codorders", "id");
|
7 |
+
}
|
8 |
+
}
|
app/code/local/Iksula/Orderemail/Model/Mysql4/Codorders/Collection.php
ADDED
@@ -0,0 +1,12 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Iksula_Orderemail_Model_Mysql4_Codorders_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
3 |
+
{
|
4 |
+
|
5 |
+
public function _construct(){
|
6 |
+
$this->_init("orderemail/codorders");
|
7 |
+
}
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
}
|
12 |
+
|
app/code/local/Iksula/Orderemail/Model/Sales/Order.php
ADDED
@@ -0,0 +1,116 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Iksula_Orderemail_Model_Sales_Order extends Mage_Sales_Model_Order
|
3 |
+
{
|
4 |
+
|
5 |
+
public function setState($state, $status = false, $comment = '', $isCustomerNotified = null)
|
6 |
+
{
|
7 |
+
// code to change state of order to COD which are place with cashondelievery
|
8 |
+
try{
|
9 |
+
$payment_method = $this->getPayment()->getMethodInstance()->getCode();
|
10 |
+
if($payment_method == "cashondelivery"){
|
11 |
+
return $this->_setState($state, "cod", $comment, $isCustomerNotified, true);
|
12 |
+
}else{
|
13 |
+
return $this->_setState($state, $status, $comment, $isCustomerNotified, true);
|
14 |
+
}
|
15 |
+
}catch(Exception $ex){
|
16 |
+
Mage::throwException(
|
17 |
+
Mage::helper('sales')->__('Order state not getting set '.$ex->getMessage())
|
18 |
+
);
|
19 |
+
}
|
20 |
+
|
21 |
+
}
|
22 |
+
public function _setState($state, $status = false, $comment = '',$isCustomerNotified = null, $shouldProtectState = false)
|
23 |
+
{
|
24 |
+
// attempt to set the specified state
|
25 |
+
if ($shouldProtectState) {
|
26 |
+
if ($this->isStateProtected($state)) {
|
27 |
+
Mage::throwException(
|
28 |
+
Mage::helper('sales')->__('The Order State "%s" must not be set manually.', $state)
|
29 |
+
);
|
30 |
+
}
|
31 |
+
}
|
32 |
+
$this->setData('state', $state);
|
33 |
+
|
34 |
+
// add status history
|
35 |
+
if ($status) {
|
36 |
+
if ($status === true) {
|
37 |
+
$status = $this->getConfig()->getStateDefaultStatus($state);
|
38 |
+
}
|
39 |
+
$this->setStatus($status);
|
40 |
+
$history = $this->addStatusHistoryComment($comment, false); // no sense to set $status again
|
41 |
+
$history->setIsCustomerNotified($isCustomerNotified); // for backwards compatibility
|
42 |
+
}
|
43 |
+
return $this;
|
44 |
+
}
|
45 |
+
public function sendNewOrderEmail()
|
46 |
+
{
|
47 |
+
// code to send order confirmation email to customer if an order payment method is COD
|
48 |
+
try{
|
49 |
+
$payment_method = $this->getPayment()->getMethodInstance()->getCode();
|
50 |
+
if($payment_method == "cashondelivery"){
|
51 |
+
|
52 |
+
//code to save cod order detail in model
|
53 |
+
$cod_order = Mage::getModel('orderemail/codorders');
|
54 |
+
$formKey = Mage::getSingleton('core/session')->getFormKey();
|
55 |
+
$cod_order->setIncrementId($this->getIncrementId());
|
56 |
+
$cod_order->setCustomerId($this->getCustomerId());
|
57 |
+
$expiredate = date('Y-m-d h:i:s', strtotime(date("Y-m-d h:i:s").'2 days'));
|
58 |
+
$cod_order->setExpireDate($expiredate);
|
59 |
+
$cod_order->setExpirekey($formKey);
|
60 |
+
$cod_order->save();
|
61 |
+
$customer = Mage::getModel('customer/customer')->load($this->getCustomerId());
|
62 |
+
|
63 |
+
$verify_url = Mage::getUrl('orderemail').'?orderid='.$this->getIncrementId().'&key='.$formKey;
|
64 |
+
// code to send custom email for confirmation
|
65 |
+
$vars = array('order' => $this,'cod_verify_url'=> $verify_url);
|
66 |
+
|
67 |
+
// $translate = Mage::getSingleton('core/translate');
|
68 |
+
// $templateId = 11;
|
69 |
+
$senderName = Mage::getStoreConfig('trans_email/ident_support/name');
|
70 |
+
$senderEmail = Mage::getStoreConfig('trans_email/ident_support/email');
|
71 |
+
$sender = array('name' => $senderName,'email' => $senderEmail);
|
72 |
+
$recepientEmail = $customer->getEmail();
|
73 |
+
$recepientName = $customer->getName();
|
74 |
+
$store = Mage::app()->getStore()->getId();
|
75 |
+
//
|
76 |
+
// // Send Transactional Email
|
77 |
+
// Mage::getModel('core/email_template')
|
78 |
+
// ->sendTransactional($templateId, $sender, $recepientEmail, $recepientName, $vars, $store);
|
79 |
+
//
|
80 |
+
// $translate->setTranslateInline(true);
|
81 |
+
/* Code to send order email */
|
82 |
+
$emailTemplate = Mage::getModel('core/email_template')->loadDefault('cod_order');
|
83 |
+
$emailtemplatevarible = array();
|
84 |
+
$emailtemplatevarible["customer"]= $customer;
|
85 |
+
$emailtemplatevarible["store"]= Mage::app()->getStore()->getId();
|
86 |
+
$emailtemplatevarible["orderlink"] = $verify_url;
|
87 |
+
$emailtemplatevarible["order"] = $this;
|
88 |
+
$emailTemplate->setSenderName($senderName);
|
89 |
+
$emailTemplate->setSenderEmail($senderEmail);
|
90 |
+
$emailTemplate->setType('html');
|
91 |
+
$emailTemplate->setTemplateSubject('COD confirmation');
|
92 |
+
$emailTemplate->send($recepientEmail,$recepientName,$emailtemplatevarible);
|
93 |
+
return true;
|
94 |
+
/* End code to send order email */
|
95 |
+
|
96 |
+
|
97 |
+
}else{
|
98 |
+
parent::sendNewOrderEmail();
|
99 |
+
}
|
100 |
+
}catch(Exception $ex){
|
101 |
+
Mage::throwException(
|
102 |
+
Mage::helper('sales')->__('Order Email Not Send '.$ex->getMessage())
|
103 |
+
);
|
104 |
+
|
105 |
+
}
|
106 |
+
|
107 |
+
}
|
108 |
+
|
109 |
+
public function formatPrice($price, $addBrackets = false){
|
110 |
+
//return $this->formatPricePrecision($price, 2, $addBrackets);
|
111 |
+
/*shaily written for removing decimals from emailer and site*/
|
112 |
+
return $this->formatPricePrecision($price, 0, $addBrackets);
|
113 |
+
}
|
114 |
+
|
115 |
+
}
|
116 |
+
|
app/code/local/Iksula/Orderemail/controllers/IndexController.php
ADDED
@@ -0,0 +1,98 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Iksula_Orderemail_IndexController extends Mage_Core_Controller_Front_Action{
|
3 |
+
|
4 |
+
|
5 |
+
public function indexAction(){
|
6 |
+
|
7 |
+
$orderId = $this->getRequest()->getParam('orderid');
|
8 |
+
$key = $this->getRequest()->getParam('key');
|
9 |
+
try{
|
10 |
+
if($orderId){
|
11 |
+
$current = date('Y-m-d H:i:s');
|
12 |
+
//load order id from cod_orders table to validate
|
13 |
+
$cod_order = Mage::getModel('orderemail/codorders')->getCollection()
|
14 |
+
->addFieldToFilter('increment_id',array('eq'=> $orderId))
|
15 |
+
->addFieldToFilter('expire_date',array('gteq'=>$current))
|
16 |
+
->getFirstItem();
|
17 |
+
$expirekey = $cod_order->getExpirekey();
|
18 |
+
if($cod_order && $expirekey == $key){
|
19 |
+
|
20 |
+
$order = Mage::getModel('sales/order')->loadByIncrementId($cod_order->getIncrementId());
|
21 |
+
$status = $order->getStatus();
|
22 |
+
$payment_method_code = $order->getPayment()->getMethodInstance()->getCode();
|
23 |
+
if($payment_method_code == 'cashondelivery'){
|
24 |
+
if($status == 'cod'){
|
25 |
+
$state = $order->getState();
|
26 |
+
$status = 'pending';
|
27 |
+
$comment = 'Customer has verified cod payment';
|
28 |
+
$isCustomerNotified = false;
|
29 |
+
$return = $order->_setState($state, $status, $comment, $isCustomerNotified, true);
|
30 |
+
$order->save();
|
31 |
+
$this->layoutChange('onepagecheckout/checkoutpage/verify_success.phtml');
|
32 |
+
// code to send new order email
|
33 |
+
$store = Mage::app()->getStore();
|
34 |
+
$paymentBlock = Mage::helper('payment')->getInfoBlock($order->getPayment())
|
35 |
+
->setIsSecureMode(true);
|
36 |
+
$paymentBlock->getMethod()->setStore($store->getStoreId());
|
37 |
+
$paymentBlockHtml = $paymentBlock->toHtml();
|
38 |
+
$vars = array('order' => $order,'store'=> $store,"billing"=>$order->getBillingAddress(),"payment_html"=>$paymentBlockHtml);
|
39 |
+
$customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
|
40 |
+
// $translate = Mage::getSingleton('core/translate');
|
41 |
+
// $templateId = 3;
|
42 |
+
$senderName = Mage::getStoreConfig('trans_email/ident_support/name');
|
43 |
+
$senderEmail = Mage::getStoreConfig('trans_email/ident_support/email');
|
44 |
+
$sender = array('name' => $senderName,'email' => $senderEmail);
|
45 |
+
$recepientEmail = $customer->getEmail();
|
46 |
+
$recepientName = $customer->getName();
|
47 |
+
|
48 |
+
|
49 |
+
/* Code to send order email */
|
50 |
+
$emailTemplate = Mage::getModel('core/email_template')->loadDefault('order_custom');
|
51 |
+
|
52 |
+
$emailTemplate->setSenderName($senderName);
|
53 |
+
$emailTemplate->setSenderEmail($senderEmail);
|
54 |
+
$emailTemplate->setType('html');
|
55 |
+
$emailTemplate->setTemplateSubject('COD Order Notification');
|
56 |
+
$emailTemplate->send($recepientEmail,$recepientName,$vars);
|
57 |
+
|
58 |
+
/* End code to send order email */
|
59 |
+
// Mage::getModel('core/email_template')
|
60 |
+
// ->sendTransactional($templateId, $sender, $recepientEmail, $recepientName, $vars, $store);
|
61 |
+
//
|
62 |
+
// $translate->setTranslateInline(true);
|
63 |
+
/* End code to send email */
|
64 |
+
Mage::getSingleton('core/session')->addSuccess('Congrats, Your order has been confirmed. New order email has been sent to your email.');
|
65 |
+
$this->layoutChange('onepagecheckout/checkoutpage/verify_success.phtml');
|
66 |
+
}
|
67 |
+
else{
|
68 |
+
Mage::getSingleton('core/session')->addNotice('Your order is already confirmed');
|
69 |
+
$this->layoutChange('onepagecheckout/checkoutpage/verify.phtml');
|
70 |
+
}
|
71 |
+
}
|
72 |
+
else{
|
73 |
+
$this->layoutChange('onepagecheckout/checkoutpage/verify_fail.phtml');
|
74 |
+
Mage::getSingleton('core/session')->addError('Sorry,Order can not be confirmed');
|
75 |
+
}
|
76 |
+
|
77 |
+
} // end of if condition
|
78 |
+
else{
|
79 |
+
Mage::getSingleton('core/session')->addError('Order confirmation link has been expired');
|
80 |
+
}
|
81 |
+
}
|
82 |
+
else{
|
83 |
+
$this->_redirect('cms');
|
84 |
+
}
|
85 |
+
}catch(Exception $ex){
|
86 |
+
echo 'error'.$ex->getMessage();
|
87 |
+
Mage::getSingleton('core/session')->addError('Something goes wrong'.$ex->getMessage());
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
public function layoutChange($phtml){
|
92 |
+
$this->loadLayout();
|
93 |
+
$verifyBlock = $this->getLayout()->createBlock('core/template')->setTemplate($phtml);
|
94 |
+
$this->getLayout()->getBlock('content')->append($verifyBlock);
|
95 |
+
$this->renderLayout();
|
96 |
+
}
|
97 |
+
|
98 |
+
}
|
app/code/local/Iksula/Orderemail/etc/config.xml
ADDED
@@ -0,0 +1,89 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Iksula_Orderemail>
|
5 |
+
<version>0.1.3</version>
|
6 |
+
</Iksula_Orderemail>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<routers>
|
10 |
+
<orderemail>
|
11 |
+
<use>standard</use>
|
12 |
+
<args>
|
13 |
+
<module>Iksula_Orderemail</module>
|
14 |
+
<frontName>orderemail</frontName>
|
15 |
+
</args>
|
16 |
+
</orderemail>
|
17 |
+
</routers>
|
18 |
+
<layout>
|
19 |
+
<updates>
|
20 |
+
<orderemail>
|
21 |
+
<file>orderemail.xml</file>
|
22 |
+
</orderemail>
|
23 |
+
</updates>
|
24 |
+
</layout>
|
25 |
+
|
26 |
+
</frontend>
|
27 |
+
<global>
|
28 |
+
<helpers>
|
29 |
+
<orderemail>
|
30 |
+
<class>Iksula_Orderemail_Helper</class>
|
31 |
+
</orderemail>
|
32 |
+
</helpers>
|
33 |
+
<models>
|
34 |
+
<orderemail>
|
35 |
+
<class>Iksula_Orderemail_Model</class>
|
36 |
+
<resourceModel>orderemail_mysql4</resourceModel>
|
37 |
+
</orderemail>
|
38 |
+
<sales>
|
39 |
+
<rewrite>
|
40 |
+
<order>Iksula_Orderemail_Model_Sales_Order</order>
|
41 |
+
</rewrite>
|
42 |
+
</sales>
|
43 |
+
<orderemail_mysql4>
|
44 |
+
<class>Iksula_Orderemail_Model_Mysql4</class>
|
45 |
+
<entities>
|
46 |
+
<codorders>
|
47 |
+
<table>cod_orders</table>
|
48 |
+
</codorders>
|
49 |
+
</entities>
|
50 |
+
</orderemail_mysql4>
|
51 |
+
</models>
|
52 |
+
<resources>
|
53 |
+
<orderemail_setup>
|
54 |
+
<setup>
|
55 |
+
<module>Iksula_Orderemail</module>
|
56 |
+
<class>Mage_Eav_Model_Entity_Setup</class>
|
57 |
+
</setup>
|
58 |
+
<connection>
|
59 |
+
<use>core_setup</use>
|
60 |
+
</connection>
|
61 |
+
</orderemail_setup>
|
62 |
+
<orderemail_write>
|
63 |
+
<connection>
|
64 |
+
<use>core_write</use>
|
65 |
+
</connection>
|
66 |
+
</orderemail_write>
|
67 |
+
<orderemail_read>
|
68 |
+
<connection>
|
69 |
+
<use>core_read</use>
|
70 |
+
</connection>
|
71 |
+
</orderemail_read>
|
72 |
+
</resources>
|
73 |
+
|
74 |
+
<template>
|
75 |
+
<email>
|
76 |
+
<order_custom module="orderemail">
|
77 |
+
<label>COD new order email</label>
|
78 |
+
<file>sales/order_new_custom.html</file>
|
79 |
+
<type>html</type>
|
80 |
+
</order_custom>
|
81 |
+
<cod_order module="orderemail">
|
82 |
+
<label>COD confirmation email </label>
|
83 |
+
<file>sales/cod_confirm.html</file>
|
84 |
+
<type>html</type>
|
85 |
+
</cod_order>
|
86 |
+
</email>
|
87 |
+
</template>
|
88 |
+
</global>
|
89 |
+
</config>
|
app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-install-0.1.0.php
ADDED
@@ -0,0 +1,12 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
$installer->startSetup();
|
4 |
+
$sql=<<<SQLTEXT
|
5 |
+
create table cod_orders(id int not null auto_increment, increment_id varchar(50),customer_id int(11),expire_date date,primary key(id));
|
6 |
+
|
7 |
+
SQLTEXT;
|
8 |
+
|
9 |
+
$installer->run($sql);
|
10 |
+
|
11 |
+
$installer->endSetup();
|
12 |
+
|
app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.0-0.1.1.php
ADDED
@@ -0,0 +1,13 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
$installer->startSetup();
|
4 |
+
$sql=<<<SQLTEXT
|
5 |
+
Alter table cod_orders MODIFY COLUMN expire_date DATETIME;
|
6 |
+
Alter table cod_orders ADD COLUMN expirekey text;
|
7 |
+
|
8 |
+
SQLTEXT;
|
9 |
+
|
10 |
+
$installer->run($sql);
|
11 |
+
|
12 |
+
$installer->endSetup();
|
13 |
+
|
app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.1-0.1.2.php
ADDED
@@ -0,0 +1,16 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
$installer->startSetup();
|
4 |
+
$installer->addAttribute(
|
5 |
+
'order',
|
6 |
+
'is_specialorder',
|
7 |
+
array(
|
8 |
+
'type'=>'int',
|
9 |
+
'default'=>0,
|
10 |
+
'grid' => true,
|
11 |
+
'unsigned'=>true,
|
12 |
+
)
|
13 |
+
);
|
14 |
+
|
15 |
+
$installer->endSetup();
|
16 |
+
|
app/code/local/Iksula/Orderemail/sql/orderemail_setup/mysql4-upgrade-0.1.2-0.1.3.php
ADDED
@@ -0,0 +1,21 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
|
4 |
+
//instantiate required tables
|
5 |
+
$statusTable = $installer->getTable('sales/order_status');
|
6 |
+
$statusStateTable = $installer->getTable('sales/order_status_state');
|
7 |
+
|
8 |
+
// insert values
|
9 |
+
$installer->getConnection()->insertArray(
|
10 |
+
$statusTable,
|
11 |
+
array('status','label'),
|
12 |
+
array(array('status'=> "cod",'label'=>"Cash On Delivery"))
|
13 |
+
);
|
14 |
+
|
15 |
+
// Insert state abd mapping of statuses to state
|
16 |
+
$installer->getConnection()->insertArray(
|
17 |
+
$statusStateTable,
|
18 |
+
array('status','state','is_default'),
|
19 |
+
array(array('status'=>'cod','state'=>'new','is_default'=> 0 ))
|
20 |
+
);
|
21 |
+
|
app/design/frontend/.DS_Store
ADDED
Binary file
|
app/design/frontend/base/default/etc/theme.xml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package base_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<theme>
|
29 |
+
<parent />
|
30 |
+
</theme>
|
app/design/frontend/base/default/etc/widget.xml
ADDED
@@ -0,0 +1,166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package base_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<widgets>
|
29 |
+
<new_products>
|
30 |
+
<parameters>
|
31 |
+
<template>
|
32 |
+
<values>
|
33 |
+
<list_default translate="label">
|
34 |
+
<value>catalog/product/widget/new/column/new_default_list.phtml</value>
|
35 |
+
<label>New Products Images and Names Template</label>
|
36 |
+
</list_default>
|
37 |
+
<list_names translate="label">
|
38 |
+
<value>catalog/product/widget/new/column/new_names_list.phtml</value>
|
39 |
+
<label>New Products Names Only Template</label>
|
40 |
+
</list_names>
|
41 |
+
<list_images translate="label">
|
42 |
+
<value>catalog/product/widget/new/column/new_images_list.phtml</value>
|
43 |
+
<label>New Products Images Only Template</label>
|
44 |
+
</list_images>
|
45 |
+
</values>
|
46 |
+
</template>
|
47 |
+
</parameters>
|
48 |
+
<supported_blocks>
|
49 |
+
<left_column>
|
50 |
+
<block_name>left</block_name>
|
51 |
+
<template>
|
52 |
+
<default>list_default</default>
|
53 |
+
<names_only>list_names</names_only>
|
54 |
+
<images_only>list_images</images_only>
|
55 |
+
</template>
|
56 |
+
</left_column>
|
57 |
+
<main_content>
|
58 |
+
<block_name>content</block_name>
|
59 |
+
<template>
|
60 |
+
<grid>default</grid>
|
61 |
+
<list>list</list>
|
62 |
+
</template>
|
63 |
+
</main_content>
|
64 |
+
<right_column>
|
65 |
+
<block_name>right</block_name>
|
66 |
+
<template>
|
67 |
+
<default>list_default</default>
|
68 |
+
<names_only>list_names</names_only>
|
69 |
+
<images_only>list_images</images_only>
|
70 |
+
</template>
|
71 |
+
</right_column>
|
72 |
+
</supported_blocks>
|
73 |
+
</new_products>
|
74 |
+
|
75 |
+
<recently_viewed>
|
76 |
+
<parameters>
|
77 |
+
<template>
|
78 |
+
<values>
|
79 |
+
<list_default translate="label">
|
80 |
+
<value>reports/widget/viewed/column/viewed_default_list.phtml</value>
|
81 |
+
<label>Viewed Products Images and Names Template</label>
|
82 |
+
</list_default>
|
83 |
+
<list_names translate="label">
|
84 |
+
<value>reports/widget/viewed/column/viewed_names_list.phtml</value>
|
85 |
+
<label>Viewed Products Names Only Template</label>
|
86 |
+
</list_names>
|
87 |
+
<list_images translate="label">
|
88 |
+
<value>reports/widget/viewed/column/viewed_images_list.phtml</value>
|
89 |
+
<label>Viewed Products Images Only Template</label>
|
90 |
+
</list_images>
|
91 |
+
</values>
|
92 |
+
</template>
|
93 |
+
</parameters>
|
94 |
+
<supported_blocks>
|
95 |
+
<left_column>
|
96 |
+
<block_name>left</block_name>
|
97 |
+
<template>
|
98 |
+
<default>list_default</default>
|
99 |
+
<names_only>list_names</names_only>
|
100 |
+
<images_only>list_images</images_only>
|
101 |
+
</template>
|
102 |
+
</left_column>
|
103 |
+
<main_content>
|
104 |
+
<block_name>content</block_name>
|
105 |
+
<template>
|
106 |
+
<grid>default</grid>
|
107 |
+
<list>list</list>
|
108 |
+
</template>
|
109 |
+
</main_content>
|
110 |
+
<right_column>
|
111 |
+
<block_name>right</block_name>
|
112 |
+
<template>
|
113 |
+
<default>list_default</default>
|
114 |
+
<names_only>list_names</names_only>
|
115 |
+
<images_only>list_images</images_only>
|
116 |
+
</template>
|
117 |
+
</right_column>
|
118 |
+
</supported_blocks>
|
119 |
+
</recently_viewed>
|
120 |
+
|
121 |
+
<recently_compared>
|
122 |
+
<parameters>
|
123 |
+
<template>
|
124 |
+
<values>
|
125 |
+
<list_default translate="label">
|
126 |
+
<value>reports/widget/compared/column/compared_default_list.phtml</value>
|
127 |
+
<label>Compared Products Images and Names Template</label>
|
128 |
+
</list_default>
|
129 |
+
<list_names translate="label">
|
130 |
+
<value>reports/widget/compared/column/compared_names_list.phtml</value>
|
131 |
+
<label>Compared Product Names Only Template</label>
|
132 |
+
</list_names>
|
133 |
+
<list_images translate="label">
|
134 |
+
<value>reports/widget/compared/column/compared_images_list.phtml</value>
|
135 |
+
<label>Compared Product Images Only Template</label>
|
136 |
+
</list_images>
|
137 |
+
</values>
|
138 |
+
</template>
|
139 |
+
</parameters>
|
140 |
+
<supported_blocks>
|
141 |
+
<left_column>
|
142 |
+
<block_name>left</block_name>
|
143 |
+
<template>
|
144 |
+
<default>list_default</default>
|
145 |
+
<names_only>list_names</names_only>
|
146 |
+
<images_only>list_images</images_only>
|
147 |
+
</template>
|
148 |
+
</left_column>
|
149 |
+
<main_content>
|
150 |
+
<block_name>content</block_name>
|
151 |
+
<template>
|
152 |
+
<grid>default</grid>
|
153 |
+
<list>list</list>
|
154 |
+
</template>
|
155 |
+
</main_content>
|
156 |
+
<right_column>
|
157 |
+
<block_name>right</block_name>
|
158 |
+
<template>
|
159 |
+
<default>list_default</default>
|
160 |
+
<names_only>list_names</names_only>
|
161 |
+
<images_only>list_images</images_only>
|
162 |
+
</template>
|
163 |
+
</right_column>
|
164 |
+
</supported_blocks>
|
165 |
+
</recently_compared>
|
166 |
+
</widgets>
|
app/design/frontend/base/default/layout/authorizenet.xml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package base_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<checkout_onepage_index>
|
31 |
+
<reference name="head">
|
32 |
+
<action method="addJs"><file>mage/directpost.js</file></action>
|
33 |
+
</reference>
|
34 |
+
</checkout_onepage_index>
|
35 |
+
<checkout_onepage_review>
|
36 |
+
<reference name="checkout.onepage.review.info.items.after">
|
37 |
+
<block type="directpost/form" name="payment.form.directpost" template="authorizenet/directpost/form.phtml">
|
38 |
+
<action method="setMethodInfo"></action>
|
39 |
+
</block>
|
40 |
+
</reference>
|
41 |
+
</checkout_onepage_review>
|
42 |
+
</layout>
|
app/design/frontend/base/default/layout/bml.xml
ADDED
@@ -0,0 +1,129 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package base_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<cms_index_index>
|
31 |
+
<reference name="top.container">
|
32 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
33 |
+
<action method="setSection"><section>homepage</section></action>
|
34 |
+
<action method="setPosition"><position>0</position></action>
|
35 |
+
</block>
|
36 |
+
</reference>
|
37 |
+
<reference name="right">
|
38 |
+
<block type="paypal/bml_banners" name="bml.right.logo" template="paypal/bml.phtml">
|
39 |
+
<action method="setSection"><section>homepage</section></action>
|
40 |
+
<action method="setPosition"><position>1</position></action>
|
41 |
+
</block>
|
42 |
+
</reference>
|
43 |
+
</cms_index_index>
|
44 |
+
|
45 |
+
<cms_index_defaultindex>
|
46 |
+
<reference name="top.container">
|
47 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
48 |
+
<action method="setSection"><section>homepage</section></action>
|
49 |
+
<action method="setPosition"><position>0</position></action>
|
50 |
+
</block>
|
51 |
+
</reference>
|
52 |
+
<reference name="right">
|
53 |
+
<block type="paypal/bml_banners" name="bml.right.logo" template="paypal/bml.phtml">
|
54 |
+
<action method="setSection"><section>homepage</section></action>
|
55 |
+
<action method="setPosition"><position>1</position></action>
|
56 |
+
</block>
|
57 |
+
</reference>
|
58 |
+
</cms_index_defaultindex>
|
59 |
+
|
60 |
+
<catalog_category_default>
|
61 |
+
<reference name="top.container">
|
62 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
63 |
+
<action method="setSection"><section>categorypage</section></action>
|
64 |
+
<action method="setPosition"><position>0</position></action>
|
65 |
+
</block>
|
66 |
+
</reference>
|
67 |
+
<reference name="right">
|
68 |
+
<block type="paypal/bml_banners" name="bml.right.logo" template="paypal/bml.phtml">
|
69 |
+
<action method="setSection"><section>categorypage</section></action>
|
70 |
+
<action method="setPosition"><position>1</position></action>
|
71 |
+
</block>
|
72 |
+
</reference>
|
73 |
+
</catalog_category_default>
|
74 |
+
|
75 |
+
<catalog_category_layered>
|
76 |
+
<reference name="top.container">
|
77 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
78 |
+
<action method="setSection"><section>categorypage</section></action>
|
79 |
+
<action method="setPosition"><position>0</position></action>
|
80 |
+
</block>
|
81 |
+
</reference>
|
82 |
+
<reference name="right">
|
83 |
+
<block type="paypal/bml_banners" name="bml.right.logo" template="paypal/bml.phtml">
|
84 |
+
<action method="setSection"><section>categorypage</section></action>
|
85 |
+
<action method="setPosition"><position>1</position></action>
|
86 |
+
</block>
|
87 |
+
|
88 |
+
</reference>
|
89 |
+
</catalog_category_layered>
|
90 |
+
|
91 |
+
<catalog_product_view>
|
92 |
+
<reference name="top.container">
|
93 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
94 |
+
<action method="setSection"><section>productpage</section></action>
|
95 |
+
<action method="setPosition"><position>0</position></action>
|
96 |
+
</block>
|
97 |
+
</reference>
|
98 |
+
<reference name="product.info.addtocart">
|
99 |
+
<block type="paypal/bml_banners" name="bml.right.logo" after="product.info.addtocart.paypal" template="paypal/bml.phtml">
|
100 |
+
<action method="setSection"><section>productpage</section></action>
|
101 |
+
<action method="setPosition"><position>1</position></action>
|
102 |
+
</block>
|
103 |
+
</reference>
|
104 |
+
</catalog_product_view>
|
105 |
+
|
106 |
+
<checkout_cart_index>
|
107 |
+
<reference name="top.container">
|
108 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
109 |
+
<action method="setSection"><section>checkout</section></action>
|
110 |
+
<action method="setPosition"><position>0</position></action>
|
111 |
+
</block>
|
112 |
+
</reference>
|
113 |
+
<reference name="checkout.cart.methods">
|
114 |
+
<block type="paypal/bml_banners" name="bml.right.logo" after="checkout.cart.methods.onepage.bottom" template="paypal/bml.phtml">
|
115 |
+
<action method="setSection"><section>checkout</section></action>
|
116 |
+
<action method="setPosition"><position>1</position></action>
|
117 |
+
</block>
|
118 |
+
</reference>
|
119 |
+
</checkout_cart_index>
|
120 |
+
|
121 |
+
<checkout_onepage_index>
|
122 |
+
<reference name="top.container">
|
123 |
+
<block type="paypal/bml_banners" name="bml.center.logo" template="paypal/bml.phtml">
|
124 |
+
<action method="setSection"><section>checkout</section></action>
|
125 |
+
<action method="setPosition"><position>0</position></action>
|
126 |
+
</block>
|
127 |
+
</reference>
|
128 |
+
</checkout_onepage_index>
|
129 |
+
</layout>
|
app/design/frontend/base/default/layout/bundle.xml
ADDED
@@ -0,0 +1,380 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
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@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package base_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Adding custom product price block
|
33 |
+
-->
|
34 |
+
|
35 |
+
<catalog_category_default>
|
36 |
+
<reference name="product_list">
|
37 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
38 |
+
</reference>
|
39 |
+
</catalog_category_default>
|
40 |
+
|
41 |
+
<catalog_category_view>
|
42 |
+
<reference name="product_list">
|
43 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
44 |
+
</reference>
|
45 |
+
</catalog_category_view>
|
46 |
+
|
47 |
+
<catalog_category_layered>
|
48 |
+
<reference name="product_list">
|
49 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
50 |
+
</reference>
|
51 |
+
</catalog_category_layered>
|
52 |
+
|
53 |
+
<catalog_product_compare_index>
|
54 |
+
<reference name="catalog.compare.list">
|
55 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
56 |
+
</reference>
|
57 |
+
</catalog_product_compare_index>
|
58 |
+
|
59 |
+
<catalogsearch_result_index>
|
60 |
+
<reference name="search_result_list">
|
61 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
62 |
+
</reference>
|
63 |
+
</catalogsearch_result_index>
|
64 |
+
|
65 |
+
<catalogsearch_advanced_result>
|
66 |
+
<reference name="search_result_list">
|
67 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
68 |
+
</reference>
|
69 |
+
</catalogsearch_advanced_result>
|
70 |
+
|
71 |
+
<tag_product_list>
|
72 |
+
<reference name="search_result_list">
|
73 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
74 |
+
</reference>
|
75 |
+
</tag_product_list>
|
76 |
+
|
77 |
+
<tag_customer_view>
|
78 |
+
<reference name="customer_view">
|
79 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
80 |
+
</reference>
|
81 |
+
</tag_customer_view>
|
82 |
+
|
83 |
+
<default>
|
84 |
+
<reference name="cart_sidebar">
|
85 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
86 |
+
</reference>
|
87 |
+
<reference name="wishlist_sidebar">
|
88 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
89 |
+
</reference>
|
90 |
+
<reference name="catalog_product_price_template">
|
91 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
92 |
+
</reference>
|
93 |
+
</default>
|
94 |
+
|
95 |
+
<catalog_product_view>
|
96 |
+
<reference name="catalog.product.related">
|
97 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
98 |
+
</reference>
|
99 |
+
</catalog_product_view>
|
100 |
+
|
101 |
+
<!--
|
102 |
+
Partof block for simple products
|
103 |
+
-->
|
104 |
+
|
105 |
+
<PRODUCT_TYPE_simple>
|
106 |
+
<!--
|
107 |
+
<reference name="product.info.additional">
|
108 |
+
|
109 |
+
<block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
|
110 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
111 |
+
</block>
|
112 |
+
-->
|
113 |
+
<reference name="product.info.upsell">
|
114 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
115 |
+
<action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
|
116 |
+
</reference>
|
117 |
+
</PRODUCT_TYPE_simple>
|
118 |
+
|
119 |
+
<!--
|
120 |
+
Shopping cart item renderer (sidebar)
|
121 |
+
-->
|
122 |
+
|
123 |
+
<customer_account>
|
124 |
+
<reference name="cart_sidebar">
|
125 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
126 |
+
</reference>
|
127 |
+
</customer_account>
|
128 |
+
|
129 |
+
<!--
|
130 |
+
Shopping cart item renderer
|
131 |
+
-->
|
132 |
+
|
133 |
+
<checkout_cart_index>
|
134 |
+
<reference name="checkout.cart">
|
135 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
136 |
+
</reference>
|
137 |
+
<reference name="checkout.cart.crosssell">
|
138 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
139 |
+
</reference>
|
140 |
+
</checkout_cart_index>
|
141 |
+
|
142 |
+
<!--
|
143 |
+
Onepage Checkout Review Page
|
144 |
+
-->
|
145 |
+
|
146 |
+
<checkout_onepage_review>
|
147 |
+
<reference name="root">
|
148 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
149 |
+
</reference>
|
150 |
+
</checkout_onepage_review>
|
151 |
+
|
152 |
+
<checkout_multishipping_addresses>
|
153 |
+
<reference name="checkout_addresses">
|
154 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
155 |
+
</reference>
|
156 |
+
</checkout_multishipping_addresses>
|
157 |
+
|
158 |
+
<checkout_multishipping_shipping>
|
159 |
+
<reference name="checkout_shipping">
|
160 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
161 |
+
</reference>
|
162 |
+
<reference name="checkout_billing_items">
|
163 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
164 |
+
</reference>
|
165 |
+
</checkout_multishipping_shipping>
|
166 |
+
|
167 |
+
<checkout_multishipping_overview>
|
168 |
+
<reference name="checkout_overview">
|
169 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
170 |
+
</reference>
|
171 |
+
</checkout_multishipping_overview>
|
172 |
+
|
173 |
+
<paypal_express_review>
|
174 |
+
<reference name="paypal.express.review.details">
|
175 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
176 |
+
</reference>
|
177 |
+
</paypal_express_review>
|
178 |
+
<paypal_express_review_details>
|
179 |
+
<reference name="root">
|
180 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
181 |
+
</reference>
|
182 |
+
</paypal_express_review_details>
|
183 |
+
|
184 |
+
<paypaluk_express_review>
|
185 |
+
<reference name="paypal.express.review.details">
|
186 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
187 |
+
</reference>
|
188 |
+
</paypaluk_express_review>
|
189 |
+
<paypaluk_express_review_details>
|
190 |
+
<reference name="root">
|
191 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
192 |
+
</reference>
|
193 |
+
</paypaluk_express_review_details>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Additional block for bundle product type
|
197 |
+
-->
|
198 |
+
|
199 |
+
<PRODUCT_TYPE_bundle translate="label" module="bundle">
|
200 |
+
<label>Catalog Product View (Bundle)</label>
|
201 |
+
<reference name="head">
|
202 |
+
<action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
|
203 |
+
</reference>
|
204 |
+
<reference name="product.info">
|
205 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
|
206 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
207 |
+
<block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml">
|
208 |
+
<action method="setMAPTemplate"><tmpl>catalog/product/price_msrp_item.phtml</tmpl></action>
|
209 |
+
</block>
|
210 |
+
</block>
|
211 |
+
</reference>
|
212 |
+
<reference name="product.info.options.wrapper">
|
213 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle.options" as="type_bundle_options" template="bundle/catalog/product/view/type/bundle/options.phtml">
|
214 |
+
<action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
|
215 |
+
<action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
|
216 |
+
<action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
|
217 |
+
<action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
|
218 |
+
</block>
|
219 |
+
<action method="insert"><block>product.info.bundle.options</block></action>
|
220 |
+
</reference>
|
221 |
+
<reference name="product.info.options.wrapper.bottom">
|
222 |
+
<remove name="product.tierprices" />
|
223 |
+
<block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
|
224 |
+
<block type="cataloginventory/qtyincrements" name="product.info.qtyincrements" before="-" template="cataloginventory/qtyincrements.phtml"/>
|
225 |
+
</reference>
|
226 |
+
<reference name="product.clone_prices">
|
227 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
|
228 |
+
</reference>
|
229 |
+
</PRODUCT_TYPE_bundle>
|
230 |
+
|
231 |
+
<sales_order_view>
|
232 |
+
<reference name="order_items">
|
233 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
234 |
+
</reference>
|
235 |
+
</sales_order_view>
|
236 |
+
|
237 |
+
<sales_order_invoice>
|
238 |
+
<reference name="invoice_items">
|
239 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
240 |
+
</reference>
|
241 |
+
</sales_order_invoice>
|
242 |
+
|
243 |
+
<sales_order_shipment>
|
244 |
+
<reference name="shipment_items">
|
245 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
246 |
+
</reference>
|
247 |
+
</sales_order_shipment>
|
248 |
+
|
249 |
+
<sales_order_creditmemo>
|
250 |
+
<reference name="creditmemo_items">
|
251 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
252 |
+
</reference>
|
253 |
+
</sales_order_creditmemo>
|
254 |
+
|
255 |
+
<!--
|
256 |
+
Print pages
|
257 |
+
-->
|
258 |
+
|
259 |
+
<sales_order_print>
|
260 |
+
<reference name="sales.order.print">
|
261 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
262 |
+
</reference>
|
263 |
+
</sales_order_print>
|
264 |
+
|
265 |
+
<sales_order_printinvoice>
|
266 |
+
<reference name="sales.order.print.invoice">
|
267 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
268 |
+
</reference>
|
269 |
+
</sales_order_printinvoice>
|
270 |
+
|
271 |
+
<sales_order_printshipment>
|
272 |
+
<reference name="sales.order.print.shipment">
|
273 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
274 |
+
</reference>
|
275 |
+
</sales_order_printshipment>
|
276 |
+
|
277 |
+
<sales_order_printcreditmemo>
|
278 |
+
<reference name="sales.order.print.creditmemo">
|
279 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
280 |
+
</reference>
|
281 |
+
</sales_order_printcreditmemo>
|
282 |
+
|
283 |
+
<!--
|
284 |
+
For guests
|
285 |
+
-->
|
286 |
+
<sales_guest_view>
|
287 |
+
<reference name="order_items">
|
288 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
289 |
+
</reference>
|
290 |
+
</sales_guest_view>
|
291 |
+
|
292 |
+
<sales_guest_invoice>
|
293 |
+
<reference name="invoice_items">
|
294 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
295 |
+
</reference>
|
296 |
+
</sales_guest_invoice>
|
297 |
+
|
298 |
+
<sales_guest_shipment>
|
299 |
+
<reference name="shipment_items">
|
300 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
301 |
+
</reference>
|
302 |
+
</sales_guest_shipment>
|
303 |
+
|
304 |
+
<sales_guest_creditmemo>
|
305 |
+
<reference name="creditmemo_items">
|
306 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
307 |
+
</reference>
|
308 |
+
</sales_guest_creditmemo>
|
309 |
+
|
310 |
+
<sales_guest_print>
|
311 |
+
<reference name="sales.order.print">
|
312 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
313 |
+
</reference>
|
314 |
+
</sales_guest_print>
|
315 |
+
|
316 |
+
<sales_guest_printinvoice>
|
317 |
+
<reference name="sales.order.print.invoice">
|
318 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
319 |
+
</reference>
|
320 |
+
</sales_guest_printinvoice>
|
321 |
+
|
322 |
+
<sales_guest_printshipment>
|
323 |
+
<reference name="sales.order.print.shipment">
|
324 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
325 |
+
</reference>
|
326 |
+
</sales_guest_printshipment>
|
327 |
+
|
328 |
+
<sales_guest_printcreditmemo>
|
329 |
+
<reference name="sales.order.print.creditmemo">
|
330 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
331 |
+
</reference>
|
332 |
+
</sales_guest_printcreditmemo>
|
333 |
+
|
334 |
+
<!--
|
335 |
+
Emails
|
336 |
+
-->
|
337 |
+
<sales_email_order_items>
|
338 |
+
<reference name="items">
|
339 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
|
340 |
+
</reference>
|
341 |
+
</sales_email_order_items>
|
342 |
+
|
343 |
+
<sales_email_order_invoice_items>
|
344 |
+
<reference name="items">
|
345 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
|
346 |
+
</reference>
|
347 |
+
</sales_email_order_invoice_items>
|
348 |
+
|
349 |
+
|
350 |
+
<sales_email_order_shipment_items>
|
351 |
+
<reference name="items">
|
352 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
|
353 |
+
</reference>
|
354 |
+
</sales_email_order_shipment_items>
|
355 |
+
|
356 |
+
<sales_email_order_creditmemo_items>
|
357 |
+
<reference name="items">
|
358 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
|
359 |
+
</reference>
|
360 |
+
</sales_email_order_creditmemo_items>
|
361 |
+
|
362 |
+
<!--
|
363 |
+
RSS
|
364 |
+
-->
|
365 |
+
<rss_catalog_category>
|
366 |
+
<reference name="rss.catalog.category">
|
367 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
368 |
+
</reference>
|
369 |
+
</rss_catalog_category>
|
370 |
+
<rss_catalog_new>
|
371 |
+
<reference name="rss.catalog.new">
|
372 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
373 |
+
</reference>
|
374 |
+
</rss_catalog_new>
|
375 |
+
<rss_catalog_tag>
|
376 |
+
<reference name="rss.catalog.tag">
|
377 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
378 |
+
</reference>
|
379 |
+
</rss_catalog_tag>
|
380 |
+
</layout>
|