Version Notes
First Preview Release
Download this release
Release Info
Developer | Fedobe Solutions Pvt. Ltd |
Extension | Fedobe_Erostheme |
Version | 1.0.0.1 |
Comparing to | |
See all releases |
Version 1.0.0.1
- app/code/local/Fedobe/Customblocks/Block/Bottomblock.php +8 -0
- app/code/local/Fedobe/Customblocks/Block/Customblock.php +8 -0
- app/code/local/Fedobe/Customblocks/Block/Mainblock.php +8 -0
- app/code/local/Fedobe/Customblocks/Helper/Data.php +5 -0
- app/code/local/Fedobe/Customblocks/Model/Words.php +13 -0
- app/code/local/Fedobe/Customblocks/controllers/IndexController.php +11 -0
- app/code/local/Fedobe/Customblocks/etc/config-ol.xml +62 -0
- app/code/local/Fedobe/Customblocks/etc/config.xml +62 -0
- app/code/local/Fedobe/Customblocks/etc/system-ol.xml +235 -0
- app/code/local/Fedobe/Customblocks/etc/system.xml +398 -0
- app/design/frontend/fed/default/layout/authorizenet.xml +42 -0
- app/design/frontend/fed/default/layout/bundle.xml +380 -0
- app/design/frontend/fed/default/layout/captcha.xml +106 -0
- app/design/frontend/fed/default/layout/catalog - Copy.xml +448 -0
- app/design/frontend/fed/default/layout/catalog.xml +633 -0
- app/design/frontend/fed/default/layout/catalog_msrp.xml +108 -0
- app/design/frontend/fed/default/layout/catalog_ol.xml +122 -0
- app/design/frontend/fed/default/layout/cataloginventory.xml +64 -0
- app/design/frontend/fed/default/layout/catalogsearch.xml +148 -0
- app/design/frontend/fed/default/layout/centinel.xml +65 -0
- app/design/frontend/fed/default/layout/checkout - Copy.xml +383 -0
- app/design/frontend/fed/default/layout/checkout.xml +494 -0
- app/design/frontend/fed/default/layout/cms.xml +89 -0
- app/design/frontend/fed/default/layout/contacts.xml +48 -0
- app/design/frontend/fed/default/layout/core.xml +33 -0
- app/design/frontend/fed/default/layout/customer.xml +307 -0
- app/design/frontend/fed/default/layout/directory.xml +78 -0
- app/design/frontend/fed/default/layout/downloadable.xml +231 -0
- app/design/frontend/fed/default/layout/fedtabs.xml +44 -0
- app/design/frontend/fed/default/layout/googleanalytics.xml +41 -0
- app/design/frontend/fed/default/layout/layout.xml +10 -0
- app/design/frontend/fed/default/layout/moneybookers.xml +41 -0
- app/design/frontend/fed/default/layout/newsletter.xml +69 -0
- app/design/frontend/fed/default/layout/oauth.xml +137 -0
- app/design/frontend/fed/default/layout/page.xml +404 -0
- app/design/frontend/fed/default/layout/page_old.xml +113 -0
- app/design/frontend/fed/default/layout/pagecache.xml +35 -0
- app/design/frontend/fed/default/layout/payment.xml +41 -0
- app/design/frontend/fed/default/layout/paypal.xml +204 -0
- app/design/frontend/fed/default/layout/paypaluk.xml +154 -0
- app/design/frontend/fed/default/layout/persistent.xml +62 -0
- app/design/frontend/fed/default/layout/poll.xml +57 -0
- app/design/frontend/fed/default/layout/productalert.xml +47 -0
- app/design/frontend/fed/default/layout/reports.xml +45 -0
- app/design/frontend/fed/default/layout/review.xml +134 -0
- app/design/frontend/fed/default/layout/rss.xml +103 -0
- app/design/frontend/fed/default/layout/sales.xml +514 -0
- app/design/frontend/fed/default/layout/sales/billing_agreement.xml +55 -0
- app/design/frontend/fed/default/layout/sales/recurring_profile.xml +171 -0
- app/design/frontend/fed/default/layout/sendfriend.xml +41 -0
- app/design/frontend/fed/default/layout/shipping.xml +52 -0
- app/design/frontend/fed/default/layout/tag.xml +135 -0
- app/design/frontend/fed/default/layout/weee.xml +53 -0
- app/design/frontend/fed/default/layout/wishlist.xml +139 -0
- app/design/frontend/fed/default/layout/wishlist_old.xml +77 -0
- app/design/frontend/fed/default/layout/xmlconnect.xml +466 -0
- app/design/frontend/fed/default/template/callouts/left_col.phtml +39 -0
- app/design/frontend/fed/default/template/callouts/right_col.phtml +39 -0
- app/design/frontend/fed/default/template/catalog/category/view.phtml +74 -0
- app/design/frontend/fed/default/template/catalog/msrp/popup.phtml +59 -0
- app/design/frontend/fed/default/template/catalog/navigation/left.phtml +60 -0
- app/design/frontend/fed/default/template/catalog/navigation/top.phtml +50 -0
- app/design/frontend/fed/default/template/catalog/product/compare/list.phtml +165 -0
- app/design/frontend/fed/default/template/catalog/product/compare/sidebar.phtml +61 -0
- app/design/frontend/fed/default/template/catalog/product/gallery.phtml +66 -0
- app/design/frontend/fed/default/template/catalog/product/list.phtml +331 -0
- app/design/frontend/fed/default/template/catalog/product/list/related.phtml +94 -0
- app/design/frontend/fed/default/template/catalog/product/list/toolbar.phtml +208 -0
- app/design/frontend/fed/default/template/catalog/product/list/upsell.phtml +52 -0
- app/design/frontend/fed/default/template/catalog/product/new.phtml +59 -0
- app/design/frontend/fed/default/template/catalog/product/price.phtml +459 -0
- app/design/frontend/fed/default/template/catalog/product/price_msrp.phtml +69 -0
- app/design/frontend/fed/default/template/catalog/product/price_msrp_item.phtml +107 -0
- app/design/frontend/fed/default/template/catalog/product/price_msrp_noform.phtml +73 -0
- app/design/frontend/fed/default/template/catalog/product/price_msrp_rss.phtml +42 -0
- app/design/frontend/fed/default/template/catalog/product/view-backup.phtml +250 -0
- app/design/frontend/fed/default/template/catalog/product/view.phtml +461 -0
- app/design/frontend/fed/default/template/catalog/product/view/additional.phtml +29 -0
- app/design/frontend/fed/default/template/catalog/product/view/addto.phtml +41 -0
- app/design/frontend/fed/default/template/catalog/product/view/addtocart.phtml +54 -0
- app/design/frontend/fed/default/template/catalog/product/view/attributes.phtml +52 -0
- app/design/frontend/fed/default/template/catalog/product/view/description.phtml +39 -0
- app/design/frontend/fed/default/template/catalog/product/view/media.phtml +78 -0
- app/design/frontend/fed/default/template/catalog/product/view/media_ol.phtml +78 -0
- app/design/frontend/fed/default/template/catalog/product/view/options.phtml +193 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/js.phtml +89 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/type/date.phtml +92 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/type/default.phtml +30 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/type/file.phtml +103 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/type/select.phtml +40 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/type/text.phtml +41 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/wrapper.phtml +33 -0
- app/design/frontend/fed/default/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
- app/design/frontend/fed/default/template/catalog/product/view/price.phtml +34 -0
- app/design/frontend/fed/default/template/catalog/product/view/price_clone.phtml +28 -0
- app/design/frontend/fed/default/template/catalog/product/view/tabs.phtml +79 -0
- app/design/frontend/fed/default/template/catalog/product/view/tierprices.phtml +232 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/configurable.phtml +31 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/default.phtml +38 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/grouped.phtml +93 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/options/configurable.phtml +48 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/simple.phtml +31 -0
- app/design/frontend/fed/default/template/catalog/product/view/type/virtual.phtml +31 -0
- app/design/frontend/fed/default/template/catalogsearch/form.mini.phtml +89 -0
- app/design/frontend/fed/default/template/checkout/cart-ol.phtml +1 -0
- app/design/frontend/fed/default/template/checkout/cart.phtml +74 -0
- app/design/frontend/fed/default/template/checkout/cart/coupon.phtml +59 -0
- app/design/frontend/fed/default/template/checkout/cart/crosssell.phtml +59 -0
- app/design/frontend/fed/default/template/checkout/cart/item/configure/updatecart.phtml +39 -0
- app/design/frontend/fed/default/template/checkout/cart/item/default.phtml +278 -0
- app/design/frontend/fed/default/template/checkout/cart/noItems.phtml +36 -0
- app/design/frontend/fed/default/template/checkout/cart/render/default.phtml +70 -0
- app/design/frontend/fed/default/template/checkout/cart/render/simple.phtml +70 -0
- app/design/frontend/fed/default/template/checkout/cart/shipping.phtml +94 -0
- app/design/frontend/fed/default/template/checkout/cart/sidebar.phtml +172 -0
- app/design/frontend/fed/default/template/checkout/cart/sidebar/default.phtml +157 -0
- app/design/frontend/fed/default/template/checkout/cart/totals.phtml +48 -0
- app/design/frontend/fed/default/template/checkout/coupon.phtml +59 -0
- app/design/frontend/fed/default/template/checkout/multishipping/address/select.phtml +58 -0
- app/design/frontend/fed/default/template/checkout/multishipping/addresses.phtml +81 -0
- app/design/frontend/fed/default/template/checkout/multishipping/agreements.phtml +49 -0
- app/design/frontend/fed/default/template/checkout/multishipping/billing.phtml +116 -0
- app/design/frontend/fed/default/template/checkout/multishipping/billing/items.phtml +54 -0
- app/design/frontend/fed/default/template/checkout/multishipping/item/default.phtml +45 -0
- app/design/frontend/fed/default/template/checkout/multishipping/link.phtml +54 -0
- app/design/frontend/fed/default/template/checkout/multishipping/overview.phtml +242 -0
- app/design/frontend/fed/default/template/checkout/multishipping/overview/item.phtml +238 -0
- app/design/frontend/fed/default/template/checkout/multishipping/shipping.phtml +130 -0
- app/design/frontend/fed/default/template/checkout/multishipping/state.phtml +39 -0
- app/design/frontend/fed/default/template/checkout/multishipping/success.phtml +50 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/agreements.phtml +51 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/billing.phtml +216 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/failure.phtml +32 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/link.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/login.phtml +0 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/payment.phtml +73 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/payment/info.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/payment/methods.phtml +73 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/progress.phtml +59 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/billing.phtml +40 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/payment.phtml +41 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/shipping.phtml +44 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/shipping_method.phtml +57 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/review.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/review/button.phtml +27 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/review/info.phtml +84 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/review/item.phtml +244 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/review/totals.phtml +47 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping.phtml +157 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method.phtml +46 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method/additional.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method/available.phtml +106 -0
- app/design/frontend/fed/default/template/checkout/onepage.phtml +62 -0
- app/design/frontend/fed/default/template/checkout/onepage/agreements.phtml +51 -0
- app/design/frontend/fed/default/template/checkout/onepage/billing.phtml +216 -0
- app/design/frontend/fed/default/template/checkout/onepage/failure.phtml +32 -0
- app/design/frontend/fed/default/template/checkout/onepage/link.phtml +32 -0
- app/design/frontend/fed/default/template/checkout/onepage/login.phtml +123 -0
- app/design/frontend/fed/default/template/checkout/onepage/payment.phtml +73 -0
- app/design/frontend/fed/default/template/checkout/onepage/payment/info.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage/payment/methods.phtml +79 -0
- app/design/frontend/fed/default/template/checkout/onepage/progress.phtml +61 -0
- app/design/frontend/fed/default/template/checkout/onepage/progress/billing.phtml +40 -0
- app/design/frontend/fed/default/template/checkout/onepage/progress/payment.phtml +41 -0
- app/design/frontend/fed/default/template/checkout/onepage/progress/shipping.phtml +44 -0
- app/design/frontend/fed/default/template/checkout/onepage/progress/shipping_method.phtml +57 -0
- app/design/frontend/fed/default/template/checkout/onepage/review.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage/review/button.phtml +27 -0
- app/design/frontend/fed/default/template/checkout/onepage/review/info.phtml +84 -0
- app/design/frontend/fed/default/template/checkout/onepage/review/item.phtml +239 -0
- app/design/frontend/fed/default/template/checkout/onepage/review/totals.phtml +47 -0
- app/design/frontend/fed/default/template/checkout/onepage/shipping.phtml +160 -0
- app/design/frontend/fed/default/template/checkout/onepage/shipping_method.phtml +48 -0
- app/design/frontend/fed/default/template/checkout/onepage/shipping_method/additional.phtml +29 -0
- app/design/frontend/fed/default/template/checkout/onepage/shipping_method/available.phtml +107 -0
- app/design/frontend/fed/default/template/checkout/shipping.phtml +94 -0
- app/design/frontend/fed/default/template/checkout/success.phtml +64 -0
- app/design/frontend/fed/default/template/checkout/total/default.phtml +38 -0
- app/design/frontend/fed/default/template/checkout/total/nominal.phtml +56 -0
- app/design/frontend/fed/default/template/checkout/total/tax.phtml +68 -0
- app/design/frontend/fed/default/template/checkout/totals.phtml +7 -0
- app/design/frontend/fed/default/template/cms/content.phtml +27 -0
- app/design/frontend/fed/default/template/cms/content_heading.phtml +31 -0
- app/design/frontend/fed/default/template/cms/default/home.phtml +27 -0
- app/design/frontend/fed/default/template/cms/default/no-route.phtml +27 -0
- app/design/frontend/fed/default/template/cms/featuredblocks.phtml +16 -0
- app/design/frontend/fed/default/template/cms/mainblocks.phtml +14 -0
- app/design/frontend/fed/default/template/cms/meta.phtml +32 -0
- app/design/frontend/fed/default/template/cms/widget/link/link_block.phtml +27 -0
- app/design/frontend/fed/default/template/cms/widget/link/link_inline.phtml +27 -0
- app/design/frontend/fed/default/template/cms/widget/static_block/default.phtml +27 -0
- app/design/frontend/fed/default/template/core/formkey.phtml +27 -0
- app/design/frontend/fed/default/template/core/link.phtml +27 -0
- app/design/frontend/fed/default/template/core/messages.phtml +47 -0
- app/design/frontend/fed/default/template/customblocks/bottomblock.phtml +65 -0
- app/design/frontend/fed/default/template/customblocks/brandblocks.phtml +24 -0
- app/design/frontend/fed/default/template/customblocks/customblock.phtml +81 -0
- app/design/frontend/fed/default/template/customblocks/mainblock.phtml +20 -0
- app/design/frontend/fed/default/template/customer/account/dashboard.phtml +43 -0
- app/design/frontend/fed/default/template/customer/account/dashboard/address.phtml +51 -0
- app/design/frontend/fed/default/template/customer/account/dashboard/hello.phtml +30 -0
- app/design/frontend/fed/default/template/customer/account/dashboard/info.phtml +57 -0
- app/design/frontend/fed/default/template/customer/account/dashboard/newsletter.phtml +31 -0
- app/design/frontend/fed/default/template/customer/account/navigation.phtml +46 -0
- app/design/frontend/fed/default/template/customer/address.phtml +94 -0
- app/design/frontend/fed/default/template/customer/address/book.phtml +106 -0
- app/design/frontend/fed/default/template/customer/address/edit.phtml +185 -0
- app/design/frontend/fed/default/template/customer/balance.phtml +31 -0
- app/design/frontend/fed/default/template/customer/form/address.phtml +144 -0
- app/design/frontend/fed/default/template/customer/form/changepassword.phtml +67 -0
- app/design/frontend/fed/default/template/customer/form/confirmation.phtml +54 -0
- app/design/frontend/fed/default/template/customer/form/edit.phtml +132 -0
- app/design/frontend/fed/default/template/customer/form/forgotpassword.phtml +39 -0
app/code/local/Fedobe/Customblocks/Block/Bottomblock.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_Block_Bottomblock extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function indexAction() {
|
5 |
+
//echo Mage::getStoreConfig('erosblocks_options/messages/block_heading');
|
6 |
+
}
|
7 |
+
}
|
8 |
+
?>
|
app/code/local/Fedobe/Customblocks/Block/Customblock.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_Block_Customblock extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function indexAction() {
|
5 |
+
//echo Mage::getStoreConfig('erosblocks_options/messages/block_heading');
|
6 |
+
}
|
7 |
+
}
|
8 |
+
?>
|
app/code/local/Fedobe/Customblocks/Block/Mainblock.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_Block_Mainblock extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function indexAction() {
|
5 |
+
//echo Mage::getStoreConfig('erosblocks_options/messages/block_heading');
|
6 |
+
}
|
7 |
+
}
|
8 |
+
?>
|
app/code/local/Fedobe/Customblocks/Helper/Data.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
+
{
|
4 |
+
}
|
5 |
+
?>
|
app/code/local/Fedobe/Customblocks/Model/Words.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_Model_Words
|
3 |
+
{
|
4 |
+
public function toOptionArray()
|
5 |
+
{
|
6 |
+
return array(
|
7 |
+
array('value'=>1, 'label'=>Mage::helper('customblocks')->__('Yes')),
|
8 |
+
array('value'=>2, 'label'=>Mage::helper('customblocks')->__('No')),
|
9 |
+
);
|
10 |
+
}
|
11 |
+
|
12 |
+
}
|
13 |
+
?>
|
app/code/local/Fedobe/Customblocks/controllers/IndexController.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Fedobe_Customblocks_IndexController extends Mage_Core_Controller_Front_Action {
|
3 |
+
public function indexAction() {
|
4 |
+
echo Mage::getStoreConfig('customblocks_options/messages/block_message');
|
5 |
+
$image=Mage::getStoreConfig('customblocks_options/messages/block_image');
|
6 |
+
$url=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
7 |
+
$a='<img src="'.$url.''.$image.'">';
|
8 |
+
echo $a;
|
9 |
+
}
|
10 |
+
}
|
11 |
+
?>
|
app/code/local/Fedobe/Customblocks/etc/config-ol.xml
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<modules>
|
3 |
+
<Fedobe_Customblocks>
|
4 |
+
<version>0.1.0</version>
|
5 |
+
</Fedobe_Customblocks>
|
6 |
+
</modules>
|
7 |
+
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<customblocks>
|
11 |
+
<class>Fedobe_Customblocks_Helper</class>
|
12 |
+
</customblocks>
|
13 |
+
</helpers>
|
14 |
+
<blocks>
|
15 |
+
<customblocks>
|
16 |
+
<class>Fedobe_Customblocks_Block</class>
|
17 |
+
</customblocks>
|
18 |
+
</blocks>
|
19 |
+
<models>
|
20 |
+
<customblocks>
|
21 |
+
<class>Fedobe_Customblocks_Model</class>
|
22 |
+
</customblocks>
|
23 |
+
</models>
|
24 |
+
</global>
|
25 |
+
|
26 |
+
<frontend>
|
27 |
+
<routers>
|
28 |
+
<customblocks>
|
29 |
+
<use>standard</use>
|
30 |
+
<args>
|
31 |
+
<module>Fedobe_Customblocks</module>
|
32 |
+
<frontName>customblocks</frontName>
|
33 |
+
</args>
|
34 |
+
</customblocks>
|
35 |
+
</routers>
|
36 |
+
</frontend>
|
37 |
+
|
38 |
+
|
39 |
+
<adminhtml>
|
40 |
+
<acl>
|
41 |
+
<resources>
|
42 |
+
<admin>
|
43 |
+
<children>
|
44 |
+
<system>
|
45 |
+
<children>
|
46 |
+
<config>
|
47 |
+
<children>
|
48 |
+
<customblocks_options>
|
49 |
+
<title>Store Custom Blocks Module Section</title>
|
50 |
+
</customblocks_options>
|
51 |
+
</children>
|
52 |
+
</config>
|
53 |
+
</children>
|
54 |
+
</system>
|
55 |
+
</children>
|
56 |
+
</admin>
|
57 |
+
</resources>
|
58 |
+
</acl>
|
59 |
+
</adminhtml>
|
60 |
+
|
61 |
+
|
62 |
+
</config>
|
app/code/local/Fedobe/Customblocks/etc/config.xml
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<modules>
|
3 |
+
<Fedobe_Customblocks>
|
4 |
+
<version>0.1.0</version>
|
5 |
+
</Fedobe_Customblocks>
|
6 |
+
</modules>
|
7 |
+
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<customblocks>
|
11 |
+
<class>Fedobe_Customblocks_Helper</class>
|
12 |
+
</customblocks>
|
13 |
+
</helpers>
|
14 |
+
<blocks>
|
15 |
+
<customblocks>
|
16 |
+
<class>Fedobe_Customblocks_Block</class>
|
17 |
+
</customblocks>
|
18 |
+
</blocks>
|
19 |
+
<models>
|
20 |
+
<customblocks>
|
21 |
+
<class>Fedobe_Customblocks_Model</class>
|
22 |
+
</customblocks>
|
23 |
+
</models>
|
24 |
+
</global>
|
25 |
+
|
26 |
+
<frontend>
|
27 |
+
<routers>
|
28 |
+
<customblocks>
|
29 |
+
<use>standard</use>
|
30 |
+
<args>
|
31 |
+
<module>Fedobe_Customblocks</module>
|
32 |
+
<frontName>customblocks</frontName>
|
33 |
+
</args>
|
34 |
+
</customblocks>
|
35 |
+
</routers>
|
36 |
+
</frontend>
|
37 |
+
|
38 |
+
|
39 |
+
<adminhtml>
|
40 |
+
<acl>
|
41 |
+
<resources>
|
42 |
+
<admin>
|
43 |
+
<children>
|
44 |
+
<system>
|
45 |
+
<children>
|
46 |
+
<config>
|
47 |
+
<children>
|
48 |
+
<customblocks_options>
|
49 |
+
<title>Store Custom Blocks Module Section</title>
|
50 |
+
</customblocks_options>
|
51 |
+
</children>
|
52 |
+
</config>
|
53 |
+
</children>
|
54 |
+
</system>
|
55 |
+
</children>
|
56 |
+
</admin>
|
57 |
+
</resources>
|
58 |
+
</acl>
|
59 |
+
</adminhtml>
|
60 |
+
|
61 |
+
|
62 |
+
</config>
|
app/code/local/Fedobe/Customblocks/etc/system-ol.xml
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<tabs>
|
3 |
+
<customconfig translate="label" module="customblocks">
|
4 |
+
<label>Fedobe Eros</label>
|
5 |
+
<sort_order>99999</sort_order>
|
6 |
+
</customconfig>
|
7 |
+
</tabs>
|
8 |
+
<sections>
|
9 |
+
<customblocks_options translate="label" module="customblocks">
|
10 |
+
<label>Eros Custom Block Options</label>
|
11 |
+
<tab>customconfig</tab>
|
12 |
+
<frontend_type>text</frontend_type>
|
13 |
+
<sort_order>1000</sort_order>
|
14 |
+
<show_in_default>1</show_in_default>
|
15 |
+
<show_in_website>1</show_in_website>
|
16 |
+
<show_in_store>1</show_in_store>
|
17 |
+
|
18 |
+
|
19 |
+
<groups>
|
20 |
+
<blocksettings1 translate="label">
|
21 |
+
<label>Options For Header Block</label>
|
22 |
+
<frontend_type>text</frontend_type>
|
23 |
+
<sort_order>1</sort_order>
|
24 |
+
<show_in_default>1</show_in_default>
|
25 |
+
<show_in_website>1</show_in_website>
|
26 |
+
<show_in_store>1</show_in_store>
|
27 |
+
<fields>
|
28 |
+
<block_select1>
|
29 |
+
<label>Enable</label>
|
30 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
31 |
+
<frontend_type>select</frontend_type>
|
32 |
+
<source_model>customblocks/words</source_model>
|
33 |
+
<sort_order>1</sort_order>
|
34 |
+
<show_in_default>1</show_in_default>
|
35 |
+
<show_in_website>1</show_in_website>
|
36 |
+
<show_in_store>1</show_in_store>
|
37 |
+
</block_select1>
|
38 |
+
<block_link1>
|
39 |
+
<label>First Block Link</label>
|
40 |
+
<comment>Link for your First block (Ex: http://fedobe.com)</comment>
|
41 |
+
<frontend_type>text</frontend_type>
|
42 |
+
<sort_order>1</sort_order>
|
43 |
+
<show_in_default>1</show_in_default>
|
44 |
+
<show_in_website>1</show_in_website>
|
45 |
+
<show_in_store>1</show_in_store>
|
46 |
+
</block_link1>
|
47 |
+
<block_image1>
|
48 |
+
<label>First Block Image</label>
|
49 |
+
<frontend_type>image</frontend_type>
|
50 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
51 |
+
<upload_dir>media</upload_dir>
|
52 |
+
<sort_order>2</sort_order>
|
53 |
+
<show_in_default>1</show_in_default>
|
54 |
+
<show_in_website>1</show_in_website>
|
55 |
+
<show_in_store>1</show_in_store>
|
56 |
+
</block_image1>
|
57 |
+
|
58 |
+
<block_link2>
|
59 |
+
<label>Second Block Link</label>
|
60 |
+
<comment>Link for your second block (Ex: http://fedobe.com)</comment>
|
61 |
+
<frontend_type>text</frontend_type>
|
62 |
+
<sort_order>3</sort_order>
|
63 |
+
<show_in_default>1</show_in_default>
|
64 |
+
<show_in_website>1</show_in_website>
|
65 |
+
<show_in_store>1</show_in_store>
|
66 |
+
</block_link2>
|
67 |
+
<block_image2>
|
68 |
+
<label>Second Block Image</label>
|
69 |
+
<frontend_type>image</frontend_type>
|
70 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
71 |
+
<upload_dir>media</upload_dir>
|
72 |
+
<sort_order>4</sort_order>
|
73 |
+
<show_in_default>1</show_in_default>
|
74 |
+
<show_in_website>1</show_in_website>
|
75 |
+
<show_in_store>1</show_in_store>
|
76 |
+
</block_image2>
|
77 |
+
|
78 |
+
<block_link3>
|
79 |
+
<label>Third Block Link</label>
|
80 |
+
<comment>Link for your third block (Ex: http://fedobe.com)</comment>
|
81 |
+
<frontend_type>text</frontend_type>
|
82 |
+
<sort_order>5</sort_order>
|
83 |
+
<show_in_default>1</show_in_default>
|
84 |
+
<show_in_website>1</show_in_website>
|
85 |
+
<show_in_store>1</show_in_store>
|
86 |
+
</block_link3>
|
87 |
+
<block_image3>
|
88 |
+
<label>Third Block Image</label>
|
89 |
+
<frontend_type>image</frontend_type>
|
90 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
91 |
+
<upload_dir>media</upload_dir>
|
92 |
+
<sort_order>6</sort_order>
|
93 |
+
<show_in_default>1</show_in_default>
|
94 |
+
<show_in_website>1</show_in_website>
|
95 |
+
<show_in_store>1</show_in_store>
|
96 |
+
</block_image3>
|
97 |
+
|
98 |
+
<block_link4>
|
99 |
+
<label>Fourth Block Link</label>
|
100 |
+
<comment>Link for your fourth block (Ex: http://fedobe.com)</comment>
|
101 |
+
<frontend_type>text</frontend_type>
|
102 |
+
<sort_order>7</sort_order>
|
103 |
+
<show_in_default>1</show_in_default>
|
104 |
+
<show_in_website>1</show_in_website>
|
105 |
+
<show_in_store>1</show_in_store>
|
106 |
+
</block_link4>
|
107 |
+
<block_image4>
|
108 |
+
<label>Fourth Block Image</label>
|
109 |
+
<frontend_type>image</frontend_type>
|
110 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
111 |
+
<upload_dir>media</upload_dir>
|
112 |
+
<sort_order>8</sort_order>
|
113 |
+
<show_in_default>1</show_in_default>
|
114 |
+
<show_in_website>1</show_in_website>
|
115 |
+
<show_in_store>1</show_in_store>
|
116 |
+
</block_image4>
|
117 |
+
|
118 |
+
</fields>
|
119 |
+
</blocksettings1>
|
120 |
+
</groups>
|
121 |
+
|
122 |
+
|
123 |
+
|
124 |
+
<groups>
|
125 |
+
<blocksettings2 translate="label">
|
126 |
+
<label>Options For Bottom Block</label>
|
127 |
+
<frontend_type>text</frontend_type>
|
128 |
+
<sort_order>2</sort_order>
|
129 |
+
<show_in_default>1</show_in_default>
|
130 |
+
<show_in_website>1</show_in_website>
|
131 |
+
<show_in_store>1</show_in_store>
|
132 |
+
<fields>
|
133 |
+
<block_select2>
|
134 |
+
<label>Enable</label>
|
135 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
136 |
+
<frontend_type>select</frontend_type>
|
137 |
+
<source_model>customblocks/words</source_model>
|
138 |
+
<sort_order>1</sort_order>
|
139 |
+
<show_in_default>1</show_in_default>
|
140 |
+
<show_in_website>1</show_in_website>
|
141 |
+
<show_in_store>1</show_in_store>
|
142 |
+
</block_select2>
|
143 |
+
<block_link5>
|
144 |
+
<label>Link for Left Block</label>
|
145 |
+
<comment>Link for left block (Ex: http://fedobe.com)</comment>
|
146 |
+
<frontend_type>text</frontend_type>
|
147 |
+
<sort_order>1</sort_order>
|
148 |
+
<show_in_default>1</show_in_default>
|
149 |
+
<show_in_website>1</show_in_website>
|
150 |
+
<show_in_store>1</show_in_store>
|
151 |
+
</block_link5>
|
152 |
+
<block_image5>
|
153 |
+
<label>Image for Left Block</label>
|
154 |
+
<frontend_type>image</frontend_type>
|
155 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
156 |
+
<upload_dir>media</upload_dir>
|
157 |
+
<sort_order>2</sort_order>
|
158 |
+
<show_in_default>1</show_in_default>
|
159 |
+
<show_in_website>1</show_in_website>
|
160 |
+
<show_in_store>1</show_in_store>
|
161 |
+
</block_image5>
|
162 |
+
|
163 |
+
<block_link6>
|
164 |
+
<label>Link for middle block</label>
|
165 |
+
<comment>Link for middle block (Ex: http://fedobe.com)</comment>
|
166 |
+
<frontend_type>text</frontend_type>
|
167 |
+
<sort_order>3</sort_order>
|
168 |
+
<show_in_default>1</show_in_default>
|
169 |
+
<show_in_website>1</show_in_website>
|
170 |
+
<show_in_store>1</show_in_store>
|
171 |
+
</block_link6>
|
172 |
+
<block_image6>
|
173 |
+
<label>Image for middle block</label>
|
174 |
+
<frontend_type>image</frontend_type>
|
175 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
176 |
+
<upload_dir>media</upload_dir>
|
177 |
+
<sort_order>4</sort_order>
|
178 |
+
<show_in_default>1</show_in_default>
|
179 |
+
<show_in_website>1</show_in_website>
|
180 |
+
<show_in_store>1</show_in_store>
|
181 |
+
</block_image6>
|
182 |
+
|
183 |
+
<block_link7>
|
184 |
+
<label>Link for top right block</label>
|
185 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
186 |
+
<frontend_type>text</frontend_type>
|
187 |
+
<sort_order>5</sort_order>
|
188 |
+
<show_in_default>1</show_in_default>
|
189 |
+
<show_in_website>1</show_in_website>
|
190 |
+
<show_in_store>1</show_in_store>
|
191 |
+
</block_link7>
|
192 |
+
<block_image7>
|
193 |
+
<label>Image for top right block 1</label>
|
194 |
+
<frontend_type>image</frontend_type>
|
195 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
196 |
+
<upload_dir>media</upload_dir>
|
197 |
+
<sort_order>6</sort_order>
|
198 |
+
<show_in_default>1</show_in_default>
|
199 |
+
<show_in_website>1</show_in_website>
|
200 |
+
<show_in_store>1</show_in_store>
|
201 |
+
</block_image7>
|
202 |
+
|
203 |
+
<block_link8>
|
204 |
+
<label>Link for bottom right block</label>
|
205 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
206 |
+
<frontend_type>text</frontend_type>
|
207 |
+
<sort_order>7</sort_order>
|
208 |
+
<show_in_default>1</show_in_default>
|
209 |
+
<show_in_website>1</show_in_website>
|
210 |
+
<show_in_store>1</show_in_store>
|
211 |
+
</block_link8>
|
212 |
+
<block_image8>
|
213 |
+
<label>Image for bottom right block</label>
|
214 |
+
<frontend_type>image</frontend_type>
|
215 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
216 |
+
<upload_dir>media</upload_dir>
|
217 |
+
<sort_order>8</sort_order>
|
218 |
+
<show_in_default>1</show_in_default>
|
219 |
+
<show_in_website>1</show_in_website>
|
220 |
+
<show_in_store>1</show_in_store>
|
221 |
+
</block_image8>
|
222 |
+
|
223 |
+
</fields>
|
224 |
+
</blocksettings2>
|
225 |
+
</groups>
|
226 |
+
|
227 |
+
|
228 |
+
</customblocks_options>
|
229 |
+
|
230 |
+
</sections>
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
|
235 |
+
</config>
|
app/code/local/Fedobe/Customblocks/etc/system.xml
ADDED
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<config>
|
2 |
+
<tabs>
|
3 |
+
<customconfig translate="label" module="customblocks">
|
4 |
+
<label>Fedobe Eros</label>
|
5 |
+
<sort_order>99999</sort_order>
|
6 |
+
</customconfig>
|
7 |
+
</tabs>
|
8 |
+
<sections>
|
9 |
+
<customblocks_options translate="label" module="customblocks">
|
10 |
+
<label>Eros Custom Block Options</label>
|
11 |
+
<tab>customconfig</tab>
|
12 |
+
<frontend_type>text</frontend_type>
|
13 |
+
<sort_order>1000</sort_order>
|
14 |
+
<show_in_default>1</show_in_default>
|
15 |
+
<show_in_website>1</show_in_website>
|
16 |
+
<show_in_store>1</show_in_store>
|
17 |
+
|
18 |
+
|
19 |
+
<groups>
|
20 |
+
<blocksettings0 translate="label">
|
21 |
+
<label>Options For Frontpage Fullwidth Block</label>
|
22 |
+
<frontend_type>text</frontend_type>
|
23 |
+
<sort_order>1</sort_order>
|
24 |
+
<show_in_default>1</show_in_default>
|
25 |
+
<show_in_website>1</show_in_website>
|
26 |
+
<show_in_store>1</show_in_store>
|
27 |
+
<fields>
|
28 |
+
<block_select0>
|
29 |
+
<label>Enable</label>
|
30 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
31 |
+
<frontend_type>select</frontend_type>
|
32 |
+
<source_model>customblocks/words</source_model>
|
33 |
+
<sort_order>1</sort_order>
|
34 |
+
<show_in_default>1</show_in_default>
|
35 |
+
<show_in_website>1</show_in_website>
|
36 |
+
<show_in_store>1</show_in_store>
|
37 |
+
</block_select0>
|
38 |
+
<block_link0>
|
39 |
+
<label>Link to your Block</label>
|
40 |
+
<comment>Link for your block (Ex: http://fedobe.com)</comment>
|
41 |
+
<frontend_type>text</frontend_type>
|
42 |
+
<sort_order>1</sort_order>
|
43 |
+
<show_in_default>1</show_in_default>
|
44 |
+
<show_in_website>1</show_in_website>
|
45 |
+
<show_in_store>1</show_in_store>
|
46 |
+
</block_link0>
|
47 |
+
<block_image0>
|
48 |
+
<label>Frontpage Fullwidth Block Image</label>
|
49 |
+
<comment>For better view. width:1920px and height:500px</comment>
|
50 |
+
<frontend_type>image</frontend_type>
|
51 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
52 |
+
<upload_dir>media</upload_dir>
|
53 |
+
<sort_order>2</sort_order>
|
54 |
+
<show_in_default>1</show_in_default>
|
55 |
+
<show_in_website>1</show_in_website>
|
56 |
+
<show_in_store>1</show_in_store>
|
57 |
+
</block_image0>
|
58 |
+
|
59 |
+
</fields>
|
60 |
+
</blocksettings0>
|
61 |
+
</groups>
|
62 |
+
|
63 |
+
|
64 |
+
<groups>
|
65 |
+
<blocksettings1 translate="label">
|
66 |
+
<label>Options For Header Block</label>
|
67 |
+
<frontend_type>text</frontend_type>
|
68 |
+
<sort_order>1</sort_order>
|
69 |
+
<show_in_default>1</show_in_default>
|
70 |
+
<show_in_website>1</show_in_website>
|
71 |
+
<show_in_store>1</show_in_store>
|
72 |
+
<fields>
|
73 |
+
<block_select1>
|
74 |
+
<label>Enable</label>
|
75 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
76 |
+
<frontend_type>select</frontend_type>
|
77 |
+
<source_model>customblocks/words</source_model>
|
78 |
+
<sort_order>1</sort_order>
|
79 |
+
<show_in_default>1</show_in_default>
|
80 |
+
<show_in_website>1</show_in_website>
|
81 |
+
<show_in_store>1</show_in_store>
|
82 |
+
</block_select1>
|
83 |
+
<block_link1>
|
84 |
+
<label>First Block Link</label>
|
85 |
+
<comment>Link for your First block (Ex: http://fedobe.com)</comment>
|
86 |
+
<frontend_type>text</frontend_type>
|
87 |
+
<sort_order>1</sort_order>
|
88 |
+
<show_in_default>1</show_in_default>
|
89 |
+
<show_in_website>1</show_in_website>
|
90 |
+
<show_in_store>1</show_in_store>
|
91 |
+
</block_link1>
|
92 |
+
<block_image1>
|
93 |
+
<label>First Block Image</label>
|
94 |
+
<frontend_type>image</frontend_type>
|
95 |
+
<comment>Fix:(260x360)px</comment>
|
96 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
97 |
+
<upload_dir>media</upload_dir>
|
98 |
+
<sort_order>2</sort_order>
|
99 |
+
<show_in_default>1</show_in_default>
|
100 |
+
<show_in_website>1</show_in_website>
|
101 |
+
<show_in_store>1</show_in_store>
|
102 |
+
</block_image1>
|
103 |
+
|
104 |
+
<block_link2>
|
105 |
+
<label>Second Block Link</label>
|
106 |
+
<comment>Link for your second block (Ex: http://fedobe.com)</comment>
|
107 |
+
<frontend_type>text</frontend_type>
|
108 |
+
<sort_order>3</sort_order>
|
109 |
+
<show_in_default>1</show_in_default>
|
110 |
+
<show_in_website>1</show_in_website>
|
111 |
+
<show_in_store>1</show_in_store>
|
112 |
+
</block_link2>
|
113 |
+
<block_image2>
|
114 |
+
<label>Second Block Image</label>
|
115 |
+
<frontend_type>image</frontend_type>
|
116 |
+
<comment>Fix:(260x360)px</comment>
|
117 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
118 |
+
<upload_dir>media</upload_dir>
|
119 |
+
<sort_order>4</sort_order>
|
120 |
+
<show_in_default>1</show_in_default>
|
121 |
+
<show_in_website>1</show_in_website>
|
122 |
+
<show_in_store>1</show_in_store>
|
123 |
+
</block_image2>
|
124 |
+
|
125 |
+
<block_link3>
|
126 |
+
<label>Third Block Link</label>
|
127 |
+
<comment>Link for your third block (Ex: http://fedobe.com)</comment>
|
128 |
+
<frontend_type>text</frontend_type>
|
129 |
+
<sort_order>5</sort_order>
|
130 |
+
<show_in_default>1</show_in_default>
|
131 |
+
<show_in_website>1</show_in_website>
|
132 |
+
<show_in_store>1</show_in_store>
|
133 |
+
</block_link3>
|
134 |
+
<block_image3>
|
135 |
+
<label>Third Block Image</label>
|
136 |
+
<frontend_type>image</frontend_type>
|
137 |
+
<comment>Fix:(260x360)px</comment>
|
138 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
139 |
+
<upload_dir>media</upload_dir>
|
140 |
+
<sort_order>6</sort_order>
|
141 |
+
<show_in_default>1</show_in_default>
|
142 |
+
<show_in_website>1</show_in_website>
|
143 |
+
<show_in_store>1</show_in_store>
|
144 |
+
</block_image3>
|
145 |
+
|
146 |
+
<block_link4>
|
147 |
+
<label>Fourth Block Link</label>
|
148 |
+
<comment>Link for your fourth block (Ex: http://fedobe.com)</comment>
|
149 |
+
<frontend_type>text</frontend_type>
|
150 |
+
<sort_order>7</sort_order>
|
151 |
+
<show_in_default>1</show_in_default>
|
152 |
+
<show_in_website>1</show_in_website>
|
153 |
+
<show_in_store>1</show_in_store>
|
154 |
+
</block_link4>
|
155 |
+
<block_image4>
|
156 |
+
<label>Fourth Block Image</label>
|
157 |
+
<frontend_type>image</frontend_type>
|
158 |
+
<comment>Fix:(260x360)px</comment>
|
159 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
160 |
+
<upload_dir>media</upload_dir>
|
161 |
+
<sort_order>8</sort_order>
|
162 |
+
<show_in_default>1</show_in_default>
|
163 |
+
<show_in_website>1</show_in_website>
|
164 |
+
<show_in_store>1</show_in_store>
|
165 |
+
</block_image4>
|
166 |
+
|
167 |
+
</fields>
|
168 |
+
</blocksettings1>
|
169 |
+
</groups>
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
<groups>
|
174 |
+
<blocksettings2 translate="label">
|
175 |
+
<label>Options For Bottom Block</label>
|
176 |
+
<frontend_type>text</frontend_type>
|
177 |
+
<sort_order>2</sort_order>
|
178 |
+
<show_in_default>1</show_in_default>
|
179 |
+
<show_in_website>1</show_in_website>
|
180 |
+
<show_in_store>1</show_in_store>
|
181 |
+
<fields>
|
182 |
+
<block_select2>
|
183 |
+
<label>Enable</label>
|
184 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
185 |
+
<frontend_type>select</frontend_type>
|
186 |
+
<source_model>customblocks/words</source_model>
|
187 |
+
<sort_order>1</sort_order>
|
188 |
+
<show_in_default>1</show_in_default>
|
189 |
+
<show_in_website>1</show_in_website>
|
190 |
+
<show_in_store>1</show_in_store>
|
191 |
+
</block_select2>
|
192 |
+
<block_link5>
|
193 |
+
<label>Link for Left Block</label>
|
194 |
+
<comment>Link for left block (Ex: http://fedobe.com)</comment>
|
195 |
+
<frontend_type>text</frontend_type>
|
196 |
+
<sort_order>1</sort_order>
|
197 |
+
<show_in_default>1</show_in_default>
|
198 |
+
<show_in_website>1</show_in_website>
|
199 |
+
<show_in_store>1</show_in_store>
|
200 |
+
</block_link5>
|
201 |
+
<block_image5>
|
202 |
+
<label>Image for Left Block</label>
|
203 |
+
<frontend_type>image</frontend_type>
|
204 |
+
<comment>Fix:(550x350)px</comment>
|
205 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
206 |
+
<upload_dir>media</upload_dir>
|
207 |
+
<sort_order>2</sort_order>
|
208 |
+
<show_in_default>1</show_in_default>
|
209 |
+
<show_in_website>1</show_in_website>
|
210 |
+
<show_in_store>1</show_in_store>
|
211 |
+
</block_image5>
|
212 |
+
|
213 |
+
<block_link6>
|
214 |
+
<label>Link for middle block</label>
|
215 |
+
<comment>Link for middle block (Ex: http://fedobe.com)</comment>
|
216 |
+
<frontend_type>text</frontend_type>
|
217 |
+
<sort_order>3</sort_order>
|
218 |
+
<show_in_default>1</show_in_default>
|
219 |
+
<show_in_website>1</show_in_website>
|
220 |
+
<show_in_store>1</show_in_store>
|
221 |
+
</block_link6>
|
222 |
+
<block_image6>
|
223 |
+
<label>Image for middle block</label>
|
224 |
+
<frontend_type>image</frontend_type>
|
225 |
+
<comment>Fix:(276x350)px</comment>
|
226 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
227 |
+
<upload_dir>media</upload_dir>
|
228 |
+
<sort_order>4</sort_order>
|
229 |
+
<show_in_default>1</show_in_default>
|
230 |
+
<show_in_website>1</show_in_website>
|
231 |
+
<show_in_store>1</show_in_store>
|
232 |
+
</block_image6>
|
233 |
+
|
234 |
+
<block_link7>
|
235 |
+
<label>Link for top right block</label>
|
236 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
237 |
+
<frontend_type>text</frontend_type>
|
238 |
+
<sort_order>5</sort_order>
|
239 |
+
<show_in_default>1</show_in_default>
|
240 |
+
<show_in_website>1</show_in_website>
|
241 |
+
<show_in_store>1</show_in_store>
|
242 |
+
</block_link7>
|
243 |
+
<block_image7>
|
244 |
+
<label>Image for top right block 1</label>
|
245 |
+
<frontend_type>image</frontend_type>
|
246 |
+
<comment>Fix:(280x170)px</comment>
|
247 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
248 |
+
<upload_dir>media</upload_dir>
|
249 |
+
<sort_order>6</sort_order>
|
250 |
+
<show_in_default>1</show_in_default>
|
251 |
+
<show_in_website>1</show_in_website>
|
252 |
+
<show_in_store>1</show_in_store>
|
253 |
+
</block_image7>
|
254 |
+
|
255 |
+
<block_link8>
|
256 |
+
<label>Link for bottom right block</label>
|
257 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
258 |
+
<frontend_type>text</frontend_type>
|
259 |
+
<sort_order>7</sort_order>
|
260 |
+
<show_in_default>1</show_in_default>
|
261 |
+
<show_in_website>1</show_in_website>
|
262 |
+
<show_in_store>1</show_in_store>
|
263 |
+
</block_link8>
|
264 |
+
<block_image8>
|
265 |
+
<label>Image for bottom right block</label>
|
266 |
+
<frontend_type>image</frontend_type>
|
267 |
+
<comment>Fix:(280x170)px</comment>
|
268 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
269 |
+
<upload_dir>media</upload_dir>
|
270 |
+
<sort_order>8</sort_order>
|
271 |
+
<show_in_default>1</show_in_default>
|
272 |
+
<show_in_website>1</show_in_website>
|
273 |
+
<show_in_store>1</show_in_store>
|
274 |
+
</block_image8>
|
275 |
+
|
276 |
+
<block_linkc1>
|
277 |
+
<label>Link for Consecutive block 1</label>
|
278 |
+
<comment>Link for Consecutive block 1 (Ex: http://fedobe.com)</comment>
|
279 |
+
<frontend_type>text</frontend_type>
|
280 |
+
<sort_order>9</sort_order>
|
281 |
+
<show_in_default>1</show_in_default>
|
282 |
+
<show_in_website>1</show_in_website>
|
283 |
+
<show_in_store>1</show_in_store>
|
284 |
+
</block_linkc1>
|
285 |
+
<block_imagec1>
|
286 |
+
<label>Image for Consecutive block 1</label>
|
287 |
+
<frontend_type>image</frontend_type>
|
288 |
+
<comment>Fix:(400x140)px</comment>
|
289 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
290 |
+
<upload_dir>media</upload_dir>
|
291 |
+
<sort_order>10</sort_order>
|
292 |
+
<show_in_default>1</show_in_default>
|
293 |
+
<show_in_website>1</show_in_website>
|
294 |
+
<show_in_store>1</show_in_store>
|
295 |
+
</block_imagec1>
|
296 |
+
|
297 |
+
<block_linkc2>
|
298 |
+
<label>Link for Consecutive block 2</label>
|
299 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
300 |
+
<frontend_type>text</frontend_type>
|
301 |
+
<sort_order>11</sort_order>
|
302 |
+
<show_in_default>1</show_in_default>
|
303 |
+
<show_in_website>1</show_in_website>
|
304 |
+
<show_in_store>1</show_in_store>
|
305 |
+
</block_linkc2>
|
306 |
+
<block_imagec2>
|
307 |
+
<label>Image for Consecutive block 2</label>
|
308 |
+
<frontend_type>image</frontend_type>
|
309 |
+
<comment>Fix:(400x140)px</comment>
|
310 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
311 |
+
<upload_dir>media</upload_dir>
|
312 |
+
<sort_order>12</sort_order>
|
313 |
+
<show_in_default>1</show_in_default>
|
314 |
+
<show_in_website>1</show_in_website>
|
315 |
+
<show_in_store>1</show_in_store>
|
316 |
+
</block_imagec2>
|
317 |
+
|
318 |
+
<block_linkc3>
|
319 |
+
<label>Link for Consecutive block 3</label>
|
320 |
+
<comment>Link for right block 2 (Ex: http://fedobe.com)</comment>
|
321 |
+
<frontend_type>text</frontend_type>
|
322 |
+
<sort_order>13</sort_order>
|
323 |
+
<show_in_default>1</show_in_default>
|
324 |
+
<show_in_website>1</show_in_website>
|
325 |
+
<show_in_store>1</show_in_store>
|
326 |
+
</block_linkc3>
|
327 |
+
<block_imagec3>
|
328 |
+
<label>Image for Consecutive block 3</label>
|
329 |
+
<frontend_type>image</frontend_type>
|
330 |
+
<comment>Fix:(400x140)px</comment>
|
331 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
332 |
+
<upload_dir>media</upload_dir>
|
333 |
+
<sort_order>14</sort_order>
|
334 |
+
<show_in_default>1</show_in_default>
|
335 |
+
<show_in_website>1</show_in_website>
|
336 |
+
<show_in_store>1</show_in_store>
|
337 |
+
</block_imagec3>
|
338 |
+
|
339 |
+
|
340 |
+
</fields>
|
341 |
+
</blocksettings2>
|
342 |
+
</groups>
|
343 |
+
|
344 |
+
|
345 |
+
<groups>
|
346 |
+
<blocksettings3 translate="label">
|
347 |
+
<label>Options For Brand Logo Banner</label>
|
348 |
+
<frontend_type>text</frontend_type>
|
349 |
+
<sort_order>2</sort_order>
|
350 |
+
<show_in_default>1</show_in_default>
|
351 |
+
<show_in_website>1</show_in_website>
|
352 |
+
<show_in_store>1</show_in_store>
|
353 |
+
<fields>
|
354 |
+
<block_select3>
|
355 |
+
<label>Enable</label>
|
356 |
+
<comment>Select "Yes" to Enable and "No" to Disable Block</comment>
|
357 |
+
<frontend_type>select</frontend_type>
|
358 |
+
<source_model>customblocks/words</source_model>
|
359 |
+
<sort_order>1</sort_order>
|
360 |
+
<show_in_default>1</show_in_default>
|
361 |
+
<show_in_website>1</show_in_website>
|
362 |
+
<show_in_store>1</show_in_store>
|
363 |
+
</block_select3>
|
364 |
+
<block_link9>
|
365 |
+
<label>Link for the Block</label>
|
366 |
+
<comment>Link for left block (Ex: http://fedobe.com)</comment>
|
367 |
+
<frontend_type>text</frontend_type>
|
368 |
+
<sort_order>1</sort_order>
|
369 |
+
<show_in_default>1</show_in_default>
|
370 |
+
<show_in_website>1</show_in_website>
|
371 |
+
<show_in_store>1</show_in_store>
|
372 |
+
</block_link9>
|
373 |
+
<block_image9>
|
374 |
+
<label>Image for the Block</label>
|
375 |
+
<frontend_type>image</frontend_type>
|
376 |
+
<comment>Fix:(1920x350)px</comment>
|
377 |
+
<backend_model>adminhtml/system_config_backend_file</backend_model>
|
378 |
+
<upload_dir>media</upload_dir>
|
379 |
+
<sort_order>2</sort_order>
|
380 |
+
<show_in_default>1</show_in_default>
|
381 |
+
<show_in_website>1</show_in_website>
|
382 |
+
<show_in_store>1</show_in_store>
|
383 |
+
</block_image9>
|
384 |
+
|
385 |
+
|
386 |
+
</fields>
|
387 |
+
</blocksettings3>
|
388 |
+
</groups>
|
389 |
+
|
390 |
+
|
391 |
+
</customblocks_options>
|
392 |
+
|
393 |
+
</sections>
|
394 |
+
|
395 |
+
|
396 |
+
|
397 |
+
|
398 |
+
</config>
|
app/design/frontend/fed/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) 2013 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/fed/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) 2013 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>
|
app/design/frontend/fed/default/layout/captcha.xml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<customer_account_login>
|
31 |
+
<reference name="customer_form_login">
|
32 |
+
<block type="core/text_list" name="form.additional.info">
|
33 |
+
<block type="captcha/captcha" name="captcha">
|
34 |
+
<reference name="head">
|
35 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
36 |
+
</reference>
|
37 |
+
<action method="setFormId"><formId>user_login</formId></action>
|
38 |
+
<action method="setImgWidth"><width>230</width></action>
|
39 |
+
<action method="setImgHeight"><width>50</width></action>
|
40 |
+
</block>
|
41 |
+
</block>
|
42 |
+
</reference>
|
43 |
+
</customer_account_login>
|
44 |
+
<customer_account_forgotpassword>
|
45 |
+
<reference name="forgotPassword">
|
46 |
+
<block type="core/text_list" name="form.additional.info">
|
47 |
+
<block type="captcha/captcha" name="captcha">
|
48 |
+
<reference name="head">
|
49 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
50 |
+
</reference>
|
51 |
+
<action method="setFormId"><formId>user_forgotpassword</formId></action>
|
52 |
+
<action method="setImgWidth"><width>230</width></action>
|
53 |
+
<action method="setImgHeight"><width>50</width></action>
|
54 |
+
</block>
|
55 |
+
</block>
|
56 |
+
</reference>
|
57 |
+
</customer_account_forgotpassword>
|
58 |
+
<customer_account_create>
|
59 |
+
<reference name="customer_form_register">
|
60 |
+
<block type="core/text_list" name="form.additional.info">
|
61 |
+
<block type="captcha/captcha" name="captcha">
|
62 |
+
<reference name="head">
|
63 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
64 |
+
</reference>
|
65 |
+
<action method="setFormId"><formId>user_create</formId></action>
|
66 |
+
<action method="setImgWidth"><width>230</width></action>
|
67 |
+
<action method="setImgHeight"><width>50</width></action>
|
68 |
+
</block>
|
69 |
+
</block>
|
70 |
+
</reference>
|
71 |
+
</customer_account_create>
|
72 |
+
<checkout_onepage_index>
|
73 |
+
<reference name="checkout.onepage.login">
|
74 |
+
<block type="core/text_list" name="form.additional.info">
|
75 |
+
<block type="captcha/captcha" name="captcha">
|
76 |
+
<reference name="head">
|
77 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
78 |
+
</reference>
|
79 |
+
<action method="setFormId"><formId>user_login</formId></action>
|
80 |
+
<action method="setImgWidth"><width>230</width></action>
|
81 |
+
<action method="setImgHeight"><width>50</width></action>
|
82 |
+
</block>
|
83 |
+
</block>
|
84 |
+
</reference>
|
85 |
+
<reference name="checkout.onepage.billing">
|
86 |
+
<block type="core/text_list" name="form.additional.info">
|
87 |
+
<block type="captcha/captcha" name="captcha.guest.checkout">
|
88 |
+
<reference name="head">
|
89 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
90 |
+
</reference>
|
91 |
+
<action method="setFormId"><formId>guest_checkout</formId></action>
|
92 |
+
<action method="setImgWidth"><width>230</width></action>
|
93 |
+
<action method="setImgHeight"><width>50</width></action>
|
94 |
+
</block>
|
95 |
+
<block type="captcha/captcha" name="captcha.register.during.checkout">
|
96 |
+
<reference name="head">
|
97 |
+
<action method="addJs"><file>mage/captcha.js</file></action>
|
98 |
+
</reference>
|
99 |
+
<action method="setFormId"><formId>register_during_checkout</formId></action>
|
100 |
+
<action method="setImgWidth"><width>230</width></action>
|
101 |
+
<action method="setImgHeight"><width>50</width></action>
|
102 |
+
</block>
|
103 |
+
</block>
|
104 |
+
</reference>
|
105 |
+
</checkout_onepage_index>
|
106 |
+
</layout>
|
app/design/frontend/fed/default/layout/catalog - Copy.xml
ADDED
@@ -0,0 +1,448 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_modern
|
24 |
+
* @copyright Copyright (c) 2013 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 |
+
Supported layout update handles (action):
|
29 |
+
- catalog_product_gallery
|
30 |
+
- catalog_product_compare_index
|
31 |
+
|
32 |
+
Supported layout update handles (special):
|
33 |
+
- default
|
34 |
+
- catalog_category_default
|
35 |
+
- catalog_category_layered
|
36 |
+
- catalog_product_view
|
37 |
+
|
38 |
+
-->
|
39 |
+
<layout version="0.1.0">
|
40 |
+
|
41 |
+
<!--
|
42 |
+
Default layout, loads most of the pages
|
43 |
+
-->
|
44 |
+
|
45 |
+
<default>
|
46 |
+
|
47 |
+
<!-- Mage_Catalog -->
|
48 |
+
<reference name="left">
|
49 |
+
<!--block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
|
50 |
+
<action method="setImgSrc"><src>images/media/left_col_callout.jpg</src></action>
|
51 |
+
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
|
52 |
+
<action method="setLinkUrl"><url>checkout/cart</url></action>
|
53 |
+
</block-->
|
54 |
+
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
55 |
+
</reference>
|
56 |
+
<reference name="footer_links">
|
57 |
+
<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
|
58 |
+
</reference>
|
59 |
+
<block type="catalog/product_price_template" name="catalog_product_price_template" />
|
60 |
+
</default>
|
61 |
+
|
62 |
+
|
63 |
+
<!--
|
64 |
+
Category default layout
|
65 |
+
-->
|
66 |
+
|
67 |
+
<catalog_category_default translate="label">
|
68 |
+
<label>Catalog Category (Non-Anchor)</label>
|
69 |
+
<reference name="root">
|
70 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
71 |
+
</reference>
|
72 |
+
<reference name="left">
|
73 |
+
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
|
74 |
+
</reference>
|
75 |
+
<reference name="content">
|
76 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
77 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
78 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
79 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
80 |
+
<!-- The following code shows how to set your own pager increments -->
|
81 |
+
<!--
|
82 |
+
<action method="setDefaultListPerPage"><limit>10</limit></action>
|
83 |
+
<action method="setDefaultGridPerPage"><limit>8</limit></action>
|
84 |
+
<action method="addPagerLimit"><mode>list</mode><limit>10</limit></action>
|
85 |
+
<action method="addPagerLimit"><mode>list</mode><limit>20</limit></action>
|
86 |
+
<action method="addPagerLimit"><mode>list</mode><limit>30</limit></action>
|
87 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
88 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>8</limit></action>
|
89 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>16</limit></action>
|
90 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>24</limit></action>
|
91 |
+
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
92 |
+
-->
|
93 |
+
</block>
|
94 |
+
<!--action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
95 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
96 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
97 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
98 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action-->
|
99 |
+
<action method="setColumnCount"><count>4</count></action>
|
100 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</reference>
|
104 |
+
</catalog_category_default>
|
105 |
+
|
106 |
+
<!--
|
107 |
+
Category layered navigation layout
|
108 |
+
-->
|
109 |
+
|
110 |
+
<catalog_category_layered translate="label">
|
111 |
+
<label>Catalog Category (Anchor)</label>
|
112 |
+
<reference name="root">
|
113 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
114 |
+
</reference>
|
115 |
+
<reference name="left">
|
116 |
+
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
117 |
+
</reference>
|
118 |
+
<reference name="content">
|
119 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
120 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
121 |
+
<!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
|
122 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
123 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
124 |
+
<!-- The following code shows how to set your own pager increments -->
|
125 |
+
<!--
|
126 |
+
<action method="setDefaultListPerPage"><limit>10</limit></action>
|
127 |
+
<action method="setDefaultGridPerPage"><limit>8</limit></action>
|
128 |
+
<action method="addPagerLimit"><mode>list</mode><limit>10</limit></action>
|
129 |
+
<action method="addPagerLimit"><mode>list</mode><limit>20</limit></action>
|
130 |
+
<action method="addPagerLimit"><mode>list</mode><limit>30</limit></action>
|
131 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
132 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>8</limit></action>
|
133 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>16</limit></action>
|
134 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>24</limit></action>
|
135 |
+
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
136 |
+
-->
|
137 |
+
</block>
|
138 |
+
<!--action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
139 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
140 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
141 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
142 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action-->
|
143 |
+
<action method="setColumnCount"><count>4</count></action>
|
144 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
145 |
+
</block>
|
146 |
+
</block>
|
147 |
+
</reference>
|
148 |
+
</catalog_category_layered>
|
149 |
+
|
150 |
+
<catalog_category_layered_nochildren translate="label">
|
151 |
+
<label>Catalog Category (Without Subcategories)</label>
|
152 |
+
<remove name="right.reports.product.viewed"/>
|
153 |
+
<reference name="left">
|
154 |
+
<!--block type="reports/product_viewed" name="left.reports.product.viewed" template="reports/product_viewed.phtml"/-->
|
155 |
+
</reference>
|
156 |
+
</catalog_category_layered_nochildren>
|
157 |
+
|
158 |
+
<!--
|
159 |
+
Compare products page
|
160 |
+
-->
|
161 |
+
|
162 |
+
<catalog_product_compare_index translate="label">
|
163 |
+
<label>Catalog Product Compare List</label>
|
164 |
+
<!-- Mage_Catalog -->
|
165 |
+
<reference name="root">
|
166 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
167 |
+
</reference>
|
168 |
+
<reference name="head">
|
169 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
170 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
171 |
+
</reference>
|
172 |
+
<reference name="content">
|
173 |
+
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
|
174 |
+
</reference>
|
175 |
+
</catalog_product_compare_index>
|
176 |
+
|
177 |
+
<!--
|
178 |
+
Product view
|
179 |
+
-->
|
180 |
+
|
181 |
+
<catalog_product_view translate="label">
|
182 |
+
<label>Catalog Product View (Any)</label>
|
183 |
+
<!-- Mage_Catalog -->
|
184 |
+
<reference name="root">
|
185 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
186 |
+
</reference>
|
187 |
+
<reference name="head">
|
188 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
189 |
+
<action method="addJs"><script>varien/configurable.js</script></action>
|
190 |
+
|
191 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
192 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
193 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
194 |
+
</reference>
|
195 |
+
<reference name="content">
|
196 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
197 |
+
<!--
|
198 |
+
<action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
|
199 |
+
<action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
|
200 |
+
<action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
|
201 |
+
-->
|
202 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
|
203 |
+
<block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
|
204 |
+
<label>Alert Urls</label>
|
205 |
+
</block>
|
206 |
+
|
207 |
+
<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
|
208 |
+
|
209 |
+
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
|
210 |
+
<action method="addTab" translate="title" module="catalog"><alias>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>
|
211 |
+
<action method="addTab" translate="title" module="catalog"><alias>upsell_products</alias><title>We Also Recommend</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
|
212 |
+
<action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
|
213 |
+
|
214 |
+
<!-- <action method="addTab" translate="title" module="review">
|
215 |
+
<alias>product_additional_data</alias>
|
216 |
+
<title>Reviews</title>
|
217 |
+
<block>review/product_view_list</block>
|
218 |
+
<template>review/product/view/list.phtml</template>
|
219 |
+
</action>
|
220 |
+
|
221 |
+
<action method="addTab" translate="title" module="review">
|
222 |
+
<alias>form</alias>
|
223 |
+
<title>Review this product</title>
|
224 |
+
<block>review/form</block>
|
225 |
+
<template>review/form.phtml</template>
|
226 |
+
</action> -->
|
227 |
+
|
228 |
+
<block type="page/html_pager" name="product_review_list.toolbar" as="toolbar"/>
|
229 |
+
<action method="addTab" translate="title" module="review">
|
230 |
+
<alias>avis</alias>
|
231 |
+
<title>Reviews</title>
|
232 |
+
<block>review/product_view_list</block>
|
233 |
+
<template>review/product/view/list.phtml</template>
|
234 |
+
</action>
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
</block>
|
239 |
+
|
240 |
+
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
|
241 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
242 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
243 |
+
|
244 |
+
<block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
|
245 |
+
<label>Product View Extra Hint</label>
|
246 |
+
</block>
|
247 |
+
|
248 |
+
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
249 |
+
<label>Info Column Options Wrapper</label>
|
250 |
+
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
251 |
+
<block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
|
252 |
+
<action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
|
253 |
+
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
|
254 |
+
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
|
255 |
+
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
|
256 |
+
</block>
|
257 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
258 |
+
</block>
|
259 |
+
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
|
260 |
+
<label>Bottom Block Options Wrapper</label>
|
261 |
+
<action method="insert"><block>product.tierprices</block></action>
|
262 |
+
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
263 |
+
<action method="append"><block>product.info.addtocart</block></action>
|
264 |
+
<action method="append"><block>product.info.addto</block></action>
|
265 |
+
</block>
|
266 |
+
|
267 |
+
<block type="core/template_facade" name="product.info.container1" as="container1">
|
268 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
|
269 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
270 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
271 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
272 |
+
</block>
|
273 |
+
<block type="core/template_facade" name="product.info.container2" as="container2">
|
274 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
|
275 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
276 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
277 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
278 |
+
</block>
|
279 |
+
<action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
280 |
+
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
281 |
+
</block>
|
282 |
+
</reference>
|
283 |
+
<reference name="upsell_products">
|
284 |
+
<action method="setColumnCount"><columns>5</columns></action>
|
285 |
+
<action method="setItemLimit"><type>upsell</type><limit>5</limit></action>
|
286 |
+
</reference>
|
287 |
+
<reference name="left">
|
288 |
+
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
289 |
+
</reference>
|
290 |
+
</catalog_product_view>
|
291 |
+
|
292 |
+
<!--
|
293 |
+
Additional block dependant on product type
|
294 |
+
-->
|
295 |
+
<PRODUCT_TYPE_simple translate="label" module="catalog">
|
296 |
+
<label>Catalog Product View (Simple)</label>
|
297 |
+
<reference name="product.info">
|
298 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
299 |
+
<block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
|
300 |
+
<label>Product Extra Info</label>
|
301 |
+
</block>
|
302 |
+
</block>
|
303 |
+
</reference>
|
304 |
+
</PRODUCT_TYPE_simple>
|
305 |
+
<PRODUCT_TYPE_configurable translate="label" module="catalog">
|
306 |
+
<label>Catalog Product View (Configurable)</label>
|
307 |
+
<reference name="product.info">
|
308 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
309 |
+
<block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
|
310 |
+
<label>Product Extra Info</label>
|
311 |
+
</block>
|
312 |
+
</block>
|
313 |
+
</reference>
|
314 |
+
<reference name="product.info.options.wrapper">
|
315 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
|
316 |
+
</reference>
|
317 |
+
</PRODUCT_TYPE_configurable>
|
318 |
+
<PRODUCT_TYPE_grouped translate="label" module="catalog">
|
319 |
+
<label>Catalog Product View (Grouped)</label>
|
320 |
+
<reference name="product.info">
|
321 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
|
322 |
+
<block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
|
323 |
+
<label>Product Extra Info</label>
|
324 |
+
</block>
|
325 |
+
</block>
|
326 |
+
</reference>
|
327 |
+
</PRODUCT_TYPE_grouped>
|
328 |
+
<PRODUCT_TYPE_virtual translate="label" module="catalog">
|
329 |
+
<label>Catalog Product View (Virtual)</label>
|
330 |
+
<reference name="product.info">
|
331 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
332 |
+
<block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
|
333 |
+
<label>Product Extra Info</label>
|
334 |
+
</block>
|
335 |
+
</block>
|
336 |
+
</reference>
|
337 |
+
</PRODUCT_TYPE_virtual>
|
338 |
+
|
339 |
+
|
340 |
+
|
341 |
+
<!--
|
342 |
+
Product send to friend
|
343 |
+
-->
|
344 |
+
|
345 |
+
<catalog_product_send translate="label">
|
346 |
+
<label>Catalog Product Email to a Friend</label>
|
347 |
+
<!-- Mage_Catalog -->
|
348 |
+
<reference name="root">
|
349 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
350 |
+
</reference>
|
351 |
+
<reference name="head">
|
352 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
353 |
+
</reference>
|
354 |
+
<reference name="content">
|
355 |
+
<block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
|
356 |
+
</block>
|
357 |
+
</reference>
|
358 |
+
</catalog_product_send>
|
359 |
+
|
360 |
+
<!--
|
361 |
+
Product additional images gallery popup
|
362 |
+
-->
|
363 |
+
|
364 |
+
<catalog_product_gallery translate="label">
|
365 |
+
<label>Catalog Product Image Gallery Popup</label>
|
366 |
+
<!-- Mage_Catalog -->
|
367 |
+
<reference name="root">
|
368 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
369 |
+
</reference>
|
370 |
+
<reference name="content">
|
371 |
+
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
372 |
+
</reference>
|
373 |
+
</catalog_product_gallery>
|
374 |
+
|
375 |
+
<!--
|
376 |
+
SEO Site Map
|
377 |
+
-->
|
378 |
+
|
379 |
+
<catalog_seo_sitemap translate="label">
|
380 |
+
<label>Catalog Seo Sitemap (Common)</label>
|
381 |
+
<remove name="right"/>
|
382 |
+
<remove name="left"/>
|
383 |
+
|
384 |
+
<reference name="root">
|
385 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
386 |
+
</reference>
|
387 |
+
<reference name="content">
|
388 |
+
<block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
|
389 |
+
<block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
|
390 |
+
<block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
391 |
+
<block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
392 |
+
</block>
|
393 |
+
</reference>
|
394 |
+
</catalog_seo_sitemap>
|
395 |
+
|
396 |
+
<catalog_seo_sitemap_category translate="label">
|
397 |
+
<label>Catalog Seo Sitemap (Category List)</label>
|
398 |
+
<reference name="head">
|
399 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
400 |
+
</reference>
|
401 |
+
<update handle="catalog_seo_sitemap" />
|
402 |
+
<reference name="seo.sitemap.container">
|
403 |
+
<action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
|
404 |
+
<block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
405 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
406 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
407 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
|
408 |
+
</block>
|
409 |
+
</reference>
|
410 |
+
<reference name="seo.sitemap.links">
|
411 |
+
<action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
|
412 |
+
</reference>
|
413 |
+
</catalog_seo_sitemap_category>
|
414 |
+
|
415 |
+
<catalog_seo_sitemap_category_tree translate="label">
|
416 |
+
<label>Catalog Seo Sitemap (Category Tree)</label>
|
417 |
+
<reference name="seo.sitemap.container">
|
418 |
+
<remove name="seo.sitemap.pager.top" />
|
419 |
+
<remove name="seo.sitemap.pager.bottom" />
|
420 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
421 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
422 |
+
<remove name="seo.sitemap.sitemap" />
|
423 |
+
<block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
|
424 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
|
425 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
|
426 |
+
</block>
|
427 |
+
</reference>
|
428 |
+
</catalog_seo_sitemap_category_tree>
|
429 |
+
|
430 |
+
<catalog_seo_sitemap_product translate="label">
|
431 |
+
<label>Catalog Seo Sitemap (Product List)</label>
|
432 |
+
<reference name="head">
|
433 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
434 |
+
</reference>
|
435 |
+
<update handle="catalog_seo_sitemap" />
|
436 |
+
<reference name="seo.sitemap.container">
|
437 |
+
<action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
|
438 |
+
<block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
439 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
440 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
441 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
|
442 |
+
</block>
|
443 |
+
</reference>
|
444 |
+
<reference name="seo.sitemap.links">
|
445 |
+
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
446 |
+
</reference>
|
447 |
+
</catalog_seo_sitemap_product>
|
448 |
+
</layout>
|
app/design/frontend/fed/default/layout/catalog.xml
ADDED
@@ -0,0 +1,633 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
<layout version="0.1.0">
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
<!--
|
10 |
+
|
11 |
+
Default layout, loads most of the pages
|
12 |
+
|
13 |
+
-->
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
<default>
|
18 |
+
|
19 |
+
<reference name="right">
|
20 |
+
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
21 |
+
</reference>
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
<!-- Mage_Catalog -->
|
26 |
+
|
27 |
+
<reference name="top.menu">
|
28 |
+
|
29 |
+
<block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml">
|
30 |
+
|
31 |
+
</block>
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
</reference>
|
36 |
+
|
37 |
+
</default>
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
<!-- Category default layout -->
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
<catalog_category_default translate="label">
|
48 |
+
|
49 |
+
<label>Catalog Category (Non-Anchor)</label>
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
<reference name="content">
|
56 |
+
|
57 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
58 |
+
|
59 |
+
|
60 |
+
|
61 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml" />
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
</block>
|
66 |
+
|
67 |
+
</reference>
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
</catalog_category_default>
|
72 |
+
|
73 |
+
|
74 |
+
<!--
|
75 |
+
Compare products page
|
76 |
+
-->
|
77 |
+
|
78 |
+
<catalog_product_compare_index translate="label">
|
79 |
+
<label>Catalog Product Compare List</label>
|
80 |
+
<!-- Mage_Catalog -->
|
81 |
+
<reference name="root">
|
82 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
83 |
+
</reference>
|
84 |
+
<reference name="head">
|
85 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
86 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
87 |
+
</reference>
|
88 |
+
<reference name="content">
|
89 |
+
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
|
90 |
+
</reference>
|
91 |
+
</catalog_product_compare_index>
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
<!-- Product view -->
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
<catalog_product_view translate="label">
|
103 |
+
|
104 |
+
<label>Catalog Product View (Any)</label>
|
105 |
+
|
106 |
+
<!-- Mage_Catalog -->
|
107 |
+
|
108 |
+
<reference name="root">
|
109 |
+
|
110 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
111 |
+
|
112 |
+
</reference>
|
113 |
+
|
114 |
+
<reference name="head">
|
115 |
+
|
116 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
117 |
+
|
118 |
+
<action method="addJs"><script>varien/configurable.js</script></action>
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
123 |
+
|
124 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
125 |
+
|
126 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
127 |
+
|
128 |
+
</reference>
|
129 |
+
|
130 |
+
<reference name="content">
|
131 |
+
|
132 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
133 |
+
|
134 |
+
<!--
|
135 |
+
|
136 |
+
<action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
|
137 |
+
|
138 |
+
<action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
|
139 |
+
|
140 |
+
<action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
|
141 |
+
|
142 |
+
-->
|
143 |
+
|
144 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
|
145 |
+
|
146 |
+
<block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
|
147 |
+
|
148 |
+
<label>Alert Urls</label>
|
149 |
+
|
150 |
+
</block>
|
151 |
+
|
152 |
+
|
153 |
+
|
154 |
+
<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
+
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
|
159 |
+
|
160 |
+
<action method="addTab" translate="title" module="catalog"><alias>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>
|
161 |
+
|
162 |
+
<action method="addTab" translate="title" module="catalog"><alias>upsell_products</alias><title>We Also Recommend</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
|
163 |
+
|
164 |
+
<action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
|
165 |
+
|
166 |
+
|
167 |
+
|
168 |
+
<!-- <action method="addTab" translate="title" module="review">
|
169 |
+
|
170 |
+
<alias>product_additional_data</alias>
|
171 |
+
|
172 |
+
<title>Reviews</title>
|
173 |
+
|
174 |
+
<block>review/product_view_list</block>
|
175 |
+
|
176 |
+
<template>review/product/view/list.phtml</template>
|
177 |
+
|
178 |
+
</action>
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
<action method="addTab" translate="title" module="review">
|
183 |
+
|
184 |
+
<alias>form</alias>
|
185 |
+
|
186 |
+
<title>Review this product</title>
|
187 |
+
|
188 |
+
<block>review/form</block>
|
189 |
+
|
190 |
+
<template>review/form.phtml</template>
|
191 |
+
|
192 |
+
</action> -->
|
193 |
+
|
194 |
+
|
195 |
+
|
196 |
+
<block type="page/html_pager" name="product_review_list.toolbar" as="toolbar"/>
|
197 |
+
|
198 |
+
<action method="addTab" translate="title" module="review">
|
199 |
+
|
200 |
+
<alias>avis</alias>
|
201 |
+
|
202 |
+
<title>Reviews</title>
|
203 |
+
|
204 |
+
<block>review/product_view_list</block>
|
205 |
+
|
206 |
+
<template>review/product/view/list.phtml</template>
|
207 |
+
|
208 |
+
</action>
|
209 |
+
|
210 |
+
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
|
216 |
+
</block>
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
|
221 |
+
|
222 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
223 |
+
|
224 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
<block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
|
229 |
+
|
230 |
+
<label>Product View Extra Hint</label>
|
231 |
+
|
232 |
+
</block>
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
237 |
+
|
238 |
+
<label>Info Column Options Wrapper</label>
|
239 |
+
|
240 |
+
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
241 |
+
|
242 |
+
<block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
|
243 |
+
|
244 |
+
<action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
|
245 |
+
|
246 |
+
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
|
247 |
+
|
248 |
+
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
|
249 |
+
|
250 |
+
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
|
251 |
+
|
252 |
+
</block>
|
253 |
+
|
254 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
255 |
+
|
256 |
+
</block>
|
257 |
+
|
258 |
+
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
|
259 |
+
|
260 |
+
<label>Bottom Block Options Wrapper</label>
|
261 |
+
|
262 |
+
<action method="insert"><block>product.tierprices</block></action>
|
263 |
+
|
264 |
+
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
265 |
+
|
266 |
+
<action method="append"><block>product.info.addtocart</block></action>
|
267 |
+
|
268 |
+
<action method="append"><block>product.info.addto</block></action>
|
269 |
+
|
270 |
+
</block>
|
271 |
+
|
272 |
+
|
273 |
+
|
274 |
+
<block type="core/template_facade" name="product.info.container1" as="container1">
|
275 |
+
|
276 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
|
277 |
+
|
278 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
279 |
+
|
280 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
281 |
+
|
282 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
283 |
+
|
284 |
+
</block>
|
285 |
+
|
286 |
+
<block type="core/template_facade" name="product.info.container2" as="container2">
|
287 |
+
|
288 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
|
289 |
+
|
290 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
291 |
+
|
292 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
293 |
+
|
294 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
295 |
+
|
296 |
+
</block>
|
297 |
+
|
298 |
+
<action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
299 |
+
|
300 |
+
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
301 |
+
|
302 |
+
</block>
|
303 |
+
|
304 |
+
</reference>
|
305 |
+
|
306 |
+
<reference name="upsell_products">
|
307 |
+
|
308 |
+
<action method="setColumnCount"><columns>5</columns></action>
|
309 |
+
|
310 |
+
<action method="setItemLimit"><type>upsell</type><limit>5</limit></action>
|
311 |
+
|
312 |
+
</reference>
|
313 |
+
|
314 |
+
<reference name="left">
|
315 |
+
|
316 |
+
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
317 |
+
|
318 |
+
</reference>
|
319 |
+
|
320 |
+
</catalog_product_view>
|
321 |
+
|
322 |
+
<!--
|
323 |
+
|
324 |
+
Additional block dependant on product type
|
325 |
+
|
326 |
+
-->
|
327 |
+
|
328 |
+
<PRODUCT_TYPE_simple translate="label" module="catalog">
|
329 |
+
|
330 |
+
<label>Catalog Product View (Simple)</label>
|
331 |
+
|
332 |
+
<reference name="product.info">
|
333 |
+
|
334 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
335 |
+
|
336 |
+
<block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
|
337 |
+
|
338 |
+
<label>Product Extra Info</label>
|
339 |
+
|
340 |
+
</block>
|
341 |
+
|
342 |
+
</block>
|
343 |
+
|
344 |
+
</reference>
|
345 |
+
|
346 |
+
</PRODUCT_TYPE_simple>
|
347 |
+
|
348 |
+
<PRODUCT_TYPE_configurable translate="label" module="catalog">
|
349 |
+
|
350 |
+
<label>Catalog Product View (Configurable)</label>
|
351 |
+
|
352 |
+
<reference name="product.info">
|
353 |
+
|
354 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
355 |
+
|
356 |
+
<block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
|
357 |
+
|
358 |
+
<label>Product Extra Info</label>
|
359 |
+
|
360 |
+
</block>
|
361 |
+
|
362 |
+
</block>
|
363 |
+
|
364 |
+
</reference>
|
365 |
+
|
366 |
+
<reference name="product.info.options.wrapper">
|
367 |
+
|
368 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
|
369 |
+
|
370 |
+
</reference>
|
371 |
+
|
372 |
+
</PRODUCT_TYPE_configurable>
|
373 |
+
|
374 |
+
<PRODUCT_TYPE_grouped translate="label" module="catalog">
|
375 |
+
|
376 |
+
<label>Catalog Product View (Grouped)</label>
|
377 |
+
|
378 |
+
<reference name="product.info">
|
379 |
+
|
380 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
|
381 |
+
|
382 |
+
<block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
|
383 |
+
|
384 |
+
<label>Product Extra Info</label>
|
385 |
+
|
386 |
+
</block>
|
387 |
+
|
388 |
+
</block>
|
389 |
+
|
390 |
+
</reference>
|
391 |
+
|
392 |
+
</PRODUCT_TYPE_grouped>
|
393 |
+
|
394 |
+
<PRODUCT_TYPE_virtual translate="label" module="catalog">
|
395 |
+
|
396 |
+
<label>Catalog Product View (Virtual)</label>
|
397 |
+
|
398 |
+
<reference name="product.info">
|
399 |
+
|
400 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
401 |
+
|
402 |
+
<block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
|
403 |
+
|
404 |
+
<label>Product Extra Info</label>
|
405 |
+
|
406 |
+
</block>
|
407 |
+
|
408 |
+
</block>
|
409 |
+
|
410 |
+
</reference>
|
411 |
+
|
412 |
+
</PRODUCT_TYPE_virtual>
|
413 |
+
|
414 |
+
|
415 |
+
|
416 |
+
|
417 |
+
|
418 |
+
<!--
|
419 |
+
|
420 |
+
Product send to friend
|
421 |
+
|
422 |
+
-->
|
423 |
+
|
424 |
+
|
425 |
+
|
426 |
+
<catalog_product_send translate="label">
|
427 |
+
|
428 |
+
<label>Catalog Product Email to a Friend</label>
|
429 |
+
|
430 |
+
<!-- Mage_Catalog -->
|
431 |
+
|
432 |
+
<reference name="root">
|
433 |
+
|
434 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
435 |
+
|
436 |
+
</reference>
|
437 |
+
|
438 |
+
<reference name="head">
|
439 |
+
|
440 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
441 |
+
|
442 |
+
</reference>
|
443 |
+
|
444 |
+
<reference name="content">
|
445 |
+
|
446 |
+
<block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
|
447 |
+
|
448 |
+
</block>
|
449 |
+
|
450 |
+
</reference>
|
451 |
+
|
452 |
+
</catalog_product_send>
|
453 |
+
|
454 |
+
|
455 |
+
|
456 |
+
<!--
|
457 |
+
|
458 |
+
Product additional images gallery popup
|
459 |
+
|
460 |
+
-->
|
461 |
+
|
462 |
+
|
463 |
+
|
464 |
+
<catalog_product_gallery translate="label">
|
465 |
+
|
466 |
+
<label>Catalog Product Image Gallery Popup</label>
|
467 |
+
|
468 |
+
<!-- Mage_Catalog -->
|
469 |
+
|
470 |
+
<reference name="root">
|
471 |
+
|
472 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
473 |
+
|
474 |
+
</reference>
|
475 |
+
|
476 |
+
<reference name="content">
|
477 |
+
|
478 |
+
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
479 |
+
|
480 |
+
</reference>
|
481 |
+
|
482 |
+
</catalog_product_gallery>
|
483 |
+
|
484 |
+
|
485 |
+
|
486 |
+
<!--
|
487 |
+
|
488 |
+
SEO Site Map
|
489 |
+
|
490 |
+
-->
|
491 |
+
|
492 |
+
|
493 |
+
|
494 |
+
<catalog_seo_sitemap translate="label">
|
495 |
+
|
496 |
+
<label>Catalog Seo Sitemap (Common)</label>
|
497 |
+
|
498 |
+
<remove name="right"/>
|
499 |
+
|
500 |
+
<remove name="left"/>
|
501 |
+
|
502 |
+
|
503 |
+
|
504 |
+
<reference name="root">
|
505 |
+
|
506 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
507 |
+
|
508 |
+
</reference>
|
509 |
+
|
510 |
+
<reference name="content">
|
511 |
+
|
512 |
+
<block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
|
513 |
+
|
514 |
+
<block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
|
515 |
+
|
516 |
+
<block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
517 |
+
|
518 |
+
<block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
519 |
+
|
520 |
+
</block>
|
521 |
+
|
522 |
+
</reference>
|
523 |
+
|
524 |
+
</catalog_seo_sitemap>
|
525 |
+
|
526 |
+
|
527 |
+
|
528 |
+
<catalog_seo_sitemap_category translate="label">
|
529 |
+
|
530 |
+
<label>Catalog Seo Sitemap (Category List)</label>
|
531 |
+
|
532 |
+
<reference name="head">
|
533 |
+
|
534 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
535 |
+
|
536 |
+
</reference>
|
537 |
+
|
538 |
+
<update handle="catalog_seo_sitemap" />
|
539 |
+
|
540 |
+
<reference name="seo.sitemap.container">
|
541 |
+
|
542 |
+
<action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
|
543 |
+
|
544 |
+
<block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
545 |
+
|
546 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
547 |
+
|
548 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
549 |
+
|
550 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
|
551 |
+
|
552 |
+
</block>
|
553 |
+
|
554 |
+
</reference>
|
555 |
+
|
556 |
+
<reference name="seo.sitemap.links">
|
557 |
+
|
558 |
+
<action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
|
559 |
+
|
560 |
+
</reference>
|
561 |
+
|
562 |
+
</catalog_seo_sitemap_category>
|
563 |
+
|
564 |
+
|
565 |
+
|
566 |
+
<catalog_seo_sitemap_category_tree translate="label">
|
567 |
+
|
568 |
+
<label>Catalog Seo Sitemap (Category Tree)</label>
|
569 |
+
|
570 |
+
<reference name="seo.sitemap.container">
|
571 |
+
|
572 |
+
<remove name="seo.sitemap.pager.top" />
|
573 |
+
|
574 |
+
<remove name="seo.sitemap.pager.bottom" />
|
575 |
+
|
576 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
577 |
+
|
578 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
579 |
+
|
580 |
+
<remove name="seo.sitemap.sitemap" />
|
581 |
+
|
582 |
+
<block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
|
583 |
+
|
584 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
|
585 |
+
|
586 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
|
587 |
+
|
588 |
+
</block>
|
589 |
+
|
590 |
+
</reference>
|
591 |
+
|
592 |
+
</catalog_seo_sitemap_category_tree>
|
593 |
+
|
594 |
+
|
595 |
+
|
596 |
+
<catalog_seo_sitemap_product translate="label">
|
597 |
+
|
598 |
+
<label>Catalog Seo Sitemap (Product List)</label>
|
599 |
+
|
600 |
+
<reference name="head">
|
601 |
+
|
602 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
603 |
+
|
604 |
+
</reference>
|
605 |
+
|
606 |
+
<update handle="catalog_seo_sitemap" />
|
607 |
+
|
608 |
+
<reference name="seo.sitemap.container">
|
609 |
+
|
610 |
+
<action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
|
611 |
+
|
612 |
+
<block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
613 |
+
|
614 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
615 |
+
|
616 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
617 |
+
|
618 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
|
619 |
+
|
620 |
+
</block>
|
621 |
+
|
622 |
+
</reference>
|
623 |
+
|
624 |
+
<reference name="seo.sitemap.links">
|
625 |
+
|
626 |
+
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
627 |
+
|
628 |
+
</reference>
|
629 |
+
|
630 |
+
</catalog_seo_sitemap_product>
|
631 |
+
|
632 |
+
</layout>
|
633 |
+
|
app/design/frontend/fed/default/layout/catalog_msrp.xml
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
32 |
+
-->
|
33 |
+
<catalog_category_default>
|
34 |
+
<update handle="MAP_popup" />
|
35 |
+
</catalog_category_default>
|
36 |
+
<catalog_category_layered>
|
37 |
+
<update handle="MAP_popup" />
|
38 |
+
</catalog_category_layered>
|
39 |
+
<catalog_product_compare_index>
|
40 |
+
<update handle="MAP_popup" />
|
41 |
+
</catalog_product_compare_index>
|
42 |
+
<catalog_product_view>
|
43 |
+
<update handle="MAP_popup" />
|
44 |
+
<update handle="MAP_price_msrp_item" />
|
45 |
+
</catalog_product_view>
|
46 |
+
<checkout_cart_index>
|
47 |
+
<update handle="MAP_popup" />
|
48 |
+
</checkout_cart_index>
|
49 |
+
<checkout_onepage_success>
|
50 |
+
<update handle="MAP_popup" />
|
51 |
+
</checkout_onepage_success>
|
52 |
+
<checkout_onepage_failure>
|
53 |
+
<update handle="MAP_popup" />
|
54 |
+
</checkout_onepage_failure>
|
55 |
+
<wishlist_index_index>
|
56 |
+
<update handle="MAP_popup" />
|
57 |
+
<update handle="MAP_price_msrp_wishlist_item" />
|
58 |
+
</wishlist_index_index>
|
59 |
+
<wishlist_shared_index>
|
60 |
+
<update handle="MAP_popup" />
|
61 |
+
<update handle="MAP_price_msrp_wishlist_item" />
|
62 |
+
</wishlist_shared_index>
|
63 |
+
<review_product_list>
|
64 |
+
<update handle="MAP_popup" />
|
65 |
+
<update handle="MAP_price_msrp_item" />
|
66 |
+
</review_product_list>
|
67 |
+
<catalogsearch_result_index>
|
68 |
+
<update handle="MAP_popup" />
|
69 |
+
</catalogsearch_result_index>
|
70 |
+
<catalogsearch_advanced_result>
|
71 |
+
<update handle="MAP_popup" />
|
72 |
+
</catalogsearch_advanced_result>
|
73 |
+
<tag_product_list>
|
74 |
+
<update handle="MAP_popup" />
|
75 |
+
</tag_product_list>
|
76 |
+
<tag_customer_view>
|
77 |
+
<update handle="MAP_popup" />
|
78 |
+
</tag_customer_view>
|
79 |
+
|
80 |
+
<MAP_popup>
|
81 |
+
<reference name="head">
|
82 |
+
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp.js</name></action>
|
83 |
+
</reference>
|
84 |
+
<reference name="content">
|
85 |
+
<block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
|
86 |
+
</reference>
|
87 |
+
</MAP_popup>
|
88 |
+
<MAP_price_msrp_item>
|
89 |
+
<reference name="catalog_product_price_template">
|
90 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
91 |
+
</reference>
|
92 |
+
<reference name="product.clone_prices">
|
93 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
94 |
+
</reference>
|
95 |
+
</MAP_price_msrp_item>
|
96 |
+
<MAP_price_msrp_wishlist_item>
|
97 |
+
<reference name="catalog_product_price_template">
|
98 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_item.phtml</template></action>
|
99 |
+
</reference>
|
100 |
+
</MAP_price_msrp_wishlist_item>
|
101 |
+
<default>
|
102 |
+
<reference name="catalog_product_price_template">
|
103 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp.phtml</template></action>
|
104 |
+
<action method="addPriceBlockType"><type>msrp_item</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
105 |
+
<action method="addPriceBlockType"><type>msrp_noform</type><block>catalog/product_price</block><template>catalog/product/price_msrp_noform.phtml</template></action>
|
106 |
+
</reference>
|
107 |
+
</default>
|
108 |
+
</layout>
|
app/design/frontend/fed/default/layout/catalog_ol.xml
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<layout version="0.1.0">
|
4 |
+
|
5 |
+
<!--
|
6 |
+
Default layout, loads most of the pages
|
7 |
+
-->
|
8 |
+
|
9 |
+
<default>
|
10 |
+
|
11 |
+
<!-- Mage_Catalog -->
|
12 |
+
<reference name="top.menu">
|
13 |
+
<block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml">
|
14 |
+
</block>
|
15 |
+
|
16 |
+
</reference>
|
17 |
+
</default>
|
18 |
+
|
19 |
+
|
20 |
+
<!-- Category default layout -->
|
21 |
+
|
22 |
+
<catalog_category_default translate="label">
|
23 |
+
<label>Catalog Category (Non-Anchor)</label>
|
24 |
+
|
25 |
+
|
26 |
+
<reference name="content">
|
27 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
28 |
+
|
29 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml" />
|
30 |
+
|
31 |
+
</block>
|
32 |
+
</reference>
|
33 |
+
|
34 |
+
</catalog_category_default>
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
<!-- Product view -->
|
39 |
+
|
40 |
+
<catalog_product_view translate="label">
|
41 |
+
<label>Catalog Product View (Any)</label>
|
42 |
+
<!-- Mage_Catalog -->
|
43 |
+
<reference name="root">
|
44 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
45 |
+
</reference>
|
46 |
+
|
47 |
+
<reference name="content">
|
48 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
49 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
50 |
+
</block>
|
51 |
+
|
52 |
+
</block>
|
53 |
+
|
54 |
+
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
|
55 |
+
<action method="setColumnCount"><columns>4</columns></action>
|
56 |
+
<action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
|
57 |
+
</block>
|
58 |
+
|
59 |
+
|
60 |
+
<!--
|
61 |
+
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml">
|
62 |
+
|
63 |
+
|
64 |
+
</block>
|
65 |
+
-->
|
66 |
+
|
67 |
+
</reference>
|
68 |
+
|
69 |
+
|
70 |
+
</catalog_product_view>
|
71 |
+
|
72 |
+
<!--
|
73 |
+
Additional block dependant on product type
|
74 |
+
-->
|
75 |
+
<PRODUCT_TYPE_simple translate="label" module="catalog">
|
76 |
+
<label>Catalog Product View (Simple)</label>
|
77 |
+
<reference name="product.info">
|
78 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
79 |
+
<block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
|
80 |
+
<label>Product Extra Info</label>
|
81 |
+
</block>
|
82 |
+
</block>
|
83 |
+
</reference>
|
84 |
+
</PRODUCT_TYPE_simple>
|
85 |
+
<PRODUCT_TYPE_configurable translate="label" module="catalog">
|
86 |
+
<label>Catalog Product View (Configurable)</label>
|
87 |
+
<reference name="product.info">
|
88 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
89 |
+
<block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
|
90 |
+
<label>Product Extra Info</label>
|
91 |
+
</block>
|
92 |
+
</block>
|
93 |
+
</reference>
|
94 |
+
<reference name="product.info.options.wrapper">
|
95 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
|
96 |
+
</reference>
|
97 |
+
</PRODUCT_TYPE_configurable>
|
98 |
+
<PRODUCT_TYPE_grouped translate="label" module="catalog">
|
99 |
+
<label>Catalog Product View (Grouped)</label>
|
100 |
+
<reference name="product.info">
|
101 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
|
102 |
+
<block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
|
103 |
+
<label>Product Extra Info</label>
|
104 |
+
</block>
|
105 |
+
</block>
|
106 |
+
</reference>
|
107 |
+
</PRODUCT_TYPE_grouped>
|
108 |
+
|
109 |
+
<PRODUCT_TYPE_virtual translate="label" module="catalog">
|
110 |
+
<label>Catalog Product View (Virtual)</label>
|
111 |
+
<reference name="product.info">
|
112 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
113 |
+
<block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
|
114 |
+
<label>Product Extra Info</label>
|
115 |
+
</block>
|
116 |
+
</block>
|
117 |
+
</reference>
|
118 |
+
</PRODUCT_TYPE_virtual>
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
</layout>
|
app/design/frontend/fed/default/layout/cataloginventory.xml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Product view
|
33 |
+
-->
|
34 |
+
<catalog_product_view>
|
35 |
+
<reference name="product.info.extrahint">
|
36 |
+
<block type="cataloginventory/qtyincrements" name="product.info.extrahint.qtyincrements" template="cataloginventory/qtyincrements.phtml"/>
|
37 |
+
</reference>
|
38 |
+
</catalog_product_view>
|
39 |
+
|
40 |
+
<!--
|
41 |
+
Additional block dependent on product type
|
42 |
+
-->
|
43 |
+
<PRODUCT_TYPE_simple>
|
44 |
+
<reference name="product.info.simple.extra">
|
45 |
+
<block type="cataloginventory/stockqty_default" template="cataloginventory/stockqty/default.phtml"/>
|
46 |
+
</reference>
|
47 |
+
</PRODUCT_TYPE_simple>
|
48 |
+
<PRODUCT_TYPE_virtual>
|
49 |
+
<reference name="product.info.virtual.extra">
|
50 |
+
<block type="cataloginventory/stockqty_default" template="cataloginventory/stockqty/default.phtml"/>
|
51 |
+
</reference>
|
52 |
+
</PRODUCT_TYPE_virtual>
|
53 |
+
<PRODUCT_TYPE_grouped>
|
54 |
+
<reference name="product.info.grouped.extra">
|
55 |
+
<block type="cataloginventory/stockqty_type_grouped" template="cataloginventory/stockqty/composite.phtml"/>
|
56 |
+
</reference>
|
57 |
+
</PRODUCT_TYPE_grouped>
|
58 |
+
<PRODUCT_TYPE_configurable>
|
59 |
+
<reference name="product.info.configurable.extra">
|
60 |
+
<block type="cataloginventory/stockqty_type_configurable" template="cataloginventory/stockqty/composite.phtml"/>
|
61 |
+
</reference>
|
62 |
+
</PRODUCT_TYPE_configurable>
|
63 |
+
|
64 |
+
</layout>
|
app/design/frontend/fed/default/layout/catalogsearch.xml
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_modern
|
24 |
+
* @copyright Copyright (c) 2013 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 |
+
<default>
|
32 |
+
|
33 |
+
<reference name="header">
|
34 |
+
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
|
35 |
+
</reference>
|
36 |
+
|
37 |
+
<reference name="top.bar">
|
38 |
+
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
|
39 |
+
</reference>
|
40 |
+
<reference name="footer_links">
|
41 |
+
<action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
|
42 |
+
<label>Search Terms</label>
|
43 |
+
<url helper="catalogsearch/getSearchTermUrl" />
|
44 |
+
<title>Search Terms</title>
|
45 |
+
</action>
|
46 |
+
<action method="addLink" translate="label title" module="catalogsearch">
|
47 |
+
<label>Advanced Search</label>
|
48 |
+
<url helper="catalogsearch/getAdvancedSearchUrl" />
|
49 |
+
<title>Advanced Search</title>
|
50 |
+
</action>
|
51 |
+
</reference>
|
52 |
+
</default>
|
53 |
+
|
54 |
+
<catalogsearch_result_index translate="label">
|
55 |
+
<label>Quick Search Form</label>
|
56 |
+
<update handle="page_two_columns_left" />
|
57 |
+
<reference name="root">
|
58 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
59 |
+
</reference>
|
60 |
+
<reference name="left">
|
61 |
+
<block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
62 |
+
</reference>
|
63 |
+
<reference name="content">
|
64 |
+
<block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
|
65 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
66 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
67 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
68 |
+
</block>
|
69 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
70 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
71 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
72 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
73 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
74 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
75 |
+
</block>
|
76 |
+
<action method="setListOrders"/>
|
77 |
+
<action method="setListModes"/>
|
78 |
+
<action method="setListCollection"/>
|
79 |
+
</block>
|
80 |
+
</reference>
|
81 |
+
</catalogsearch_result_index>
|
82 |
+
|
83 |
+
<catalogsearch_advanced_index translate="label">
|
84 |
+
<label>Advanced Search Form</label>
|
85 |
+
<!-- Mage_Catalogsearch -->
|
86 |
+
<reference name="root">
|
87 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
88 |
+
</reference>
|
89 |
+
<reference name="head">
|
90 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action>
|
91 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
92 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
93 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
94 |
+
</reference>
|
95 |
+
<reference name="content">
|
96 |
+
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
|
97 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
98 |
+
</reference>
|
99 |
+
</catalogsearch_advanced_index>
|
100 |
+
|
101 |
+
<!--
|
102 |
+
Advanced search results
|
103 |
+
-->
|
104 |
+
|
105 |
+
<catalogsearch_advanced_result translate="label">
|
106 |
+
<label>Advanced Search Result</label>
|
107 |
+
<update handle="page_two_columns_left" />
|
108 |
+
<!-- Mage_Catalogsearch -->
|
109 |
+
<reference name="root">
|
110 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
111 |
+
</reference>
|
112 |
+
<reference name="content">
|
113 |
+
<block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
|
114 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
115 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
116 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
117 |
+
</block>
|
118 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
119 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
120 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
121 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
122 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
123 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
124 |
+
</block>
|
125 |
+
<action method="setListOrders"/>
|
126 |
+
<action method="setListModes"/>
|
127 |
+
<action method="setListCollection"/>
|
128 |
+
</block>
|
129 |
+
</reference>
|
130 |
+
</catalogsearch_advanced_result>
|
131 |
+
|
132 |
+
<catalogsearch_term_popular translate="label">
|
133 |
+
<label>Popular Search Terms</label>
|
134 |
+
<remove name="right"/>
|
135 |
+
<remove name="left"/>
|
136 |
+
|
137 |
+
<reference name="head">
|
138 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Search Terms</title></action>
|
139 |
+
</reference>
|
140 |
+
<reference name="root">
|
141 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
142 |
+
</reference>
|
143 |
+
<reference name="content">
|
144 |
+
<block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
|
145 |
+
</reference>
|
146 |
+
</catalogsearch_term_popular>
|
147 |
+
|
148 |
+
</layout>
|
app/design/frontend/fed/default/layout/centinel.xml
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<centinel_index_authenticationstart>
|
31 |
+
<block type="centinel/authentication_start" name="root" output="toHtml" template="centinel/authentication/start.phtml"/>
|
32 |
+
</centinel_index_authenticationstart>
|
33 |
+
|
34 |
+
<centinel_index_authenticationcomplete>
|
35 |
+
<block type="centinel/authentication_complete" name="root" output="toHtml" template="centinel/authentication/complete.phtml"/>
|
36 |
+
</centinel_index_authenticationcomplete>
|
37 |
+
|
38 |
+
<checkout_multishipping_overview>
|
39 |
+
<reference name="head">
|
40 |
+
<action method="addJs"><script>mage/centinel.js</script></action>
|
41 |
+
</reference>
|
42 |
+
<reference name="checkout.multishipping.overview.items.after">
|
43 |
+
<block type="centinel/authentication" name="centinel.frame" template="centinel/authentication.phtml">
|
44 |
+
<action method="addRelatedBlock"><blockId>checkout-review-submit</blockId></action>
|
45 |
+
<action method="setAuthenticationStartMode"><mode>window</mode></action>
|
46 |
+
</block>
|
47 |
+
</reference>
|
48 |
+
</checkout_multishipping_overview>
|
49 |
+
|
50 |
+
<checkout_onepage_savepayment>
|
51 |
+
<reference name="checkout.onepage.review.info.items.before">
|
52 |
+
<block type="centinel/authentication" name="centinel.frame" template="centinel/authentication.phtml">
|
53 |
+
<action method="addRelatedBlock"><blockId>checkout-review-submit</blockId></action>
|
54 |
+
<action method="addRelatedBlock"><blockId>checkout-review-table-wrapper</blockId></action>
|
55 |
+
<action method="setAuthenticationStartMode"><mode>instant</mode></action>
|
56 |
+
</block>
|
57 |
+
</reference>
|
58 |
+
</checkout_onepage_savepayment>
|
59 |
+
|
60 |
+
<checkout_onepage_index>
|
61 |
+
<reference name="head">
|
62 |
+
<action method="addJs"><script>mage/centinel.js</script></action>
|
63 |
+
</reference>
|
64 |
+
</checkout_onepage_index>
|
65 |
+
</layout>
|
app/design/frontend/fed/default/layout/checkout - Copy.xml
ADDED
@@ -0,0 +1,383 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<!--
|
4 |
+
Default layout, loads most of the pages
|
5 |
+
-->
|
6 |
+
<checkout_cart_index translate="label">
|
7 |
+
<label>Shopping Cart</label>
|
8 |
+
<remove name="right"/>
|
9 |
+
<remove name="left"/>
|
10 |
+
<!-- Mage_Checkout -->
|
11 |
+
|
12 |
+
<reference name="content">
|
13 |
+
<block type="checkout/cart" name="checkout.cart">
|
14 |
+
<action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
|
15 |
+
<action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
|
16 |
+
<action method="chooseTemplate"/>
|
17 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
18 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
|
19 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
|
20 |
+
|
21 |
+
<block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
|
22 |
+
<label>Payment Methods Before Checkout Button</label>
|
23 |
+
<block type="checkout/onepage" name="checkout.cart.methods.onepage" template="checkout/onepage.phtml"/>
|
24 |
+
</block>
|
25 |
+
|
26 |
+
<block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
|
27 |
+
<label>Shopping Cart Form Before</label>
|
28 |
+
</block>
|
29 |
+
|
30 |
+
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
31 |
+
<label>Payment Methods After Checkout Button</label>
|
32 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
33 |
+
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
|
34 |
+
</block>
|
35 |
+
|
36 |
+
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/coupon.phtml"/>
|
37 |
+
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/shipping.phtml"/>
|
38 |
+
<block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
|
39 |
+
|
40 |
+
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/totals.phtml"/>
|
41 |
+
</block>
|
42 |
+
</reference>
|
43 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
44 |
+
<label>Additional Product Info</label>
|
45 |
+
</block>
|
46 |
+
</checkout_cart_index>
|
47 |
+
|
48 |
+
|
49 |
+
<!--
|
50 |
+
Multi address shipping checkout main layout,
|
51 |
+
will be rendered on all checkout pages
|
52 |
+
-->
|
53 |
+
|
54 |
+
<checkout_multishipping translate="label">
|
55 |
+
<label>Multishipping Checkout</label>
|
56 |
+
<!-- Mage_Checkout -->
|
57 |
+
<remove name="right"/>
|
58 |
+
<remove name="left"/>
|
59 |
+
|
60 |
+
<reference name="root">
|
61 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
62 |
+
</reference>
|
63 |
+
<reference name="content">
|
64 |
+
<block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
|
65 |
+
</reference>
|
66 |
+
</checkout_multishipping>
|
67 |
+
|
68 |
+
<checkout_multishipping_login>
|
69 |
+
<update handle="customer_account_login"/>
|
70 |
+
</checkout_multishipping_login>
|
71 |
+
|
72 |
+
<checkout_multishipping_register>
|
73 |
+
<update handle="customer_account_create"/>
|
74 |
+
</checkout_multishipping_register>
|
75 |
+
|
76 |
+
<!--
|
77 |
+
Multi address shipping checkout selection of address per item page
|
78 |
+
-->
|
79 |
+
|
80 |
+
<checkout_multishipping_address_select translate="label">
|
81 |
+
<label>Multishipping Checkout Shipping Address Selection</label>
|
82 |
+
<update handle="checkout_multishipping"/>
|
83 |
+
<!-- Mage_Checkout -->
|
84 |
+
<reference name="content">
|
85 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
86 |
+
</reference>
|
87 |
+
</checkout_multishipping_address_select>
|
88 |
+
|
89 |
+
<checkout_multishipping_address_selectbilling translate="label">
|
90 |
+
<label>Multishipping Checkout Billing Address Selection</label>
|
91 |
+
<update handle="checkout_multishipping"/>
|
92 |
+
<!-- Mage_Checkout -->
|
93 |
+
<reference name="content">
|
94 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
95 |
+
</reference>
|
96 |
+
</checkout_multishipping_address_selectbilling>
|
97 |
+
|
98 |
+
|
99 |
+
<checkout_multishipping_address_newshipping translate="label">
|
100 |
+
<label>Multishipping Checkout Shipping Address Creation</label>
|
101 |
+
<update handle="checkout_multishipping"/>
|
102 |
+
<update handle="checkout_multishipping_customer_address"/>
|
103 |
+
</checkout_multishipping_address_newshipping>
|
104 |
+
|
105 |
+
<checkout_multishipping_address_newbilling translate="label">
|
106 |
+
<label>Multishipping Checkout Billing Address Creation</label>
|
107 |
+
<update handle="checkout_multishipping"/>
|
108 |
+
<update handle="checkout_multishipping_customer_address"/>
|
109 |
+
</checkout_multishipping_address_newbilling>
|
110 |
+
|
111 |
+
<checkout_multishipping_address_editshipping translate="label">
|
112 |
+
<label>Multishipping Checkout Shipping Address Edit Form</label>
|
113 |
+
<update handle="checkout_multishipping"/>
|
114 |
+
<update handle="checkout_multishipping_customer_address"/>
|
115 |
+
</checkout_multishipping_address_editshipping>
|
116 |
+
|
117 |
+
<checkout_multishipping_address_editaddress>
|
118 |
+
<update handle="checkout_multishipping"/>
|
119 |
+
<update handle="checkout_multishipping_customer_address"/>
|
120 |
+
</checkout_multishipping_address_editaddress>
|
121 |
+
|
122 |
+
<checkout_multishipping_address_editbilling translate="label">
|
123 |
+
<label>Multishipping Checkout Billing Address Edit Form</label>
|
124 |
+
<update handle="checkout_multishipping"/>
|
125 |
+
<update handle="checkout_multishipping_customer_address"/>
|
126 |
+
</checkout_multishipping_address_editbilling>
|
127 |
+
|
128 |
+
<checkout_multishipping_customer_address translate="label">
|
129 |
+
<label>Multishipping Checkout Customer Address Edit Form</label>
|
130 |
+
<reference name="content">
|
131 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
132 |
+
</reference>
|
133 |
+
</checkout_multishipping_customer_address>
|
134 |
+
|
135 |
+
<!--
|
136 |
+
Multi address shipping checkout address page
|
137 |
+
-->
|
138 |
+
|
139 |
+
<checkout_multishipping_addresses translate="label">
|
140 |
+
<label>Multishipping Checkout Address (Any) Form</label>
|
141 |
+
<update handle="checkout_multishipping"/>
|
142 |
+
<!-- Mage_Checkout -->
|
143 |
+
<reference name="content">
|
144 |
+
<block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
|
145 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
146 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
147 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
148 |
+
</block>
|
149 |
+
</reference>
|
150 |
+
</checkout_multishipping_addresses>
|
151 |
+
|
152 |
+
<!--
|
153 |
+
Multi address shipping checkout shipping information
|
154 |
+
-->
|
155 |
+
|
156 |
+
<checkout_multishipping_shipping translate="label">
|
157 |
+
<label>Multishipping Checkout Shipping Information Step</label>
|
158 |
+
<update handle="checkout_multishipping"/>
|
159 |
+
<!-- Mage_Checkout -->
|
160 |
+
<reference name="content">
|
161 |
+
<block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
|
162 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
163 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
164 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
165 |
+
|
166 |
+
<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
167 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
168 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
169 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
170 |
+
</block>
|
171 |
+
</block>
|
172 |
+
</reference>
|
173 |
+
</checkout_multishipping_shipping>
|
174 |
+
|
175 |
+
<!--
|
176 |
+
Multi address shipping checkout billing information
|
177 |
+
-->
|
178 |
+
|
179 |
+
<checkout_multishipping_billing translate="label">
|
180 |
+
<label>Multishipping Checkout Billing Information Step</label>
|
181 |
+
<update handle="checkout_multishipping"/>
|
182 |
+
<!-- Mage_Checkout -->
|
183 |
+
<reference name="content">
|
184 |
+
<block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
|
185 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
186 |
+
|
187 |
+
<!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
188 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
189 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
190 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
191 |
+
</block>-->
|
192 |
+
|
193 |
+
</block>
|
194 |
+
</reference>
|
195 |
+
</checkout_multishipping_billing>
|
196 |
+
|
197 |
+
<!--
|
198 |
+
Multi address shipping checkout overview
|
199 |
+
-->
|
200 |
+
|
201 |
+
<checkout_multishipping_overview translate="label">
|
202 |
+
<label>Multishipping Checkout Overview</label>
|
203 |
+
<update handle="checkout_multishipping"/>
|
204 |
+
<!-- Mage_Checkout -->
|
205 |
+
<reference name="content">
|
206 |
+
<block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
|
207 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
208 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
209 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
210 |
+
<action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
211 |
+
<action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
212 |
+
<block type="checkout/multishipping_payment_info" name="payment_info">
|
213 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
214 |
+
</block>
|
215 |
+
<block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
|
216 |
+
<block type="checkout/cart_totals" name="totals" />
|
217 |
+
<block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
|
218 |
+
<label>Overview Items After</label>
|
219 |
+
</block>
|
220 |
+
</block>
|
221 |
+
</reference>
|
222 |
+
</checkout_multishipping_overview>
|
223 |
+
|
224 |
+
<!--
|
225 |
+
Multi address shipping checkout success
|
226 |
+
-->
|
227 |
+
|
228 |
+
<checkout_multishipping_success translate="label">
|
229 |
+
<label>Multishipping Checkout Success</label>
|
230 |
+
<update handle="checkout_multishipping"/>
|
231 |
+
<!-- Mage_Checkout -->
|
232 |
+
<reference name="content">
|
233 |
+
<block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
|
234 |
+
</reference>
|
235 |
+
</checkout_multishipping_success>
|
236 |
+
|
237 |
+
<!--
|
238 |
+
One page checkout main layout
|
239 |
+
-->
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
<!--
|
244 |
+
One page checkout main layout
|
245 |
+
-->
|
246 |
+
|
247 |
+
<checkout_onepage_index translate="label">
|
248 |
+
<label>One Page Checkout</label>
|
249 |
+
<!-- Mage_Checkout -->
|
250 |
+
<remove name="left"/>
|
251 |
+
|
252 |
+
<reference name="root">
|
253 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
254 |
+
</reference>
|
255 |
+
|
256 |
+
<reference name="right">
|
257 |
+
<action method="unsetChildren"></action>
|
258 |
+
<block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
|
259 |
+
<label>Checkout Progress Wrapper</label>
|
260 |
+
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
|
261 |
+
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
|
262 |
+
</block>
|
263 |
+
</reference>
|
264 |
+
|
265 |
+
<reference name="content">
|
266 |
+
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
267 |
+
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
268 |
+
<block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
|
269 |
+
<label>Login/Registration Before</label>
|
270 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
271 |
+
</block>
|
272 |
+
</block>
|
273 |
+
<block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
|
274 |
+
<block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
|
275 |
+
<block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
|
276 |
+
<block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
|
277 |
+
<block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml" />
|
278 |
+
</block>
|
279 |
+
<block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
|
280 |
+
<block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
|
281 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
282 |
+
</block>
|
283 |
+
</block>
|
284 |
+
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
|
285 |
+
</block>
|
286 |
+
</reference>
|
287 |
+
</checkout_onepage_index>
|
288 |
+
|
289 |
+
<checkout_onepage_progress>
|
290 |
+
<!-- Mage_Checkout -->
|
291 |
+
<remove name="right"/>
|
292 |
+
<remove name="left"/>
|
293 |
+
|
294 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
|
295 |
+
<block type="checkout/onepage_payment_info" name="payment_info">
|
296 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
297 |
+
</block>
|
298 |
+
</block>
|
299 |
+
</checkout_onepage_progress>
|
300 |
+
|
301 |
+
|
302 |
+
<!--
|
303 |
+
One page checkout payment methods block
|
304 |
+
-->
|
305 |
+
<checkout_onepage_paymentmethod>
|
306 |
+
<remove name="right"/>
|
307 |
+
<remove name="left"/>
|
308 |
+
|
309 |
+
<block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
|
310 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
311 |
+
</block>
|
312 |
+
</checkout_onepage_paymentmethod>
|
313 |
+
|
314 |
+
|
315 |
+
<!--
|
316 |
+
One page checkout shipping methods block
|
317 |
+
-->
|
318 |
+
|
319 |
+
<checkout_onepage_shippingmethod>
|
320 |
+
<!-- Mage_Checkout -->
|
321 |
+
<remove name="right"/>
|
322 |
+
<remove name="left"/>
|
323 |
+
|
324 |
+
<block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
|
325 |
+
</checkout_onepage_shippingmethod>
|
326 |
+
|
327 |
+
<checkout_onepage_additional>
|
328 |
+
<!-- Mage_Checkout -->
|
329 |
+
<remove name="right"/>
|
330 |
+
<remove name="left"/>
|
331 |
+
|
332 |
+
<block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
|
333 |
+
<action method="setDontDisplayContainer"><param>1</param></action>
|
334 |
+
</block>
|
335 |
+
</checkout_onepage_additional>
|
336 |
+
|
337 |
+
<!--
|
338 |
+
One page checkout order review block
|
339 |
+
-->
|
340 |
+
|
341 |
+
<checkout_onepage_review translate="label">
|
342 |
+
<label>One Page Checkout Overview</label>
|
343 |
+
<!-- Mage_Checkout -->
|
344 |
+
<remove name="right"/>
|
345 |
+
<remove name="left"/>
|
346 |
+
|
347 |
+
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
|
348 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
349 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
350 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
351 |
+
<block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
352 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
|
353 |
+
<label>Items Before</label>
|
354 |
+
</block>
|
355 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
|
356 |
+
<label>Items After</label>
|
357 |
+
</block>
|
358 |
+
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
359 |
+
<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
|
360 |
+
</block>
|
361 |
+
</checkout_onepage_review>
|
362 |
+
|
363 |
+
<checkout_onepage_success translate="label">
|
364 |
+
<label>One Page Checkout Success</label>
|
365 |
+
<reference name="root">
|
366 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
367 |
+
</reference>
|
368 |
+
<reference name="content">
|
369 |
+
<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
|
370 |
+
</reference>
|
371 |
+
</checkout_onepage_success>
|
372 |
+
|
373 |
+
<checkout_onepage_failure translate="label">
|
374 |
+
<label>One Page Checkout Failure</label>
|
375 |
+
<reference name="root">
|
376 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
377 |
+
</reference>
|
378 |
+
<reference name="content">
|
379 |
+
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
380 |
+
</reference>
|
381 |
+
</checkout_onepage_failure>
|
382 |
+
|
383 |
+
</layout>
|
app/design/frontend/fed/default/layout/checkout.xml
ADDED
@@ -0,0 +1,494 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Checkout -->
|
38 |
+
<reference name="top.links">
|
39 |
+
<block type="checkout/links" name="checkout_cart_link">
|
40 |
+
<action method="addCartLink"></action>
|
41 |
+
<action method="addCheckoutLink"></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
<reference name="right">
|
45 |
+
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
|
46 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
47 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
48 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
49 |
+
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
|
50 |
+
<label>Shopping Cart Sidebar Extra Actions</label>
|
51 |
+
</block>
|
52 |
+
</block>
|
53 |
+
</reference>
|
54 |
+
</default>
|
55 |
+
|
56 |
+
<checkout_cart_index translate="label">
|
57 |
+
<label>Shopping Cart</label>
|
58 |
+
<remove name="right"/>
|
59 |
+
<remove name="left"/>
|
60 |
+
<!-- Mage_Checkout -->
|
61 |
+
<reference name="root">
|
62 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
63 |
+
</reference>
|
64 |
+
<reference name="content">
|
65 |
+
<block type="checkout/cart" name="checkout.cart">
|
66 |
+
<action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
|
67 |
+
<action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
|
68 |
+
<action method="chooseTemplate"/>
|
69 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
70 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
|
71 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
|
72 |
+
|
73 |
+
<block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
|
74 |
+
<label>Payment Methods Before Checkout Button</label>
|
75 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
76 |
+
</block>
|
77 |
+
|
78 |
+
<block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
|
79 |
+
<label>Shopping Cart Form Before</label>
|
80 |
+
</block>
|
81 |
+
|
82 |
+
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
83 |
+
<label>Payment Methods After Checkout Button</label>
|
84 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
85 |
+
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
|
86 |
+
</block>
|
87 |
+
|
88 |
+
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
|
89 |
+
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
|
90 |
+
<block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
|
91 |
+
|
92 |
+
|
93 |
+
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
|
94 |
+
</block>
|
95 |
+
</reference>
|
96 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
97 |
+
<label>Additional Product Info</label>
|
98 |
+
</block>
|
99 |
+
</checkout_cart_index>
|
100 |
+
|
101 |
+
<checkout_cart_configure translate="label">
|
102 |
+
<label>Configure Cart Item</label>
|
103 |
+
<update handle="catalog_product_view"/>
|
104 |
+
<reference name="product.info">
|
105 |
+
<block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
|
106 |
+
</reference>
|
107 |
+
</checkout_cart_configure>
|
108 |
+
|
109 |
+
<!--
|
110 |
+
Multi address shipping checkout main layout,
|
111 |
+
will be rendered on all checkout pages
|
112 |
+
-->
|
113 |
+
|
114 |
+
<checkout_multishipping translate="label">
|
115 |
+
<label>Multishipping Checkout</label>
|
116 |
+
<!-- Mage_Checkout -->
|
117 |
+
<remove name="right"/>
|
118 |
+
<remove name="left"/>
|
119 |
+
|
120 |
+
<reference name="root">
|
121 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
122 |
+
</reference>
|
123 |
+
<reference name="content">
|
124 |
+
<block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
|
125 |
+
</reference>
|
126 |
+
</checkout_multishipping>
|
127 |
+
|
128 |
+
<checkout_multishipping_login>
|
129 |
+
<update handle="customer_account_login"/>
|
130 |
+
</checkout_multishipping_login>
|
131 |
+
|
132 |
+
<checkout_multishipping_register>
|
133 |
+
<update handle="customer_account_create"/>
|
134 |
+
</checkout_multishipping_register>
|
135 |
+
|
136 |
+
<!--
|
137 |
+
Multi address shipping checkout selection of address per item page
|
138 |
+
-->
|
139 |
+
|
140 |
+
<checkout_multishipping_address_select translate="label">
|
141 |
+
<label>Multishipping Checkout Shipping Address Selection</label>
|
142 |
+
<update handle="checkout_multishipping"/>
|
143 |
+
<!-- Mage_Checkout -->
|
144 |
+
<reference name="content">
|
145 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
146 |
+
</reference>
|
147 |
+
</checkout_multishipping_address_select>
|
148 |
+
|
149 |
+
<checkout_multishipping_address_selectbilling translate="label">
|
150 |
+
<label>Multishipping Checkout Billing Address Selection</label>
|
151 |
+
<update handle="checkout_multishipping"/>
|
152 |
+
<!-- Mage_Checkout -->
|
153 |
+
<reference name="content">
|
154 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
155 |
+
</reference>
|
156 |
+
</checkout_multishipping_address_selectbilling>
|
157 |
+
|
158 |
+
|
159 |
+
<checkout_multishipping_address_newshipping translate="label">
|
160 |
+
<label>Multishipping Checkout Shipping Address Creation</label>
|
161 |
+
<update handle="checkout_multishipping"/>
|
162 |
+
<update handle="checkout_multishipping_customer_address"/>
|
163 |
+
</checkout_multishipping_address_newshipping>
|
164 |
+
|
165 |
+
<checkout_multishipping_address_newbilling translate="label">
|
166 |
+
<label>Multishipping Checkout Billing Address Creation</label>
|
167 |
+
<update handle="checkout_multishipping"/>
|
168 |
+
<update handle="checkout_multishipping_customer_address"/>
|
169 |
+
</checkout_multishipping_address_newbilling>
|
170 |
+
|
171 |
+
<checkout_multishipping_address_editshipping translate="label">
|
172 |
+
<label>Multishipping Checkout Shipping Address Edit Form</label>
|
173 |
+
<update handle="checkout_multishipping"/>
|
174 |
+
<update handle="checkout_multishipping_customer_address"/>
|
175 |
+
</checkout_multishipping_address_editshipping>
|
176 |
+
|
177 |
+
<checkout_multishipping_address_editaddress>
|
178 |
+
<update handle="checkout_multishipping"/>
|
179 |
+
<update handle="checkout_multishipping_customer_address"/>
|
180 |
+
</checkout_multishipping_address_editaddress>
|
181 |
+
|
182 |
+
<checkout_multishipping_address_editbilling translate="label">
|
183 |
+
<label>Multishipping Checkout Billing Address Edit Form</label>
|
184 |
+
<update handle="checkout_multishipping"/>
|
185 |
+
<update handle="checkout_multishipping_customer_address"/>
|
186 |
+
</checkout_multishipping_address_editbilling>
|
187 |
+
|
188 |
+
<checkout_multishipping_customer_address translate="label">
|
189 |
+
<label>Multishipping Checkout Customer Address Edit Form</label>
|
190 |
+
<reference name="content">
|
191 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
192 |
+
</reference>
|
193 |
+
</checkout_multishipping_customer_address>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Multi address shipping checkout address page
|
197 |
+
-->
|
198 |
+
|
199 |
+
<checkout_multishipping_addresses translate="label">
|
200 |
+
<label>Multishipping Checkout Address (Any) Form</label>
|
201 |
+
<update handle="checkout_multishipping"/>
|
202 |
+
<!-- Mage_Checkout -->
|
203 |
+
<reference name="content">
|
204 |
+
<block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
|
205 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
206 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
207 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
208 |
+
</block>
|
209 |
+
</reference>
|
210 |
+
</checkout_multishipping_addresses>
|
211 |
+
|
212 |
+
<!--
|
213 |
+
Multi address shipping checkout shipping information
|
214 |
+
-->
|
215 |
+
|
216 |
+
<checkout_multishipping_shipping translate="label">
|
217 |
+
<label>Multishipping Checkout Shipping Information Step</label>
|
218 |
+
<update handle="checkout_multishipping"/>
|
219 |
+
<!-- Mage_Checkout -->
|
220 |
+
<reference name="content">
|
221 |
+
<block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
|
222 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
223 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
224 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
225 |
+
|
226 |
+
<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
227 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
228 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
229 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
230 |
+
</block>
|
231 |
+
</block>
|
232 |
+
</reference>
|
233 |
+
</checkout_multishipping_shipping>
|
234 |
+
|
235 |
+
<!--
|
236 |
+
Multi address shipping checkout billing information
|
237 |
+
-->
|
238 |
+
|
239 |
+
<checkout_multishipping_billing translate="label">
|
240 |
+
<label>Multishipping Checkout Billing Information Step</label>
|
241 |
+
<update handle="checkout_multishipping"/>
|
242 |
+
<!-- Mage_Checkout -->
|
243 |
+
<reference name="content">
|
244 |
+
<block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
|
245 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
246 |
+
|
247 |
+
<!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
248 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
249 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
250 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
251 |
+
</block>-->
|
252 |
+
|
253 |
+
</block>
|
254 |
+
</reference>
|
255 |
+
</checkout_multishipping_billing>
|
256 |
+
|
257 |
+
<!--
|
258 |
+
Multi address shipping checkout overview
|
259 |
+
-->
|
260 |
+
|
261 |
+
<checkout_multishipping_overview translate="label">
|
262 |
+
<label>Multishipping Checkout Overview</label>
|
263 |
+
<update handle="checkout_multishipping"/>
|
264 |
+
<!-- Mage_Checkout -->
|
265 |
+
<reference name="content">
|
266 |
+
<block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
|
267 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
268 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
269 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
270 |
+
<action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
271 |
+
<action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
272 |
+
<block type="checkout/multishipping_payment_info" name="payment_info">
|
273 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
274 |
+
</block>
|
275 |
+
<block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
|
276 |
+
<block type="checkout/cart_totals" name="totals" />
|
277 |
+
<block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
|
278 |
+
<label>Overview Items After</label>
|
279 |
+
</block>
|
280 |
+
</block>
|
281 |
+
</reference>
|
282 |
+
</checkout_multishipping_overview>
|
283 |
+
|
284 |
+
<!--
|
285 |
+
Multi address shipping checkout success
|
286 |
+
-->
|
287 |
+
|
288 |
+
<checkout_multishipping_success translate="label">
|
289 |
+
<label>Multishipping Checkout Success</label>
|
290 |
+
<update handle="checkout_multishipping"/>
|
291 |
+
<!-- Mage_Checkout -->
|
292 |
+
<reference name="content">
|
293 |
+
<block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
|
294 |
+
</reference>
|
295 |
+
</checkout_multishipping_success>
|
296 |
+
|
297 |
+
<!--
|
298 |
+
One page checkout main layout
|
299 |
+
-->
|
300 |
+
|
301 |
+
<checkout_onepage_index translate="label">
|
302 |
+
<label>One Page Checkout</label>
|
303 |
+
<!-- Mage_Checkout -->
|
304 |
+
<remove name="left"/>
|
305 |
+
|
306 |
+
<reference name="root">
|
307 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
308 |
+
</reference>
|
309 |
+
|
310 |
+
<reference name="right">
|
311 |
+
<action method="unsetChildren"></action>
|
312 |
+
<block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
|
313 |
+
<label>Checkout Progress Wrapper</label>
|
314 |
+
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
|
315 |
+
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml">
|
316 |
+
<block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
|
317 |
+
<block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
|
318 |
+
<block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
|
319 |
+
<block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
|
320 |
+
</block>
|
321 |
+
</block>
|
322 |
+
</reference>
|
323 |
+
|
324 |
+
<reference name="content">
|
325 |
+
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
326 |
+
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
327 |
+
<block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
|
328 |
+
<label>Login/Registration Before</label>
|
329 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
330 |
+
</block>
|
331 |
+
</block>
|
332 |
+
<block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
|
333 |
+
<block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
|
334 |
+
<block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
|
335 |
+
<block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
|
336 |
+
<block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
|
337 |
+
</block>
|
338 |
+
<block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
|
339 |
+
<block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/info.phtml">
|
340 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
341 |
+
</block>
|
342 |
+
</block>
|
343 |
+
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
|
344 |
+
</block>
|
345 |
+
</reference>
|
346 |
+
</checkout_onepage_index>
|
347 |
+
|
348 |
+
<!--
|
349 |
+
One page checkout progress block
|
350 |
+
-->
|
351 |
+
|
352 |
+
<checkout_onepage_progress>
|
353 |
+
<!-- Mage_Checkout -->
|
354 |
+
<remove name="right"/>
|
355 |
+
<remove name="left"/>
|
356 |
+
|
357 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
|
358 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
359 |
+
<block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
|
360 |
+
<block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
|
361 |
+
<block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
|
362 |
+
<block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
|
363 |
+
</block>
|
364 |
+
</checkout_onepage_progress>
|
365 |
+
|
366 |
+
<!-- Individual blocks for Progress steps begins -->
|
367 |
+
<checkout_onepage_progress_billing>
|
368 |
+
<!-- Mage_Checkout -->
|
369 |
+
<remove name="right"/>
|
370 |
+
<remove name="left"/>
|
371 |
+
|
372 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml">
|
373 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
374 |
+
</block>
|
375 |
+
</checkout_onepage_progress_billing>
|
376 |
+
|
377 |
+
|
378 |
+
<checkout_onepage_progress_shipping>
|
379 |
+
<!-- Mage_Checkout -->
|
380 |
+
<remove name="right"/>
|
381 |
+
<remove name="left"/>
|
382 |
+
|
383 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml">
|
384 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
385 |
+
</block>
|
386 |
+
</checkout_onepage_progress_shipping>
|
387 |
+
|
388 |
+
|
389 |
+
<checkout_onepage_progress_shipping_method>
|
390 |
+
<!-- Mage_Checkout -->
|
391 |
+
<remove name="right"/>
|
392 |
+
<remove name="left"/>
|
393 |
+
|
394 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml">
|
395 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
396 |
+
</block>
|
397 |
+
</checkout_onepage_progress_shipping_method>
|
398 |
+
|
399 |
+
<checkout_onepage_progress_payment>
|
400 |
+
<!-- Mage_Checkout -->
|
401 |
+
<remove name="right"/>
|
402 |
+
<remove name="left"/>
|
403 |
+
|
404 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml">
|
405 |
+
<block type="checkout/onepage_payment_info" name="payment_info">
|
406 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
407 |
+
</block>
|
408 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
409 |
+
</block>
|
410 |
+
</checkout_onepage_progress_payment>
|
411 |
+
|
412 |
+
<!-- end individual progress blocks -->
|
413 |
+
|
414 |
+
<!--
|
415 |
+
One page checkout payment methods block
|
416 |
+
-->
|
417 |
+
<checkout_onepage_paymentmethod>
|
418 |
+
<remove name="right"/>
|
419 |
+
<remove name="left"/>
|
420 |
+
|
421 |
+
<block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
|
422 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
423 |
+
</block>
|
424 |
+
</checkout_onepage_paymentmethod>
|
425 |
+
|
426 |
+
|
427 |
+
<!--
|
428 |
+
One page checkout shipping methods block
|
429 |
+
-->
|
430 |
+
|
431 |
+
<checkout_onepage_shippingmethod>
|
432 |
+
<!-- Mage_Checkout -->
|
433 |
+
<remove name="right"/>
|
434 |
+
<remove name="left"/>
|
435 |
+
|
436 |
+
<block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
|
437 |
+
</checkout_onepage_shippingmethod>
|
438 |
+
|
439 |
+
<checkout_onepage_additional>
|
440 |
+
<!-- Mage_Checkout -->
|
441 |
+
<remove name="right"/>
|
442 |
+
<remove name="left"/>
|
443 |
+
|
444 |
+
<block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
|
445 |
+
<action method="setDontDisplayContainer"><param>1</param></action>
|
446 |
+
</block>
|
447 |
+
</checkout_onepage_additional>
|
448 |
+
|
449 |
+
<!--
|
450 |
+
One page checkout order review block
|
451 |
+
-->
|
452 |
+
|
453 |
+
<checkout_onepage_review translate="label">
|
454 |
+
<label>One Page Checkout Overview</label>
|
455 |
+
<!-- Mage_Checkout -->
|
456 |
+
<remove name="right"/>
|
457 |
+
<remove name="left"/>
|
458 |
+
|
459 |
+
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
|
460 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
461 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
462 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
463 |
+
<block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
464 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
|
465 |
+
<label>Items Before</label>
|
466 |
+
</block>
|
467 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
|
468 |
+
<label>Items After</label>
|
469 |
+
</block>
|
470 |
+
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
471 |
+
<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
|
472 |
+
</block>
|
473 |
+
</checkout_onepage_review>
|
474 |
+
|
475 |
+
<checkout_onepage_success translate="label">
|
476 |
+
<label>One Page Checkout Success</label>
|
477 |
+
<reference name="root">
|
478 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
479 |
+
</reference>
|
480 |
+
<reference name="content">
|
481 |
+
<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
|
482 |
+
</reference>
|
483 |
+
</checkout_onepage_success>
|
484 |
+
<checkout_onepage_failure translate="label">
|
485 |
+
<label>One Page Checkout Failure</label>
|
486 |
+
<reference name="root">
|
487 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
488 |
+
</reference>
|
489 |
+
<reference name="content">
|
490 |
+
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
491 |
+
</reference>
|
492 |
+
</checkout_onepage_failure>
|
493 |
+
<block type="core/list" name="additional.product.info"/>
|
494 |
+
</layout>
|
app/design/frontend/fed/default/layout/cms.xml
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
|
33 |
+
<default>
|
34 |
+
<reference name="footer">
|
35 |
+
<block type="cms/block" name="cms_footer_links" before="footer_links">
|
36 |
+
<!--
|
37 |
+
The content of this block is taken from the database by its block_id.
|
38 |
+
You can manage it in admin CMS -> Static Blocks
|
39 |
+
-->
|
40 |
+
<action method="setBlockId"><block_id>footer_links</block_id></action>
|
41 |
+
</block>
|
42 |
+
</reference>
|
43 |
+
</default>
|
44 |
+
|
45 |
+
<cms_page translate="label">
|
46 |
+
<label>CMS Pages (All)</label>
|
47 |
+
<reference name="content">
|
48 |
+
<block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
|
49 |
+
<block type="page/html_wrapper" name="cms.wrapper" translate="label">
|
50 |
+
<label>CMS Content Wrapper</label>
|
51 |
+
<action method="setElementClass"><value>std</value></action>
|
52 |
+
<block type="cms/page" name="cms_page"/>
|
53 |
+
</block>
|
54 |
+
</reference>
|
55 |
+
</cms_page>
|
56 |
+
|
57 |
+
<cms_index_index translate="label">
|
58 |
+
<label>CMS Home Page</label>
|
59 |
+
</cms_index_index>
|
60 |
+
|
61 |
+
<cms_index_defaultindex>
|
62 |
+
<remove name="right"/>
|
63 |
+
<remove name="left"/>
|
64 |
+
|
65 |
+
<reference name="root">
|
66 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
67 |
+
</reference>
|
68 |
+
<reference name="content">
|
69 |
+
<block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
|
70 |
+
</reference>
|
71 |
+
</cms_index_defaultindex>
|
72 |
+
|
73 |
+
<cms_index_noroute translate="label">
|
74 |
+
<label>CMS No-Route Page</label>
|
75 |
+
</cms_index_noroute>
|
76 |
+
|
77 |
+
<cms_index_defaultnoroute>
|
78 |
+
<remove name="right"/>
|
79 |
+
<remove name="left"/>
|
80 |
+
|
81 |
+
<reference name="root">
|
82 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
83 |
+
</reference>
|
84 |
+
<reference name="content">
|
85 |
+
<block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
|
86 |
+
</reference>
|
87 |
+
</cms_index_defaultnoroute>
|
88 |
+
|
89 |
+
</layout>
|
app/design/frontend/fed/default/layout/contacts.xml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<default>
|
30 |
+
<reference name="footer_links">
|
31 |
+
<action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
|
32 |
+
</reference>
|
33 |
+
</default>
|
34 |
+
|
35 |
+
<contacts_index_index translate="label">
|
36 |
+
<label>Contact Us Form</label>
|
37 |
+
<reference name="head">
|
38 |
+
<action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
39 |
+
</reference>
|
40 |
+
<reference name="root">
|
41 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
42 |
+
<action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
43 |
+
</reference>
|
44 |
+
<reference name="content">
|
45 |
+
<block type="core/template" name="contactForm" template="contacts/form.phtml"/>
|
46 |
+
</reference>
|
47 |
+
</contacts_index_index>
|
48 |
+
</layout>
|
app/design/frontend/fed/default/layout/core.xml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<default>
|
31 |
+
<block name="formkey" type="core/template" template="core/formkey.phtml" />
|
32 |
+
</default>
|
33 |
+
</layout>
|
app/design/frontend/fed/default/layout/customer.xml
ADDED
@@ -0,0 +1,307 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
Supported layout update handles (action):
|
29 |
+
- customer_account_index
|
30 |
+
- customer_address_index
|
31 |
+
- customer_address_view
|
32 |
+
- customer_account_login
|
33 |
+
- customer_account_logoutsuccess
|
34 |
+
- customer_account_create
|
35 |
+
- customer_account_forgotpassword
|
36 |
+
- customer_account_confirmation
|
37 |
+
- customer_account_edit
|
38 |
+
|
39 |
+
Supported layout update handles (special):
|
40 |
+
- default
|
41 |
+
|
42 |
+
-->
|
43 |
+
<layout version="0.1.0">
|
44 |
+
|
45 |
+
<!--
|
46 |
+
Default layout, loads most of the pages
|
47 |
+
-->
|
48 |
+
|
49 |
+
<default>
|
50 |
+
<!-- Mage_Customer -->
|
51 |
+
<reference name="top.links">
|
52 |
+
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
|
53 |
+
</reference>
|
54 |
+
</default>
|
55 |
+
|
56 |
+
<default>
|
57 |
+
<!-- Mage_Customer -->
|
58 |
+
<!--<reference name="top.links">
|
59 |
+
<action method="addLink" translate="label title" module="customer">
|
60 |
+
<label>Sign Up</label>
|
61 |
+
<url helper="customer/getRegisterUrl"/>
|
62 |
+
<title>My Account</title>
|
63 |
+
<prepare/>
|
64 |
+
<urlParams/>
|
65 |
+
<position>110</position>
|
66 |
+
</action>
|
67 |
+
</reference>-->
|
68 |
+
</default>
|
69 |
+
|
70 |
+
<!--
|
71 |
+
Load this update on every page when customer is logged in
|
72 |
+
-->
|
73 |
+
|
74 |
+
<customer_logged_in>
|
75 |
+
<reference name="top.links">
|
76 |
+
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
|
77 |
+
</reference>
|
78 |
+
</customer_logged_in>
|
79 |
+
|
80 |
+
<!--
|
81 |
+
Load this update on every page when customer is logged out
|
82 |
+
-->
|
83 |
+
|
84 |
+
<customer_logged_out>
|
85 |
+
<!---<reference name="right">
|
86 |
+
<block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
|
87 |
+
</reference>-->
|
88 |
+
<reference name="top.links">
|
89 |
+
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
|
90 |
+
</reference>
|
91 |
+
<remove name="reorder"></remove>
|
92 |
+
</customer_logged_out>
|
93 |
+
|
94 |
+
<!--
|
95 |
+
Layout for customer login page
|
96 |
+
-->
|
97 |
+
|
98 |
+
<customer_account_login translate="label">
|
99 |
+
<label>Customer Account Login Form</label>
|
100 |
+
<!-- Mage_Customer -->
|
101 |
+
<remove name="right"/>
|
102 |
+
<remove name="left"/>
|
103 |
+
|
104 |
+
<reference name="root">
|
105 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
106 |
+
</reference>
|
107 |
+
<reference name="content">
|
108 |
+
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
|
109 |
+
</reference>
|
110 |
+
</customer_account_login>
|
111 |
+
|
112 |
+
<!--
|
113 |
+
Layout for customer log out page
|
114 |
+
-->
|
115 |
+
|
116 |
+
<customer_account_logoutsuccess translate="label">
|
117 |
+
<label>Customer Account Logout Success</label>
|
118 |
+
<!-- Mage_Customer -->
|
119 |
+
<remove name="right"/>
|
120 |
+
<remove name="left"/>
|
121 |
+
|
122 |
+
<reference name="root">
|
123 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
124 |
+
</reference>
|
125 |
+
<reference name="content">
|
126 |
+
<block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
|
127 |
+
</reference>
|
128 |
+
</customer_account_logoutsuccess>
|
129 |
+
|
130 |
+
<!--
|
131 |
+
New customer registration
|
132 |
+
-->
|
133 |
+
|
134 |
+
<customer_account_create translate="label">
|
135 |
+
<label>Customer Account Registration Form</label>
|
136 |
+
<!-- Mage_Customer -->
|
137 |
+
<remove name="right"/>
|
138 |
+
<remove name="left"/>
|
139 |
+
|
140 |
+
<reference name="root">
|
141 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
142 |
+
</reference>
|
143 |
+
<reference name="content">
|
144 |
+
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
|
145 |
+
<block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
|
146 |
+
<label>Form Fields Before</label>
|
147 |
+
</block>
|
148 |
+
</block>
|
149 |
+
</reference>
|
150 |
+
</customer_account_create>
|
151 |
+
|
152 |
+
<customer_account_forgotpassword translate="label">
|
153 |
+
<label>Customer Forgot Password Form</label>
|
154 |
+
<remove name="right"/>
|
155 |
+
<remove name="left"/>
|
156 |
+
|
157 |
+
<reference name="head">
|
158 |
+
<action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
|
159 |
+
</reference>
|
160 |
+
<reference name="root">
|
161 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
162 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
|
163 |
+
</reference>
|
164 |
+
<reference name="content">
|
165 |
+
<!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
|
166 |
+
<block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml" />
|
167 |
+
</reference>
|
168 |
+
</customer_account_forgotpassword>
|
169 |
+
|
170 |
+
<customer_account_resetpassword translate="label">
|
171 |
+
<label>Reset a Password</label>
|
172 |
+
<remove name="right"/>
|
173 |
+
<remove name="left"/>
|
174 |
+
|
175 |
+
<reference name="head">
|
176 |
+
<action method="setTitle" translate="title" module="customer">
|
177 |
+
<title>Reset a Password</title>
|
178 |
+
</action>
|
179 |
+
</reference>
|
180 |
+
<reference name="root">
|
181 |
+
<action method="setTemplate">
|
182 |
+
<template>page/1column.phtml</template>
|
183 |
+
</action>
|
184 |
+
<action method="setHeaderTitle" translate="title" module="customer">
|
185 |
+
<title>Reset a Password</title>
|
186 |
+
</action>
|
187 |
+
</reference>
|
188 |
+
<reference name="content">
|
189 |
+
<block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
|
190 |
+
</reference>
|
191 |
+
</customer_account_resetpassword>
|
192 |
+
|
193 |
+
<customer_account_confirmation>
|
194 |
+
<remove name="right"/>
|
195 |
+
<remove name="left"/>
|
196 |
+
|
197 |
+
<reference name="root">
|
198 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
199 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
|
200 |
+
</reference>
|
201 |
+
<reference name="content">
|
202 |
+
<block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
|
203 |
+
</reference>
|
204 |
+
</customer_account_confirmation>
|
205 |
+
|
206 |
+
<customer_account_edit translate="label">
|
207 |
+
<label>Customer Account Edit Form</label>
|
208 |
+
<update handle="customer_account"/>
|
209 |
+
<reference name="root">
|
210 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
|
211 |
+
</reference>
|
212 |
+
<reference name="my.account.wrapper">
|
213 |
+
<block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
|
214 |
+
</reference>
|
215 |
+
|
216 |
+
<reference name="left">
|
217 |
+
<action method="unsetChild"><name>left.permanent.callout</name></action>
|
218 |
+
</reference>
|
219 |
+
</customer_account_edit>
|
220 |
+
|
221 |
+
<!--
|
222 |
+
Customer account pages, rendered for all tabs in dashboard
|
223 |
+
-->
|
224 |
+
|
225 |
+
<customer_account translate="label">
|
226 |
+
<label>Customer My Account (All Pages)</label>
|
227 |
+
<!--remove name="catalog.compare.sidebar"/>
|
228 |
+
<remove name="sale.reorder.sidebar"/-->
|
229 |
+
<!-- Mage_Customer -->
|
230 |
+
<!-- <reference name="root">
|
231 |
+
<action method="setTemplate"><template>page/page_left.phtml</template></action>
|
232 |
+
</reference> -->
|
233 |
+
|
234 |
+
<reference name="content">
|
235 |
+
<block type="page/html_wrapper" name="my.account.wrapper" translate="label">
|
236 |
+
<label>My Account Wrapper</label>
|
237 |
+
<action method="setElementClass"><value>my-account</value></action>
|
238 |
+
</block>
|
239 |
+
</reference>
|
240 |
+
|
241 |
+
<reference name="left">
|
242 |
+
<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
|
243 |
+
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
|
244 |
+
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
|
245 |
+
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
|
246 |
+
</block>
|
247 |
+
<!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
|
248 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
249 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
250 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
251 |
+
</block>-->
|
252 |
+
<!--<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>-->
|
253 |
+
<remove name="tags_popular"/>
|
254 |
+
|
255 |
+
</reference>
|
256 |
+
</customer_account>
|
257 |
+
|
258 |
+
<!--
|
259 |
+
Customer account home dashboard layout
|
260 |
+
-->
|
261 |
+
|
262 |
+
<customer_account_index translate="label">
|
263 |
+
<label>Customer My Account Dashboard</label>
|
264 |
+
<update handle="customer_account"/>
|
265 |
+
<!-- Mage_Customer -->
|
266 |
+
<reference name="root">
|
267 |
+
<action method="setTemplate"><template>page/page_left.phtml</template></action>
|
268 |
+
</reference>
|
269 |
+
<reference name="my.account.wrapper">
|
270 |
+
<block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
|
271 |
+
<block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
|
272 |
+
<block type="core/template" name="customer_account_dashboard_top" as="top" />
|
273 |
+
<block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
|
274 |
+
<block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
|
275 |
+
<block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
|
276 |
+
</block>
|
277 |
+
</reference>
|
278 |
+
|
279 |
+
</customer_account_index>
|
280 |
+
|
281 |
+
<!--
|
282 |
+
Customer account address book
|
283 |
+
-->
|
284 |
+
|
285 |
+
<customer_address_index translate="label">
|
286 |
+
<label>Customer My Account Address Book</label>
|
287 |
+
<!-- Mage_Customer -->
|
288 |
+
<update handle="customer_account"/>
|
289 |
+
<reference name="my.account.wrapper">
|
290 |
+
<block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
|
291 |
+
</reference>
|
292 |
+
</customer_address_index>
|
293 |
+
|
294 |
+
<!--
|
295 |
+
Customer account address edit page
|
296 |
+
-->
|
297 |
+
|
298 |
+
<customer_address_form translate="label">
|
299 |
+
<label>Customer My Account Address Edit Form</label>
|
300 |
+
<!-- Mage_Customer -->
|
301 |
+
<update handle="customer_account"/>
|
302 |
+
<reference name="my.account.wrapper">
|
303 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
304 |
+
</reference>
|
305 |
+
</customer_address_form>
|
306 |
+
|
307 |
+
</layout>
|
app/design/frontend/fed/default/layout/directory.xml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Category default layout
|
33 |
+
-->
|
34 |
+
<default>
|
35 |
+
<reference name="head">
|
36 |
+
<block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
|
37 |
+
</reference>
|
38 |
+
</default>
|
39 |
+
|
40 |
+
<catalog_category_default>
|
41 |
+
<reference name="left">
|
42 |
+
<block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
|
43 |
+
</reference>
|
44 |
+
</catalog_category_default>
|
45 |
+
|
46 |
+
<!--
|
47 |
+
Category layered navigation layout
|
48 |
+
-->
|
49 |
+
|
50 |
+
<catalog_category_layered>
|
51 |
+
<reference name="left">
|
52 |
+
<block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
|
53 |
+
</reference>
|
54 |
+
</catalog_category_layered>
|
55 |
+
|
56 |
+
<!--
|
57 |
+
Catalog Search layout
|
58 |
+
-->
|
59 |
+
|
60 |
+
<catalogsearch_advanced_index>
|
61 |
+
<reference name="left">
|
62 |
+
<block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
|
63 |
+
</reference>
|
64 |
+
</catalogsearch_advanced_index>
|
65 |
+
|
66 |
+
<catalogsearch_result_index>
|
67 |
+
<reference name="left">
|
68 |
+
<block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
|
69 |
+
</reference>
|
70 |
+
</catalogsearch_result_index>
|
71 |
+
|
72 |
+
<catalogsearch_advanced_result>
|
73 |
+
<reference name="right">
|
74 |
+
<block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
|
75 |
+
</reference>
|
76 |
+
</catalogsearch_advanced_result>
|
77 |
+
|
78 |
+
</layout>
|
app/design/frontend/fed/default/layout/downloadable.xml
ADDED
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<customer_account>
|
32 |
+
<reference name="customer_account_navigation">
|
33 |
+
<action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>
|
34 |
+
</reference>
|
35 |
+
</customer_account>
|
36 |
+
|
37 |
+
<downloadable_customer_products translate="label">
|
38 |
+
<label>Customer My Account Downloadable Items</label>
|
39 |
+
<update handle="customer_account"/>
|
40 |
+
<reference name="my.account.wrapper">
|
41 |
+
<block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
|
42 |
+
</reference>
|
43 |
+
<reference name="root">
|
44 |
+
<action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
|
45 |
+
</reference>
|
46 |
+
</downloadable_customer_products>
|
47 |
+
|
48 |
+
<checkout_cart_index>
|
49 |
+
<reference name="checkout.cart">
|
50 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
|
51 |
+
</reference>
|
52 |
+
</checkout_cart_index>
|
53 |
+
|
54 |
+
<checkout_onepage_review>
|
55 |
+
<reference name="root">
|
56 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
57 |
+
</reference>
|
58 |
+
</checkout_onepage_review>
|
59 |
+
|
60 |
+
<checkout_onepage_success>
|
61 |
+
<reference name="checkout.success">
|
62 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
63 |
+
</reference>
|
64 |
+
</checkout_onepage_success>
|
65 |
+
|
66 |
+
<checkout_multishipping_addresses>
|
67 |
+
<reference name="checkout_addresses">
|
68 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
69 |
+
</reference>
|
70 |
+
</checkout_multishipping_addresses>
|
71 |
+
|
72 |
+
<checkout_multishipping_shipping>
|
73 |
+
<reference name="checkout_billing_items">
|
74 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
75 |
+
</reference>
|
76 |
+
</checkout_multishipping_shipping>
|
77 |
+
|
78 |
+
<checkout_multishipping_overview>
|
79 |
+
<reference name="checkout_overview">
|
80 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
81 |
+
</reference>
|
82 |
+
</checkout_multishipping_overview>
|
83 |
+
|
84 |
+
<checkout_multishipping_success>
|
85 |
+
<reference name="checkout_success">
|
86 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
87 |
+
</reference>
|
88 |
+
</checkout_multishipping_success>
|
89 |
+
|
90 |
+
<paypal_express_review>
|
91 |
+
<reference name="paypal.express.review.details">
|
92 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
93 |
+
</reference>
|
94 |
+
</paypal_express_review>
|
95 |
+
<paypal_express_review_details>
|
96 |
+
<reference name="root">
|
97 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
98 |
+
</reference>
|
99 |
+
</paypal_express_review_details>
|
100 |
+
|
101 |
+
<paypaluk_express_review>
|
102 |
+
<reference name="paypal.express.review.details">
|
103 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
104 |
+
</reference>
|
105 |
+
</paypaluk_express_review>
|
106 |
+
<paypaluk_express_review_details>
|
107 |
+
<reference name="root">
|
108 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
109 |
+
</reference>
|
110 |
+
</paypaluk_express_review_details>
|
111 |
+
|
112 |
+
<sales_order_view>
|
113 |
+
<reference name="order_items">
|
114 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
115 |
+
</reference>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice>
|
119 |
+
<reference name="invoice_items">
|
120 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
121 |
+
</reference>
|
122 |
+
</sales_order_invoice>
|
123 |
+
|
124 |
+
<sales_order_creditmemo>
|
125 |
+
<reference name="creditmemo_items">
|
126 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
127 |
+
</reference>
|
128 |
+
</sales_order_creditmemo>
|
129 |
+
|
130 |
+
<!--
|
131 |
+
Print pages
|
132 |
+
-->
|
133 |
+
|
134 |
+
<sales_order_print>
|
135 |
+
<reference name="sales.order.print">
|
136 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
137 |
+
</reference>
|
138 |
+
</sales_order_print>
|
139 |
+
|
140 |
+
<sales_order_printinvoice>
|
141 |
+
<reference name="sales.order.print.invoice">
|
142 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
143 |
+
</reference>
|
144 |
+
</sales_order_printinvoice>
|
145 |
+
|
146 |
+
<sales_order_printcreditmemo>
|
147 |
+
<reference name="sales.order.print.creditmemo">
|
148 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
149 |
+
</reference>
|
150 |
+
</sales_order_printcreditmemo>
|
151 |
+
|
152 |
+
<!--
|
153 |
+
EOF Print pages
|
154 |
+
-->
|
155 |
+
|
156 |
+
<!--
|
157 |
+
For guests
|
158 |
+
-->
|
159 |
+
<sales_guest_view>
|
160 |
+
<reference name="order_items">
|
161 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
162 |
+
</reference>
|
163 |
+
</sales_guest_view>
|
164 |
+
|
165 |
+
<sales_guest_invoice>
|
166 |
+
<reference name="invoice_items">
|
167 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
168 |
+
</reference>
|
169 |
+
</sales_guest_invoice>
|
170 |
+
|
171 |
+
<sales_guest_creditmemo>
|
172 |
+
<reference name="creditmemo_items">
|
173 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
174 |
+
</reference>
|
175 |
+
</sales_guest_creditmemo>
|
176 |
+
|
177 |
+
<sales_guest_print>
|
178 |
+
<reference name="sales.order.print">
|
179 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
180 |
+
</reference>
|
181 |
+
</sales_guest_print>
|
182 |
+
|
183 |
+
<sales_guest_printinvoice>
|
184 |
+
<reference name="sales.order.print.invoice">
|
185 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
186 |
+
</reference>
|
187 |
+
</sales_guest_printinvoice>
|
188 |
+
|
189 |
+
<sales_guest_printcreditmemo>
|
190 |
+
<reference name="sales.order.print.creditmemo">
|
191 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
192 |
+
</reference>
|
193 |
+
</sales_guest_printcreditmemo>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Emails
|
197 |
+
-->
|
198 |
+
|
199 |
+
<sales_email_order_items>
|
200 |
+
<reference name="items">
|
201 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_order_downloadable</block><template>downloadable/email/order/items/order/downloadable.phtml</template></action>
|
202 |
+
</reference>
|
203 |
+
</sales_email_order_items>
|
204 |
+
|
205 |
+
<sales_email_order_invoice_items>
|
206 |
+
<reference name="items">
|
207 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
|
208 |
+
</reference>
|
209 |
+
</sales_email_order_invoice_items>
|
210 |
+
|
211 |
+
<sales_email_order_creditmemo_items>
|
212 |
+
<reference name="items">
|
213 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
|
214 |
+
</reference>
|
215 |
+
</sales_email_order_creditmemo_items>
|
216 |
+
|
217 |
+
<PRODUCT_TYPE_downloadable translate="label" module="downloadable">
|
218 |
+
<label>Catalog Product View (Downloadable)</label>
|
219 |
+
<reference name="product.info">
|
220 |
+
<block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">
|
221 |
+
<block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="samples" template="downloadable/catalog/product/samples.phtml"/>
|
222 |
+
<block type="cataloginventory/stockqty_default" name="product.info.downloadable.extra" as="product_type_data_extra" template="cataloginventory/stockqty/default.phtml"/>
|
223 |
+
</block>
|
224 |
+
</reference>
|
225 |
+
<reference name="product.info.options.wrapper">
|
226 |
+
<block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
|
227 |
+
<action method="insert"><block>product.info.downloadable.options</block></action>
|
228 |
+
</reference>
|
229 |
+
</PRODUCT_TYPE_downloadable>
|
230 |
+
|
231 |
+
</layout>
|
app/design/frontend/fed/default/layout/fedtabs.xml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addItem" ifconfig="fed_tabs/general/enabled"><type>skin_css</type><name>css/bootstrap.css</name></action>
|
6 |
+
</reference>
|
7 |
+
</default>
|
8 |
+
|
9 |
+
<catalog_product_view>
|
10 |
+
<reference name="product.info">
|
11 |
+
<action method="unsetChild" ifconfig="fed_tabs/general/descriptiontabbed"><name>description</name></action>
|
12 |
+
<action method="unsetChild" ifconfig="fed_tabs/general/additionaltabbed"><name>additional</name></action>
|
13 |
+
<action method="unsetChild" ifconfig="fed_tabs/general/upsellproductstabbed"><name>upsell_products</name></action>
|
14 |
+
</reference>
|
15 |
+
<reference name="right">
|
16 |
+
<action method="unsetChild" ifconfig="fed_tabs/general/relatedtabbed"><name>catalog.product.related</name></action>
|
17 |
+
</reference>
|
18 |
+
<reference name="product.info.additional">
|
19 |
+
<action method="unsetChild" ifconfig="fed_tabs/general/tagstabbed"><name>product_tag_list</name></action>
|
20 |
+
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs">
|
21 |
+
<action method="setTemplate" ifconfig="fed_tabs/general/enabled"><template>fedtabs/tabs.phtml</template></action>
|
22 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/general/descriptiontabbed"><alias>description_tabbed</alias><title>Product Description</title><block>catalog/product_view_description</block><template>fedtabs/description.phtml</template></action>
|
23 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/general/additionaltabbed"><alias>additional_tabbed</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>fedtabs/attributes.phtml</template></action>
|
24 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/general/upsellproductstabbed"><alias>upsell_products_tabbed</alias><title>We Also Recommend</title><block>catalog/product_list_upsell</block><template>catalog/product/list/upsell.phtml</template></action>
|
25 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/general/relatedtabbed"><alias>related_tabbed</alias><title>Related Products</title><block>catalog/product_list_related</block><template>fedtabs/catalogproductrelated.phtml</template></action>
|
26 |
+
<action method="addTab" translate="title" module="tag" ifconfig="fed_tabs/general/tagstabbed"><alias>tags_tabbed</alias><title>Product Tags</title><block>tag/product_list</block><template>easytabs/catalogproducttags.phtml</template></action>
|
27 |
+
<action method="addTab" translate="title" module="review" ifconfig="fed_tabs/general/reviewtabbed"><alias>review_tabbed</alias><title>Product's Review</title>
|
28 |
+
<block>review/product_view_list</block><template>fedtabs/catalogproductreview.phtml</template>
|
29 |
+
<!--<block>review/form</block><template>fedtabs/form.phtml</template>-->
|
30 |
+
</action>
|
31 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/custom/customtab"><alias>custom</alias><title>Custom tab</title><block>catalog/product_view</block><template>fedtabs/catalogproductcustom.phtml</template></action>
|
32 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/custom/customtab1"><alias>custom1</alias><title>Custom tab</title><block>catalog/product_view</block><template>fedtabs/catalogproductcustom1.phtml</template></action>
|
33 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/custom/customtab2"><alias>custom2</alias><title>Custom tab</title><block>catalog/product_view</block><template>fedtabs/catalogproductcustom2.phtml</template></action>
|
34 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/custom/customtab3"><alias>custom3</alias><title>Custom tab</title><block>catalog/product_view</block><template>fedtabs/catalogproductcustom3.phtml</template></action>
|
35 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/custom/customtab4"><alias>custom4</alias><title>Custom tab</title><block>catalog/product_view</block><template>fedtabs/catalogproductcustom4.phtml</template></action>
|
36 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/customcms/tabcms"><alias>cms</alias><title>CMS tab</title><block>core/template</block><template>fedtabs/catalogproductcms.phtml</template></action>
|
37 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/customcms/tabcms1"><alias>cms1</alias><title>CMS tab</title><block>core/template</block><template>fedtabs/catalogproductcms1.phtml</template></action>
|
38 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/customcms/tabcms2"><alias>cms2</alias><title>CMS tab</title><block>core/template</block><template>fedtabs/catalogproductcms2.phtml</template></action>
|
39 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/customcms/tabcms3"><alias>cms3</alias><title>CMS tab</title><block>core/template</block><template>fedtabs/catalogproductcms3.phtml</template></action>
|
40 |
+
<action method="addTab" translate="title" module="catalog" ifconfig="fed_tabs/customcms/tabcms4"><alias>cms4</alias><title>CMS tab</title><block>core/template</block><template>fedtabs/catalogproductcms4.phtml</template></action>
|
41 |
+
</block>
|
42 |
+
</reference>
|
43 |
+
</catalog_product_view>
|
44 |
+
</layout>
|
app/design/frontend/fed/default/layout/googleanalytics.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<!-- Mage_GoogleAnalytics -->
|
37 |
+
<reference name="head" before="-">
|
38 |
+
<block type="googleanalytics/ga" name="google_analytics" as="google_analytics" template="googleanalytics/ga.phtml" />
|
39 |
+
</reference>
|
40 |
+
</default>
|
41 |
+
</layout>
|
app/design/frontend/fed/default/layout/layout.xml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="root">
|
5 |
+
<reference name="content">
|
6 |
+
<block type="customblocks/customblock" name="customblock" as="customblock" template="customblocks/customblock.phtml" before="-"/>
|
7 |
+
</reference>
|
8 |
+
</reference>
|
9 |
+
</default>
|
10 |
+
</layout>
|
app/design/frontend/fed/default/layout/moneybookers.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-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 |
+
* @category design
|
17 |
+
* @package base_default
|
18 |
+
* @copyright Copyright (c) 2013 Phoenix Medien GmbH & Co. KG (http://www.phoenix-medien.de)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
-->
|
23 |
+
<layout version="0.1.0">
|
24 |
+
<moneybookers_processing_payment>
|
25 |
+
<reference name="root">
|
26 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
27 |
+
</reference>
|
28 |
+
<reference name="content">
|
29 |
+
<block type="moneybookers/payment" name="moneybookers_payment" template="moneybookers/payment.phtml" />
|
30 |
+
</reference>
|
31 |
+
</moneybookers_processing_payment>
|
32 |
+
|
33 |
+
<moneybookers_processing_placeform>
|
34 |
+
<reference name="root">
|
35 |
+
<action method="setTemplate"><template>moneybookers/blank.phtml</template></action>
|
36 |
+
</reference>
|
37 |
+
<reference name="content">
|
38 |
+
<block type="moneybookers/placeform" name="moneybookers_placeform" template="moneybookers/placeform.phtml" />
|
39 |
+
</reference>
|
40 |
+
</moneybookers_processing_placeform>
|
41 |
+
</layout>
|
app/design/frontend/fed/default/layout/newsletter.xml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Newsletter -->
|
38 |
+
<reference name="left">
|
39 |
+
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
|
40 |
+
</reference>
|
41 |
+
|
42 |
+
</default>
|
43 |
+
|
44 |
+
<!--
|
45 |
+
Customer account pages, rendered for all tabs in dashboard
|
46 |
+
-->
|
47 |
+
|
48 |
+
<customer_account>
|
49 |
+
<!-- Mage_Newsletter -->
|
50 |
+
<reference name="customer_account_navigation">
|
51 |
+
<action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
|
52 |
+
</reference>
|
53 |
+
<remove name="left.newsletter"/>
|
54 |
+
</customer_account>
|
55 |
+
|
56 |
+
<newsletter_manage_index translate="label">
|
57 |
+
<label>Customer My Account Newsletter Subscriptions</label>
|
58 |
+
<update handle="customer_account"/>
|
59 |
+
<reference name="my.account.wrapper">
|
60 |
+
<block type="customer/newsletter" name="customer_newsletter">
|
61 |
+
<block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
|
62 |
+
<label>Newsletter Subscription Form Before</label>
|
63 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
64 |
+
</block>
|
65 |
+
</block>
|
66 |
+
</reference>
|
67 |
+
</newsletter_manage_index>
|
68 |
+
|
69 |
+
</layout>
|
app/design/frontend/fed/default/layout/oauth.xml
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="1.0.0.0">
|
29 |
+
<oauth_root_handle>
|
30 |
+
<reference name="root">
|
31 |
+
<action method="setTemplate">
|
32 |
+
<template>page/1column.phtml</template>
|
33 |
+
</action>
|
34 |
+
</reference>
|
35 |
+
<reference name="head">
|
36 |
+
<action method="removeItem"><type>js</type><name>lib/ccard.js</name></action>
|
37 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
|
38 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/builder.js</name></action>
|
39 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/dragdrop.js</name></action>
|
40 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
|
41 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/slider.js</name></action>
|
42 |
+
<action method="removeItem"><type>js</type><name>varien/js.js</name></action>
|
43 |
+
<action method="removeItem"><type>js</type><name>varien/menu.js</name></action>
|
44 |
+
</reference>
|
45 |
+
<remove name="top.links"/>
|
46 |
+
<remove name="top.search"/>
|
47 |
+
<remove name="top.menu"/>
|
48 |
+
<remove name="footer"/>
|
49 |
+
</oauth_root_handle>
|
50 |
+
|
51 |
+
<oauth_root_handle_simple>
|
52 |
+
<remove name="js_cookie" />
|
53 |
+
<block type="page/html" name="root" output="toHtml" template="page/empty.phtml">
|
54 |
+
<block type="page/html_head" name="head" as="head" template="oauth/authorize/head-simple.phtml">
|
55 |
+
<action method="addCss"><stylesheet>css/oauth-simple.css</stylesheet></action>
|
56 |
+
</block>
|
57 |
+
<block type="core/text_list" name="content"/>
|
58 |
+
</block>
|
59 |
+
</oauth_root_handle_simple>
|
60 |
+
|
61 |
+
<!-- Authorization -->
|
62 |
+
<oauth_authorize_index translate="label">
|
63 |
+
<update handle="oauth_root_handle"/>
|
64 |
+
<label>OAuth authorization for customer</label>
|
65 |
+
<reference name="content">
|
66 |
+
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login.phtml"/>
|
67 |
+
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button.phtml" />
|
68 |
+
</reference>
|
69 |
+
</oauth_authorize_index>
|
70 |
+
|
71 |
+
<oauth_authorize_simple translate="label">
|
72 |
+
<update handle="oauth_root_handle_simple"/>
|
73 |
+
<remove name="header"/>
|
74 |
+
<label>OAuth authorization Pop Up for customer</label>
|
75 |
+
<reference name="content">
|
76 |
+
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login-simple.phtml"/>
|
77 |
+
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button-simple.phtml" />
|
78 |
+
</reference>
|
79 |
+
</oauth_authorize_simple>
|
80 |
+
<!-- EOF Authorization -->
|
81 |
+
|
82 |
+
<!-- Confirm Authorization -->
|
83 |
+
<oauth_authorize_confirm translate="label">
|
84 |
+
<update handle="oauth_root_handle"/>
|
85 |
+
<label>Confirm OAuth token authorization</label>
|
86 |
+
<reference name="content">
|
87 |
+
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm.phtml"/>
|
88 |
+
</reference>
|
89 |
+
</oauth_authorize_confirm>
|
90 |
+
|
91 |
+
<oauth_authorize_confirmsimple translate="label">
|
92 |
+
<update handle="oauth_root_handle_simple"/>
|
93 |
+
<remove name="header"/>
|
94 |
+
<reference name="content">
|
95 |
+
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm-simple.phtml"/>
|
96 |
+
</reference>
|
97 |
+
</oauth_authorize_confirmsimple>
|
98 |
+
<!-- EOF Confirm Authorization -->
|
99 |
+
|
100 |
+
<!-- Reject Authorization -->
|
101 |
+
<oauth_authorize_reject translate="label">
|
102 |
+
<update handle="oauth_root_handle"/>
|
103 |
+
<label>Reject OAuth token authorization</label>
|
104 |
+
<reference name="content">
|
105 |
+
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject.phtml"/>
|
106 |
+
</reference>
|
107 |
+
</oauth_authorize_reject>
|
108 |
+
|
109 |
+
<oauth_authorize_rejectsimple translate="label">
|
110 |
+
<update handle="oauth_root_handle_simple"/>
|
111 |
+
<remove name="header"/>
|
112 |
+
<reference name="content">
|
113 |
+
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject-simple.phtml"/>
|
114 |
+
</reference>
|
115 |
+
</oauth_authorize_rejectsimple>
|
116 |
+
<!-- EOF Reject Authorization -->
|
117 |
+
|
118 |
+
<!-- My Applications-->
|
119 |
+
<customer_account>
|
120 |
+
<reference name="customer_account_navigation">
|
121 |
+
<action method="addLink" translate="label" module="oauth">
|
122 |
+
<name>OAuth Customer Tokens</name>
|
123 |
+
<path>oauth/customer_token</path>
|
124 |
+
<label>My Applications</label>
|
125 |
+
</action>
|
126 |
+
</reference>
|
127 |
+
</customer_account>
|
128 |
+
|
129 |
+
<oauth_customer_token_index translate="label">
|
130 |
+
<label>Customer My Account My OAuth Applications</label>
|
131 |
+
<update handle="customer_account"/>
|
132 |
+
<reference name="my.account.wrapper">
|
133 |
+
<block type="oauth/customer_token_list" name="oauth_customer_token_list" template="oauth/customer/token/list.phtml"/>
|
134 |
+
</reference>
|
135 |
+
</oauth_customer_token_index>
|
136 |
+
<!-- EOF My Applications-->
|
137 |
+
</layout>
|
app/design/frontend/fed/default/layout/page.xml
ADDED
@@ -0,0 +1,404 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<!--
|
4 |
+
|
5 |
+
/**
|
6 |
+
|
7 |
+
* Magento
|
8 |
+
|
9 |
+
*
|
10 |
+
|
11 |
+
* NOTICE OF LICENSE
|
12 |
+
|
13 |
+
*
|
14 |
+
|
15 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
16 |
+
|
17 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
18 |
+
|
19 |
+
* It is also available through the world-wide-web at this URL:
|
20 |
+
|
21 |
+
* http://opensource.org/licenses/afl-3.0.php
|
22 |
+
|
23 |
+
* If you did not receive a copy of the license and are unable to
|
24 |
+
|
25 |
+
* obtain it through the world-wide-web, please send an email
|
26 |
+
|
27 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
28 |
+
|
29 |
+
*
|
30 |
+
|
31 |
+
* DISCLAIMER
|
32 |
+
|
33 |
+
*
|
34 |
+
|
35 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
36 |
+
|
37 |
+
* versions in the future. If you wish to customize Magento for your
|
38 |
+
|
39 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
40 |
+
|
41 |
+
*
|
42 |
+
|
43 |
+
* @category design
|
44 |
+
|
45 |
+
* @package base_default
|
46 |
+
|
47 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
48 |
+
|
49 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
50 |
+
|
51 |
+
*/
|
52 |
+
|
53 |
+
-->
|
54 |
+
|
55 |
+
<layout version="0.1.0">
|
56 |
+
|
57 |
+
<!--
|
58 |
+
|
59 |
+
Default layout, loads most of the pages
|
60 |
+
|
61 |
+
-->
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
<default translate="label" module="page">
|
66 |
+
|
67 |
+
<label>All Pages</label>
|
68 |
+
|
69 |
+
<block type="page/html" name="root" output="toHtml" template="page/page_left.phtml">
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
<block type="page/html_head" name="head" as="head">
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
<!-- <action method="addJs"><script>fed/jquery-1.10.2.min.js</script></action> -->
|
78 |
+
|
79 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
84 |
+
|
85 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
86 |
+
|
87 |
+
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
88 |
+
|
89 |
+
<action method="addJs"><script>scriptaculous/effects.js</script></action>
|
90 |
+
|
91 |
+
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
|
92 |
+
|
93 |
+
<action method="addJs"><script>scriptaculous/controls.js</script></action>
|
94 |
+
|
95 |
+
<action method="addJs"><script>scriptaculous/slider.js</script></action>
|
96 |
+
|
97 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
98 |
+
|
99 |
+
<action method="addJs"><script>varien/form.js</script></action>
|
100 |
+
|
101 |
+
<action method="addJs"><script>varien/menu.js</script></action>
|
102 |
+
|
103 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
104 |
+
|
105 |
+
<action method="addJs"><script>mage/cookies.js</script></action>
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
<block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
<!--custom js-->
|
114 |
+
|
115 |
+
|
116 |
+
|
117 |
+
<!--custom css-->
|
118 |
+
|
119 |
+
|
120 |
+
|
121 |
+
<action method="addCss"><stylesheet>css/bootstrap.css</stylesheet></action>
|
122 |
+
|
123 |
+
<action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
|
124 |
+
|
125 |
+
<action method="addCss"><stylesheet>css/bootstrap-responsive.min.css</stylesheet></action>
|
126 |
+
|
127 |
+
<action method="addCss"><stylesheet>css/catalog.css</stylesheet></action>
|
128 |
+
|
129 |
+
</block>
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
134 |
+
|
135 |
+
<label>Page Top</label>
|
136 |
+
|
137 |
+
</block>
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
142 |
+
|
143 |
+
|
144 |
+
|
145 |
+
<block type="page/html_header" name="header" as="header">
|
146 |
+
|
147 |
+
<block type="page/template_links" name="top.links" as="topLinks"/>
|
148 |
+
|
149 |
+
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
|
150 |
+
|
151 |
+
<block type="core/text_list" name="top.menu" as="topMenu" translate="label">
|
152 |
+
|
153 |
+
<label>Navigation Bar</label>
|
154 |
+
|
155 |
+
<!--<block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>-->
|
156 |
+
|
157 |
+
</block>
|
158 |
+
|
159 |
+
<block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
|
160 |
+
|
161 |
+
<label>Page Header</label>
|
162 |
+
|
163 |
+
<action method="setElementClass"><value>top-container</value></action>
|
164 |
+
|
165 |
+
</block>
|
166 |
+
|
167 |
+
<block type="page/html_welcome" name="welcome" as="welcome"/>
|
168 |
+
|
169 |
+
</block>
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
<block type="core/text_list" name="left" as="left" translate="label">
|
178 |
+
|
179 |
+
<label>Left Column</label>
|
180 |
+
|
181 |
+
</block>
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
<block type="core/messages" name="global_messages" as="global_messages"/>
|
186 |
+
|
187 |
+
<block type="core/messages" name="messages" as="messages"/>
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
192 |
+
|
193 |
+
<label>Main Content Area</label>
|
194 |
+
|
195 |
+
</block>
|
196 |
+
|
197 |
+
|
198 |
+
|
199 |
+
<block type="core/text_list" name="right" as="right" translate="label">
|
200 |
+
|
201 |
+
<label>Right Column</label>
|
202 |
+
|
203 |
+
</block>
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
|
211 |
+
|
212 |
+
|
213 |
+
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
214 |
+
|
215 |
+
<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
|
216 |
+
|
217 |
+
<label>Page Footer</label>
|
218 |
+
|
219 |
+
<action method="setElementClass"><value>bottom-container</value></action>
|
220 |
+
|
221 |
+
</block>
|
222 |
+
|
223 |
+
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
|
224 |
+
|
225 |
+
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
|
226 |
+
|
227 |
+
</block>
|
228 |
+
|
229 |
+
|
230 |
+
|
231 |
+
|
232 |
+
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
|
239 |
+
<block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
|
240 |
+
|
241 |
+
<label>Page Bottom</label>
|
242 |
+
|
243 |
+
</block>
|
244 |
+
|
245 |
+
</block>
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
<block type="core/profiler" output="toHtml" name="core_profiler"/>
|
250 |
+
|
251 |
+
</default>
|
252 |
+
|
253 |
+
|
254 |
+
|
255 |
+
<print translate="label" module="page">
|
256 |
+
|
257 |
+
<label>All Pages (Print Version)</label>
|
258 |
+
|
259 |
+
<!-- Mage_Page -->
|
260 |
+
|
261 |
+
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">
|
262 |
+
|
263 |
+
|
264 |
+
|
265 |
+
<block type="page/html_head" name="head" as="head">
|
266 |
+
|
267 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
268 |
+
|
269 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
270 |
+
|
271 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
272 |
+
|
273 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
274 |
+
|
275 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
|
280 |
+
|
281 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
|
282 |
+
|
283 |
+
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
|
284 |
+
|
285 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
286 |
+
|
287 |
+
|
288 |
+
|
289 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
290 |
+
|
291 |
+
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
+
</block>
|
296 |
+
|
297 |
+
|
298 |
+
|
299 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
300 |
+
|
301 |
+
<label>Main Content Area</label>
|
302 |
+
|
303 |
+
</block>
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
</block>
|
308 |
+
|
309 |
+
</print>
|
310 |
+
|
311 |
+
|
312 |
+
|
313 |
+
<!-- Custom page layout handles -->
|
314 |
+
|
315 |
+
<page_empty translate="label">
|
316 |
+
|
317 |
+
<label>All Empty Layout Pages</label>
|
318 |
+
|
319 |
+
<reference name="root">
|
320 |
+
|
321 |
+
<action method="setTemplate"><template>page/empty.phtml</template></action>
|
322 |
+
|
323 |
+
<!-- Mark root page block that template is applied -->
|
324 |
+
|
325 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
326 |
+
|
327 |
+
</reference>
|
328 |
+
|
329 |
+
</page_empty>
|
330 |
+
|
331 |
+
|
332 |
+
|
333 |
+
<page_one_column translate="label">
|
334 |
+
|
335 |
+
<label>All One-Column Layout Pages</label>
|
336 |
+
|
337 |
+
<reference name="root">
|
338 |
+
|
339 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
340 |
+
|
341 |
+
<!-- Mark root page block that template is applied -->
|
342 |
+
|
343 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
344 |
+
|
345 |
+
</reference>
|
346 |
+
|
347 |
+
</page_one_column>
|
348 |
+
|
349 |
+
|
350 |
+
|
351 |
+
<page_two_columns_left translate="label">
|
352 |
+
|
353 |
+
<label>All Two-Column Layout Pages (Left Column)</label>
|
354 |
+
|
355 |
+
<reference name="root">
|
356 |
+
|
357 |
+
<action method="setTemplate"><template>page/page_left.phtml</template></action>
|
358 |
+
|
359 |
+
<!-- Mark root page block that template is applied -->
|
360 |
+
|
361 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
362 |
+
|
363 |
+
</reference>
|
364 |
+
|
365 |
+
</page_two_columns_left>
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
<page_two_columns_right translate="label">
|
370 |
+
|
371 |
+
<label>All Two-Column Layout Pages (Right Column)</label>
|
372 |
+
|
373 |
+
<reference name="root">
|
374 |
+
|
375 |
+
<action method="setTemplate"><template>page/page_right.phtml</template></action>
|
376 |
+
|
377 |
+
<!-- Mark root page block that template is applied -->
|
378 |
+
|
379 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
380 |
+
|
381 |
+
</reference>
|
382 |
+
|
383 |
+
</page_two_columns_right>
|
384 |
+
|
385 |
+
|
386 |
+
|
387 |
+
<page_three_columns translate="label">
|
388 |
+
|
389 |
+
<label>All Three-Column Layout Pages</label>
|
390 |
+
|
391 |
+
<reference name="root">
|
392 |
+
|
393 |
+
<action method="setTemplate"><template>page/page_both.phtml</template></action>
|
394 |
+
|
395 |
+
<!-- Mark root page block that template is applied -->
|
396 |
+
|
397 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
398 |
+
|
399 |
+
</reference>
|
400 |
+
|
401 |
+
</page_three_columns>
|
402 |
+
|
403 |
+
</layout>
|
404 |
+
|
app/design/frontend/fed/default/layout/page_old.xml
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_modern
|
24 |
+
* @copyright Copyright (c) 2013 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 |
+
<layout version="1.0.0">
|
29 |
+
|
30 |
+
<default translate="label" module="page">
|
31 |
+
<label>All Pages</label>
|
32 |
+
<block type="page/html" name="fed" output="toHtml" template="page/page_right.phtml">
|
33 |
+
|
34 |
+
<block type="page/html_head" name="head" as="head">
|
35 |
+
|
36 |
+
<action method="addJs"><script>fed/jquery-1.10.2.min.js</script></action>
|
37 |
+
|
38 |
+
|
39 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
40 |
+
<!--<action method="addJs"><script>fed/bootstrap.js</script></action>-->
|
41 |
+
|
42 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
43 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
44 |
+
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
45 |
+
<action method="addJs"><script>scriptaculous/effects.js</script></action>
|
46 |
+
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
|
47 |
+
<action method="addJs"><script>scriptaculous/controls.js</script></action>
|
48 |
+
<action method="addJs"><script>scriptaculous/slider.js</script></action>
|
49 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
50 |
+
<action method="addJs"><script>varien/form.js</script></action>
|
51 |
+
<action method="addJs"><script>varien/menu.js</script></action>
|
52 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
53 |
+
<action method="addJs"><script>mage/cookies.js</script></action>
|
54 |
+
|
55 |
+
<!--custom js-->
|
56 |
+
|
57 |
+
<!--custom css-->
|
58 |
+
|
59 |
+
<action method="addCss"><stylesheet>css/bootstrap.css</stylesheet></action>
|
60 |
+
<action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
|
61 |
+
<action method="addCss"><stylesheet>css/bootstrap-responsive.min.css</stylesheet></action>
|
62 |
+
</block>
|
63 |
+
|
64 |
+
|
65 |
+
|
66 |
+
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
67 |
+
<label>Page Top</label>
|
68 |
+
</block>
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
73 |
+
|
74 |
+
<block type="page/html_header" name="header" as="header">
|
75 |
+
<block type="page/template_links" name="top.links" as="topLinks" />
|
76 |
+
<block type="core/text_list" name="top.menu" as="topMenu" translate="label">
|
77 |
+
<label>Navigation Bar</label>
|
78 |
+
<!--<block type="page/html_topmenu" name="catlog.topnav" template="page/html/topmenu.html" />-->
|
79 |
+
</block>
|
80 |
+
</block>
|
81 |
+
<!--Body section-->
|
82 |
+
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
83 |
+
|
84 |
+
<!--<block name="slider" as="slider">-->
|
85 |
+
|
86 |
+
<block type="core/text_list" name="content" as="content">
|
87 |
+
<label>Main Content Area</label>
|
88 |
+
|
89 |
+
</block>
|
90 |
+
|
91 |
+
<block type="core/text_list" name="right" as="right" translate="label">
|
92 |
+
<label>Right Column</label>
|
93 |
+
</block>
|
94 |
+
|
95 |
+
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
96 |
+
</block>
|
97 |
+
|
98 |
+
</block>
|
99 |
+
|
100 |
+
</default>
|
101 |
+
|
102 |
+
<!--custom page layout-->
|
103 |
+
|
104 |
+
<!--<page_left module="page" translate="label">
|
105 |
+
<reference name="root">
|
106 |
+
<action method="setTemplate"><template>page/page_left.phtml</template></action>
|
107 |
+
|
108 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
109 |
+
</reference>
|
110 |
+
</page_left>
|
111 |
+
-->
|
112 |
+
|
113 |
+
</layout>
|
app/design/frontend/fed/default/layout/pagecache.xml
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<catalog_product_view>
|
31 |
+
<reference name="content">
|
32 |
+
<block type="core/template" name="external.pagecache.cookie" template="pagecache/cookie.phtml"/>
|
33 |
+
</reference>
|
34 |
+
</catalog_product_view>
|
35 |
+
</layout>
|
app/design/frontend/fed/default/layout/payment.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<catalog_product_view>
|
31 |
+
<reference name="product.info">
|
32 |
+
<block type="payment/catalog_product_view_profile" name="product.info.additional.recurring.schedule" as="recurring_info" template="payment/catalog/product/view/profile/schedule.phtml">
|
33 |
+
<action method="addToParentGroup"><group>detailed_info</group></action>
|
34 |
+
<action method="setTitle" translate="value"><value>Recurring Profile</value></action>
|
35 |
+
</block>
|
36 |
+
</reference>
|
37 |
+
<reference name="product.info.options.wrapper">
|
38 |
+
<block type="payment/catalog_product_view_profile" name="product.info.options.recurring" as="recurring_options" template="payment/catalog/product/view/profile/options.phtml"/>
|
39 |
+
</reference>
|
40 |
+
</catalog_product_view>
|
41 |
+
</layout>
|
app/design/frontend/fed/default/layout/paypal.xml
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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_cart_index>
|
31 |
+
<reference name="checkout.cart.top_methods">
|
32 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="-" template="paypal/express/shortcut.phtml">
|
33 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
34 |
+
</block>
|
35 |
+
</reference>
|
36 |
+
|
37 |
+
<reference name="checkout.cart.methods">
|
38 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="-" template="paypal/express/shortcut.phtml">
|
39 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
40 |
+
</block>
|
41 |
+
</reference>
|
42 |
+
|
43 |
+
<update handle="SHORTCUT_popup" />
|
44 |
+
</checkout_cart_index>
|
45 |
+
|
46 |
+
<paypal_express_review translate="label">
|
47 |
+
<label>PayPal Express Order Review Form</label>
|
48 |
+
<remove name="right"/>
|
49 |
+
<remove name="left"/>
|
50 |
+
|
51 |
+
<reference name="root">
|
52 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
53 |
+
</reference>
|
54 |
+
<reference name="content">
|
55 |
+
<block type="paypal/express_review" name="paypal.express.review" template="paypal/express/review.phtml">
|
56 |
+
<block type="paypal/express_review_billing" name="express.review.billing" as="billing" template="paypal/express/review/address.phtml"/>
|
57 |
+
<block type="paypal/express_review_shipping" name="express.review.shipping" as="shipping" template="paypal/express/review/address.phtml"/>
|
58 |
+
<block type="paypal/express_review" name="express.review.shipping.method" as="shipping_method" template="paypal/express/review/shipping/method.phtml"/>
|
59 |
+
<block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
|
60 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
61 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
62 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
63 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
64 |
+
</block>
|
65 |
+
<block type="checkout/agreements" name="paypal.express.review.details.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
66 |
+
</block>
|
67 |
+
</reference>
|
68 |
+
<reference name="head">
|
69 |
+
<action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
|
70 |
+
</reference>
|
71 |
+
<block type="core/text_list" name="additional.product.info" />
|
72 |
+
</paypal_express_review>
|
73 |
+
|
74 |
+
<paypal_express_review_details>
|
75 |
+
<block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
|
76 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
77 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
78 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
79 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
80 |
+
</block>
|
81 |
+
</paypal_express_review_details>
|
82 |
+
|
83 |
+
<!--
|
84 |
+
Available logo types can be assigned with action="setLogoType":
|
85 |
+
- wePrefer_150x60
|
86 |
+
- wePrefer_150x40
|
87 |
+
- nowAccepting_150x60
|
88 |
+
- nowAccepting_150x40
|
89 |
+
- paymentsBy_150x60
|
90 |
+
- paymentsBy_150x40
|
91 |
+
- shopNowUsing_150x60
|
92 |
+
- shopNowUsing_150x40
|
93 |
+
-->
|
94 |
+
<catalog_product_view>
|
95 |
+
<reference name="product.info.addtocart">
|
96 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
|
97 |
+
<label>PayPal Express Checkout Shortcut Wrapper</label>
|
98 |
+
<block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
|
99 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
100 |
+
</block>
|
101 |
+
</block>
|
102 |
+
</reference>
|
103 |
+
<update handle="SHORTCUT_popup" />
|
104 |
+
<reference name="right">
|
105 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml">
|
106 |
+
<!--action method="setLogoType"><value>wePrefer_150x60</value></action-->
|
107 |
+
</block>
|
108 |
+
</reference>
|
109 |
+
</catalog_product_view>
|
110 |
+
|
111 |
+
<catalog_category_default>
|
112 |
+
<update handle="SHORTCUT_popup" />
|
113 |
+
<reference name="right">
|
114 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
115 |
+
</reference>
|
116 |
+
</catalog_category_default>
|
117 |
+
|
118 |
+
<catalog_category_layered>
|
119 |
+
<update handle="SHORTCUT_popup" />
|
120 |
+
<reference name="right">
|
121 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
122 |
+
</reference>
|
123 |
+
</catalog_category_layered>
|
124 |
+
|
125 |
+
<catalog_product_compare_index>
|
126 |
+
<update handle="SHORTCUT_popup" />
|
127 |
+
</catalog_product_compare_index>
|
128 |
+
|
129 |
+
<catalogsearch_result_index>
|
130 |
+
<update handle="SHORTCUT_popup" />
|
131 |
+
</catalogsearch_result_index>
|
132 |
+
|
133 |
+
<catalogsearch_advanced_result>
|
134 |
+
<update handle="SHORTCUT_popup" />
|
135 |
+
</catalogsearch_advanced_result>
|
136 |
+
|
137 |
+
<tag_product_list>
|
138 |
+
<update handle="SHORTCUT_popup" />
|
139 |
+
</tag_product_list>
|
140 |
+
<tag_customer_view>
|
141 |
+
<update handle="SHORTCUT_popup" />
|
142 |
+
</tag_customer_view>
|
143 |
+
|
144 |
+
<wishlist_index_index>
|
145 |
+
<update handle="SHORTCUT_popup" />
|
146 |
+
</wishlist_index_index>
|
147 |
+
<review_product_list>
|
148 |
+
<update handle="SHORTCUT_popup" />
|
149 |
+
</review_product_list>
|
150 |
+
|
151 |
+
<checkout_onepage_success>
|
152 |
+
<update handle="SHORTCUT_popup" />
|
153 |
+
</checkout_onepage_success>
|
154 |
+
<checkout_onepage_failure>
|
155 |
+
<update handle="SHORTCUT_popup" />
|
156 |
+
</checkout_onepage_failure>
|
157 |
+
|
158 |
+
<cms_index_index>
|
159 |
+
<reference name="right">
|
160 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
161 |
+
</reference>
|
162 |
+
</cms_index_index>
|
163 |
+
|
164 |
+
<default>
|
165 |
+
<reference name="topCart.extra_actions">
|
166 |
+
<block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
|
167 |
+
</reference>
|
168 |
+
<reference name="cart_sidebar.extra_actions">
|
169 |
+
<block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/shortcut.phtml"/>
|
170 |
+
</reference>
|
171 |
+
</default>
|
172 |
+
|
173 |
+
<checkout_onepage_review>
|
174 |
+
<reference name="checkout.onepage.review.info.items.after">
|
175 |
+
<block type="paypal/iframe" name="paypal.iframe" />
|
176 |
+
</reference>
|
177 |
+
<reference name="checkout.onepage.review.button">
|
178 |
+
<action method="setTemplate"><template helper="paypal/hss/getReviewButtonTemplate"><name>paypal/hss/review/button.phtml</name><block>checkout.onepage.review.button</block></template></action>
|
179 |
+
</reference>
|
180 |
+
</checkout_onepage_review>
|
181 |
+
|
182 |
+
<paypal_payflow_link_iframe>
|
183 |
+
<block type="paypal/payflow_link_iframe" name="payflow.link.iframe" template="paypal/payflowlink/form.phtml" />
|
184 |
+
</paypal_payflow_link_iframe>
|
185 |
+
|
186 |
+
<paypal_payflow_advanced_iframe>
|
187 |
+
<block type="paypal/payflow_advanced_iframe" name="payflow.advanced.iframe" template="paypal/payflowadvanced/form.phtml" />
|
188 |
+
</paypal_payflow_advanced_iframe>
|
189 |
+
|
190 |
+
<paypal_hosted_pro_iframe>
|
191 |
+
<block type="paypal/hosted_pro_iframe" name="hosted.pro.iframe" template="paypal/hss/form.phtml"/>
|
192 |
+
</paypal_hosted_pro_iframe>
|
193 |
+
|
194 |
+
<SHORTCUT_popup>
|
195 |
+
<reference name="product.tooltip">
|
196 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
|
197 |
+
<block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
|
198 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
199 |
+
<action method="setShowOrPosition"><value>after</value></action>
|
200 |
+
</block>
|
201 |
+
</block>
|
202 |
+
</reference>
|
203 |
+
</SHORTCUT_popup>
|
204 |
+
</layout>
|
app/design/frontend/fed/default/layout/paypaluk.xml
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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_cart_index>
|
31 |
+
<reference name="checkout.cart.top_methods">
|
32 |
+
<block type="paypaluk/express_shortcut" name="checkout.cart.methods.paypaluk_express.top" before="-" template="paypal/express/shortcut.phtml">
|
33 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
34 |
+
</block>
|
35 |
+
</reference>
|
36 |
+
<reference name="checkout.cart.methods">
|
37 |
+
<block type="paypaluk/express_shortcut" name="checkout.cart.methods.paypaluk_express.bottom" before="-" template="paypal/express/shortcut.phtml">
|
38 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
39 |
+
</block>
|
40 |
+
</reference>
|
41 |
+
|
42 |
+
<update handle="SHORTCUT_uk_popup" />
|
43 |
+
</checkout_cart_index>
|
44 |
+
|
45 |
+
<paypaluk_express_review translate="label">
|
46 |
+
<label>PayPal Express Order Review Form</label>
|
47 |
+
<remove name="right"/>
|
48 |
+
<remove name="left"/>
|
49 |
+
|
50 |
+
<reference name="root">
|
51 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
52 |
+
</reference>
|
53 |
+
<reference name="content">
|
54 |
+
<block type="paypal/express_review" name="paypal.express.review" template="paypaluk/express/review.phtml">
|
55 |
+
<action method="setPaypalActionPrefix"><prefix>paypaluk</prefix></action>
|
56 |
+
<block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
|
57 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
58 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
59 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
60 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
61 |
+
</block>
|
62 |
+
<block type="checkout/agreements" name="paypal.express.review.details.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
63 |
+
</block>
|
64 |
+
</reference>
|
65 |
+
<reference name="head">
|
66 |
+
<action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
|
67 |
+
</reference>
|
68 |
+
</paypaluk_express_review>
|
69 |
+
|
70 |
+
<paypal_express_review_details>
|
71 |
+
<block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
|
72 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
73 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
74 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
75 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
76 |
+
</block>
|
77 |
+
</paypal_express_review_details>
|
78 |
+
|
79 |
+
<catalog_product_view>
|
80 |
+
<reference name="product.info.addtocart">
|
81 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypaluk.wrapper" translate="label">
|
82 |
+
<label>PayPal Express Checkout (Payflow Edition) Shortcut Wrapper</label>
|
83 |
+
<action method="setHtmlTagName"><tag>p</tag></action>
|
84 |
+
<action method="setElementClass"><class>paypal-logo</class></action>
|
85 |
+
<block type="paypaluk/express_shortcut" name="product.info.addtocart.paypaluk" template="paypal/express/shortcut.phtml">
|
86 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
87 |
+
</block>
|
88 |
+
</block>
|
89 |
+
</reference>
|
90 |
+
<update handle="SHORTCUT_uk_popup" />
|
91 |
+
</catalog_product_view>
|
92 |
+
|
93 |
+
<default>
|
94 |
+
<reference name="topCart.extra_actions">
|
95 |
+
<block type="paypaluk/express_shortcut" name="paypaluk.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
|
96 |
+
</reference>
|
97 |
+
<reference name="cart_sidebar.extra_actions">
|
98 |
+
<block type="paypaluk/express_shortcut" name="paypaluk.partner.cart_sidebar.shortcut" template="paypal/express/shortcut.phtml"/>
|
99 |
+
</reference>
|
100 |
+
</default>
|
101 |
+
|
102 |
+
<catalog_category_default>
|
103 |
+
<update handle="SHORTCUT_uk_popup" />
|
104 |
+
</catalog_category_default>
|
105 |
+
|
106 |
+
<catalog_category_layered>
|
107 |
+
<update handle="SHORTCUT_uk_popup" />
|
108 |
+
</catalog_category_layered>
|
109 |
+
|
110 |
+
<catalog_product_compare_index>
|
111 |
+
<update handle="SHORTCUT_uk_popup" />
|
112 |
+
</catalog_product_compare_index>
|
113 |
+
|
114 |
+
<catalogsearch_result_index>
|
115 |
+
<update handle="SHORTCUT_uk_popup" />
|
116 |
+
</catalogsearch_result_index>
|
117 |
+
|
118 |
+
<catalogsearch_advanced_result>
|
119 |
+
<update handle="SHORTCUT_uk_popup" />
|
120 |
+
</catalogsearch_advanced_result>
|
121 |
+
|
122 |
+
<tag_product_list>
|
123 |
+
<update handle="SHORTCUT_uk_popup" />
|
124 |
+
</tag_product_list>
|
125 |
+
<tag_customer_view>
|
126 |
+
<update handle="SHORTCUT_uk_popup" />
|
127 |
+
</tag_customer_view>
|
128 |
+
|
129 |
+
<wishlist_index_index>
|
130 |
+
<update handle="SHORTCUT_uk_popup" />
|
131 |
+
</wishlist_index_index>
|
132 |
+
|
133 |
+
<review_product_list>
|
134 |
+
<update handle="SHORTCUT_uk_popup" />
|
135 |
+
</review_product_list>
|
136 |
+
|
137 |
+
<checkout_onepage_success>
|
138 |
+
<update handle="SHORTCUT_uk_popup" />
|
139 |
+
</checkout_onepage_success>
|
140 |
+
<checkout_onepage_failure>
|
141 |
+
<update handle="SHORTCUT_uk_popup" />
|
142 |
+
</checkout_onepage_failure>
|
143 |
+
|
144 |
+
<SHORTCUT_uk_popup>
|
145 |
+
<reference name="product.tooltip">
|
146 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypaluk.wrapper" translate="label">
|
147 |
+
<block type="paypaluk/express_shortcut" name="product.info.addtocart.paypaluk" template="paypal/express/shortcut.phtml">
|
148 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
149 |
+
<action method="setShowOrPosition"><value>after</value></action>
|
150 |
+
</block>
|
151 |
+
</block>
|
152 |
+
</reference>
|
153 |
+
</SHORTCUT_uk_popup>
|
154 |
+
</layout>
|
app/design/frontend/fed/default/layout/persistent.xml
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<customer_account_login>
|
31 |
+
<reference name="customer_form_login">
|
32 |
+
<action method="setTemplate"><template>persistent/customer/form/login.phtml</template></action>
|
33 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
34 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
35 |
+
</reference>
|
36 |
+
</customer_account_login>
|
37 |
+
|
38 |
+
<customer_account_create>
|
39 |
+
<reference name="customer_form_register">
|
40 |
+
<action method="setTemplate"><template>persistent/customer/form/register.phtml</template></action>
|
41 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
42 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
43 |
+
</reference>
|
44 |
+
</customer_account_create>
|
45 |
+
|
46 |
+
<checkout_onepage_index>
|
47 |
+
<reference name="checkout.onepage.login">
|
48 |
+
<action method="setTemplate"><template>persistent/checkout/onepage/login.phtml</template></action>
|
49 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
50 |
+
</reference>
|
51 |
+
<reference name="checkout.onepage.billing">
|
52 |
+
<action method="setTemplate"><template>persistent/checkout/onepage/billing.phtml</template></action>
|
53 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
54 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
55 |
+
</reference>
|
56 |
+
</checkout_onepage_index>
|
57 |
+
<customer_logged_out>
|
58 |
+
<reference name="right">
|
59 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
60 |
+
</reference>
|
61 |
+
</customer_logged_out>
|
62 |
+
</layout>
|
app/design/frontend/fed/default/layout/poll.xml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Poll -->
|
38 |
+
<reference name="right">
|
39 |
+
<block type="poll/activePoll" name="right.poll">
|
40 |
+
<action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
|
41 |
+
<action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
|
45 |
+
</default>
|
46 |
+
|
47 |
+
<!--
|
48 |
+
Customer account home dashboard layout
|
49 |
+
-->
|
50 |
+
|
51 |
+
<customer_account_index>
|
52 |
+
<reference name="right">
|
53 |
+
<action method="unsetChild"><name>right.poll</name></action>
|
54 |
+
</reference>
|
55 |
+
</customer_account_index>
|
56 |
+
|
57 |
+
</layout>
|
app/design/frontend/fed/default/layout/productalert.xml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<catalog_product_view>
|
30 |
+
<reference name="content">
|
31 |
+
<reference name="product.info">
|
32 |
+
<reference name="alert.urls">
|
33 |
+
<block type="productalert/product_view" name="productalert.price" as="productalert_price" template="productalert/product/view.phtml">
|
34 |
+
<action method="preparePriceAlertData"/>
|
35 |
+
<action method="setHtmlClass"><value>alert-price link-price-alert</value></action>
|
36 |
+
<action method="setSignupLabel" translate="value"><value>Sign up for price alert</value></action>
|
37 |
+
</block>
|
38 |
+
<block type="productalert/product_view" name="productalert.stock" as="productalert_stock" template="productalert/product/view.phtml">
|
39 |
+
<action method="prepareStockAlertData"/>
|
40 |
+
<action method="setHtmlClass"><value>alert-stock link-stock-alert</value></action>
|
41 |
+
<action method="setSignupLabel" translate="value"><value>Sign up to get notified when this product is back in stock</value></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
</reference>
|
45 |
+
</reference>
|
46 |
+
</catalog_product_view>
|
47 |
+
</layout>
|
app/design/frontend/fed/default/layout/reports.xml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<default>
|
31 |
+
<!-- Mage_Reports -->
|
32 |
+
<reference name="right">
|
33 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
|
34 |
+
<block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml" />
|
35 |
+
</reference>
|
36 |
+
</default>
|
37 |
+
|
38 |
+
<catalog_category_layered_nochildren translate="label">
|
39 |
+
<label>Catalog Category (Without Subcategories)</label>
|
40 |
+
<remove name="right.reports.product.viewed" />
|
41 |
+
<reference name="right">
|
42 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
43 |
+
</reference>
|
44 |
+
</catalog_category_layered_nochildren>
|
45 |
+
</layout>
|
app/design/frontend/fed/default/layout/review.xml
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<customer_account>
|
32 |
+
<!-- Mage_Review -->
|
33 |
+
<reference name="customer_account_navigation">
|
34 |
+
<action method="addLink" translate="label" module="review"><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>
|
35 |
+
</reference>
|
36 |
+
|
37 |
+
</customer_account>
|
38 |
+
|
39 |
+
<!--
|
40 |
+
Customer account home dashboard layout
|
41 |
+
-->
|
42 |
+
|
43 |
+
<customer_account_index>
|
44 |
+
|
45 |
+
<!-- Mage_Review -->
|
46 |
+
<reference name="customer_account_dashboard">
|
47 |
+
<block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
|
48 |
+
</reference>
|
49 |
+
|
50 |
+
</customer_account_index>
|
51 |
+
|
52 |
+
|
53 |
+
<!--
|
54 |
+
Product reviews page (?)
|
55 |
+
-->
|
56 |
+
|
57 |
+
<reviews>
|
58 |
+
<!-- Mage_Review -->
|
59 |
+
<reference name="root">
|
60 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
61 |
+
</reference>
|
62 |
+
</reviews>
|
63 |
+
|
64 |
+
<!--
|
65 |
+
Product reviews page
|
66 |
+
-->
|
67 |
+
|
68 |
+
<review_product_list translate="label">
|
69 |
+
<label>Catalog Product Reviews List</label>
|
70 |
+
<reference name="root">
|
71 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
72 |
+
</reference>
|
73 |
+
<reference name="head">
|
74 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
75 |
+
<action method="addJs"><script>varien/configurable.js</script></action>
|
76 |
+
</reference>
|
77 |
+
<reference name="content">
|
78 |
+
<block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
|
79 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
|
80 |
+
<action method="disableGallery"/>
|
81 |
+
</block>
|
82 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
83 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml">
|
84 |
+
<!-- workaround: a better place for this code is in paypal.xml -->
|
85 |
+
<block type="page/html_wrapper" name="review.product.info.addtocart.paypal.wrapper" translate="label" module="paypal">
|
86 |
+
<label>PayPal Express Checkout Shortcut Wrapper</label>
|
87 |
+
<block type="paypal/express_shortcut" name="review.product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
|
88 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
89 |
+
</block>
|
90 |
+
</block>
|
91 |
+
</block>
|
92 |
+
<block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
|
93 |
+
<block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
|
94 |
+
<block type="page/html_pager" name="product_review_list.toolbar" />
|
95 |
+
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
|
96 |
+
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
|
97 |
+
<block type="review/form" name="product.review.form" as="review_form">
|
98 |
+
<block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
|
99 |
+
<label>Review Form Fields Before</label>
|
100 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</block>
|
104 |
+
</block>
|
105 |
+
</reference>
|
106 |
+
</review_product_list>
|
107 |
+
|
108 |
+
<review_product_view translate="label">
|
109 |
+
<label>Catalog Product Review View</label>
|
110 |
+
<reference name="root">
|
111 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
112 |
+
</reference>
|
113 |
+
<reference name="content">
|
114 |
+
<block type="review/view" name="review_view"/>
|
115 |
+
</reference>
|
116 |
+
</review_product_view>
|
117 |
+
|
118 |
+
<review_customer_index translate="label">
|
119 |
+
<label>Customer My Account Product Reviews</label>
|
120 |
+
<update handle="customer_account"/>
|
121 |
+
<reference name="my.account.wrapper">
|
122 |
+
<block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
|
123 |
+
</reference>
|
124 |
+
</review_customer_index>
|
125 |
+
|
126 |
+
<review_customer_view translate="label">
|
127 |
+
<label>Customer My Account Review Details</label>
|
128 |
+
<update handle="customer_account"/>
|
129 |
+
<reference name="my.account.wrapper">
|
130 |
+
<block type="review/customer_view" name="customers_review"/>
|
131 |
+
</reference>
|
132 |
+
</review_customer_view>
|
133 |
+
|
134 |
+
</layout>
|
app/design/frontend/fed/default/layout/rss.xml
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
<default>
|
33 |
+
<reference name="footer_links">
|
34 |
+
<action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-rss"</a></action>
|
35 |
+
</reference>
|
36 |
+
<block type="rss/list" name="head_rss" ifconfig="rss/config/active" />
|
37 |
+
</default>
|
38 |
+
|
39 |
+
<rss_index_index translate="label">
|
40 |
+
<label>RSS Feeds List</label>
|
41 |
+
<reference name="root">
|
42 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
43 |
+
</reference>
|
44 |
+
<reference name="content">
|
45 |
+
<block type="rss/list" name="rss.list" template="rss/list.phtml"/>
|
46 |
+
</reference>
|
47 |
+
</rss_index_index>
|
48 |
+
|
49 |
+
<rss_index_nofeed>
|
50 |
+
<block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
|
51 |
+
</rss_index_nofeed>
|
52 |
+
|
53 |
+
<rss_index_wishlist>
|
54 |
+
<block type="rss/wishlist" name="rss.wishlist" output="toHtml">
|
55 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_rss.phtml</template></action>
|
56 |
+
</block>
|
57 |
+
</rss_index_wishlist>
|
58 |
+
<!--
|
59 |
+
Catalog layout
|
60 |
+
-->
|
61 |
+
<rss_catalog_new>
|
62 |
+
<block type="rss/catalog_new" output="toHtml" name="rss.catalog.new">
|
63 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
64 |
+
</block>
|
65 |
+
</rss_catalog_new>
|
66 |
+
|
67 |
+
<rss_catalog_special>
|
68 |
+
<block type="rss/catalog_special" output="toHtml" name="rss.catalog.special" />
|
69 |
+
</rss_catalog_special>
|
70 |
+
|
71 |
+
<rss_catalog_salesrule>
|
72 |
+
<block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule" />
|
73 |
+
</rss_catalog_salesrule>
|
74 |
+
|
75 |
+
<rss_catalog_tag>
|
76 |
+
<block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag">
|
77 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
78 |
+
</block>
|
79 |
+
</rss_catalog_tag>
|
80 |
+
|
81 |
+
<rss_catalog_notifystock>
|
82 |
+
<block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
|
83 |
+
</rss_catalog_notifystock>
|
84 |
+
|
85 |
+
<rss_catalog_review>
|
86 |
+
<block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
|
87 |
+
</rss_catalog_review>
|
88 |
+
|
89 |
+
<rss_catalog_category>
|
90 |
+
<block type="rss/catalog_category" output="toHtml" name="rss.catalog.category">
|
91 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
92 |
+
</block>
|
93 |
+
</rss_catalog_category>
|
94 |
+
<!--
|
95 |
+
Order layout
|
96 |
+
-->
|
97 |
+
<rss_order_new>
|
98 |
+
<block type="rss/order_new" output="toHtml" name="rss.order.new"/>
|
99 |
+
</rss_order_new>
|
100 |
+
<rss_order_status>
|
101 |
+
<block type="rss/order_status" output="toHtml" name="rss.order.status"/>
|
102 |
+
</rss_order_status>
|
103 |
+
</layout>
|
app/design/frontend/fed/default/layout/sales.xml
ADDED
@@ -0,0 +1,514 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Customer account pages, rendered for all tabs in dashboard
|
33 |
+
-->
|
34 |
+
|
35 |
+
|
36 |
+
<customer_logged_in>
|
37 |
+
<reference name="right">
|
38 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
39 |
+
</reference>
|
40 |
+
</customer_logged_in>
|
41 |
+
<checkout_onepage_index>
|
42 |
+
<remove name="sale.reorder.sidebar"/>
|
43 |
+
</checkout_onepage_index>
|
44 |
+
<checkout_onepage_reorder>
|
45 |
+
<reference name="right">
|
46 |
+
<action method="unsetChild"><name>reorder</name></action>
|
47 |
+
</reference>
|
48 |
+
</checkout_onepage_reorder>
|
49 |
+
|
50 |
+
<customer_account>
|
51 |
+
<!-- Mage_Sales -->
|
52 |
+
<reference name="customer_account_navigation">
|
53 |
+
<action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
|
54 |
+
</reference>
|
55 |
+
<reference name="left">
|
56 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
57 |
+
</reference>
|
58 |
+
|
59 |
+
</customer_account>
|
60 |
+
|
61 |
+
<!--
|
62 |
+
Customer account home dashboard layout
|
63 |
+
-->
|
64 |
+
|
65 |
+
<customer_account_index>
|
66 |
+
<!-- Mage_Sales -->
|
67 |
+
<!--remove name="customer_account_dashboard_top"/-->
|
68 |
+
<reference name="customer_account_dashboard">
|
69 |
+
<block type="sales/order_recent" name="customer_account_dashboard_top" as="top" template="sales/order/recent.phtml"/>
|
70 |
+
</reference>
|
71 |
+
|
72 |
+
</customer_account_index>
|
73 |
+
|
74 |
+
<sales_order_history translate="label">
|
75 |
+
<label>Customer My Account Order History</label>
|
76 |
+
<update handle="customer_account"/>
|
77 |
+
<reference name="my.account.wrapper">
|
78 |
+
<block type="sales/order_history" name="sales.order.history">
|
79 |
+
<block type="core/text_list" name="sales.order.history.info" as="info" translate="label">
|
80 |
+
<label>Order History Info</label>
|
81 |
+
</block>
|
82 |
+
</block>
|
83 |
+
<block type="customer/account_dashboard" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
|
84 |
+
</reference>
|
85 |
+
</sales_order_history>
|
86 |
+
|
87 |
+
|
88 |
+
<sales_order_view translate="label">
|
89 |
+
<label>Customer My Account Order View</label>
|
90 |
+
<update handle="customer_account"/>
|
91 |
+
<reference name="my.account.wrapper">
|
92 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
93 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
94 |
+
</block>
|
95 |
+
<block type="sales/order_view" name="sales.order.view">
|
96 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
97 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
98 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
99 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
100 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
101 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
102 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
103 |
+
</block>
|
104 |
+
</block>
|
105 |
+
</block>
|
106 |
+
</reference>
|
107 |
+
<reference name="sales.order.info">
|
108 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
109 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
110 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
111 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
112 |
+
</reference>
|
113 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
114 |
+
<label>Additional Product Info</label>
|
115 |
+
</block>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice translate="label">
|
119 |
+
<label>Customer My Account Order Invoice View</label>
|
120 |
+
<update handle="customer_account"/>
|
121 |
+
<reference name="my.account.wrapper">
|
122 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
123 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
124 |
+
</block>
|
125 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
126 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
127 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
128 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
129 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
130 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
131 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
132 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
133 |
+
</block>
|
134 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
135 |
+
</block>
|
136 |
+
</block>
|
137 |
+
</reference>
|
138 |
+
<reference name="sales.order.info">
|
139 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
140 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
141 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
142 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
143 |
+
</reference>
|
144 |
+
<block type="core/text_list" name="additional.product.info" />
|
145 |
+
</sales_order_invoice>
|
146 |
+
|
147 |
+
<sales_order_shipment translate="label">
|
148 |
+
<label>Customer My Account Order Shipment View</label>
|
149 |
+
<update handle="customer_account"/>
|
150 |
+
<reference name="my.account.wrapper">
|
151 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
152 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
153 |
+
</block>
|
154 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
155 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
156 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
157 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
158 |
+
</block>
|
159 |
+
</block>
|
160 |
+
</reference>
|
161 |
+
<reference name="sales.order.info">
|
162 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
163 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
164 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
165 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
166 |
+
</reference>
|
167 |
+
<block type="core/text_list" name="additional.product.info" />
|
168 |
+
</sales_order_shipment>
|
169 |
+
|
170 |
+
<sales_order_creditmemo translate="label">
|
171 |
+
<label>Customer My Account Order Creditmemo View</label>
|
172 |
+
<update handle="customer_account"/>
|
173 |
+
<reference name="my.account.wrapper">
|
174 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
175 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
176 |
+
</block>
|
177 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
178 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
179 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
180 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
181 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
182 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
183 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
184 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
185 |
+
</block>
|
186 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
187 |
+
</block>
|
188 |
+
</block>
|
189 |
+
</reference>
|
190 |
+
<reference name="sales.order.info">
|
191 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
192 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
193 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
194 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
195 |
+
</reference>
|
196 |
+
<block type="core/text_list" name="additional.product.info" />
|
197 |
+
</sales_order_creditmemo>
|
198 |
+
|
199 |
+
<sales_order_reorder>
|
200 |
+
<update handle="customer_account"/>
|
201 |
+
<reference name="content">
|
202 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
203 |
+
</reference>
|
204 |
+
</sales_order_reorder>
|
205 |
+
|
206 |
+
<sales_order_print translate="label">
|
207 |
+
<label>Sales Order Print View</label>
|
208 |
+
<reference name="content">
|
209 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
210 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
211 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
212 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
213 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
214 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
215 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
216 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
217 |
+
</block>
|
218 |
+
</block>
|
219 |
+
</block>
|
220 |
+
</reference>
|
221 |
+
<block type="core/text_list" name="additional.product.info" />
|
222 |
+
</sales_order_print>
|
223 |
+
|
224 |
+
<sales_order_printinvoice translate="label">
|
225 |
+
<label>Sales Invoice Print View</label>
|
226 |
+
<reference name="content">
|
227 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
228 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
229 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
230 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
231 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
232 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
233 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
234 |
+
</block>
|
235 |
+
</block>
|
236 |
+
</reference>
|
237 |
+
<block type="core/text_list" name="additional.product.info" />
|
238 |
+
</sales_order_printinvoice>
|
239 |
+
|
240 |
+
<sales_order_printshipment translate="label">
|
241 |
+
<label>Sales Shipment Print View</label>
|
242 |
+
<reference name="content">
|
243 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
244 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
245 |
+
</block>
|
246 |
+
</reference>
|
247 |
+
<block type="core/text_list" name="additional.product.info" />
|
248 |
+
</sales_order_printshipment>
|
249 |
+
|
250 |
+
<sales_order_printcreditmemo>
|
251 |
+
<reference name="content">
|
252 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
253 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
254 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
255 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
256 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
257 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
258 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
259 |
+
</block>
|
260 |
+
</block>
|
261 |
+
</reference>
|
262 |
+
<block type="core/text_list" name="additional.product.info" />
|
263 |
+
</sales_order_printcreditmemo>
|
264 |
+
|
265 |
+
<!--
|
266 |
+
Email layouts section
|
267 |
+
-->
|
268 |
+
<sales_email_order_items>
|
269 |
+
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
270 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
271 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
272 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
273 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
274 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
275 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
276 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
277 |
+
</block>
|
278 |
+
</block>
|
279 |
+
</block>
|
280 |
+
<block type="core/text_list" name="additional.product.info" />
|
281 |
+
</sales_email_order_items>
|
282 |
+
|
283 |
+
<sales_email_order_invoice_items>
|
284 |
+
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
285 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
286 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
287 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
288 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
289 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
290 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
291 |
+
</block>
|
292 |
+
</block>
|
293 |
+
<block type="core/text_list" name="additional.product.info" />
|
294 |
+
</sales_email_order_invoice_items>
|
295 |
+
|
296 |
+
<sales_email_order_shipment_items>
|
297 |
+
<block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
|
298 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
|
299 |
+
</block>
|
300 |
+
<block type="core/text_list" name="additional.product.info" />
|
301 |
+
</sales_email_order_shipment_items>
|
302 |
+
|
303 |
+
<sales_email_order_creditmemo_items>
|
304 |
+
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
305 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
306 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
307 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
308 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
309 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
310 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
311 |
+
</block>
|
312 |
+
</block>
|
313 |
+
<block type="core/text_list" name="additional.product.info" />
|
314 |
+
</sales_email_order_creditmemo_items>
|
315 |
+
|
316 |
+
<!--
|
317 |
+
Guest
|
318 |
+
-->
|
319 |
+
|
320 |
+
<sales_guest_form translate="label">
|
321 |
+
<label>Returns</label>
|
322 |
+
<reference name="root">
|
323 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
324 |
+
</reference>
|
325 |
+
<reference name="content">
|
326 |
+
<block type="sales/widget_guest_form" name="guest.form" template="sales/guest/form.phtml"/>
|
327 |
+
</reference>
|
328 |
+
</sales_guest_form>
|
329 |
+
|
330 |
+
|
331 |
+
<sales_guest_view translate="label">
|
332 |
+
<label>Customer My Account Order View</label>
|
333 |
+
<reference name="root">
|
334 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
335 |
+
</reference>
|
336 |
+
<reference name="content">
|
337 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
338 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
339 |
+
</block>
|
340 |
+
<block type="sales/order_view" name="sales.order.view">
|
341 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
342 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
343 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
344 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
345 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
346 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
347 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
348 |
+
</block>
|
349 |
+
</block>
|
350 |
+
</block>
|
351 |
+
</reference>
|
352 |
+
<reference name="sales.order.info">
|
353 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
354 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
355 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
356 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
357 |
+
</reference>
|
358 |
+
</sales_guest_view>
|
359 |
+
|
360 |
+
<sales_guest_invoice translate="label">
|
361 |
+
<label>Customer My Account Order Invoice View</label>
|
362 |
+
<reference name="root">
|
363 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
364 |
+
</reference>
|
365 |
+
<reference name="content">
|
366 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
367 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
368 |
+
</block>
|
369 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
370 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
371 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
372 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
373 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
374 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
375 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
376 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
377 |
+
</block>
|
378 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
379 |
+
</block>
|
380 |
+
</block>
|
381 |
+
</reference>
|
382 |
+
<reference name="sales.order.info">
|
383 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
384 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
385 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
386 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
387 |
+
</reference>
|
388 |
+
</sales_guest_invoice>
|
389 |
+
|
390 |
+
<sales_guest_shipment translate="label">
|
391 |
+
<label>Customer My Account Order Shipment View</label>
|
392 |
+
<reference name="root">
|
393 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
394 |
+
</reference>
|
395 |
+
<reference name="content">
|
396 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
397 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
398 |
+
</block>
|
399 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
400 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
401 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
402 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
403 |
+
</block>
|
404 |
+
</block>
|
405 |
+
</reference>
|
406 |
+
<reference name="sales.order.info">
|
407 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
408 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
409 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
410 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
411 |
+
</reference>
|
412 |
+
</sales_guest_shipment>
|
413 |
+
|
414 |
+
<sales_guest_creditmemo translate="label">
|
415 |
+
<label>Customer My Account Order Creditmemo View</label>
|
416 |
+
<reference name="root">
|
417 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
418 |
+
</reference>
|
419 |
+
<reference name="content">
|
420 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
421 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
422 |
+
</block>
|
423 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
424 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
425 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
426 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
427 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
428 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
429 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
430 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
431 |
+
</block>
|
432 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
433 |
+
</block>
|
434 |
+
</block>
|
435 |
+
</reference>
|
436 |
+
<reference name="sales.order.info">
|
437 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
438 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
439 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
440 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
441 |
+
</reference>
|
442 |
+
</sales_guest_creditmemo>
|
443 |
+
|
444 |
+
<sales_guest_reorder>
|
445 |
+
<reference name="root">
|
446 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
447 |
+
</reference>
|
448 |
+
<reference name="content">
|
449 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
450 |
+
</reference>
|
451 |
+
</sales_guest_reorder>
|
452 |
+
|
453 |
+
<sales_guest_print translate="label">
|
454 |
+
<label>Sales Order Print View</label>
|
455 |
+
<reference name="content">
|
456 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
457 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
458 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
459 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
460 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
461 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
462 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
463 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
464 |
+
</block>
|
465 |
+
</block>
|
466 |
+
</block>
|
467 |
+
</reference>
|
468 |
+
</sales_guest_print>
|
469 |
+
|
470 |
+
<sales_guest_printinvoice translate="label">
|
471 |
+
<label>Sales Invoice Print View</label>
|
472 |
+
<reference name="content">
|
473 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
474 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
475 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
476 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
477 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
478 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
479 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
480 |
+
</block>
|
481 |
+
</block>
|
482 |
+
</reference>
|
483 |
+
</sales_guest_printinvoice>
|
484 |
+
|
485 |
+
<sales_guest_printshipment translate="label">
|
486 |
+
<label>Sales Shipment Print View</label>
|
487 |
+
<reference name="content">
|
488 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
489 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
490 |
+
</block>
|
491 |
+
</reference>
|
492 |
+
</sales_guest_printshipment>
|
493 |
+
|
494 |
+
<sales_guest_printcreditmemo>
|
495 |
+
<reference name="content">
|
496 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
497 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
498 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
499 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
500 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
501 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
502 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
503 |
+
</block>
|
504 |
+
</block>
|
505 |
+
</reference>
|
506 |
+
</sales_guest_printcreditmemo>
|
507 |
+
|
508 |
+
<default>
|
509 |
+
<reference name="footer_links">
|
510 |
+
<block type="sales/guest_links" name="return_link"/>
|
511 |
+
<action method="addLinkBlock"><blockName>return_link</blockName></action>
|
512 |
+
</reference>
|
513 |
+
</default>
|
514 |
+
</layout>
|
app/design/frontend/fed/default/layout/sales/billing_agreement.xml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<sales_billing_agreement_index>
|
31 |
+
<update handle="customer_account"/>
|
32 |
+
<reference name="root">
|
33 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
34 |
+
</reference>
|
35 |
+
<reference name="my.account.wrapper">
|
36 |
+
<block type="sales/billing_agreements" name="customer.account.billing.agreement" template="sales/billing/agreements.phtml"/>
|
37 |
+
</reference>
|
38 |
+
</sales_billing_agreement_index>
|
39 |
+
|
40 |
+
<sales_billing_agreement_view>
|
41 |
+
<update handle="customer_account"/>
|
42 |
+
<reference name="root">
|
43 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
44 |
+
</reference>
|
45 |
+
<reference name="my.account.wrapper">
|
46 |
+
<block type="sales/billing_agreement_view" name="customer.account.billing.agreement" template="sales/billing/agreement/view.phtml"/>
|
47 |
+
</reference>
|
48 |
+
</sales_billing_agreement_view>
|
49 |
+
|
50 |
+
<customer_account>
|
51 |
+
<reference name="customer_account_navigation" >
|
52 |
+
<action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action>
|
53 |
+
</reference>
|
54 |
+
</customer_account>
|
55 |
+
</layout>
|
app/design/frontend/fed/default/layout/sales/recurring_profile.xml
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<customer_account>
|
31 |
+
<reference name="customer_account_navigation" >
|
32 |
+
<action method="addLink" translate="label"><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action>
|
33 |
+
</reference>
|
34 |
+
</customer_account>
|
35 |
+
|
36 |
+
<sales_recurring_profile_index>
|
37 |
+
<update handle="customer_account"/>
|
38 |
+
<reference name="root">
|
39 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
40 |
+
</reference>
|
41 |
+
<reference name="my.account.wrapper">
|
42 |
+
<block type="sales/recurring_profiles" name="sales.recurring.profiles" template="sales/recurring/profiles.phtml">
|
43 |
+
<block type="sales/recurring_profiles" name="sales.recurring.profiles.grid" as="grid" template="sales/recurring/grid.phtml">
|
44 |
+
<action method="prepareProfilesGrid"/>
|
45 |
+
<action method="setEmptyGridMessage" translate="value"><value>There are no recurring profiles yet.</value></action>
|
46 |
+
<action method="setGridHtmlId"><value>recurring_profile_list_view</value></action>
|
47 |
+
</block>
|
48 |
+
</block>
|
49 |
+
</reference>
|
50 |
+
</sales_recurring_profile_index>
|
51 |
+
|
52 |
+
<sales_recurring_profile_view__tabs>
|
53 |
+
<reference name="root">
|
54 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
55 |
+
</reference>
|
56 |
+
<reference name="my.account.wrapper">
|
57 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view" template="sales/recurring/profile/view.phtml">
|
58 |
+
<action method="prepareViewData"/>
|
59 |
+
<action method="setShouldPrepareInfoTabs"><value>1</value></action>
|
60 |
+
<block type="core/text" as="profile_info" name="sales.recurring.profile.view.tab.profile">
|
61 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
62 |
+
<action method="setViewLabel" translate="value"><value>Profile Information</value></action>
|
63 |
+
<action method="setViewAction"><value>view</value></action>
|
64 |
+
</block>
|
65 |
+
<!-- not implemented
|
66 |
+
<block type="core/text" as="history" name="sales.recurring.profile.view.tab.history">
|
67 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
68 |
+
<action method="setViewLabel" translate="value"><value>History</value></action>
|
69 |
+
<action method="setViewAction"><value>history</value></action>
|
70 |
+
</block>
|
71 |
+
-->
|
72 |
+
<block type="core/text" as="related_orders" name="sales.recurring.profile.view.tab.orders">
|
73 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
74 |
+
<action method="setViewLabel" translate="value"><value>Related Orders</value></action>
|
75 |
+
<action method="setViewAction"><value>orders</value></action>
|
76 |
+
</block>
|
77 |
+
<!-- not implemented
|
78 |
+
<block type="core/text" as="vendor_info" name="sales.recurring.profile.view.tab.vendor">
|
79 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
80 |
+
<action method="setViewLabel" translate="value"><value>Gateway Information</value></action>
|
81 |
+
<action method="setViewAction"><value>vendor</value></action>
|
82 |
+
</block>
|
83 |
+
-->
|
84 |
+
</block>
|
85 |
+
</reference>
|
86 |
+
</sales_recurring_profile_view__tabs>
|
87 |
+
|
88 |
+
<sales_recurring_profile_view>
|
89 |
+
<update handle="customer_account"/>
|
90 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
91 |
+
<reference name="sales.recurring.profile.view.tab.profile">
|
92 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
93 |
+
</reference>
|
94 |
+
<reference name="sales.recurring.profile.view">
|
95 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.general" as="general" template="sales/recurring/profile/view/info.phtml">
|
96 |
+
<action method="prepareReferenceInfo"/>
|
97 |
+
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
|
98 |
+
<action method="setViewColumn"><value>1</value></action>
|
99 |
+
<action method="setViewLabel" translate="value"><value>Reference</value></action>
|
100 |
+
</block>
|
101 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.item" as="item" template="sales/recurring/profile/view/info.phtml">
|
102 |
+
<action method="prepareItemInfo"/>
|
103 |
+
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
|
104 |
+
<action method="setViewColumn"><value>2</value></action>
|
105 |
+
<action method="setViewLabel" translate="value"><value>Purchased Item</value></action>
|
106 |
+
</block>
|
107 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.schedule" as="profile" template="sales/recurring/profile/view/info.phtml">
|
108 |
+
<action method="prepareScheduleInfo"/>
|
109 |
+
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
|
110 |
+
<action method="setViewColumn"><value>1</value></action>
|
111 |
+
<action method="setViewLabel" translate="value"><value>Profile Schedule</value></action>
|
112 |
+
</block>
|
113 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.fees" as="fees" template="sales/recurring/profile/view/info.phtml">
|
114 |
+
<action method="prepareFeesInfo"/>
|
115 |
+
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
|
116 |
+
<action method="setViewColumn"><value>2</value></action>
|
117 |
+
<action method="setViewLabel" translate="value"><value>Profile Payments</value></action>
|
118 |
+
</block>
|
119 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.billing" as="billing_address" template="sales/recurring/profile/view/info.phtml">
|
120 |
+
<action method="prepareAddressInfo"/>
|
121 |
+
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
|
122 |
+
<action method="setViewColumn"><value>1</value></action>
|
123 |
+
<action method="setViewLabel" translate="value"><value>Billing Address</value></action>
|
124 |
+
</block>
|
125 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.shipping" as="shipping_address" template="sales/recurring/profile/view/info.phtml">
|
126 |
+
<action method="setAddressType"><value>shipping</value></action>
|
127 |
+
<action method="prepareAddressInfo"/>
|
128 |
+
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
|
129 |
+
<action method="setViewColumn"><value>2</value></action>
|
130 |
+
<action method="setViewLabel" translate="value"><value>Shipping Address</value></action>
|
131 |
+
</block>
|
132 |
+
</reference>
|
133 |
+
</sales_recurring_profile_view>
|
134 |
+
|
135 |
+
<!-- not implemented
|
136 |
+
<sales_recurring_profile_history>
|
137 |
+
<update handle="customer_account"/>
|
138 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
139 |
+
<reference name="sales.recurring.profile.view.tab.history">
|
140 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
141 |
+
</reference>
|
142 |
+
</sales_recurring_profile_history>
|
143 |
+
-->
|
144 |
+
|
145 |
+
<sales_recurring_profile_orders>
|
146 |
+
<update handle="customer_account"/>
|
147 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
148 |
+
<reference name="sales.recurring.profile.view.tab.orders">
|
149 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
150 |
+
</reference>
|
151 |
+
<reference name="sales.recurring.profile.view">
|
152 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.orders" as="table" template="sales/recurring/grid.phtml">
|
153 |
+
<action method="prepareRelatedOrdersFrontendGrid"/>
|
154 |
+
<action method="setViewLabel" translate="value"><value>Orders Based on This Profile</value></action>
|
155 |
+
<action method="setEmptyGridMessage" translate="value"><value>There are no orders yet.</value></action>
|
156 |
+
<action method="setGridHtmlClass"><value>info-box</value></action>
|
157 |
+
<action method="setGridHtmlCss"><value>border:0</value></action>
|
158 |
+
</block>
|
159 |
+
</reference>
|
160 |
+
</sales_recurring_profile_orders>
|
161 |
+
|
162 |
+
<!-- not implemented
|
163 |
+
<sales_recurring_profile_vendor>
|
164 |
+
<update handle="customer_account"/>
|
165 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
166 |
+
<reference name="sales.recurring.profile.view.tab.vendor">
|
167 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
168 |
+
</reference>
|
169 |
+
</sales_recurring_profile_vendor>
|
170 |
+
-->
|
171 |
+
</layout>
|
app/design/frontend/fed/default/layout/sendfriend.xml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<sendfriend_product_send translate="label">
|
30 |
+
<label>Catalog Product Email to a Friend</label>
|
31 |
+
<reference name="root">
|
32 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
33 |
+
</reference>
|
34 |
+
<reference name="head">
|
35 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
36 |
+
</reference>
|
37 |
+
<reference name="content">
|
38 |
+
<block type="sendfriend/send" name="sendfriend.send" template="sendfriend/send.phtml" />
|
39 |
+
</reference>
|
40 |
+
</sendfriend_product_send>
|
41 |
+
</layout>
|
app/design/frontend/fed/default/layout/shipping.xml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<shipping_tracking_ajax>
|
32 |
+
<reference name="root">
|
33 |
+
<action method="setTemplate"><template></template></action>
|
34 |
+
</reference>
|
35 |
+
<reference name="content">
|
36 |
+
<block type="shipping/tracking_ajax" name="shipping.tracking.ajax" template="shipping/tracking/ajax.phtml" />
|
37 |
+
</reference>
|
38 |
+
</shipping_tracking_ajax>
|
39 |
+
<shipping_tracking_popup translate="label">
|
40 |
+
<label>Shipment Tracking Popup</label>
|
41 |
+
<reference name="root">
|
42 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
43 |
+
</reference>
|
44 |
+
<!--<reference name="head">
|
45 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
46 |
+
</reference>-->
|
47 |
+
<reference name="content">
|
48 |
+
<block type="shipping/tracking_popup" name="shipping.tracking.popup" template="shipping/tracking/popup.phtml" />
|
49 |
+
</reference>
|
50 |
+
</shipping_tracking_popup>
|
51 |
+
</layout>
|
52 |
+
|
app/design/frontend/fed/default/layout/tag.xml
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_modern
|
24 |
+
* @copyright Copyright (c) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<!-- Mage_Tag -->
|
37 |
+
<reference name="left">
|
38 |
+
<block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
|
39 |
+
</reference>
|
40 |
+
|
41 |
+
</default>
|
42 |
+
|
43 |
+
<!--
|
44 |
+
Customer account pages, rendered for all tabs in dashboard
|
45 |
+
-->
|
46 |
+
|
47 |
+
<customer_account>
|
48 |
+
<!-- Mage_Tag -->
|
49 |
+
<reference name="customer_account_navigation">
|
50 |
+
<action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
|
51 |
+
</reference>
|
52 |
+
</customer_account>
|
53 |
+
|
54 |
+
<!--
|
55 |
+
Customer account home dashboard layout
|
56 |
+
-->
|
57 |
+
|
58 |
+
<customer_account_index>
|
59 |
+
<!-- Mage_Tag -->
|
60 |
+
<reference name="customer_account_dashboard">
|
61 |
+
<action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
|
62 |
+
<block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
|
63 |
+
</reference>
|
64 |
+
</customer_account_index>
|
65 |
+
|
66 |
+
<catalog_product_view translate="label">
|
67 |
+
<label>Catalog Product View</label>
|
68 |
+
<!-- Mage_Tag -->
|
69 |
+
<reference name="product.info.tabs">
|
70 |
+
<action method="addTab" translate="title" module="tag"><alias>product.tags</alias><title>Product Tags</title><block>tag/product_list</block><template>tag/list.phtml</template></action>
|
71 |
+
</reference>
|
72 |
+
<reference name="product.tags">
|
73 |
+
<block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before" translate="label">
|
74 |
+
<label>Tags List Before</label>
|
75 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
76 |
+
</block>
|
77 |
+
</reference>
|
78 |
+
</catalog_product_view>
|
79 |
+
|
80 |
+
<!--
|
81 |
+
All tags page
|
82 |
+
-->
|
83 |
+
|
84 |
+
<tag_list_index translate="label">
|
85 |
+
<label>Tags List (All Available)</label>
|
86 |
+
<!-- Mage_Tag -->
|
87 |
+
<reference name="root">
|
88 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
89 |
+
</reference>
|
90 |
+
<reference name="content">
|
91 |
+
<block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
|
92 |
+
</reference>
|
93 |
+
</tag_list_index>
|
94 |
+
|
95 |
+
<tag_product_list translate="label">
|
96 |
+
<label>Tagged Products List</label>
|
97 |
+
<!-- Mage_Tag -->
|
98 |
+
<reference name="content">
|
99 |
+
<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
|
100 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
101 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
102 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
103 |
+
</block>
|
104 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
105 |
+
</block>
|
106 |
+
<action method="setListOrders"/>
|
107 |
+
<action method="setListModes"/>
|
108 |
+
<action method="setListCollection"/>
|
109 |
+
</block>
|
110 |
+
</reference>
|
111 |
+
</tag_product_list>
|
112 |
+
|
113 |
+
<tag_customer_index translate="label">
|
114 |
+
<label>Customer My Account My Tags List</label>
|
115 |
+
<update handle="customer_account"/>
|
116 |
+
<reference name="root">
|
117 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
|
118 |
+
</reference>
|
119 |
+
<reference name="my.account.wrapper">
|
120 |
+
<block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
|
121 |
+
</reference>
|
122 |
+
</tag_customer_index>
|
123 |
+
|
124 |
+
<tag_customer_view translate="label">
|
125 |
+
<label>Customer My Account Tag View</label>
|
126 |
+
<update handle="customer_account"/>
|
127 |
+
<reference name="root">
|
128 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
|
129 |
+
</reference>
|
130 |
+
<reference name="my.account.wrapper">
|
131 |
+
<block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
|
132 |
+
</reference>
|
133 |
+
</tag_customer_view>
|
134 |
+
|
135 |
+
</layout>
|
app/design/frontend/fed/default/layout/weee.xml
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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_cart_index>
|
31 |
+
<reference name="head">
|
32 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
33 |
+
</reference>
|
34 |
+
</checkout_cart_index>
|
35 |
+
|
36 |
+
<checkout_onepage_index>
|
37 |
+
<reference name="head">
|
38 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
39 |
+
</reference>
|
40 |
+
</checkout_onepage_index>
|
41 |
+
|
42 |
+
<checkout_multishipping>
|
43 |
+
<reference name="head">
|
44 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
45 |
+
</reference>
|
46 |
+
</checkout_multishipping>
|
47 |
+
|
48 |
+
<customer_logged_in>
|
49 |
+
<reference name="head">
|
50 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
51 |
+
</reference>
|
52 |
+
</customer_logged_in>
|
53 |
+
</layout>
|
app/design/frontend/fed/default/layout/wishlist.xml
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<reference name="top.links">
|
37 |
+
<block type="wishlist/links" name="wishlist_link" />
|
38 |
+
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
|
39 |
+
</reference>
|
40 |
+
|
41 |
+
<!-- Mage_Wishlist -->
|
42 |
+
<reference name="right">
|
43 |
+
<block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
|
44 |
+
</reference>
|
45 |
+
</default>
|
46 |
+
|
47 |
+
<!--
|
48 |
+
Customer account pages, rendered for all tabs in dashboard
|
49 |
+
-->
|
50 |
+
|
51 |
+
<customer_account>
|
52 |
+
<!-- Mage_Wishlist -->
|
53 |
+
<reference name="customer_account_navigation">
|
54 |
+
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
|
55 |
+
</reference>
|
56 |
+
</customer_account>
|
57 |
+
|
58 |
+
<!--
|
59 |
+
Customer account home dashboard layout
|
60 |
+
-->
|
61 |
+
|
62 |
+
<customer_account_index>
|
63 |
+
<reference name="right">
|
64 |
+
<action method="unsetChild"><name>wishlist</name></action>
|
65 |
+
</reference>
|
66 |
+
</customer_account_index>
|
67 |
+
|
68 |
+
<!--
|
69 |
+
Wishlist pages
|
70 |
+
-->
|
71 |
+
|
72 |
+
<wishlist_index_index translate="label">
|
73 |
+
<label>Customer My Account My Wishlist</label>
|
74 |
+
<!-- Mage_Wishlist -->
|
75 |
+
<update handle="customer_account" />
|
76 |
+
<reference name="my.account.wrapper">
|
77 |
+
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
|
78 |
+
<action method="setTitle" translate="title">
|
79 |
+
<title>My Wishlist</title>
|
80 |
+
</action>
|
81 |
+
<block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
|
82 |
+
<block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
|
83 |
+
<block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
|
84 |
+
<action method="setTitle" translate="title">
|
85 |
+
<title>Product Details and Comment</title>
|
86 |
+
</action>
|
87 |
+
</block>
|
88 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
|
89 |
+
<action method="setTitle" translate="title">
|
90 |
+
<title>Add to Cart</title>
|
91 |
+
</action>
|
92 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
93 |
+
</block>
|
94 |
+
<block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
|
95 |
+
</block>
|
96 |
+
<block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
|
97 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
|
98 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
|
99 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
|
100 |
+
</block>
|
101 |
+
</block>
|
102 |
+
</reference>
|
103 |
+
<reference name="right">
|
104 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
105 |
+
</reference>
|
106 |
+
</wishlist_index_index>
|
107 |
+
|
108 |
+
<wishlist_index_share translate="label">
|
109 |
+
<label>Customer My Account Wishlist Sharing Form</label>
|
110 |
+
<!-- Mage_Wishlist -->
|
111 |
+
<update handle="customer_account" />
|
112 |
+
<reference name="my.account.wrapper">
|
113 |
+
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
|
114 |
+
</reference>
|
115 |
+
<reference name="right">
|
116 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
117 |
+
</reference>
|
118 |
+
</wishlist_index_share>
|
119 |
+
|
120 |
+
<wishlist_index_configure translate="label">
|
121 |
+
<label>Configure Wishlist Item</label>
|
122 |
+
<update handle="catalog_product_view" />
|
123 |
+
<reference name="product.info">
|
124 |
+
<block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
|
125 |
+
</reference>
|
126 |
+
<reference name="product.info.options.wrapper.bottom">
|
127 |
+
<action method="unsetChild"><name>product.info.addto</name></action>
|
128 |
+
<action method="append"><block>product.info.addto</block></action>
|
129 |
+
</reference>
|
130 |
+
</wishlist_index_configure>
|
131 |
+
|
132 |
+
<wishlist_shared_index translate="label">
|
133 |
+
<label>Customer Shared Wishlist View</label>
|
134 |
+
<!-- Mage_Wishlist -->
|
135 |
+
<reference name="content">
|
136 |
+
<block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
|
137 |
+
</reference>
|
138 |
+
</wishlist_shared_index>
|
139 |
+
</layout>
|
app/design/frontend/fed/default/layout/wishlist_old.xml
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
Default layout, loads most of the pages
|
32 |
+
-->
|
33 |
+
|
34 |
+
<default>
|
35 |
+
|
36 |
+
</default>
|
37 |
+
|
38 |
+
<!--Mage Whishlist-->
|
39 |
+
|
40 |
+
<!-- Wishlist pages -->
|
41 |
+
|
42 |
+
<wishlist_index_index translate="label">
|
43 |
+
<label>Customer My Account My Wishlist</label>
|
44 |
+
<!-- Mage_Wishlist -->
|
45 |
+
<update handle="customer_account" />
|
46 |
+
<reference name="my.account.wrapper">
|
47 |
+
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
|
48 |
+
<action method="setTitle" translate="title">
|
49 |
+
<title>My Wishlist</title>
|
50 |
+
</action>
|
51 |
+
<block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
|
52 |
+
<block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
|
53 |
+
<block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
|
54 |
+
<action method="setTitle" translate="title">
|
55 |
+
<title>Product Details and Comment</title>
|
56 |
+
</action>
|
57 |
+
</block>
|
58 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
|
59 |
+
<action method="setTitle" translate="title">
|
60 |
+
<title>Add to Cart</title>
|
61 |
+
</action>
|
62 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
63 |
+
</block>
|
64 |
+
<block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
|
65 |
+
</block>
|
66 |
+
<block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
|
67 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
|
68 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
|
69 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
|
70 |
+
</block>
|
71 |
+
</block>
|
72 |
+
</reference>
|
73 |
+
<reference name="right">
|
74 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
75 |
+
</reference>
|
76 |
+
</wishlist_index_index>
|
77 |
+
</layout>
|
app/design/frontend/fed/default/layout/xmlconnect.xml
ADDED
@@ -0,0 +1,466 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<layout version="0.1.0">
|
29 |
+
<default>
|
30 |
+
</default>
|
31 |
+
|
32 |
+
<!-- Home -->
|
33 |
+
<xmlconnect_index_index>
|
34 |
+
<block type="xmlconnect/home" name="xmlconnect.home" output="toHtml"/>
|
35 |
+
</xmlconnect_index_index>
|
36 |
+
|
37 |
+
<!-- Localization -->
|
38 |
+
<xmlconnect_localization_index>
|
39 |
+
<block type="xmlconnect/localization" name="xmlconnect.localization" output="toHtml"/>
|
40 |
+
</xmlconnect_localization_index>
|
41 |
+
|
42 |
+
<!-- Home banners -->
|
43 |
+
<xmlconnect_homebanners_index>
|
44 |
+
<block type="xmlconnect/homebanners" name="xmlconnect.homebanners" output="toHtml"/>
|
45 |
+
</xmlconnect_homebanners_index>
|
46 |
+
|
47 |
+
<!-- Catalog -->
|
48 |
+
|
49 |
+
<xmlconnect_catalog_filters>
|
50 |
+
<block type="xmlconnect/catalog_filters" name="xmlconnect.catalog.filters" output="toHtml"/>
|
51 |
+
</xmlconnect_catalog_filters>
|
52 |
+
|
53 |
+
<!-- Category -->
|
54 |
+
<xmlconnect_catalog_category>
|
55 |
+
<block type="xmlconnect/catalog_category" name="xmlconnect.catalog.category" output="toHtml">
|
56 |
+
<block type="xmlconnect/catalog_product_list" name="xmlconnect.catalog.product.list" as="product_list" output="">
|
57 |
+
<block type="xmlconnect/catalog_product_price" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
58 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_price_bundle</renderer></action>
|
59 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_price_giftcard</renderer></action>
|
60 |
+
</block>
|
61 |
+
</block>
|
62 |
+
|
63 |
+
<block type="xmlconnect/catalog_category_info" name="xmlconnect.catalog.category.info" as="category_info" output=""/>
|
64 |
+
</block>
|
65 |
+
</xmlconnect_catalog_category>
|
66 |
+
|
67 |
+
<xmlconnect_catalog_categorydetails>
|
68 |
+
<block type="xmlconnect/catalog_category" name="xmlconnect.catalog.category" output="toHtml">
|
69 |
+
<block type="xmlconnect/catalog_product_list" name="xmlconnect.catalog.product.list" as="product_list" output="">
|
70 |
+
<block type="xmlconnect/catalog_product_itemPrice" name="xmlconnect.catalog.product.itemprice" as="product_price" output="">
|
71 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_itemPrice_bundle</renderer></action>
|
72 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_itemPrice_giftcard</renderer></action>
|
73 |
+
</block>
|
74 |
+
</block>
|
75 |
+
|
76 |
+
<block type="xmlconnect/catalog_category_info" name="xmlconnect.catalog.category.info" as="category_info" output=""/>
|
77 |
+
</block>
|
78 |
+
</xmlconnect_catalog_categorydetails>
|
79 |
+
|
80 |
+
<!-- Product -->
|
81 |
+
|
82 |
+
<xmlconnect_catalog_product>
|
83 |
+
<block type="xmlconnect/catalog_product" name="xmlconnect.catalog.product" output="toHtml">
|
84 |
+
<block type="xmlconnect/catalog_product_related" name="xmlconnect.product.related" as="related_products" output=""/>
|
85 |
+
|
86 |
+
<block type="xmlconnect/catalog_product_price" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
87 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_price_bundle</renderer></action>
|
88 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_price_giftcard</renderer></action>
|
89 |
+
</block>
|
90 |
+
|
91 |
+
<block type="xmlconnect/catalog_product_attributes" name="xmlconnect.catalog.product.attributes" as="additional_info" output="" />
|
92 |
+
|
93 |
+
<block type="xmlconnect/catalog_product_options" name="xmlconnect.catalog.product.options" output="">
|
94 |
+
<action method="addRenderer"><type>simple</type><renderer>xmlconnect/catalog_product_options_simple</renderer></action>
|
95 |
+
<action method="addRenderer"><type>virtual</type><renderer>xmlconnect/catalog_product_options_virtual</renderer></action>
|
96 |
+
<action method="addRenderer"><type>configurable</type><renderer>xmlconnect/catalog_product_options_configurable</renderer></action>
|
97 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_options_bundle</renderer></action>
|
98 |
+
<action method="addRenderer"><type>grouped</type><renderer>xmlconnect/catalog_product_options_grouped</renderer></action>
|
99 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_options_giftcard</renderer></action>
|
100 |
+
<action method="addRenderer"><type>downloadable</type><renderer>xmlconnect/catalog_product_options_downloadable</renderer></action>
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</xmlconnect_catalog_product>
|
104 |
+
|
105 |
+
<xmlconnect_catalog_productview>
|
106 |
+
<block type="xmlconnect/catalog_product" name="xmlconnect.catalog.product" output="toHtml">
|
107 |
+
<block type="xmlconnect/catalog_product_related" name="xmlconnect.product.related" as="related_products" output=""/>
|
108 |
+
|
109 |
+
<block type="xmlconnect/catalog_product_itemPrice" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
110 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_itemPrice_bundle</renderer></action>
|
111 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_itemPrice_giftcard</renderer></action>
|
112 |
+
</block>
|
113 |
+
|
114 |
+
<block type="xmlconnect/catalog_product_attributes" name="xmlconnect.catalog.product.attributes" as="additional_info" output="" />
|
115 |
+
|
116 |
+
<block type="xmlconnect/catalog_product_options" name="xmlconnect.catalog.product.options" output="">
|
117 |
+
<action method="addRenderer"><type>simple</type><renderer>xmlconnect/catalog_product_options_simple</renderer></action>
|
118 |
+
<action method="addRenderer"><type>virtual</type><renderer>xmlconnect/catalog_product_options_virtual</renderer></action>
|
119 |
+
<action method="addRenderer"><type>configurable</type><renderer>xmlconnect/catalog_product_options_configurable</renderer></action>
|
120 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_options_bundle</renderer></action>
|
121 |
+
<action method="addRenderer"><type>grouped</type><renderer>xmlconnect/catalog_product_options_grouped</renderer></action>
|
122 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_options_giftcard</renderer></action>
|
123 |
+
<action method="addRenderer"><type>downloadable</type><renderer>xmlconnect/catalog_product_options_downloadable</renderer></action>
|
124 |
+
</block>
|
125 |
+
</block>
|
126 |
+
</xmlconnect_catalog_productview>
|
127 |
+
|
128 |
+
<xmlconnect_catalog_productoptions>
|
129 |
+
<block type="xmlconnect/catalog_product_options" name="xmlconnect.catalog.product.options" output="toHtml">
|
130 |
+
<action method="addRenderer"><type>simple</type><renderer>xmlconnect/catalog_product_options_simple</renderer></action>
|
131 |
+
<action method="addRenderer"><type>virtual</type><renderer>xmlconnect/catalog_product_options_virtual</renderer></action>
|
132 |
+
<action method="addRenderer"><type>configurable</type><renderer>xmlconnect/catalog_product_options_configurable</renderer></action>
|
133 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_options_bundle</renderer></action>
|
134 |
+
<action method="addRenderer"><type>grouped</type><renderer>xmlconnect/catalog_product_options_grouped</renderer></action>
|
135 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_options_giftcard</renderer></action>
|
136 |
+
<action method="addRenderer"><type>downloadable</type><renderer>xmlconnect/catalog_product_options_downloadable</renderer></action>
|
137 |
+
</block>
|
138 |
+
</xmlconnect_catalog_productoptions>
|
139 |
+
|
140 |
+
<xmlconnect_catalog_productgallery>
|
141 |
+
<block type="xmlconnect/catalog_product_gallery" name="xmlconnect.catalog.product.gallery" output="toHtml"/>
|
142 |
+
</xmlconnect_catalog_productgallery>
|
143 |
+
|
144 |
+
<xmlconnect_catalog_productreview>
|
145 |
+
<block type="xmlconnect/catalog_product_review" name="xmlconnect.catalog.product.review" output="toHtml"/>
|
146 |
+
</xmlconnect_catalog_productreview>
|
147 |
+
|
148 |
+
<xmlconnect_catalog_productreviews>
|
149 |
+
<block type="xmlconnect/catalog_product_review_list" name="xmlconnect.catalog.product.reviews" output="toHtml"/>
|
150 |
+
</xmlconnect_catalog_productreviews>
|
151 |
+
|
152 |
+
<!-- Search -->
|
153 |
+
|
154 |
+
<xmlconnect_catalog_search>
|
155 |
+
<block type="xmlconnect/catalog_search" name="xmlconnect.catalog.search" output="toHtml">
|
156 |
+
<block type="xmlconnect/catalog_product_list" name="xmlconnect.catalog.product.list" as="product_list" output="">
|
157 |
+
<block type="xmlconnect/catalog_product_price" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
158 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_price_bundle</renderer></action>
|
159 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_price_giftcard</renderer></action>
|
160 |
+
</block>
|
161 |
+
</block>
|
162 |
+
</block>
|
163 |
+
</xmlconnect_catalog_search>
|
164 |
+
|
165 |
+
<xmlconnect_catalog_searchdetails>
|
166 |
+
<block type="xmlconnect/catalog_search" name="xmlconnect.catalog.search" output="toHtml">
|
167 |
+
<block type="xmlconnect/catalog_product_list" name="xmlconnect.catalog.product.list" as="product_list" output="">
|
168 |
+
<block type="xmlconnect/catalog_product_itemPrice" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
169 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_itemPrice_bundle</renderer></action>
|
170 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_itemPrice_giftcard</renderer></action>
|
171 |
+
</block>
|
172 |
+
</block>
|
173 |
+
</block>
|
174 |
+
</xmlconnect_catalog_searchdetails>
|
175 |
+
|
176 |
+
<xmlconnect_catalog_searchsuggest>
|
177 |
+
<block type="xmlconnect/catalog_search_suggest" name="xmlconnect.catalog.search.suggest" output="toHtml"/>
|
178 |
+
</xmlconnect_catalog_searchsuggest>
|
179 |
+
|
180 |
+
<!-- Shopping Cart -->
|
181 |
+
<xmlconnect_cart_index>
|
182 |
+
<block type="xmlconnect/cart" name="xmlconnect.cart" output="toHtml">
|
183 |
+
<action method="addItemRender"><type>simple</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
184 |
+
<action method="addItemRender"><type>virtual</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
185 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/checkout_cart_item_renderer_configurable</block><template></template></action>
|
186 |
+
<action method="addItemRender"><type>bundle</type><block>xmlconnect/checkout_cart_item_renderer_bundle</block><template></template></action>
|
187 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/checkout_cart_item_renderer_grouped</block><template></template></action>
|
188 |
+
<action method="addItemRender"><type>giftcard</type><block>xmlconnect/checkout_cart_item_renderer_giftcard</block><template></template></action>
|
189 |
+
<action method="addItemRender"><type>downloadable</type><block>xmlconnect/checkout_cart_item_renderer_downloadable</block><template></template></action>
|
190 |
+
|
191 |
+
<block type="xmlconnect/cart_crosssell" name="xmlconnect.cart.crosssell" as="crosssell">
|
192 |
+
<block type="xmlconnect/catalog_product_price" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
193 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_price_bundle</renderer></action>
|
194 |
+
<action method="addRenderer"><type>giftcard</type><renderer>giftcard/catalog_product_price_giftcard</renderer></action>
|
195 |
+
</block>
|
196 |
+
</block>
|
197 |
+
</block>
|
198 |
+
</xmlconnect_cart_index>
|
199 |
+
|
200 |
+
<xmlconnect_cart_info>
|
201 |
+
<block type="xmlconnect/cart_info" name="xmlconnect.cart.info" as="cart_info" output="toHtml">
|
202 |
+
<block type="xmlconnect/cart_totals" name="xmlconnect.cart.totals" as="totals"/>
|
203 |
+
</block>
|
204 |
+
</xmlconnect_cart_info>
|
205 |
+
|
206 |
+
<xmlconnect_cart_shoppingcart>
|
207 |
+
<block type="xmlconnect/shoppingCart" name="xmlconnect.cart" output="toHtml">
|
208 |
+
<block type="xmlconnect/cart_items" name="xmlconnect.cart.items" as="items">
|
209 |
+
<action method="addItemRender"><type>simple</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
210 |
+
<action method="addItemRender"><type>virtual</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
211 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/checkout_cart_item_renderer_configurable</block><template></template></action>
|
212 |
+
<action method="addItemRender"><type>bundle</type><block>xmlconnect/checkout_cart_item_renderer_bundle</block><template></template></action>
|
213 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/checkout_cart_item_renderer_grouped</block><template></template></action>
|
214 |
+
<action method="addItemRender"><type>giftcard</type><block>xmlconnect/checkout_cart_item_renderer_giftcard</block><template></template></action>
|
215 |
+
<action method="addItemRender"><type>downloadable</type><block>xmlconnect/checkout_cart_item_renderer_downloadable</block><template></template></action>
|
216 |
+
</block>
|
217 |
+
<block type="xmlconnect/cart_crosssell" name="xmlconnect.cart.crosssell" as="crosssell">
|
218 |
+
<block type="xmlconnect/catalog_product_itemPrice" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
219 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_itemPrice_bundle</renderer></action>
|
220 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_itemPrice_giftcard</renderer></action>
|
221 |
+
</block>
|
222 |
+
</block>
|
223 |
+
<block type="xmlconnect/cart_cartTotals" name="xmlconnect.cart.totals" as="totals"/>
|
224 |
+
</block>
|
225 |
+
</xmlconnect_cart_shoppingcart>
|
226 |
+
|
227 |
+
<xmlconnect_cart_configure translate="label">
|
228 |
+
<label>Configure Cart Item</label>
|
229 |
+
<update handle="xmlconnect_catalog_product"/>
|
230 |
+
<reference name="product.info">
|
231 |
+
<block type="xmlconnect/cart_item_configure" name="checkout.cart.item.configure.block"/>
|
232 |
+
</reference>
|
233 |
+
</xmlconnect_cart_configure>
|
234 |
+
|
235 |
+
<!-- Customer -->
|
236 |
+
|
237 |
+
<xmlconnect_customer_form>
|
238 |
+
<block type="xmlconnect/customer_form" name="xmlconnect.customer.form" output="toHtml"/>
|
239 |
+
</xmlconnect_customer_form>
|
240 |
+
|
241 |
+
<xmlconnect_customer_checkoutregistration>
|
242 |
+
<block type="xmlconnect/customer_form" name="xmlconnect.customer.checkout.registration" output="toHtml"/>
|
243 |
+
</xmlconnect_customer_checkoutregistration>
|
244 |
+
|
245 |
+
<xmlconnect_wishlist_index>
|
246 |
+
<block type="xmlconnect/wishlist" name="xmlconnect.wishlist" output="toHtml">
|
247 |
+
<block type="xmlconnect/catalog_product_price" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
248 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_price_bundle</renderer></action>
|
249 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_price_giftcard</renderer></action>
|
250 |
+
</block>
|
251 |
+
</block>
|
252 |
+
</xmlconnect_wishlist_index>
|
253 |
+
|
254 |
+
<xmlconnect_wishlist_details>
|
255 |
+
<block type="xmlconnect/wishlist" name="xmlconnect.wishlist" output="toHtml">
|
256 |
+
<block type="xmlconnect/catalog_product_itemPrice" name="xmlconnect.catalog.product.price" as="product_price" output="">
|
257 |
+
<action method="addRenderer"><type>bundle</type><renderer>xmlconnect/catalog_product_itemPrice_bundle</renderer></action>
|
258 |
+
<action method="addRenderer"><type>giftcard</type><renderer>xmlconnect/catalog_product_itemPrice_giftcard</renderer></action>
|
259 |
+
</block>
|
260 |
+
</block>
|
261 |
+
</xmlconnect_wishlist_details>
|
262 |
+
|
263 |
+
<xmlconnect_customer_address>
|
264 |
+
<block type="xmlconnect/customer_address_list" name="xmlconnect.customer.address.list" output="toHtml"/>
|
265 |
+
</xmlconnect_customer_address>
|
266 |
+
|
267 |
+
<xmlconnect_customer_addressform>
|
268 |
+
<block type="xmlconnect/customer_address_form" name="xmlconnect.customer.address.form" output="toHtml"/>
|
269 |
+
</xmlconnect_customer_addressform>
|
270 |
+
|
271 |
+
<xmlconnect_customer_orderlist>
|
272 |
+
<block type="xmlconnect/customer_order_list" name="xmlconnect.customer.order.list" output="toHtml"/>
|
273 |
+
</xmlconnect_customer_orderlist>
|
274 |
+
|
275 |
+
<xmlconnect_customer_orderdetails>
|
276 |
+
<block type="xmlconnect/customer_order_details" name="order.details" output="toHtml">
|
277 |
+
<block type="xmlconnect/customer_order_items" name="order.items" output="">
|
278 |
+
<action method="addItemRender"><type>default</type><block>xmlconnect/customer_order_item_renderer_default</block><template></template></action>
|
279 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/customer_order_item_renderer_grouped</block><template></template></action>
|
280 |
+
<action method="addItemRender"><type>bundle</type><block>xmlconnect/customer_order_item_renderer_bundle</block><template></template></action>
|
281 |
+
<action method="addItemRender"><type>giftcard</type><block>xmlconnect/customer_order_item_renderer_giftcard</block><template></template></action>
|
282 |
+
<action method="addItemRender"><type>downloadable</type><block>xmlconnect/customer_order_item_renderer_downloadable</block><template></template></action>
|
283 |
+
<block type="xmlconnect/customer_order_totals" name="order.totals" output="">
|
284 |
+
<block type="xmlconnect/customer_order_totals_tax" name="xmlconnect.customer.order.tax" output=""/>
|
285 |
+
</block>
|
286 |
+
</block>
|
287 |
+
</block>
|
288 |
+
</xmlconnect_customer_orderdetails>
|
289 |
+
|
290 |
+
<xmlconnect_customer_storecredit>
|
291 |
+
<block type="xmlconnect/customer_storecredit" name="xmlconnect.customer.storecredit" output="toHtml"/>
|
292 |
+
</xmlconnect_customer_storecredit>
|
293 |
+
|
294 |
+
<xmlconnect_customer_giftcardcheck>
|
295 |
+
<block type="xmlconnect/customer_giftcardCheck" name="xmlconnect.customer.giftcardCheck" output="toHtml"/>
|
296 |
+
</xmlconnect_customer_giftcardcheck>
|
297 |
+
|
298 |
+
<xmlconnect_customer_downloads>
|
299 |
+
<block type="xmlconnect/customer_downloads" name="xmlconnect.customer.downloads" output="toHtml"/>
|
300 |
+
</xmlconnect_customer_downloads>
|
301 |
+
|
302 |
+
<!-- Configuration -->
|
303 |
+
|
304 |
+
<xmlconnect_configuration_index>
|
305 |
+
<block type="xmlconnect/configuration" name="xmlconnect.configuration" output="toHtml"/>
|
306 |
+
</xmlconnect_configuration_index>
|
307 |
+
|
308 |
+
<!-- Checkout (OnePage) -->
|
309 |
+
|
310 |
+
<xmlconnect_checkout_addressmassaction>
|
311 |
+
<block type="xmlconnect/checkout_onepage_address" name="xmlconnect.checkout.onepage.address" output="toHtml">
|
312 |
+
<block type="xmlconnect/checkout_onepage_address_list" name="xmlconnect.checkout.onepage.address.list" as="address_list" output=""/>
|
313 |
+
<block type="xmlconnect/checkout_onepage_address_form" name="xmlconnect.checkout.onepage.address.form" as="address_form" output=""/>
|
314 |
+
</block>
|
315 |
+
</xmlconnect_checkout_addressmassaction>
|
316 |
+
|
317 |
+
<xmlconnect_checkout_index>
|
318 |
+
<block type="xmlconnect/checkout_address_billing" name="xmlconnect.checkout.address.billing" output="toHtml">
|
319 |
+
<block type="xmlconnect/customer_address_list" name="xmlconnect.customer.address.list" as="address_list" output=""/>
|
320 |
+
</block>
|
321 |
+
</xmlconnect_checkout_index>
|
322 |
+
|
323 |
+
<xmlconnect_checkout_billingaddress>
|
324 |
+
<block type="xmlconnect/checkout_address_billing" name="xmlconnect.checkout.address.billing" output="toHtml">
|
325 |
+
<block type="xmlconnect/customer_address_list" name="xmlconnect.customer.address.list" as="address_list" output=""/>
|
326 |
+
</block>
|
327 |
+
</xmlconnect_checkout_billingaddress>
|
328 |
+
|
329 |
+
<xmlconnect_checkout_newbillingaddressform>
|
330 |
+
<block type="xmlconnect/checkout_address_form" name="xmlconnect.checkout.new.billing.address.form" output="toHtml">
|
331 |
+
<action method="setType"><type>billing</type></action>
|
332 |
+
</block>
|
333 |
+
</xmlconnect_checkout_newbillingaddressform>
|
334 |
+
|
335 |
+
<xmlconnect_checkout_shippingaddress>
|
336 |
+
<block type="xmlconnect/checkout_address_shipping" name="xmlconnect.checkout.address.shipping" output="toHtml">
|
337 |
+
<block type="xmlconnect/customer_address_list" name="xmlconnect.customer.address.list" as="address_list" output=""/>
|
338 |
+
</block>
|
339 |
+
</xmlconnect_checkout_shippingaddress>
|
340 |
+
|
341 |
+
<xmlconnect_checkout_newshippingaddressform>
|
342 |
+
<block type="xmlconnect/checkout_address_form" name="xmlconnect.checkout.new.billing.address.form" output="toHtml">
|
343 |
+
<action method="setType"><type>shipping</type></action>
|
344 |
+
</block>
|
345 |
+
</xmlconnect_checkout_newshippingaddressform>
|
346 |
+
|
347 |
+
<xmlconnect_checkout_shippingmethods>
|
348 |
+
<block type="xmlconnect/checkout_shipping_method_available" name="xmlconnect.checkout.shipping.method.available" output="toHtml"/>
|
349 |
+
</xmlconnect_checkout_shippingmethods>
|
350 |
+
|
351 |
+
<xmlconnect_checkout_shippingmethodslist>
|
352 |
+
<block type="xmlconnect/checkout_shipping_method_availableList" name="xmlconnect.checkout.shipping.method.available" output="toHtml"/>
|
353 |
+
</xmlconnect_checkout_shippingmethodslist>
|
354 |
+
|
355 |
+
<xmlconnect_checkout_paymentmethods>
|
356 |
+
<block type="xmlconnect/checkout_payment_method_list" name="payment.methods" output="">
|
357 |
+
<block type="xmlconnect/checkout_payment_method_ccsave" name="xmlconnect.checkout.method.ccsave" as="payment_ccsave" output=""/>
|
358 |
+
<block type="xmlconnect/checkout_payment_method_checkmo" name="xmlconnect.checkout.method.checkmo" as="payment_checkmo" output=""/>
|
359 |
+
<block type="xmlconnect/checkout_payment_method_purchaseorder" name="xmlconnect.checkout.method.purchaseorder" as="payment_purchaseorder" output=""/>
|
360 |
+
<block type="xmlconnect/checkout_payment_method_paypal_payflow" name="xmlconnect.checkout.method.paypal.payflow" as="payment_paypal_payflow" output=""/>
|
361 |
+
<block type="xmlconnect/checkout_payment_method_paypal_direct" name="xmlconnect.checkout.method.paypal.direct" as="payment_paypal_direct" output=""/>
|
362 |
+
<block type="xmlconnect/checkout_payment_method_authorizenet" name="xmlconnect.checkout.method.authorizenet" as="payment_authorizenet" output=""/>
|
363 |
+
</block>
|
364 |
+
</xmlconnect_checkout_paymentmethods>
|
365 |
+
|
366 |
+
<xmlconnect_checkout_paymentmethodlist>
|
367 |
+
<block type="xmlconnect/checkout_payment_method_listApi23" name="payment.methods" output="">
|
368 |
+
<block type="xmlconnect/checkout_payment_method_ccsave" name="xmlconnect.checkout.method.ccsave" as="payment_ccsave" output=""/>
|
369 |
+
<block type="xmlconnect/checkout_payment_method_checkmo" name="xmlconnect.checkout.method.checkmo" as="payment_checkmo" output=""/>
|
370 |
+
<block type="xmlconnect/checkout_payment_method_purchaseorder" name="xmlconnect.checkout.method.purchaseorder" as="payment_purchaseorder" output=""/>
|
371 |
+
<block type="xmlconnect/checkout_payment_method_paypal_payflow" name="xmlconnect.checkout.method.paypal.payflow" as="payment_paypal_payflow" output=""/>
|
372 |
+
<block type="xmlconnect/checkout_payment_method_paypal_direct" name="xmlconnect.checkout.method.paypal.direct" as="payment_paypal_direct" output=""/>
|
373 |
+
<block type="xmlconnect/checkout_payment_method_authorizenet" name="xmlconnect.checkout.method.authorizenet" as="payment_authorizenet" output=""/>
|
374 |
+
</block>
|
375 |
+
</xmlconnect_checkout_paymentmethodlist>
|
376 |
+
|
377 |
+
<xmlconnect_checkout_orderreview>
|
378 |
+
<block type="xmlconnect/checkout_order_review" name="xmlconnect.checkout.order.review" output="toHtml">
|
379 |
+
<block type="xmlconnect/checkout_order_review_info" name="xmlconnect.checkout.order.info" as="order_products">
|
380 |
+
<action method="addItemRender"><type>default</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
381 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/checkout_cart_item_renderer_configurable</block><template></template></action>
|
382 |
+
<action method="addItemRender"><type>bundle</type><block>xmlconnect/checkout_cart_item_renderer_bundle</block><template></template></action>
|
383 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/checkout_cart_item_renderer_grouped</block><template></template></action>
|
384 |
+
<action method="addItemRender"><type>giftcard</type><block>xmlconnect/checkout_cart_item_renderer_giftcard</block><template></template></action>
|
385 |
+
<action method="addItemRender"><type>downloadable</type><block>xmlconnect/checkout_cart_item_renderer_downloadable</block><template></template></action>
|
386 |
+
</block>
|
387 |
+
|
388 |
+
<block type="xmlconnect/cart_totals" name="xmlconnect.checkout.order.review.totals" as="totals"/>
|
389 |
+
<block type="xmlconnect/checkout_agreements" name="xmlconnect.checkout.agreements" as="agreements" output=""/>
|
390 |
+
</block>
|
391 |
+
</xmlconnect_checkout_orderreview>
|
392 |
+
|
393 |
+
<xmlconnect_checkout_ordersummary>
|
394 |
+
<block type="xmlconnect/checkout_onepage_review" name="xmlconnect.order.details" output="toHtml">
|
395 |
+
<block type="xmlconnect/cart_items" name="xmlconnect.cart.items" as="items">
|
396 |
+
<action method="addItemRender"><type>simple</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
397 |
+
<action method="addItemRender"><type>virtual</type><block>xmlconnect/checkout_cart_item_renderer</block><template></template></action>
|
398 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/checkout_cart_item_renderer_configurable</block><template></template></action>
|
399 |
+
<action method="addItemRender"><type>bundle</type><block>xmlconnect/checkout_cart_item_renderer_bundle</block><template></template></action>
|
400 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/checkout_cart_item_renderer_grouped</block><template></template></action>
|
401 |
+
<action method="addItemRender"><type>giftcard</type><block>xmlconnect/checkout_cart_item_renderer_giftcard</block><template></template></action>
|
402 |
+
<action method="addItemRender"><type>downloadable</type><block>xmlconnect/checkout_cart_item_renderer_downloadable</block><template></template></action>
|
403 |
+
</block>
|
404 |
+
<block type="xmlconnect/cart_cartTotals" name="xmlconnect.cart.totals" as="totals"/>
|
405 |
+
<block type="xmlconnect/checkout_agreements" name="xmlconnect.checkout.agreements" as="agreements" output=""/>
|
406 |
+
</block>
|
407 |
+
</xmlconnect_checkout_ordersummary>
|
408 |
+
|
409 |
+
<!-- Checkout with PayPal MEP -->
|
410 |
+
|
411 |
+
<xmlconnect_paypal_mep_shippingmethods>
|
412 |
+
<block type="xmlconnect/checkout_shipping_method_available" name="xmlconnect.checkout.shipping.method.available" output="toHtml"/>
|
413 |
+
</xmlconnect_paypal_mep_shippingmethods>
|
414 |
+
|
415 |
+
<xmlconnect_paypal_mep_carttotals>
|
416 |
+
<block type="xmlconnect/cart_paypal_mep_totals" name="xmlconnect.cart.paypal.mep.totals" output="toHtml"/>
|
417 |
+
</xmlconnect_paypal_mep_carttotals>
|
418 |
+
|
419 |
+
<!-- Checkout with PayPal MECL -->
|
420 |
+
|
421 |
+
<xmlconnect_paypal_mecl_review>
|
422 |
+
<block type="xmlconnect/cart_paypal_mecl_review" name="xmlconnect.cart.paypal.mecl.review" output="toHtml">
|
423 |
+
<block type="xmlconnect/cart_paypal_mecl_details" name="xmlconnect.cart.paypal.mecl.details" as="details">
|
424 |
+
<action method="addItemRender"><type>default</type><block>xmlconnect/cart_item_renderer</block><template></template></action>
|
425 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/cart_item_renderer_grouped</block><template></template></action>
|
426 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/cart_item_renderer_configurable</block><template></template></action>
|
427 |
+
<block type="xmlconnect/cart_totals" name="xmlconnect.cart.totals" as="totals"/>
|
428 |
+
</block>
|
429 |
+
<block type="xmlconnect/checkout_agreements" name="xmlconnect.checkout.agreements" as="agreements" output=""/>
|
430 |
+
</block>
|
431 |
+
</xmlconnect_paypal_mecl_review>
|
432 |
+
|
433 |
+
<xmlconnect_paypal_mecl_orderreview>
|
434 |
+
<block type="xmlconnect/cart_paypal_mecl_review" name="xmlconnect.cart.paypal.mecl.review" output="toHtml">
|
435 |
+
<block type="xmlconnect/cart_paypal_mecl_orderDetails" name="xmlconnect.cart.paypal.mecl.details" as="details">
|
436 |
+
<action method="addItemRender"><type>default</type><block>xmlconnect/cart_item_renderer</block><template></template></action>
|
437 |
+
<action method="addItemRender"><type>grouped</type><block>xmlconnect/cart_item_renderer_grouped</block><template></template></action>
|
438 |
+
<action method="addItemRender"><type>configurable</type><block>xmlconnect/cart_item_renderer_configurable</block><template></template></action>
|
439 |
+
<block type="xmlconnect/cart_cartTotals" name="xmlconnect.cart.totals" as="totals"/>
|
440 |
+
</block>
|
441 |
+
<block type="xmlconnect/checkout_agreements" name="xmlconnect.checkout.agreements" as="agreements" output=""/>
|
442 |
+
</block>
|
443 |
+
</xmlconnect_paypal_mecl_orderreview>
|
444 |
+
|
445 |
+
<xmlconnect_paypal_mecl_shippingmethods>
|
446 |
+
<block type="xmlconnect/cart_paypal_mecl_shippingmethods" name="xmlconnect.cart.paypal.mecl.shippingmethods" output="toHtml"></block>
|
447 |
+
</xmlconnect_paypal_mecl_shippingmethods>
|
448 |
+
|
449 |
+
<!-- Cms -->
|
450 |
+
|
451 |
+
<xmlconnect_cms_page>
|
452 |
+
<block type="xmlconnect/cms_page" name="xmlconnect.cms.page" output="toHtml"/>
|
453 |
+
</xmlconnect_cms_page>
|
454 |
+
|
455 |
+
<!-- Payment bridge -->
|
456 |
+
|
457 |
+
<xmlconnect_pbridge_result>
|
458 |
+
<block type="xmlconnect/checkout_pbridge_result" name="xmlconnect.checkout.pbridge.result" template="xmlconnect/pbridge/result.phtml" output="toHtml" />
|
459 |
+
</xmlconnect_pbridge_result>
|
460 |
+
|
461 |
+
<!-- Product review -->
|
462 |
+
|
463 |
+
<xmlconnect_review_form>
|
464 |
+
<block type="xmlconnect/review_form" name="xmlconnect.review.form" output="toHtml"/>
|
465 |
+
</xmlconnect_review_form>
|
466 |
+
</layout>
|
app/design/frontend/fed/default/template/callouts/left_col.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="block block-banner">
|
28 |
+
<div class="block-content">
|
29 |
+
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
30 |
+
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
31 |
+
<?php elseif($this->getLinkUrl()): ?>
|
32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
33 |
+
<?php endif; ?>
|
34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
35 |
+
<?php if($this->getLinkUrl()): ?>
|
36 |
+
</a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
app/design/frontend/fed/default/template/callouts/right_col.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="block block-banner">
|
28 |
+
<div class="block-content">
|
29 |
+
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
30 |
+
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
31 |
+
<?php elseif($this->getLinkUrl()): ?>
|
32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
33 |
+
<?php endif; ?>
|
34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
35 |
+
<?php if($this->getLinkUrl()): ?>
|
36 |
+
</a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/category/view.phtml
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
* Category view template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Category_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
$_category = $this->getCurrentCategory();
|
37 |
+
$_imgHtml = '';
|
38 |
+
if ($_imgUrl = $_category->getImageUrl()) {
|
39 |
+
$_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>';
|
40 |
+
$_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
|
41 |
+
}
|
42 |
+
?>
|
43 |
+
<div class="page-title">
|
44 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
45 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
46 |
+
<?php endif; ?>
|
47 |
+
<h2><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h2>
|
48 |
+
<hr />
|
49 |
+
</div>
|
50 |
+
|
51 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
52 |
+
|
53 |
+
<?php if($_imgUrl): ?>
|
54 |
+
<?php echo $_imgHtml ?>
|
55 |
+
<?php endif; ?>
|
56 |
+
|
57 |
+
<?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
|
58 |
+
<div class="category-description std">
|
59 |
+
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
|
60 |
+
</div>
|
61 |
+
<?php endif; ?>
|
62 |
+
|
63 |
+
<?php if($this->isContentMode()): ?>
|
64 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
65 |
+
|
66 |
+
<?php elseif($this->isMixedMode()): ?>
|
67 |
+
<div class="category-block">
|
68 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
69 |
+
</div>
|
70 |
+
<?php echo $this->getProductListHtml() ?>
|
71 |
+
|
72 |
+
<?php else: ?>
|
73 |
+
<?php echo $this->getProductListHtml() ?>
|
74 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/msrp/popup.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Template for MAP popup
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php if (Mage::helper('catalog')->isMsrpEnabled()): ?>
|
34 |
+
<div id="map-popup" class="map-popup" style="display:none;">
|
35 |
+
<a href="#" class="map-popup-close" id="map-popup-close">x</a>
|
36 |
+
<div class="map-popup-arrow"></div>
|
37 |
+
<div class="map-popup-heading"><h2 id="map-popup-heading"></h2></div>
|
38 |
+
<div class="map-popup-content" id="map-popup-content">
|
39 |
+
<div class="map-popup-checkout">
|
40 |
+
<form action="" method="POST" id="product_addtocart_form_from_popup">
|
41 |
+
<input type="hidden" name="product" class="product_id" value="" id="map-popup-product-id" />
|
42 |
+
<div class="additional-addtocart-box">
|
43 |
+
<?php echo $this->getChildHtml(); ?>
|
44 |
+
</div>
|
45 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" id="map-popup-button"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
46 |
+
</form>
|
47 |
+
</div>
|
48 |
+
<div class="map-popup-msrp" id="map-popup-msrp-box"><strong><?php echo $this->__('Price'); ?>:</strong> <span style="text-decoration:line-through;" id="map-popup-msrp"></span></div>
|
49 |
+
<div class="map-popup-price" id="map-popup-price-box"><strong><?php echo $this->__('Actual Price'); ?>:</strong> <span id="map-popup-price"></span></div>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
document.observe("dom:loaded", Catalog.Map.bindProductForm);
|
53 |
+
//]]>
|
54 |
+
</script>
|
55 |
+
</div>
|
56 |
+
<div class="map-popup-text" id="map-popup-text"><?php echo Mage::helper('catalog')->getMsrpExplanationMessage(); ?></div>
|
57 |
+
<div class="map-popup-text" id="map-popup-text-what-this"><?php echo Mage::helper('catalog')->getMsrpExplanationMessageWhatsThis(); ?></div>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/navigation/left.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
/**
|
28 |
+
* Category left navigation
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Navigation
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $currentCat = Mage::registry('current_category'); ?>
|
34 |
+
<?php if (!Mage::registry('current_category')) return ?>
|
35 |
+
<?php $_categories = $this->getCurrentChildCategories() ?>
|
36 |
+
<?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
|
37 |
+
<?php if($_count): ?>
|
38 |
+
<div class="block block-category-nav">
|
39 |
+
<div class="block-title">
|
40 |
+
<strong><span><?php echo $currentCat->getname(); ?></span></strong>
|
41 |
+
</div>
|
42 |
+
<div class="block-content">
|
43 |
+
<dl id="narrow-by-list2">
|
44 |
+
<dt><?php echo $this->__('') ?></dt>
|
45 |
+
<dd>
|
46 |
+
<ol>
|
47 |
+
<?php foreach ($_categories as $_category): ?>
|
48 |
+
<?php if($_category->getIsActive()): ?>
|
49 |
+
<li>
|
50 |
+
<a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>><span class="errow"></span><?php echo $this->htmlEscape($_category->getName()) ?><span class="count">(<?php echo $_category->getProductCount() ?>)</span></a>
|
51 |
+
</li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</ol>
|
55 |
+
</dd>
|
56 |
+
</dl>
|
57 |
+
<script type="text/javascript">decorateDataList('narrow-by-list2')</script>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/navigation/top.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Navigation
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
/**
|
36 |
+
* $this->renderCategoriesMenuHtml() supports optional arguments:
|
37 |
+
* int Level number for list item class to start from
|
38 |
+
* string Extra class of outermost list items
|
39 |
+
* string If specified wraps children list in div with this class
|
40 |
+
*/
|
41 |
+
?>
|
42 |
+
|
43 |
+
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
44 |
+
<?php if($_menu): ?>
|
45 |
+
<div class="nav-container">
|
46 |
+
<ul id="nav">
|
47 |
+
<?php echo $_menu ?>
|
48 |
+
</ul>
|
49 |
+
</div>
|
50 |
+
<?php endif ?>
|
app/design/frontend/fed/default/template/catalog/product/compare/list.phtml
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_List */
|
27 |
+
?>
|
28 |
+
<div class="col-md-12">
|
29 |
+
<div class="page-title title-buttons">
|
30 |
+
<h1><?php echo $this->__('Compare Products') ?></h1>
|
31 |
+
<a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
|
32 |
+
</div>
|
33 |
+
<?php $_total=$this->getItems()->getSize() ?>
|
34 |
+
<?php if($_total): ?>
|
35 |
+
<table class="data-table compare-table table table-responsive table-bordered" id="product_comparison">
|
36 |
+
<?php $_i=0 ?>
|
37 |
+
<?php foreach($this->getItems() as $_item): ?>
|
38 |
+
<?php if($_i++%10==0): ?>
|
39 |
+
<col width="1" />
|
40 |
+
<?php endif; ?>
|
41 |
+
<col width="<?php echo floor(100/$_total); ?>%" />
|
42 |
+
<?php endforeach; ?>
|
43 |
+
<?php if ($_total>2): ?>
|
44 |
+
<thead>
|
45 |
+
<tr>
|
46 |
+
<?php $_i=0 ?>
|
47 |
+
<?php foreach($this->getItems() as $_item): ?>
|
48 |
+
<?php if($_i++%10==0): ?>
|
49 |
+
<th> </th>
|
50 |
+
<?php endif; ?>
|
51 |
+
<td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</tr>
|
54 |
+
</thead>
|
55 |
+
<?php endif ?>
|
56 |
+
<tbody>
|
57 |
+
<tr class="product-shop-row">
|
58 |
+
<?php $_i=0 ?>
|
59 |
+
<?php foreach($this->getItems() as $_item): ?>
|
60 |
+
<?php if($_i++%10==0): ?>
|
61 |
+
<th> </th>
|
62 |
+
<?php endif; ?>
|
63 |
+
<td>
|
64 |
+
<a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
|
65 |
+
<h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h2>
|
66 |
+
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
67 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
68 |
+
<?php if($_item->isSaleable()): ?>
|
69 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-success" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
70 |
+
<?php else: ?>
|
71 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
72 |
+
<?php endif; ?>
|
73 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
74 |
+
<ul class="add-to-links">
|
75 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
76 |
+
</ul>
|
77 |
+
<?php endif; ?>
|
78 |
+
</td>
|
79 |
+
<?php endforeach; ?>
|
80 |
+
</tr>
|
81 |
+
</tbody>
|
82 |
+
<tbody>
|
83 |
+
<?php foreach ($this->getAttributes() as $_attribute): ?>
|
84 |
+
<tr>
|
85 |
+
<?php $_i=0 ?>
|
86 |
+
<?php foreach($this->getItems() as $_item): ?>
|
87 |
+
<?php if($_i++%10==0): ?>
|
88 |
+
<th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
|
89 |
+
<?php endif; ?>
|
90 |
+
<td>
|
91 |
+
<?php switch ($_attribute->getAttributeCode()) {
|
92 |
+
case "price": ?>
|
93 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
|
94 |
+
<?php break;
|
95 |
+
case "small_image": ?>
|
96 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" />
|
97 |
+
<?php break;
|
98 |
+
case "date":
|
99 |
+
echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
|
100 |
+
break;
|
101 |
+
default: ?>
|
102 |
+
<div class="std">
|
103 |
+
<?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
|
104 |
+
</div>
|
105 |
+
<?php break;
|
106 |
+
} ?>
|
107 |
+
</td>
|
108 |
+
<?php endforeach; ?>
|
109 |
+
</tr>
|
110 |
+
<?php endforeach; ?>
|
111 |
+
</tbody>
|
112 |
+
<tbody>
|
113 |
+
<tr class="add-to-row">
|
114 |
+
<?php $_i=0 ?>
|
115 |
+
<?php foreach($this->getItems() as $_item): ?>
|
116 |
+
<?php if($_i++%10==0): ?>
|
117 |
+
<th> </th>
|
118 |
+
<?php endif; ?>
|
119 |
+
<td>
|
120 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
121 |
+
<?php if($_item->isSaleable()): ?>
|
122 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-success" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
123 |
+
<?php else: ?>
|
124 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
125 |
+
<?php endif; ?>
|
126 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
127 |
+
<ul class="add-to-links">
|
128 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item);?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
129 |
+
</ul>
|
130 |
+
<?php endif; ?>
|
131 |
+
</td>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
</tr>
|
134 |
+
</tbody>
|
135 |
+
</table>
|
136 |
+
<div class="buttons-set">
|
137 |
+
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button btn btn-danger" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button><br/><br/>
|
138 |
+
<span class="please-wait" id="compare-list-please-wait" style="display:none;">
|
139 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
|
140 |
+
</span>
|
141 |
+
</div>
|
142 |
+
<script type="text/javascript">
|
143 |
+
decorateTable('product_comparison');
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Send remove item request, after that reload windows
|
147 |
+
*/
|
148 |
+
function removeItem(url)
|
149 |
+
{
|
150 |
+
new Ajax.Request(url, {
|
151 |
+
parameters: {isAjax: 1, method: 'POST'},
|
152 |
+
onLoading: function(){$('compare-list-please-wait').show();},
|
153 |
+
onSuccess: function(transport) {
|
154 |
+
$('compare-list-please-wait').hide();
|
155 |
+
window.location.reload();
|
156 |
+
window.opener.location.reload();
|
157 |
+
}
|
158 |
+
});
|
159 |
+
}
|
160 |
+
</script>
|
161 |
+
<?php else: ?>
|
162 |
+
<script type="text/javascript">window.close();</script>
|
163 |
+
<?php endif; ?>
|
164 |
+
|
165 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/compare/sidebar.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
27 |
+
?>
|
28 |
+
<br/>
|
29 |
+
<?php
|
30 |
+
$_helper = $this->helper('catalog/product_compare');
|
31 |
+
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
32 |
+
?>
|
33 |
+
<div class="block block-list block-compare panel panel-info">
|
34 |
+
<div class="block-title panel-heading">
|
35 |
+
<strong><span><?php echo $this->__('Compare Products') ?>
|
36 |
+
<?php if($_helper->getItemCount() > 0): ?>
|
37 |
+
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
38 |
+
<?php endif; ?>
|
39 |
+
</span></strong>
|
40 |
+
</div>
|
41 |
+
<div class="block-content panel-body">
|
42 |
+
<?php if($_helper->getItemCount() > 0): ?>
|
43 |
+
<ol id="compare-items">
|
44 |
+
<?php foreach($_items as $_index => $_item): ?>
|
45 |
+
<li class="item">
|
46 |
+
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
47 |
+
<a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
48 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
|
49 |
+
</li>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</ol>
|
52 |
+
<script type="text/javascript">decorateList('compare-items')</script>
|
53 |
+
<div class="actions">
|
54 |
+
<a class="btn btn-xs btn-success" href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
|
55 |
+
<button type="button" title="<?php echo $this->__('Compare') ?>" class="button btn btn-info btn-xs" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
56 |
+
</div>
|
57 |
+
<?php else: ?>
|
58 |
+
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
59 |
+
<?php endif; ?>
|
60 |
+
</div>
|
61 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/gallery.phtml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_width=$this->getImageWidth() ?>
|
28 |
+
<div class="product-image-popup" style="width:<?php echo $_width; ?>px;">
|
29 |
+
<div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
|
30 |
+
<?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
|
31 |
+
<div class="nav">
|
32 |
+
<?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
|
33 |
+
<a href="<?php echo $_prevUrl ?>" class="prev">« <?php echo $this->__('Prev') ?></a>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
36 |
+
<a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> »</a>
|
37 |
+
<?php endif; ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
40 |
+
<?php if($_imageTitle = $this->escapeHtml($this->getCurrentImage()->getLabel())): ?>
|
41 |
+
<h1 class="image-label"><?php echo $_imageTitle ?></h1>
|
42 |
+
<?php endif; ?>
|
43 |
+
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>"<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> alt="<?php echo $this->escapeHtml($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->escapeHtml($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" class="image" />
|
44 |
+
<div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
|
45 |
+
<?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
|
46 |
+
<div class="nav">
|
47 |
+
<?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
|
48 |
+
<a href="<?php echo $_prevUrl ?>" class="prev">« <?php echo $this->__('Prev') ?></a>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
51 |
+
<a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> »</a>
|
52 |
+
<?php endif; ?>
|
53 |
+
</div>
|
54 |
+
<?php endif; ?>
|
55 |
+
</div>
|
56 |
+
<script type="text/javascript">
|
57 |
+
//<![CDATA[
|
58 |
+
Event.observe(window, 'load', function(){
|
59 |
+
var demensions = $('product-gallery-image').getDimensions();
|
60 |
+
if (demensions.width < 300) {
|
61 |
+
demensions.width = 300
|
62 |
+
}
|
63 |
+
window.resizeTo(demensions.width+90, demensions.height+210);
|
64 |
+
});
|
65 |
+
//]]>
|
66 |
+
</script>
|
app/design/frontend/fed/default/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
|
5 |
+
* Magento
|
6 |
+
|
7 |
+
*
|
8 |
+
|
9 |
+
* NOTICE OF LICENSE
|
10 |
+
|
11 |
+
*
|
12 |
+
|
13 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
14 |
+
|
15 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
16 |
+
|
17 |
+
* It is also available through the world-wide-web at this URL:
|
18 |
+
|
19 |
+
* http://opensource.org/licenses/afl-3.0.php
|
20 |
+
|
21 |
+
* If you did not receive a copy of the license and are unable to
|
22 |
+
|
23 |
+
* obtain it through the world-wide-web, please send an email
|
24 |
+
|
25 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
26 |
+
|
27 |
+
*
|
28 |
+
|
29 |
+
* DISCLAIMER
|
30 |
+
|
31 |
+
*
|
32 |
+
|
33 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
34 |
+
|
35 |
+
* versions in the future. If you wish to customize Magento for your
|
36 |
+
|
37 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
38 |
+
|
39 |
+
*
|
40 |
+
|
41 |
+
* @category design
|
42 |
+
|
43 |
+
* @package default_modern
|
44 |
+
|
45 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
46 |
+
|
47 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
48 |
+
|
49 |
+
*/
|
50 |
+
|
51 |
+
?>
|
52 |
+
|
53 |
+
<?php
|
54 |
+
|
55 |
+
/**
|
56 |
+
|
57 |
+
* Product list template
|
58 |
+
|
59 |
+
*
|
60 |
+
|
61 |
+
* @see Mage_Catalog_Block_Product_List
|
62 |
+
|
63 |
+
*/
|
64 |
+
|
65 |
+
?>
|
66 |
+
|
67 |
+
<?php
|
68 |
+
|
69 |
+
$_productCollection=$this->getLoadedProductCollection();
|
70 |
+
|
71 |
+
$_helper = $this->helper('catalog/output');
|
72 |
+
|
73 |
+
?>
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
<?php if(!$_productCollection->count()): ?>
|
80 |
+
|
81 |
+
<div class="alert alert-danger"><span class="glyphicon .glyphicon-ban-circle"></span> <?php echo $this->__('There are no products matching the selection.') ?></div>
|
82 |
+
|
83 |
+
<?php else: ?>
|
84 |
+
|
85 |
+
<div class="category-products" style="font-family: 'Alegreya Sans', sans-serif;">
|
86 |
+
|
87 |
+
<?php echo $this->getToolbarHtml() ?>
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
<br/><br/>
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
<?php
|
99 |
+
if( Mage::getSingleton('cms/page')->getIdentifier() == 'home' &&
|
100 |
+
Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' ) { /* if is home page */?>
|
101 |
+
<div style="border-bottom: 4px solid #ca2728; width: 100%">
|
102 |
+
<img src="<?= $this->getSkinUrl('images/latest.jpg');?>" />
|
103 |
+
</div>
|
104 |
+
<?php } ?>
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
<?php // List mode ?>
|
109 |
+
|
110 |
+
<?php if($this->getMode()!='grid'):?>
|
111 |
+
|
112 |
+
<?php $_iterator = 0; ?>
|
113 |
+
|
114 |
+
<ol class="products-list list-unstyled" id="products-list">
|
115 |
+
|
116 |
+
<?php foreach ($_productCollection as $_product): ?>
|
117 |
+
|
118 |
+
<li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
<div class="row">
|
123 |
+
|
124 |
+
<div class="col-md-2">
|
125 |
+
|
126 |
+
<?php // Product Image ?>
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170); ?>" width="170" height="170" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="img-thumbnail" /></a>
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
</div>
|
135 |
+
|
136 |
+
<div class="col-md-10">
|
137 |
+
|
138 |
+
<?php // Product description ?>
|
139 |
+
|
140 |
+
|
141 |
+
|
142 |
+
<div class="product-shop">
|
143 |
+
|
144 |
+
<div class="f-fix">
|
145 |
+
|
146 |
+
<?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
|
147 |
+
|
148 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
|
149 |
+
|
150 |
+
<?php if($_product->getRatingSummary()): ?>
|
151 |
+
|
152 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
153 |
+
|
154 |
+
<?php endif; ?>
|
155 |
+
|
156 |
+
|
157 |
+
|
158 |
+
<div class="desc std">
|
159 |
+
|
160 |
+
<?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
|
161 |
+
|
162 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><small><?php echo $this->__('Read More') ?></small></a>
|
163 |
+
|
164 |
+
</div>
|
165 |
+
|
166 |
+
<div class="text-danger lead"><?php echo $this->getPriceHtml($_product, true) ?></div>
|
167 |
+
|
168 |
+
<?php if($_product->isSaleable()): ?>
|
169 |
+
|
170 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="btn btn-success btn-xs" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
171 |
+
|
172 |
+
<?php else: ?>
|
173 |
+
|
174 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
175 |
+
|
176 |
+
<?php endif; ?>
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
<ul class="add-to-links">
|
181 |
+
|
182 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
183 |
+
|
184 |
+
<li><span class="glyphicon glyphicon-dashboard"></span> <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
185 |
+
|
186 |
+
<?php endif; ?>
|
187 |
+
|
188 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
189 |
+
|
190 |
+
<li> <span class="glyphicon glyphicon-export"></span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
191 |
+
|
192 |
+
<?php endif; ?>
|
193 |
+
|
194 |
+
</ul>
|
195 |
+
|
196 |
+
</div>
|
197 |
+
|
198 |
+
</div>
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
</div>
|
203 |
+
|
204 |
+
</div>
|
205 |
+
|
206 |
+
</li>
|
207 |
+
|
208 |
+
<?php endforeach; ?>
|
209 |
+
|
210 |
+
</ol>
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
|
216 |
+
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
<?php else: ?>
|
221 |
+
|
222 |
+
|
223 |
+
|
224 |
+
<?php // Grid Mode ?>
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
229 |
+
|
230 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
231 |
+
|
232 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
233 |
+
|
234 |
+
<?php if ($i++%$_columnCount==0): ?>
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
<div class="row" style="padding-left:20px;">
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
<ul class="products-grid">
|
243 |
+
|
244 |
+
<?php endif ?>
|
245 |
+
|
246 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
247 |
+
|
248 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(200); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
<div class="title-product"><a href="<?php echo $_product->getProductUrl() ?>" class="text-danger" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></div>
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
+
<div class="price-product">
|
257 |
+
|
258 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
259 |
+
|
260 |
+
</div>
|
261 |
+
|
262 |
+
|
263 |
+
|
264 |
+
<div class="row">
|
265 |
+
|
266 |
+
<div class="col-md-2">
|
267 |
+
|
268 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
269 |
+
|
270 |
+
<a href="<?php echo $_compareUrl ?>" class="btn btn-info" title="<?php echo $this->__('Add to Compare') ?>"> <span class="glyphicon glyphicon-transfer"></span></a>
|
271 |
+
|
272 |
+
<?php endif; ?>
|
273 |
+
|
274 |
+
</div>
|
275 |
+
|
276 |
+
<div class="col-md-2">
|
277 |
+
|
278 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
279 |
+
|
280 |
+
<a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="btn btn-danger">
|
281 |
+
|
282 |
+
<span class="glyphicon glyphicon-heart-empty"></span></a>
|
283 |
+
|
284 |
+
<?php endif; ?>
|
285 |
+
|
286 |
+
</div>
|
287 |
+
|
288 |
+
<div class="col-md-3">
|
289 |
+
|
290 |
+
<?php if($_product->isSaleable()): ?>
|
291 |
+
|
292 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="btn btn-success" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span class="glyphicon glyphicon-shopping-cart"></span> Add to Cart</button>
|
293 |
+
|
294 |
+
<?php else: ?>
|
295 |
+
|
296 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
297 |
+
|
298 |
+
<?php endif; ?>
|
299 |
+
|
300 |
+
</div>
|
301 |
+
|
302 |
+
</div>
|
303 |
+
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
</li>
|
309 |
+
|
310 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
311 |
+
|
312 |
+
</ul>
|
313 |
+
|
314 |
+
</div>
|
315 |
+
|
316 |
+
<br />
|
317 |
+
|
318 |
+
<?php endif ?>
|
319 |
+
|
320 |
+
<?php endforeach ?>
|
321 |
+
|
322 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
323 |
+
|
324 |
+
<?php endif; ?>
|
325 |
+
|
326 |
+
|
327 |
+
|
328 |
+
</div>
|
329 |
+
|
330 |
+
<?php endif; ?>
|
331 |
+
|
app/design/frontend/fed/default/template/catalog/product/list/related.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if($this->getItems()->getSize()): ?>
|
28 |
+
<div class="block block-related">
|
29 |
+
<div class="block-title">
|
30 |
+
<strong><span><?php echo $this->__('Related Products') ?></span></strong>
|
31 |
+
</div>
|
32 |
+
<div class="block-content">
|
33 |
+
<p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?> <a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
|
34 |
+
<ol class="mini-products-list" id="block-related">
|
35 |
+
<?php foreach($this->getItems() as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
|
38 |
+
<?php if (!$_item->getRequiredOptions()): ?>
|
39 |
+
<input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
<div class="product">
|
43 |
+
<a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" /></a>
|
44 |
+
<div class="product-details">
|
45 |
+
<p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></p>
|
46 |
+
<?php echo $this->getPriceHtml($_item, true, '-related') ?>
|
47 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
48 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
|
49 |
+
<?php endif; ?>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</li>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</ol>
|
55 |
+
<script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
|
56 |
+
</div>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
$$('.related-checkbox').each(function(elem){
|
60 |
+
Event.observe(elem, 'click', addRelatedToProduct)
|
61 |
+
});
|
62 |
+
|
63 |
+
var relatedProductsCheckFlag = false;
|
64 |
+
function selectAllRelated(txt){
|
65 |
+
if (relatedProductsCheckFlag == false) {
|
66 |
+
$$('.related-checkbox').each(function(elem){
|
67 |
+
elem.checked = true;
|
68 |
+
});
|
69 |
+
relatedProductsCheckFlag = true;
|
70 |
+
txt.innerHTML="<?php echo $this->__('unselect all') ?>";
|
71 |
+
} else {
|
72 |
+
$$('.related-checkbox').each(function(elem){
|
73 |
+
elem.checked = false;
|
74 |
+
});
|
75 |
+
relatedProductsCheckFlag = false;
|
76 |
+
txt.innerHTML="<?php echo $this->__('select all') ?>";
|
77 |
+
}
|
78 |
+
addRelatedToProduct();
|
79 |
+
}
|
80 |
+
|
81 |
+
function addRelatedToProduct(){
|
82 |
+
var checkboxes = $$('.related-checkbox');
|
83 |
+
var values = [];
|
84 |
+
for(var i=0;i<checkboxes.length;i++){
|
85 |
+
if(checkboxes[i].checked) values.push(checkboxes[i].value);
|
86 |
+
}
|
87 |
+
if($('related-products-field')){
|
88 |
+
$('related-products-field').value = values.join(',');
|
89 |
+
}
|
90 |
+
}
|
91 |
+
//]]>
|
92 |
+
</script>
|
93 |
+
</div>
|
94 |
+
<?php endif ?>
|
app/design/frontend/fed/default/template/catalog/product/list/toolbar.phtml
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
<?php if($this->getCollection()->getSize()): ?>
|
32 |
+
<div class="toolbar">
|
33 |
+
|
34 |
+
<div class="row">
|
35 |
+
|
36 |
+
<div class="col-md-6">
|
37 |
+
|
38 |
+
|
39 |
+
<div class="sort-by" style="float:left">
|
40 |
+
|
41 |
+
<label><?php echo $this->__('Sort By') ?></label>
|
42 |
+
<select onchange="setLocation(this.value)">
|
43 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
44 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
45 |
+
<?php echo $this->__($_order) ?>
|
46 |
+
</option>
|
47 |
+
<?php endforeach; ?>
|
48 |
+
</select>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
<?php if( $this->isEnabledViewSwitcher() ): ?>
|
55 |
+
<div class="view-mode" style="float:left">
|
56 |
+
<?php $_modes = $this->getModes(); ?>
|
57 |
+
<?php if($_modes && count($_modes)>1): ?>
|
58 |
+
<label> <?php echo $this->__('View as') ?>:</label>
|
59 |
+
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
60 |
+
<?php if($this->isModeActive($_code)): ?>
|
61 |
+
<?php if($_code=="grid"): ?>
|
62 |
+
<a title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?> grid-mode-active"><span class="glyphicon glyphicon-th-large"></span></a>
|
63 |
+
<?php else: ?>
|
64 |
+
<a title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?> list-mode-active"><span class="glyphicon glyphicon-th-list"></span></a>
|
65 |
+
<?php endif; ?>
|
66 |
+
<?php else: ?>
|
67 |
+
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><span class="glyphicon glyphicon-th-list"></span></a>
|
68 |
+
<?php endif; ?>
|
69 |
+
<?php endforeach; ?>
|
70 |
+
<?php endif; ?>
|
71 |
+
</div>
|
72 |
+
<?php endif; ?>
|
73 |
+
|
74 |
+
</div>
|
75 |
+
|
76 |
+
<div class="col-md-6 show_box">
|
77 |
+
<div class="pull-right">
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
+
|
87 |
+
<div class="limiter">
|
88 |
+
<label><?php echo $this->__('Show') ?></label>
|
89 |
+
<select onchange="setLocation(this.value)">
|
90 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
91 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
92 |
+
<?php echo $_limit ?>
|
93 |
+
</option>
|
94 |
+
<?php endforeach; ?>
|
95 |
+
</select> <?php echo $this->__('per page') ?>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
|
99 |
+
</div
|
100 |
+
</div>
|
101 |
+
<!--<div class="limiter show_box">
|
102 |
+
<label class="x-small"><?php echo $this->__('Show') ?></label>
|
103 |
+
<div class="show_pan">
|
104 |
+
<span class="small">
|
105 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit):
|
106 |
+
if($this->isLimitCurrent($_key)){
|
107 |
+
echo $_key . ' ' . 'Items';}
|
108 |
+
endforeach; ?>
|
109 |
+
</span>
|
110 |
+
</div>
|
111 |
+
<div class="show_detail small" onchange="setLocation(this.value)">
|
112 |
+
<div class="show_detail_arrow"></div>
|
113 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
114 |
+
<a href="<?php echo $this->getLimitUrl($_key) ?>" class="show_icon <?php if($this->isLimitCurrent($_key)): ?>selected<?php endif ?>">
|
115 |
+
<?php echo $_limit . ' ' . 'Items'; ?>
|
116 |
+
</a>
|
117 |
+
<?php endforeach; ?>
|
118 |
+
</div> <label><?php echo $this->__('per page') ?></label>
|
119 |
+
</div>-->
|
120 |
+
|
121 |
+
</div>
|
122 |
+
|
123 |
+
|
124 |
+
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<?php if( $this->isExpanded() ): ?>
|
128 |
+
<div class="sorter">
|
129 |
+
|
130 |
+
<script type="text/javascript">
|
131 |
+
jQuery(function() {
|
132 |
+
jQuery(".sort_box").hover(function() {
|
133 |
+
jQuery(this).addClass('active');
|
134 |
+
jQuery(".sort_detail").stop(true, true).slideDown(200, "easeInSine");
|
135 |
+
},
|
136 |
+
function() {
|
137 |
+
jQuery(this).removeClass('active');
|
138 |
+
jQuery(".sort_detail").stop(true, true).fadeOut(200, "easeInSine");
|
139 |
+
});
|
140 |
+
|
141 |
+
});
|
142 |
+
</script>
|
143 |
+
|
144 |
+
<!--<div class="alert alert-success">
|
145 |
+
<p class="amount">
|
146 |
+
<?php if($this->getLastPageNum()>1): ?>
|
147 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
148 |
+
<?php else: ?>
|
149 |
+
<strong class="small"><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
150 |
+
<?php endif; ?>
|
151 |
+
</p>
|
152 |
+
|
153 |
+
<?php echo $this->getPagerHtml() ?>
|
154 |
+
|
155 |
+
</div>-->
|
156 |
+
|
157 |
+
|
158 |
+
|
159 |
+
|
160 |
+
<!--<div class="sort-by sort_box">
|
161 |
+
<label class="x-small"><?php echo $this->__('Sort By') ?></label>
|
162 |
+
<div class="sort_pan">
|
163 |
+
<span class="small">
|
164 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order):
|
165 |
+
if($this->isOrderCurrent($_key)){
|
166 |
+
echo $this->__($_order);}
|
167 |
+
endforeach; ?>
|
168 |
+
</span>
|
169 |
+
</div>
|
170 |
+
<div class="sort_detail small" onchange="setLocation(this.value)">
|
171 |
+
<div class="sort_detail_arrow"></div>
|
172 |
+
|
173 |
+
|
174 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
175 |
+
<a href="<?php echo $this->getOrderUrl($_key, 'asc') ?>" class="sort_icon <?php if($this->isOrderCurrent($_key)): ?>selected<?php endif; ?>">
|
176 |
+
<?php echo $this->__($_order) ?>
|
177 |
+
</a>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
|
180 |
+
</div>
|
181 |
+
</div>-->
|
182 |
+
|
183 |
+
|
184 |
+
<script type="text/javascript">
|
185 |
+
jQuery(function() {
|
186 |
+
jQuery(".show_box").hover(function() {
|
187 |
+
jQuery(this).addClass('active');
|
188 |
+
jQuery(".show_detail").stop(true, true).slideDown(200, "easeInSine");
|
189 |
+
},
|
190 |
+
function() {
|
191 |
+
jQuery(this).removeClass('active');
|
192 |
+
jQuery(".show_detail").stop(true, true).fadeOut(200, "easeInSine");
|
193 |
+
});
|
194 |
+
|
195 |
+
});
|
196 |
+
</script>
|
197 |
+
|
198 |
+
|
199 |
+
</div>
|
200 |
+
<?php endif; ?>
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
</div>
|
208 |
+
<?php endif ?>
|
app/design/frontend/fed/default/template/catalog/product/list/upsell.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if(count($this->getItemCollection()->getItems())): ?>
|
28 |
+
<div class="box-collateral box-up-sell">
|
29 |
+
<h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
|
30 |
+
<table class="products-grid" id="upsell-product-table">
|
31 |
+
<?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
32 |
+
<?php $this->resetItemsIterator() ?>
|
33 |
+
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
34 |
+
<tr>
|
35 |
+
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
36 |
+
<?php if($_link=$this->getIterableItem()): ?>
|
37 |
+
<td>
|
38 |
+
<a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($_link->getName()) ?>" /></a>
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>"><?php echo $this->escapeHtml($_link->getName()) ?></a></h3>
|
40 |
+
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
42 |
+
</td>
|
43 |
+
<?php else: ?>
|
44 |
+
<td class="empty"> </td>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php endfor; ?>
|
47 |
+
</tr>
|
48 |
+
<?php endfor; ?>
|
49 |
+
</table>
|
50 |
+
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
51 |
+
</div>
|
52 |
+
<?php endif ?>
|
app/design/frontend/fed/default/template/catalog/product/new.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
|
29 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
30 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
31 |
+
<?php if ($i++%$_columnCount==0): ?>
|
32 |
+
<ul class="products-grid">
|
33 |
+
<?php endif ?>
|
34 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
35 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135) ?>" width="135" height="135" alt="<?php echo $this->escapeHtml($_product->getName()) ?>" /></a>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>"><?php echo $this->escapeHtml($_product->getName()) ?></a></h3>
|
37 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
38 |
+
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
39 |
+
<div class="actions">
|
40 |
+
<?php if($_product->isSaleable()): ?>
|
41 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
42 |
+
<?php else: ?>
|
43 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
44 |
+
<?php endif; ?>
|
45 |
+
<ul class="add-to-links">
|
46 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
47 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php if ($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
50 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
</ul>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
56 |
+
</ul>
|
57 |
+
<?php endif ?>
|
58 |
+
<?php endforeach; ?>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price in different places (products grid, product view page etc)
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Abstract
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_storeId = $_product->getStoreId();
|
45 |
+
$_id = $_product->getId();
|
46 |
+
$_weeeSeparator = '';
|
47 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
48 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
49 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
50 |
+
// $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
|
51 |
+
$_specialPriceStoreLabel = '';
|
52 |
+
if ($this->getProductAttribute('special_price')) {
|
53 |
+
$_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel(); }?>
|
54 |
+
|
55 |
+
<?php if (!$_product->isGrouped()): ?>
|
56 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
57 |
+
<?php if ($_weeeHelper->typeOfDisplay($_product, array(Mage_Weee_Model_Tax::DISPLAY_INCL_DESCR, Mage_Weee_Model_Tax::DISPLAY_EXCL_DESCR_INCL, 4))): ?>
|
58 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
|
59 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
|
62 |
+
<?php if ($_weeeHelper->isTaxable() && !$_taxHelper->priceIncludesTax($_storeId)): ?>
|
63 |
+
<?php $_attributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
|
64 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_attributes); ?>
|
65 |
+
<?php endif; ?>
|
66 |
+
|
67 |
+
<div class="price-box">
|
68 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
|
69 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
|
70 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
|
71 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
72 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
73 |
+
<?php if ($_finalPrice >= $_price): ?>
|
74 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
75 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
76 |
+
<span class="price-excluding-tax">
|
77 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
78 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
79 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
80 |
+
</span>
|
81 |
+
</span>
|
82 |
+
<span class="price-including-tax">
|
83 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
84 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
85 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
86 |
+
</span>
|
87 |
+
</span>
|
88 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
89 |
+
<span class="price-excluding-tax">
|
90 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
91 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
92 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
93 |
+
</span>
|
94 |
+
</span>
|
95 |
+
<span class="weee">(
|
96 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
97 |
+
<?php echo $_weeeSeparator; ?>
|
98 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
99 |
+
<?php $_weeeSeparator = ' + '; ?>
|
100 |
+
<?php endforeach; ?>
|
101 |
+
)</span>
|
102 |
+
<span class="price-including-tax">
|
103 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
104 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
105 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
106 |
+
</span>
|
107 |
+
</span>
|
108 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
109 |
+
<span class="price-excluding-tax">
|
110 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
111 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
112 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
113 |
+
</span>
|
114 |
+
</span>
|
115 |
+
<span class="price-including-tax">
|
116 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
117 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
118 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
119 |
+
</span>
|
120 |
+
<span class="weee">(
|
121 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
122 |
+
<?php echo $_weeeSeparator; ?>
|
123 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
124 |
+
<?php $_weeeSeparator = ' + '; ?>
|
125 |
+
<?php endforeach; ?>
|
126 |
+
)</span>
|
127 |
+
</span>
|
128 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
129 |
+
<span class="price-excluding-tax">
|
130 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
131 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
132 |
+
<?php echo $_coreHelper->currency($_price, true, false) ?>
|
133 |
+
</span>
|
134 |
+
</span>
|
135 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
136 |
+
<span class="weee">
|
137 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
138 |
+
</span>
|
139 |
+
<?php endforeach; ?>
|
140 |
+
<span class="price-including-tax">
|
141 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
142 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
143 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
144 |
+
</span>
|
145 |
+
</span>
|
146 |
+
<?php else: ?>
|
147 |
+
<span class="price-excluding-tax">
|
148 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
149 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
150 |
+
<?php if ($_finalPrice == $_price): ?>
|
151 |
+
<?php echo $_coreHelper->currency($_price, true, false) ?>
|
152 |
+
<?php else: ?>
|
153 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
154 |
+
<?php endif; ?>
|
155 |
+
</span>
|
156 |
+
</span>
|
157 |
+
<span class="price-including-tax">
|
158 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
159 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
160 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
|
161 |
+
</span>
|
162 |
+
</span>
|
163 |
+
<?php endif; ?>
|
164 |
+
<?php else: ?>
|
165 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
166 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
167 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
168 |
+
</span>
|
169 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
170 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
171 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
172 |
+
</span>
|
173 |
+
<span class="weee">(
|
174 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
175 |
+
<?php echo $_weeeSeparator; ?>
|
176 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
177 |
+
<?php $_weeeSeparator = ' + '; ?>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
)</span>
|
180 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
181 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
182 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
183 |
+
</span>
|
184 |
+
<span class="weee">(
|
185 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
186 |
+
<?php echo $_weeeSeparator; ?>
|
187 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
188 |
+
<?php $_weeeSeparator = ' + '; ?>
|
189 |
+
<?php endforeach; ?>
|
190 |
+
)</span>
|
191 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
192 |
+
<span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
|
193 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
194 |
+
<span class="weee">
|
195 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
196 |
+
</span>
|
197 |
+
<?php endforeach; ?>
|
198 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
199 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
200 |
+
</span>
|
201 |
+
<?php else: ?>
|
202 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
203 |
+
<?php if ($_finalPrice == $_price): ?>
|
204 |
+
<?php echo $_coreHelper->currency($_price, true, true) ?>
|
205 |
+
<?php else: ?>
|
206 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, true) ?>
|
207 |
+
<?php endif; ?>
|
208 |
+
</span>
|
209 |
+
<?php endif; ?>
|
210 |
+
<?php endif; ?>
|
211 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
212 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
213 |
+
|
214 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
215 |
+
<p class="old-price">
|
216 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
217 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
218 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
219 |
+
</span>
|
220 |
+
</p>
|
221 |
+
|
222 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
223 |
+
<p class="special-price">
|
224 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
225 |
+
<span class="price-excluding-tax">
|
226 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
227 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
228 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
229 |
+
</span>
|
230 |
+
</span>
|
231 |
+
<span class="price-including-tax">
|
232 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
233 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
234 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
235 |
+
</span>
|
236 |
+
</span>
|
237 |
+
</p>
|
238 |
+
<?php else: ?>
|
239 |
+
<p class="special-price">
|
240 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
241 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
242 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmountInclTaxes, true, false) ?>
|
243 |
+
</span>
|
244 |
+
</p>
|
245 |
+
<?php endif; ?>
|
246 |
+
|
247 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
248 |
+
<p class="old-price">
|
249 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
250 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
251 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
252 |
+
</span>
|
253 |
+
</p>
|
254 |
+
|
255 |
+
<p class="special-price">
|
256 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
257 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
258 |
+
<span class="price-excluding-tax">
|
259 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
260 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
261 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
262 |
+
</span>
|
263 |
+
</span>
|
264 |
+
<span class="weee">(
|
265 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
266 |
+
<?php echo $_weeeSeparator; ?>
|
267 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
268 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
269 |
+
<?php $_weeeSeparator = ' + '; ?>
|
270 |
+
<?php endforeach; ?>
|
271 |
+
)</span>
|
272 |
+
<span class="price-including-tax">
|
273 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
274 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
275 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
276 |
+
</span>
|
277 |
+
</span>
|
278 |
+
<?php else: ?>
|
279 |
+
<p class="special-price">
|
280 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
281 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
282 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmountInclTaxes, true, false) ?>
|
283 |
+
</span>
|
284 |
+
</p>
|
285 |
+
<span class="weee">(
|
286 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
287 |
+
<?php echo $_weeeSeparator; ?>
|
288 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
289 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
290 |
+
<?php $_weeeSeparator = ' + '; ?>
|
291 |
+
<?php endforeach; ?>
|
292 |
+
)</span>
|
293 |
+
<?php endif; ?>
|
294 |
+
</p>
|
295 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
296 |
+
<p class="old-price">
|
297 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
298 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
299 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
300 |
+
</span>
|
301 |
+
</p>
|
302 |
+
|
303 |
+
<p class="special-price">
|
304 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
305 |
+
<span class="price-excluding-tax">
|
306 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
307 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
308 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
309 |
+
</span>
|
310 |
+
</span>
|
311 |
+
<span class="weee">(
|
312 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
313 |
+
<?php echo $_weeeSeparator; ?>
|
314 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
315 |
+
<?php $_weeeSeparator = ' + '; ?>
|
316 |
+
<?php endforeach; ?>
|
317 |
+
)</span>
|
318 |
+
<span class="price-including-tax">
|
319 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
320 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
321 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
322 |
+
</span>
|
323 |
+
</span>
|
324 |
+
</p>
|
325 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
326 |
+
<p class="old-price">
|
327 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
328 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
329 |
+
<?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
|
330 |
+
</span>
|
331 |
+
</p>
|
332 |
+
|
333 |
+
<p class="special-price">
|
334 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
335 |
+
<span class="price-excluding-tax">
|
336 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
337 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
338 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
339 |
+
</span>
|
340 |
+
</span>
|
341 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
342 |
+
<span class="weee">
|
343 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
344 |
+
</span>
|
345 |
+
<?php endforeach; ?>
|
346 |
+
<span class="price-including-tax">
|
347 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
348 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
349 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
350 |
+
</span>
|
351 |
+
</span>
|
352 |
+
</p>
|
353 |
+
<?php else: // excl. ?>
|
354 |
+
<p class="old-price">
|
355 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
356 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
357 |
+
<?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
|
358 |
+
</span>
|
359 |
+
</p>
|
360 |
+
|
361 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
362 |
+
<p class="special-price">
|
363 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
364 |
+
<span class="price-excluding-tax">
|
365 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
366 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
367 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
368 |
+
</span>
|
369 |
+
</span>
|
370 |
+
<span class="price-including-tax">
|
371 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
372 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
373 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
|
374 |
+
</span>
|
375 |
+
</span>
|
376 |
+
</p>
|
377 |
+
<?php else: ?>
|
378 |
+
<p class="special-price">
|
379 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
380 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
381 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
382 |
+
</span>
|
383 |
+
</p>
|
384 |
+
<?php endif; ?>
|
385 |
+
<?php endif; ?>
|
386 |
+
|
387 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
388 |
+
|
389 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
390 |
+
|
391 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
392 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
393 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
|
394 |
+
<?php endif; ?>
|
395 |
+
|
396 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
397 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
398 |
+
<?php else:?>
|
399 |
+
<span class="minimal-price-link">
|
400 |
+
<?php endif?>
|
401 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
402 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
403 |
+
<?php echo $_coreHelper->currency($_minimalPriceDisplayValue, true, false) ?>
|
404 |
+
</span>
|
405 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
406 |
+
</a>
|
407 |
+
<?php else:?>
|
408 |
+
</span>
|
409 |
+
<?php endif?>
|
410 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
411 |
+
</div>
|
412 |
+
|
413 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
414 |
+
<?php
|
415 |
+
$showMinPrice = $this->getDisplayMinimalPrice();
|
416 |
+
if ($showMinPrice && $_minimalPriceValue) {
|
417 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
|
418 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
|
419 |
+
$price = $showMinPrice ? $_minimalPriceValue : 0;
|
420 |
+
} else {
|
421 |
+
$price = $_product->getFinalPrice();
|
422 |
+
$_exclTax = $_taxHelper->getPrice($_product, $price);
|
423 |
+
$_inclTax = $_taxHelper->getPrice($_product, $price, true);
|
424 |
+
}
|
425 |
+
?>
|
426 |
+
<?php if ($price): ?>
|
427 |
+
<div class="price-box">
|
428 |
+
<p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
|
429 |
+
<?php if ($showMinPrice): ?>
|
430 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
431 |
+
<?php endif ?>
|
432 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
433 |
+
<span class="price-excluding-tax">
|
434 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
435 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
436 |
+
<?php echo $_coreHelper->currency($_exclTax, true, false) ?>
|
437 |
+
</span>
|
438 |
+
</span>
|
439 |
+
<span class="price-including-tax">
|
440 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
441 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
442 |
+
<?php echo $_coreHelper->currency($_inclTax, true, false) ?>
|
443 |
+
</span>
|
444 |
+
</span>
|
445 |
+
<?php else: ?>
|
446 |
+
<?php
|
447 |
+
$_showPrice = $_inclTax;
|
448 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
449 |
+
$_showPrice = $_exclTax;
|
450 |
+
}
|
451 |
+
?>
|
452 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
453 |
+
<?php echo $_coreHelper->currency($_showPrice, true, false) ?>
|
454 |
+
</span>
|
455 |
+
<?php endif; ?>
|
456 |
+
</p>
|
457 |
+
</div>
|
458 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
459 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/fed/default/template/catalog/product/price_msrp.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price at catalog and sidebars
|
31 |
+
*
|
32 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
37 |
+
$_product = $this->getProduct();
|
38 |
+
$_msrpPrice = "";
|
39 |
+
?>
|
40 |
+
<div class="price-box map-info">
|
41 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getMsrp()) ?>
|
42 |
+
<?php if ($_product->getMsrp()): ?>
|
43 |
+
<?php $_msrpPrice = $this->helper('core')->currency($_product->getMsrp(),true,true) ?>
|
44 |
+
<span class="old-price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo $_msrpPrice ?></span>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php $helpLinkId = 'msrp-click-' . $_product->getId() . $this->helper('core')->getRandomString(20); ?>
|
47 |
+
<a href="#" id="<?php echo($helpLinkId);?>"><?php echo $this->__('Click for price') ?></a>
|
48 |
+
<script type="text/javascript">
|
49 |
+
<?php if ($this->helper('catalog')->isShowPriceOnGesture($_product)): ?>
|
50 |
+
var newLink = Catalog.Map.addHelpLink(
|
51 |
+
$('<?php echo $helpLinkId ?>'),
|
52 |
+
"<?php echo $_product->getName() ?>",
|
53 |
+
<?php echo $this->getRealPriceJs($_product) ?>,
|
54 |
+
'<?php echo $_msrpPrice ?>',
|
55 |
+
"<?php echo $_product->isSalable() ? $_product->getAddToCartUrl() : '' ?>"
|
56 |
+
);
|
57 |
+
newLink.product_id = '<?php echo $_product->getId() ?>';
|
58 |
+
<?php else: ?>
|
59 |
+
Catalog.Map.addHelpLink(
|
60 |
+
$('<?php echo $helpLinkId ?>'),
|
61 |
+
null,
|
62 |
+
null,
|
63 |
+
null,
|
64 |
+
"<?php echo $_product->getProductUrl() ?>"
|
65 |
+
);
|
66 |
+
<?php endif; ?>
|
67 |
+
|
68 |
+
</script>
|
69 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/price_msrp_item.phtml
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price at product view page, gift registry and wishlist
|
31 |
+
*
|
32 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
/** @var $_coreHelper Mage_Core_Helper_Data */
|
37 |
+
$_coreHelper = $this->helper('core');
|
38 |
+
/** @var $_catalogHelper Mage_Catalog_Helper_Data */
|
39 |
+
$_catalogHelper = $this->helper('catalog');
|
40 |
+
|
41 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
42 |
+
$_product = $this->getProduct();
|
43 |
+
$_id = $_product->getId();
|
44 |
+
$_msrpPrice = '';
|
45 |
+
$priceElementIdPrefix = $this->getPriceElementIdPrefix() ? $this->getPriceElementIdPrefix() : 'product-price-';
|
46 |
+
?>
|
47 |
+
<div class="price-box map-info">
|
48 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getMsrp()) ?>
|
49 |
+
<?php if($_product->getMsrp()): ?>
|
50 |
+
<?php $_msrpPrice = $_coreHelper->currency($_product->getMsrp(),true,true) ?>
|
51 |
+
<span class="old-price" ><?php echo $_msrpPrice ?></span>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<?php if ($_catalogHelper->isShowPriceOnGesture($_product)): ?>
|
55 |
+
<?php $priceElementId = $priceElementIdPrefix . $_id . $this->getIdSuffix(); ?>
|
56 |
+
<span id="<?php echo $priceElementId ?>" style="display:none"></span>
|
57 |
+
<?php $popupId = 'msrp-popup-' . $_id . $_coreHelper->getRandomString(20); ?>
|
58 |
+
<a href="#" id="<?php echo($popupId);?>"><?php echo $this->__('Click for price'); ?></a>
|
59 |
+
<script type="text/javascript">
|
60 |
+
Event.observe(window, 'load', function() {
|
61 |
+
var priceElement = $("<?php echo $priceElementId ?>"),
|
62 |
+
realPrice = <?php echo $this->getRealPriceJs($_product) ?>,
|
63 |
+
priceHtml = realPrice.stripScripts();
|
64 |
+
|
65 |
+
priceElement.innerHTML = priceHtml;
|
66 |
+
realPrice.evalScripts();
|
67 |
+
var originalOptionPriceReload;
|
68 |
+
if (typeof(optionsPrice) != 'undefined' && optionsPrice && optionsPrice.reload) {
|
69 |
+
originalOptionPriceReload = optionsPrice.reload;
|
70 |
+
Product.OptionsPrice.prototype.reload = function() {
|
71 |
+
if (originalOptionPriceReload) {
|
72 |
+
originalOptionPriceReload.call(this);
|
73 |
+
}
|
74 |
+
if ($('<?php echo $popupId ?>') == Catalog.Map.active) {
|
75 |
+
Element.update(
|
76 |
+
$('map-popup-price'),
|
77 |
+
$("<?php echo $priceElementId ?>").innerHTML
|
78 |
+
);
|
79 |
+
}
|
80 |
+
}
|
81 |
+
optionsPrice.reload();
|
82 |
+
}
|
83 |
+
});
|
84 |
+
|
85 |
+
Catalog.Map.addHelpLink(
|
86 |
+
$('<?php echo $popupId ?>'),
|
87 |
+
"<?php echo $_product->getName() ?>",
|
88 |
+
$("<?php echo $priceElementId ?>"),
|
89 |
+
'<?php echo $_msrpPrice ?>',
|
90 |
+
"<?php echo $_product->isSalable() ? $_product->getAddToCartUrl() : '' ?>"
|
91 |
+
);
|
92 |
+
</script>
|
93 |
+
<?php else: ?>
|
94 |
+
<span class="msrp-price-hide-message">
|
95 |
+
<?php echo $_catalogHelper->getMsrpPriceMessage($_product) ?>
|
96 |
+
</span>
|
97 |
+
<?php endif; ?>
|
98 |
+
|
99 |
+
<?php $helpLinkId = 'msrp-help-' . $_id . $_coreHelper->getRandomString(20); ?>
|
100 |
+
<a href="#" id="<?php echo($helpLinkId);?>"><?php echo $this->__("What's this?"); ?></a>
|
101 |
+
<script type="text/javascript">
|
102 |
+
Catalog.Map.addHelpLink(
|
103 |
+
$('<?php echo $helpLinkId ?>'),
|
104 |
+
"<?php echo $this->__("What's this?"); ?>"
|
105 |
+
);
|
106 |
+
</script>
|
107 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/price_msrp_noform.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price at catalog and sidebars
|
31 |
+
*
|
32 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
37 |
+
$_product = $this->getProduct();
|
38 |
+
$_msrpPrice = "";
|
39 |
+
?>
|
40 |
+
<div class="price-box map-info">
|
41 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getMsrp()) ?>
|
42 |
+
<?php if ($_product->getMsrp()): ?>
|
43 |
+
<?php $_msrpPrice = $this->helper('core')->currency($_product->getMsrp(),true,true) ?>
|
44 |
+
<span class="old-price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo $_msrpPrice ?></span>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php $helpLinkId = 'msrp-click-' . $_product->getId() . $this->helper('core')->getRandomString(20); ?>
|
47 |
+
<a href="#" id="<?php echo($helpLinkId);?>"><?php echo $this->__('Click for price') ?></a>
|
48 |
+
<script type="text/javascript">
|
49 |
+
<?php if ($this->helper('catalog')->isShowPriceOnGesture($_product)): ?>
|
50 |
+
var productLink = {
|
51 |
+
url: "<?php echo $_product->isSalable() ? $_product->getAddToCartUrl() : '' ?>",
|
52 |
+
notUseForm: true
|
53 |
+
};
|
54 |
+
var newLink = Catalog.Map.addHelpLink(
|
55 |
+
$('<?php echo $helpLinkId ?>'),
|
56 |
+
"<?php echo $_product->getName() ?>",
|
57 |
+
<?php echo $this->getRealPriceJs($_product) ?>,
|
58 |
+
'<?php echo $_msrpPrice ?>',
|
59 |
+
productLink
|
60 |
+
);
|
61 |
+
newLink.product_id = '<?php echo $_product->getId() ?>';
|
62 |
+
<?php else: ?>
|
63 |
+
Catalog.Map.addHelpLink(
|
64 |
+
$('<?php echo $helpLinkId ?>'),
|
65 |
+
null,
|
66 |
+
null,
|
67 |
+
null,
|
68 |
+
"<?php echo $_product->getProductUrl() ?>"
|
69 |
+
);
|
70 |
+
<?php endif; ?>
|
71 |
+
|
72 |
+
</script>
|
73 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/price_msrp_rss.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Template for displaying product price at rss feeds pages
|
30 |
+
*
|
31 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
32 |
+
*/
|
33 |
+
|
34 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
35 |
+
$_product = $this->getProduct();
|
36 |
+
?>
|
37 |
+
<div class="price-box map-info">
|
38 |
+
|
39 |
+
<?php if ($this->helper('catalog')->canApplyMsrp($_product)): ?>
|
40 |
+
<a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('Click for price'); ?></a>
|
41 |
+
<?php endif; ?>
|
42 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/view-backup.phtml
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_modern
|
23 |
+
* @copyright Copyright (c) 2013 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 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
* @see Mage_Review_Block_Product_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
35 |
+
<?php $_product = $this->getProduct(); ?>
|
36 |
+
<script type="text/javascript">
|
37 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
38 |
+
</script>
|
39 |
+
<div id="alert alert-success"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
40 |
+
<div class="product-view">
|
41 |
+
<div class="product-essential">
|
42 |
+
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
43 |
+
<?php echo $this->getBlockHtml('formkey') ?>
|
44 |
+
<div class="no-display">
|
45 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
46 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
47 |
+
</div>
|
48 |
+
|
49 |
+
|
50 |
+
<div class="row">
|
51 |
+
<div class="col-md-5">
|
52 |
+
<!--image box-->
|
53 |
+
<div class="product-img-box">
|
54 |
+
<p class="product-image">
|
55 |
+
<?php
|
56 |
+
$_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(400).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" class="img-thumbnail" />';
|
57 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
58 |
+
?>
|
59 |
+
</p>
|
60 |
+
</div>
|
61 |
+
|
62 |
+
</div>
|
63 |
+
<div class="col-md-7">
|
64 |
+
<div class="product-shop">
|
65 |
+
<div class="product-name">
|
66 |
+
<h2><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
|
67 |
+
<small class="pull-right">
|
68 |
+
<?php if ($this->canEmailToFriend()){ ?>
|
69 |
+
<p class="email-friend"> <a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" title="Email To Friend"><span class="glyphicon glyphicon-envelope"></span></a></p>
|
70 |
+
<?php }?>
|
71 |
+
</small>
|
72 |
+
</h2>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
|
76 |
+
<?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
|
77 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
78 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
79 |
+
<div class="text-danger lead">
|
80 |
+
<?php echo $this->getPriceHtml($_product, true); ?>
|
81 |
+
</div>
|
82 |
+
<?php echo $this->getChildHtml('extrahint') ?>
|
83 |
+
|
84 |
+
<?php if (!$this->hasOptions()):?>
|
85 |
+
<div class="add-to-box">
|
86 |
+
<?php if($_product->isSaleable()): ?>
|
87 |
+
|
88 |
+
<?php $buttonTitle = $this->__('Add to Cart'); ?>
|
89 |
+
|
90 |
+
<div class="add-to-cart">
|
91 |
+
<?php if(!$_product->isGrouped()): ?>
|
92 |
+
<div class="quanitybox">
|
93 |
+
<div class="row">
|
94 |
+
<div class="col-md-3">
|
95 |
+
<div class="input-group">
|
96 |
+
<span class="input-group-addon" onclick="qtyDown()" style="cursor:pointer">-</span>
|
97 |
+
<input type="text" name="qty" id="qty" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="form-control qty" />
|
98 |
+
<span class="input-group-addon" onclick="qtyUp()" style="cursor:pointer">+</span>
|
99 |
+
</div>
|
100 |
+
|
101 |
+
</div>
|
102 |
+
<div class="col-md-1">
|
103 |
+
<!--<button type="button" title="<?php echo $buttonTitle ?>" class="btn btn-success" onclick="productAddToCartForm.submit(this)">
|
104 |
+
<span class="glyphicon glyphicon-shopping-cart"></span> <?php echo $buttonTitle ?>
|
105 |
+
|
106 |
+
</button> -->
|
107 |
+
|
108 |
+
<button title="<?php echo $buttonTitle ?>" class="btn btn-success" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle; ?></span></span></button>
|
109 |
+
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
<!--
|
113 |
+
<input type="button" class="quantity_box_button_down" onclick="qtyDown()" />
|
114 |
+
|
115 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
116 |
+
<input type="button" class="quantity_box_button_up" onclick="qtyUp()" />-->
|
117 |
+
</div>
|
118 |
+
<?php endif; ?>
|
119 |
+
|
120 |
+
|
121 |
+
</div>
|
122 |
+
<!--<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
123 |
+
<span class="or"><?php echo $this->__('OR') ?></span>
|
124 |
+
<?php endif; ?>
|
125 |
+
<?php endif; ?>
|
126 |
+
<?php echo $this->getChildHtml('addto') ?>-->
|
127 |
+
</div>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<?php if ($_product->getShortDescription()):?>
|
131 |
+
<div class="short-description">
|
132 |
+
<h2><?php echo $this->__('Quick Overview') ?></h2>
|
133 |
+
<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
134 |
+
</div>
|
135 |
+
<?php endif;?>
|
136 |
+
|
137 |
+
<?php echo $this->getChildHtml('other');?>
|
138 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
139 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
140 |
+
<?php endif;?>
|
141 |
+
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
|
145 |
+
</div>
|
146 |
+
|
147 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
148 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
149 |
+
<?php endif;?>
|
150 |
+
</form>
|
151 |
+
<script type="text/javascript">
|
152 |
+
//<![CDATA[
|
153 |
+
|
154 |
+
|
155 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
156 |
+
|
157 |
+
productAddToCartForm.submit = function(button, url) {
|
158 |
+
if (this.validator.validate()) {
|
159 |
+
var form = this.form;
|
160 |
+
var oldUrl = form.action;
|
161 |
+
|
162 |
+
if (url) {
|
163 |
+
form.action = url;
|
164 |
+
}
|
165 |
+
var e = null;
|
166 |
+
try {
|
167 |
+
this.form.submit();
|
168 |
+
} catch (e) {
|
169 |
+
}
|
170 |
+
this.form.action = oldUrl;
|
171 |
+
if (e) {
|
172 |
+
throw e;
|
173 |
+
}
|
174 |
+
|
175 |
+
if (button && button != 'undefined') {
|
176 |
+
button.disabled = true;
|
177 |
+
}
|
178 |
+
}
|
179 |
+
}.bind(productAddToCartForm);
|
180 |
+
|
181 |
+
productAddToCartForm.submitLight = function(button, url){
|
182 |
+
if(this.validator) {
|
183 |
+
var nv = Validation.methods;
|
184 |
+
delete Validation.methods['required-entry'];
|
185 |
+
delete Validation.methods['validate-one-required'];
|
186 |
+
delete Validation.methods['validate-one-required-by-name'];
|
187 |
+
// Remove custom datetime validators
|
188 |
+
for (var methodName in Validation.methods) {
|
189 |
+
if (methodName.match(/^validate-datetime-.*/i)) {
|
190 |
+
delete Validation.methods[methodName];
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
if (this.validator.validate()) {
|
195 |
+
if (url) {
|
196 |
+
this.form.action = url;
|
197 |
+
}
|
198 |
+
this.form.submit();
|
199 |
+
}
|
200 |
+
Object.extend(Validation.methods, nv);
|
201 |
+
}
|
202 |
+
}.bind(productAddToCartForm);
|
203 |
+
//]]>
|
204 |
+
</script>
|
205 |
+
</div>
|
206 |
+
|
207 |
+
|
208 |
+
<div class="product-collateral">
|
209 |
+
<?php echo $this->getChildHtml('info_tabs') ?>
|
210 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
|
215 |
+
<script type="text/javascript">
|
216 |
+
|
217 |
+
var qty_el = document.getElementById('qty');
|
218 |
+
var qty = qty_el.value;
|
219 |
+
if(qty < 2){
|
220 |
+
jQuery('.quantity_box_button_down').css({
|
221 |
+
'visibility' : 'hidden'
|
222 |
+
});
|
223 |
+
}
|
224 |
+
function qtyDown(){
|
225 |
+
var qty_el = document.getElementById('qty');
|
226 |
+
var qty = qty_el.value;
|
227 |
+
if( qty == 2) {
|
228 |
+
jQuery('.quantity_box_button_down').css({
|
229 |
+
'visibility' : 'hidden'
|
230 |
+
});
|
231 |
+
}
|
232 |
+
if( !isNaN( qty ) && qty > 0 ){
|
233 |
+
qty_el.value--;
|
234 |
+
}
|
235 |
+
return false;
|
236 |
+
}
|
237 |
+
|
238 |
+
function qtyUp(){
|
239 |
+
var qty_el = document.getElementById('qty');
|
240 |
+
var qty = qty_el.value;
|
241 |
+
if( !isNaN( qty )) {
|
242 |
+
qty_el.value++;
|
243 |
+
}
|
244 |
+
jQuery('.quantity_box_button_down').css({
|
245 |
+
'visibility' : 'visible'
|
246 |
+
});
|
247 |
+
return false;
|
248 |
+
}
|
249 |
+
|
250 |
+
</script>
|
app/design/frontend/fed/default/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,461 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
|
5 |
+
* Magento
|
6 |
+
|
7 |
+
*
|
8 |
+
|
9 |
+
* NOTICE OF LICENSE
|
10 |
+
|
11 |
+
*
|
12 |
+
|
13 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
14 |
+
|
15 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
16 |
+
|
17 |
+
* It is also available through the world-wide-web at this URL:
|
18 |
+
|
19 |
+
* http://opensource.org/licenses/afl-3.0.php
|
20 |
+
|
21 |
+
* If you did not receive a copy of the license and are unable to
|
22 |
+
|
23 |
+
* obtain it through the world-wide-web, please send an email
|
24 |
+
|
25 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
26 |
+
|
27 |
+
*
|
28 |
+
|
29 |
+
* DISCLAIMER
|
30 |
+
|
31 |
+
*
|
32 |
+
|
33 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
34 |
+
|
35 |
+
* versions in the future. If you wish to customize Magento for your
|
36 |
+
|
37 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
38 |
+
|
39 |
+
*
|
40 |
+
|
41 |
+
* @category design
|
42 |
+
|
43 |
+
* @package default_modern
|
44 |
+
|
45 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
46 |
+
|
47 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
48 |
+
|
49 |
+
*/
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
/**
|
54 |
+
|
55 |
+
* Product view template
|
56 |
+
|
57 |
+
*
|
58 |
+
|
59 |
+
* @see Mage_Catalog_Block_Product_View
|
60 |
+
|
61 |
+
* @see Mage_Review_Block_Product_View
|
62 |
+
|
63 |
+
*/
|
64 |
+
|
65 |
+
?>
|
66 |
+
|
67 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
68 |
+
|
69 |
+
<?php $_product = $this->getProduct(); ?>
|
70 |
+
|
71 |
+
<script type="text/javascript">
|
72 |
+
|
73 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
74 |
+
|
75 |
+
</script>
|
76 |
+
|
77 |
+
<div id="alert alert-success"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
78 |
+
|
79 |
+
<div class="product-view">
|
80 |
+
|
81 |
+
<div class="product-essential">
|
82 |
+
|
83 |
+
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
84 |
+
|
85 |
+
<?php echo $this->getBlockHtml('formkey') ?>
|
86 |
+
|
87 |
+
<div class="no-display">
|
88 |
+
|
89 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
90 |
+
|
91 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
92 |
+
|
93 |
+
</div>
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
<div class="row">
|
100 |
+
|
101 |
+
<div class="col-md-4" style="margin-right: 55px">
|
102 |
+
|
103 |
+
|
104 |
+
<div class="product-img-box">
|
105 |
+
|
106 |
+
<?php echo $this->getChildHtml('media') ?>
|
107 |
+
|
108 |
+
</div>
|
109 |
+
|
110 |
+
|
111 |
+
<div class="clearer"></div>
|
112 |
+
|
113 |
+
|
114 |
+
|
115 |
+
</div>
|
116 |
+
|
117 |
+
<div class="col-md-7">
|
118 |
+
|
119 |
+
<div class="product-shop" style="border: 5px solid #ccc; padding: 15px;">
|
120 |
+
|
121 |
+
<div class="product-name">
|
122 |
+
|
123 |
+
<h1 style="font-family: 'Alegreya Sans', sans-serif; font-size: 24px; font-weight: bold;"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
|
124 |
+
</h1>
|
125 |
+
|
126 |
+
</div>
|
127 |
+
|
128 |
+
|
129 |
+
<?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
|
130 |
+
|
131 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
132 |
+
|
133 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
134 |
+
|
135 |
+
<div class="text-danger lead">
|
136 |
+
|
137 |
+
|
138 |
+
<?php if ($this->canEmailToFriend()){ ?>
|
139 |
+
|
140 |
+
<p class="email-friend" style="font-size: 14px"> <a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" title="Email To Friend"><span class="glyphicon glyphicon-envelope"></span> Email to friend</a></p>
|
141 |
+
<br/>
|
142 |
+
<?php }?>
|
143 |
+
|
144 |
+
<?php echo $this->getPriceHtml($_product, true); ?>
|
145 |
+
|
146 |
+
</div>
|
147 |
+
|
148 |
+
<?php echo $this->getChildHtml('extrahint') ?>
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
<?php if (!$this->hasOptions()):?>
|
153 |
+
|
154 |
+
<div class="add-to-box">
|
155 |
+
|
156 |
+
<?php if($_product->isSaleable()): ?>
|
157 |
+
|
158 |
+
<?php $buttonTitle = $this->__('Add to Cart'); ?>
|
159 |
+
|
160 |
+
|
161 |
+
|
162 |
+
<div class="add-to-cart">
|
163 |
+
|
164 |
+
<?php if(!$_product->isGrouped()): ?>
|
165 |
+
|
166 |
+
<div class="quanitybox">
|
167 |
+
|
168 |
+
<div class="row">
|
169 |
+
|
170 |
+
<div class="col-md-4">
|
171 |
+
|
172 |
+
<div class="input-group">
|
173 |
+
|
174 |
+
<span class="input-group-addon" onclick="qtyDown()" style="cursor:pointer">-</span>
|
175 |
+
|
176 |
+
<input type="text" name="qty" id="qty" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="form-control qty" />
|
177 |
+
|
178 |
+
<span class="input-group-addon" onclick="qtyUp()" style="cursor:pointer">+</span>
|
179 |
+
|
180 |
+
</div>
|
181 |
+
|
182 |
+
</div>
|
183 |
+
|
184 |
+
|
185 |
+
<div class="col-md-12" style="margin-top: 20px;">
|
186 |
+
|
187 |
+
<button title="<?php echo $buttonTitle ?>" class="btn btn-success btn-lg" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle; ?></span></span></button>
|
188 |
+
|
189 |
+
|
190 |
+
|
191 |
+
</div>
|
192 |
+
|
193 |
+
</div>
|
194 |
+
|
195 |
+
|
196 |
+
</div>
|
197 |
+
|
198 |
+
<?php endif; ?>
|
199 |
+
|
200 |
+
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<!--<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
207 |
+
|
208 |
+
<span class="or"><?php echo $this->__('OR') ?></span>
|
209 |
+
|
210 |
+
<?php endif; ?>
|
211 |
+
|
212 |
+
<?php endif; ?>
|
213 |
+
|
214 |
+
<?php echo $this->getChildHtml('addto') ?>-->
|
215 |
+
|
216 |
+
</div>
|
217 |
+
|
218 |
+
<?php endif; ?>
|
219 |
+
|
220 |
+
<br/><br/>
|
221 |
+
|
222 |
+
<?php if ($_product->getShortDescription()):?>
|
223 |
+
|
224 |
+
<div class="short-description">
|
225 |
+
|
226 |
+
<h4><?php echo $this->__('Quick Overview') ?></h4>
|
227 |
+
|
228 |
+
<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
229 |
+
|
230 |
+
</div>
|
231 |
+
|
232 |
+
<?php endif;?>
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
<?php echo $this->getChildHtml('other');?>
|
237 |
+
|
238 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
239 |
+
|
240 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
241 |
+
|
242 |
+
<?php endif;?>
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
</div>
|
247 |
+
|
248 |
+
</div>
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
</div>
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
257 |
+
|
258 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
259 |
+
|
260 |
+
<?php endif;?>
|
261 |
+
|
262 |
+
</form>
|
263 |
+
|
264 |
+
<script type="text/javascript">
|
265 |
+
|
266 |
+
//<![CDATA[
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
|
272 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
273 |
+
|
274 |
+
|
275 |
+
|
276 |
+
productAddToCartForm.submit = function(button, url) {
|
277 |
+
|
278 |
+
if (this.validator.validate()) {
|
279 |
+
|
280 |
+
var form = this.form;
|
281 |
+
|
282 |
+
var oldUrl = form.action;
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
if (url) {
|
287 |
+
|
288 |
+
form.action = url;
|
289 |
+
|
290 |
+
}
|
291 |
+
|
292 |
+
var e = null;
|
293 |
+
|
294 |
+
try {
|
295 |
+
|
296 |
+
this.form.submit();
|
297 |
+
|
298 |
+
} catch (e) {
|
299 |
+
|
300 |
+
}
|
301 |
+
|
302 |
+
this.form.action = oldUrl;
|
303 |
+
|
304 |
+
if (e) {
|
305 |
+
|
306 |
+
throw e;
|
307 |
+
|
308 |
+
}
|
309 |
+
|
310 |
+
|
311 |
+
|
312 |
+
if (button && button != 'undefined') {
|
313 |
+
|
314 |
+
button.disabled = true;
|
315 |
+
|
316 |
+
}
|
317 |
+
|
318 |
+
}
|
319 |
+
|
320 |
+
}.bind(productAddToCartForm);
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
productAddToCartForm.submitLight = function(button, url){
|
325 |
+
|
326 |
+
if(this.validator) {
|
327 |
+
|
328 |
+
var nv = Validation.methods;
|
329 |
+
|
330 |
+
delete Validation.methods['required-entry'];
|
331 |
+
|
332 |
+
delete Validation.methods['validate-one-required'];
|
333 |
+
|
334 |
+
delete Validation.methods['validate-one-required-by-name'];
|
335 |
+
|
336 |
+
// Remove custom datetime validators
|
337 |
+
|
338 |
+
for (var methodName in Validation.methods) {
|
339 |
+
|
340 |
+
if (methodName.match(/^validate-datetime-.*/i)) {
|
341 |
+
|
342 |
+
delete Validation.methods[methodName];
|
343 |
+
|
344 |
+
}
|
345 |
+
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
|
350 |
+
if (this.validator.validate()) {
|
351 |
+
|
352 |
+
if (url) {
|
353 |
+
|
354 |
+
this.form.action = url;
|
355 |
+
|
356 |
+
}
|
357 |
+
|
358 |
+
this.form.submit();
|
359 |
+
|
360 |
+
}
|
361 |
+
|
362 |
+
Object.extend(Validation.methods, nv);
|
363 |
+
|
364 |
+
}
|
365 |
+
|
366 |
+
}.bind(productAddToCartForm);
|
367 |
+
|
368 |
+
//]]>
|
369 |
+
|
370 |
+
</script>
|
371 |
+
|
372 |
+
</div>
|
373 |
+
|
374 |
+
|
375 |
+
|
376 |
+
|
377 |
+
|
378 |
+
<div class="product-collateral" style="border: 5px solid #ccc; padding: 15px; margin-top:20px">
|
379 |
+
|
380 |
+
<?php echo $this->getChildHtml('info_tabs') ?>
|
381 |
+
|
382 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
383 |
+
|
384 |
+
</div>
|
385 |
+
|
386 |
+
</div>
|
387 |
+
|
388 |
+
|
389 |
+
|
390 |
+
|
391 |
+
|
392 |
+
<script type="text/javascript">
|
393 |
+
|
394 |
+
|
395 |
+
|
396 |
+
var qty_el = document.getElementById('qty');
|
397 |
+
|
398 |
+
var qty = qty_el.value;
|
399 |
+
|
400 |
+
if(qty < 2){
|
401 |
+
|
402 |
+
jQuery('.quantity_box_button_down').css({
|
403 |
+
|
404 |
+
'visibility' : 'hidden'
|
405 |
+
|
406 |
+
});
|
407 |
+
|
408 |
+
}
|
409 |
+
|
410 |
+
function qtyDown(){
|
411 |
+
|
412 |
+
var qty_el = document.getElementById('qty');
|
413 |
+
|
414 |
+
var qty = qty_el.value;
|
415 |
+
|
416 |
+
if( qty == 2) {
|
417 |
+
|
418 |
+
jQuery('.quantity_box_button_down').css({
|
419 |
+
|
420 |
+
'visibility' : 'hidden'
|
421 |
+
|
422 |
+
});
|
423 |
+
|
424 |
+
}
|
425 |
+
|
426 |
+
if( !isNaN( qty ) && qty > 0 ){
|
427 |
+
|
428 |
+
qty_el.value--;
|
429 |
+
|
430 |
+
}
|
431 |
+
|
432 |
+
return false;
|
433 |
+
|
434 |
+
}
|
435 |
+
|
436 |
+
function qtyUp(){
|
437 |
+
|
438 |
+
var qty_el = document.getElementById('qty');
|
439 |
+
|
440 |
+
var qty = qty_el.value;
|
441 |
+
|
442 |
+
if( !isNaN( qty )) {
|
443 |
+
|
444 |
+
qty_el.value++;
|
445 |
+
|
446 |
+
}
|
447 |
+
|
448 |
+
jQuery('.quantity_box_button_down').css({
|
449 |
+
|
450 |
+
'visibility' : 'visible'
|
451 |
+
|
452 |
+
});
|
453 |
+
|
454 |
+
return false;
|
455 |
+
|
456 |
+
}
|
457 |
+
|
458 |
+
|
459 |
+
|
460 |
+
</script>
|
461 |
+
|
app/design/frontend/fed/default/template/catalog/product/view/additional.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 foreach ($this->getChildHtmlList() as $_html): ?>
|
28 |
+
<?php echo $_html ?>
|
29 |
+
<?php endforeach; ?>
|
app/design/frontend/fed/default/template/catalog/product/view/addto.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
|
30 |
+
|
31 |
+
<ul class="add-to-links">
|
32 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
33 |
+
<li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php
|
36 |
+
$_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product);
|
37 |
+
?>
|
38 |
+
<?php if($_compareUrl) : ?>
|
39 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
40 |
+
<?php endif; ?>
|
41 |
+
</ul>
|
app/design/frontend/fed/default/template/catalog/product/view/addtocart.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $_product = $this->getProduct(); ?>
|
2 |
+
<?php $buttonTitle = $this->__('Add to Cart'); ?>
|
3 |
+
<?php if($_product->isSaleable()): ?>
|
4 |
+
<div class="add-to-cart">
|
5 |
+
<?php if(!$_product->isGrouped()): ?>
|
6 |
+
<div class="quanitybox">
|
7 |
+
<label for="qty"><?php echo $this->__('Quantity:') ?></label>
|
8 |
+
<input type="button" class="quantity_box_button_down" onclick="qtyDown()" />
|
9 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
10 |
+
<input type="button" class="quantity_box_button_up" onclick="qtyUp()" />
|
11 |
+
</div>
|
12 |
+
<?php endif; ?>
|
13 |
+
|
14 |
+
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
15 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
16 |
+
</div>
|
17 |
+
<?php endif; ?>
|
18 |
+
|
19 |
+
<script type="text/javascript">
|
20 |
+
|
21 |
+
var qty_el = document.getElementById('qty');
|
22 |
+
var qty = qty_el.value;
|
23 |
+
if(qty < 2){
|
24 |
+
jQuery('.quantity_box_button_down').css({
|
25 |
+
'visibility' : 'hidden'
|
26 |
+
});
|
27 |
+
}
|
28 |
+
function qtyDown(){
|
29 |
+
var qty_el = document.getElementById('qty');
|
30 |
+
var qty = qty_el.value;
|
31 |
+
if( qty == 2) {
|
32 |
+
jQuery('.quantity_box_button_down').css({
|
33 |
+
'visibility' : 'hidden'
|
34 |
+
});
|
35 |
+
}
|
36 |
+
if( !isNaN( qty ) && qty > 0 ){
|
37 |
+
qty_el.value--;
|
38 |
+
}
|
39 |
+
return false;
|
40 |
+
}
|
41 |
+
|
42 |
+
function qtyUp(){
|
43 |
+
var qty_el = document.getElementById('qty');
|
44 |
+
var qty = qty_el.value;
|
45 |
+
if( !isNaN( qty )) {
|
46 |
+
qty_el.value++;
|
47 |
+
}
|
48 |
+
jQuery('.quantity_box_button_down').css({
|
49 |
+
'visibility' : 'visible'
|
50 |
+
});
|
51 |
+
return false;
|
52 |
+
}
|
53 |
+
|
54 |
+
</script>
|
app/design/frontend/fed/default/template/catalog/product/view/attributes.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* Product additional attributes template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Attributes
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php
|
34 |
+
$_helper = $this->helper('catalog/output');
|
35 |
+
$_product = $this->getProduct()
|
36 |
+
?>
|
37 |
+
<?php if($_additional = $this->getAdditionalData()): ?>
|
38 |
+
<h2><?php echo $this->__('Additional Information') ?></h2>
|
39 |
+
<table class="data-table" id="product-attribute-specs-table">
|
40 |
+
<col width="25%" />
|
41 |
+
<col />
|
42 |
+
<tbody>
|
43 |
+
<?php foreach ($_additional as $_data): ?>
|
44 |
+
<tr>
|
45 |
+
<th class="label"><?php echo $this->escapeHtml($this->__($_data['label'])) ?></th>
|
46 |
+
<td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
|
47 |
+
</tr>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
</tbody>
|
50 |
+
</table>
|
51 |
+
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
|
52 |
+
<?php endif;?>
|
app/design/frontend/fed/default/template/catalog/product/view/description.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* Product description template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Description
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_description = $this->getProduct()->getDescription(); ?>
|
34 |
+
<?php if ($_description): ?>
|
35 |
+
<h2><?php echo $this->__('Details') ?></h2>
|
36 |
+
<div class="std">
|
37 |
+
<?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $_description, 'description') ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/product/view/media.phtml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_modern
|
23 |
+
* @copyright Copyright (c) 2013 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 |
+
/**
|
28 |
+
* Product media data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php
|
34 |
+
$_product = $this->getProduct();
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
?>
|
37 |
+
<?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
|
38 |
+
<p class="product-image product-image-zoom">
|
39 |
+
<?php
|
40 |
+
$_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
|
41 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
42 |
+
?>
|
43 |
+
</p>
|
44 |
+
<p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
|
45 |
+
<div class="zoom">
|
46 |
+
<img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
|
47 |
+
<div id="track">
|
48 |
+
<div id="handle"></div>
|
49 |
+
</div>
|
50 |
+
<img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
|
51 |
+
</div>
|
52 |
+
<script type="text/javascript">
|
53 |
+
//<![CDATA[
|
54 |
+
Event.observe(window, 'load', function() {
|
55 |
+
product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
|
56 |
+
});
|
57 |
+
//]]>
|
58 |
+
</script>
|
59 |
+
<?php else: ?>
|
60 |
+
<p class="product-image">
|
61 |
+
<?php
|
62 |
+
$_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(300).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
|
63 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
64 |
+
?>
|
65 |
+
</p>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php if (count($this->getGalleryImages()) > 0): ?>
|
68 |
+
<div class="more-views">
|
69 |
+
<h2><?php echo $this->__('More Views') ?></h2>
|
70 |
+
<ul>
|
71 |
+
<?php foreach ($this->getGalleryImages() as $_image): ?>
|
72 |
+
<li>
|
73 |
+
<a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(66); ?>" width="66" height="66" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /></a>
|
74 |
+
</li>
|
75 |
+
<?php endforeach; ?>
|
76 |
+
</ul>
|
77 |
+
</div>
|
78 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/product/view/media_ol.phtml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_modern
|
23 |
+
* @copyright Copyright (c) 2013 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 |
+
/**
|
28 |
+
* Product media data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php
|
34 |
+
$_product = $this->getProduct();
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
?>
|
37 |
+
<?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
|
38 |
+
<p class="product-image product-image-zoom">
|
39 |
+
<?php
|
40 |
+
$_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
|
41 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
42 |
+
?>
|
43 |
+
</p>
|
44 |
+
<p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
|
45 |
+
<div class="zoom">
|
46 |
+
<img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
|
47 |
+
<div id="track">
|
48 |
+
<div id="handle"></div>
|
49 |
+
</div>
|
50 |
+
<img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
|
51 |
+
</div>
|
52 |
+
<script type="text/javascript">
|
53 |
+
//<![CDATA[
|
54 |
+
Event.observe(window, 'load', function() {
|
55 |
+
product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
|
56 |
+
});
|
57 |
+
//]]>
|
58 |
+
</script>
|
59 |
+
<?php else: ?>
|
60 |
+
<p class="product-image">
|
61 |
+
<?php
|
62 |
+
$_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(300).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
|
63 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
64 |
+
?>
|
65 |
+
</p>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php if (count($this->getGalleryImages()) > 0): ?>
|
68 |
+
<div class="more-views">
|
69 |
+
<h2><?php echo $this->__('More Views') ?></h2>
|
70 |
+
<ul>
|
71 |
+
<?php foreach ($this->getGalleryImages() as $_image): ?>
|
72 |
+
<li>
|
73 |
+
<a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(66); ?>" width="66" height="66" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /></a>
|
74 |
+
</li>
|
75 |
+
<?php endforeach; ?>
|
76 |
+
</ul>
|
77 |
+
</div>
|
78 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/product/view/options.phtml
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_View_Options */
|
27 |
+
?>
|
28 |
+
|
29 |
+
<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
|
30 |
+
<?php if (count($_options)):?>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var optionFileUpload = {
|
34 |
+
productForm : $('product_addtocart_form'),
|
35 |
+
formAction : '',
|
36 |
+
formElements : {},
|
37 |
+
upload : function(element){
|
38 |
+
this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
|
39 |
+
this.removeRequire(element.readAttribute('id').sub('option_', ''));
|
40 |
+
|
41 |
+
template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"><\/iframe>';
|
42 |
+
|
43 |
+
Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
|
44 |
+
|
45 |
+
this.formAction = this.productForm.action;
|
46 |
+
|
47 |
+
var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
|
48 |
+
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');
|
49 |
+
|
50 |
+
this.productForm.action = parseSidUrl(baseUrl, urlExt);
|
51 |
+
this.productForm.target = 'upload_target';
|
52 |
+
this.productForm.submit();
|
53 |
+
this.productForm.target = '';
|
54 |
+
this.productForm.action = this.formAction;
|
55 |
+
},
|
56 |
+
removeRequire : function(skipElementId){
|
57 |
+
for(var i=0; i<this.formElements.length; i++){
|
58 |
+
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
59 |
+
this.formElements[i].disabled='disabled';
|
60 |
+
}
|
61 |
+
}
|
62 |
+
},
|
63 |
+
addRequire : function(skipElementId){
|
64 |
+
for(var i=0; i<this.formElements.length; i++){
|
65 |
+
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
66 |
+
this.formElements[i].disabled='';
|
67 |
+
}
|
68 |
+
}
|
69 |
+
},
|
70 |
+
uploadCallback : function(data){
|
71 |
+
this.addRequire(data.optionId);
|
72 |
+
$('upload_target').remove();
|
73 |
+
|
74 |
+
if (data.error) {
|
75 |
+
|
76 |
+
} else {
|
77 |
+
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
|
78 |
+
$('option_'+data.optionId+'_file').value = '';
|
79 |
+
$('option_'+data.optionId+'_file').hide();
|
80 |
+
$('option_'+data.optionId+'').hide();
|
81 |
+
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" \/>Remove file<\/a>';
|
82 |
+
|
83 |
+
Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
|
84 |
+
}
|
85 |
+
},
|
86 |
+
removeFile : function(optionId)
|
87 |
+
{
|
88 |
+
$('option_'+optionId+'_uploaded_file').value= '';
|
89 |
+
$('option_'+optionId+'_file').show();
|
90 |
+
$('option_'+optionId+'').show();
|
91 |
+
|
92 |
+
$('option_'+optionId+'_file_box').remove();
|
93 |
+
}
|
94 |
+
}
|
95 |
+
var optionTextCounter = {
|
96 |
+
count : function(field,cntfield,maxlimit){
|
97 |
+
if (field.value.length > maxlimit){
|
98 |
+
field.value = field.value.substring(0, maxlimit);
|
99 |
+
} else {
|
100 |
+
cntfield.innerHTML = maxlimit - field.value.length;
|
101 |
+
}
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
Product.Options = Class.create();
|
106 |
+
Product.Options.prototype = {
|
107 |
+
initialize : function(config) {
|
108 |
+
this.config = config;
|
109 |
+
this.reloadPrice();
|
110 |
+
document.observe("dom:loaded", this.reloadPrice.bind(this));
|
111 |
+
},
|
112 |
+
reloadPrice : function() {
|
113 |
+
var config = this.config;
|
114 |
+
var skipIds = [];
|
115 |
+
$$('body .product-custom-option').each(function(element){
|
116 |
+
var optionId = 0;
|
117 |
+
element.name.sub(/[0-9]+/, function(match){
|
118 |
+
optionId = parseInt(match[0], 10);
|
119 |
+
});
|
120 |
+
if (config[optionId]) {
|
121 |
+
var configOptions = config[optionId];
|
122 |
+
var curConfig = {price: 0};
|
123 |
+
if (element.type == 'checkbox' || element.type == 'radio') {
|
124 |
+
if (element.checked) {
|
125 |
+
if (typeof configOptions[element.getValue()] != 'undefined') {
|
126 |
+
curConfig = configOptions[element.getValue()];
|
127 |
+
}
|
128 |
+
}
|
129 |
+
} else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
|
130 |
+
dateSelected = true;
|
131 |
+
$$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
|
132 |
+
if (dt.getValue() == '') {
|
133 |
+
dateSelected = false;
|
134 |
+
}
|
135 |
+
});
|
136 |
+
if (dateSelected) {
|
137 |
+
curConfig = configOptions;
|
138 |
+
skipIds[optionId] = optionId;
|
139 |
+
}
|
140 |
+
} else if(element.type == 'select-one' || element.type == 'select-multiple') {
|
141 |
+
if ('options' in element) {
|
142 |
+
$A(element.options).each(function(selectOption){
|
143 |
+
if ('selected' in selectOption && selectOption.selected) {
|
144 |
+
if (typeof(configOptions[selectOption.value]) != 'undefined') {
|
145 |
+
curConfig = configOptions[selectOption.value];
|
146 |
+
}
|
147 |
+
}
|
148 |
+
});
|
149 |
+
}
|
150 |
+
} else {
|
151 |
+
if (element.getValue().strip() != '') {
|
152 |
+
curConfig = configOptions;
|
153 |
+
}
|
154 |
+
}
|
155 |
+
if(element.type == 'select-multiple' && ('options' in element)) {
|
156 |
+
$A(element.options).each(function(selectOption) {
|
157 |
+
if (('selected' in selectOption) && typeof(configOptions[selectOption.value]) != 'undefined') {
|
158 |
+
if (selectOption.selected) {
|
159 |
+
curConfig = configOptions[selectOption.value];
|
160 |
+
} else {
|
161 |
+
curConfig = {price: 0};
|
162 |
+
}
|
163 |
+
optionsPrice.addCustomPrices(optionId + '-' + selectOption.value, curConfig);
|
164 |
+
optionsPrice.reload();
|
165 |
+
}
|
166 |
+
});
|
167 |
+
} else {
|
168 |
+
optionsPrice.addCustomPrices(element.id || optionId, curConfig);
|
169 |
+
optionsPrice.reload();
|
170 |
+
}
|
171 |
+
}
|
172 |
+
});
|
173 |
+
}
|
174 |
+
}
|
175 |
+
function validateOptionsCallback(elmId, result) {
|
176 |
+
var container = $(elmId).up('ul.options-list');
|
177 |
+
if (result == 'failed') {
|
178 |
+
container.removeClassName('validation-passed');
|
179 |
+
container.addClassName('validation-failed');
|
180 |
+
} else {
|
181 |
+
container.removeClassName('validation-failed');
|
182 |
+
container.addClassName('validation-passed');
|
183 |
+
}
|
184 |
+
}
|
185 |
+
var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
|
186 |
+
//]]>
|
187 |
+
</script>
|
188 |
+
<dl>
|
189 |
+
<?php foreach($_options as $_option): ?>
|
190 |
+
<?php echo $this->getOptionHtml($_option) ?>
|
191 |
+
<?php endforeach; ?>
|
192 |
+
</dl>
|
193 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/catalog/product/view/options/js.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<script type="text/javascript">
|
28 |
+
//<![CDATA[
|
29 |
+
var DateOption = Class.create({
|
30 |
+
|
31 |
+
getDaysInMonth: function(month, year)
|
32 |
+
{
|
33 |
+
var curDate = new Date();
|
34 |
+
if (!month) {
|
35 |
+
month = curDate.getMonth();
|
36 |
+
}
|
37 |
+
if (2 == month && !year) { // leap year assumption for unknown year
|
38 |
+
return 29;
|
39 |
+
}
|
40 |
+
if (!year) {
|
41 |
+
year = curDate.getFullYear();
|
42 |
+
}
|
43 |
+
return 32 - new Date(year, month - 1, 32).getDate();
|
44 |
+
},
|
45 |
+
|
46 |
+
reloadMonth: function(event)
|
47 |
+
{
|
48 |
+
var selectEl = event.findElement();
|
49 |
+
var idParts = selectEl.id.split("_");
|
50 |
+
if (idParts.length != 3) {
|
51 |
+
return false;
|
52 |
+
}
|
53 |
+
var optionIdPrefix = idParts[0] + "_" + idParts[1];
|
54 |
+
var month = parseInt($(optionIdPrefix + "_month").value);
|
55 |
+
var year = parseInt($(optionIdPrefix + "_year").value);
|
56 |
+
var dayEl = $(optionIdPrefix + "_day");
|
57 |
+
|
58 |
+
var days = this.getDaysInMonth(month, year);
|
59 |
+
|
60 |
+
//remove days
|
61 |
+
for (var i = dayEl.options.length - 1; i >= 0; i--) {
|
62 |
+
if (dayEl.options[i].value > days) {
|
63 |
+
dayEl.remove(dayEl.options[i].index);
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
// add days
|
68 |
+
var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
|
69 |
+
for (i = lastDay + 1; i <= days; i++) {
|
70 |
+
this.addOption(dayEl, i, i);
|
71 |
+
}
|
72 |
+
},
|
73 |
+
|
74 |
+
addOption: function(select, text, value)
|
75 |
+
{
|
76 |
+
var option = document.createElement('OPTION');
|
77 |
+
option.value = value;
|
78 |
+
option.text = text;
|
79 |
+
|
80 |
+
if (select.options.add) {
|
81 |
+
select.options.add(option);
|
82 |
+
} else {
|
83 |
+
select.appendChild(option);
|
84 |
+
}
|
85 |
+
}
|
86 |
+
});
|
87 |
+
dateOption = new DateOption();
|
88 |
+
//]]>
|
89 |
+
</script>
|
app/design/frontend/fed/default/template/catalog/product/view/options/type/date.phtml
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_option = $this->getOption() ?>
|
28 |
+
<?php $_optionId = $_option->getId() ?>
|
29 |
+
<dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
|
30 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
31 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
32 |
+
|
33 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
|
34 |
+
|| $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
|
35 |
+
|
36 |
+
<?php echo $this->getDateHtml() ?>
|
37 |
+
|
38 |
+
<?php if (!$this->useCalendar()): ?>
|
39 |
+
<script type="text/javascript">
|
40 |
+
//<![CDATA[
|
41 |
+
Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
|
42 |
+
Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
|
43 |
+
//]]>
|
44 |
+
</script>
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php endif; ?>
|
48 |
+
|
49 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
|
50 |
+
|| $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
|
51 |
+
<span class="time-picker"><?php echo $this->getTimeHtml() ?></span>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
<?php if ($_option->getIsRequire()): ?>
|
58 |
+
Validation.addAllThese(
|
59 |
+
[
|
60 |
+
['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
|
61 |
+
var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
|
62 |
+
for (var i=0; i < dateTimeParts.length; i++) {
|
63 |
+
if (dateTimeParts[i].value == "") return false;
|
64 |
+
}
|
65 |
+
return true;
|
66 |
+
}]
|
67 |
+
]
|
68 |
+
);
|
69 |
+
<?php else: ?>
|
70 |
+
Validation.add(
|
71 |
+
'validate-datetime-<?php echo $_optionId ?>',
|
72 |
+
'<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
|
73 |
+
function(v) {
|
74 |
+
var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
|
75 |
+
var hasWithValue = false, hasWithNoValue = false;
|
76 |
+
var pattern = /day_part$/i;
|
77 |
+
for (var i=0; i < dateTimeParts.length; i++) {
|
78 |
+
if (! pattern.test(dateTimeParts[i].id)) {
|
79 |
+
if (dateTimeParts[i].value === "") {
|
80 |
+
hasWithValue = true;
|
81 |
+
} else {
|
82 |
+
hasWithNoValue = true;
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
return hasWithValue ^ hasWithNoValue;
|
87 |
+
}
|
88 |
+
);
|
89 |
+
<?php endif; ?>
|
90 |
+
//]]>
|
91 |
+
</script>
|
92 |
+
</dd>
|
app/design/frontend/fed/default/template/catalog/product/view/options/type/default.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_option = $this->getOption() ?>
|
28 |
+
<dt>
|
29 |
+
<label><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
|
30 |
+
</dt>
|
app/design/frontend/fed/default/template/catalog/product/view/options/type/file.phtml
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_option = $this->getOption(); ?>
|
28 |
+
<?php $_fileInfo = $this->getFileInfo(); ?>
|
29 |
+
<?php $_fileExists = $_fileInfo->hasData() ? true : false; ?>
|
30 |
+
<?php $_fileName = 'options_' . $_option->getId() . '_file'; ?>
|
31 |
+
<?php $_fieldNameAction = $_fileName . '_action'; ?>
|
32 |
+
<?php $_fieldValueAction = $_fileExists ? 'save_old' : 'save_new'; ?>
|
33 |
+
<?php $_fileNamed = $_fileName . '_name'; ?>
|
34 |
+
<?php $_rand = rand(); ?>
|
35 |
+
|
36 |
+
<script type="text/javascript">
|
37 |
+
//<![CDATA[
|
38 |
+
opFile<?php echo $_rand; ?> = {
|
39 |
+
initializeFile: function(inputBox) {
|
40 |
+
this.inputFile = inputBox.select('input[name="<?php echo $_fileName; ?>"]')[0];
|
41 |
+
this.inputFileAction = inputBox.select('input[name="<?php echo $_fieldNameAction; ?>"]')[0];
|
42 |
+
this.fileNameBox = inputBox.up('dd').select('.<?php echo $_fileNamed ?>')[0];
|
43 |
+
},
|
44 |
+
|
45 |
+
toggleFileChange: function(inputBox) {
|
46 |
+
this.initializeFile(inputBox);
|
47 |
+
inputBox.toggle();
|
48 |
+
this.fileChangeFlag = this.fileChangeFlag ? false : true;
|
49 |
+
if (!this.fileDeleteFlag) {
|
50 |
+
if (this.fileChangeFlag) {
|
51 |
+
this.inputFileAction.value = 'save_new';
|
52 |
+
this.inputFile.disabled = false;
|
53 |
+
} else {
|
54 |
+
this.inputFileAction.value = 'save_old';
|
55 |
+
this.inputFile.disabled = true;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
},
|
59 |
+
|
60 |
+
toggleFileDelete: function(fileDeleteFlag, inputBox) {
|
61 |
+
this.initializeFile(inputBox);
|
62 |
+
this.fileDeleteFlag = fileDeleteFlag.checked ? true : false;
|
63 |
+
if (this.fileDeleteFlag) {
|
64 |
+
this.inputFileAction.value = '';
|
65 |
+
this.inputFile.disabled = true;
|
66 |
+
this.fileNameBox.setStyle({'text-decoration': 'line-through'});
|
67 |
+
} else {
|
68 |
+
this.inputFileAction.value = this.fileChangeFlag ? 'save_new' : 'save_old';
|
69 |
+
this.inputFile.disabled = (this.fileChangeFlag == 'save_old');
|
70 |
+
this.fileNameBox.setStyle({'text-decoration': 'none'});
|
71 |
+
}
|
72 |
+
}
|
73 |
+
};
|
74 |
+
//]]>
|
75 |
+
</script>
|
76 |
+
|
77 |
+
<dt><label <?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
|
78 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
79 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
80 |
+
<?php if ($_fileExists): ?>
|
81 |
+
<span class="<?php echo $_fileNamed ?>"><?php echo $_fileInfo->getTitle(); ?></span>
|
82 |
+
<a href="javascript:void(0)" class="label" onclick="opFile<?php echo $_rand; ?>.toggleFileChange($(this).next('.input-box'))">
|
83 |
+
<?php echo Mage::helper('catalog')->__('Change') ?>
|
84 |
+
</a>
|
85 |
+
<?php if (!$_option->getIsRequire()): ?>
|
86 |
+
<input type="checkbox" onclick="opFile<?php echo $_rand; ?>.toggleFileDelete($(this), $(this).next('.input-box'))" />
|
87 |
+
<span class="label"><?php echo Mage::helper('catalog')->__('Delete') ?></span>
|
88 |
+
<?php endif; ?>
|
89 |
+
<?php endif; ?>
|
90 |
+
<div class="input-box" <?php echo $_fileExists ? 'style="display:none"' : '' ?>>
|
91 |
+
<input type="file" name="<?php echo $_fileName; ?>" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" <?php echo $_fileExists ? 'disabled="disabled"' : '' ?> onchange="opConfig.reloadPrice()" />
|
92 |
+
<input type="hidden" name="<?php echo $_fieldNameAction; ?>" value="<?php echo $_fieldValueAction; ?>" />
|
93 |
+
<?php if ($_option->getFileExtension()): ?>
|
94 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
|
95 |
+
<?php endif; ?>
|
96 |
+
<?php if ($_option->getImageSizeX() > 0): ?>
|
97 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image width')?>: <strong><?php echo $_option->getImageSizeX() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if ($_option->getImageSizeY() > 0): ?>
|
100 |
+
<p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image height')?>: <strong><?php echo $_option->getImageSizeY() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
|
101 |
+
<?php endif; ?>
|
102 |
+
</div>
|
103 |
+
</dd>
|
app/design/frontend/fed/default/template/catalog/product/view/options/type/select.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php /* @var $this Mage_Catalog_Block_Product_View_Options_Type_Select */ ?>
|
29 |
+
<?php $_option = $this->getOption() ?>
|
30 |
+
<dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label></dt>
|
31 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
32 |
+
<div class="input-box">
|
33 |
+
<?php echo $this->getValuesHtml() ?>
|
34 |
+
<?php if ($_option->getIsRequire()): ?>
|
35 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
|
36 |
+
<span id="options-<?php echo $_option->getId() ?>-container"></span>
|
37 |
+
<?php endif; ?>
|
38 |
+
<?php endif;?>
|
39 |
+
</div>
|
40 |
+
</dd>
|
app/design/frontend/fed/default/template/catalog/product/view/options/type/text.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_option = $this->getOption(); ?>
|
28 |
+
<dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
|
29 |
+
<?php echo $this->getFormatedPrice() ?></dt>
|
30 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
31 |
+
<div class="input-box">
|
32 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
|
33 |
+
<input type="text" onchange="opConfig.reloadPrice()" id="options_<?php echo $_option->getId() ?>_text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" value="<?php echo $this->escapeHtml($this->getDefaultValue()) ?>" />
|
34 |
+
<?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
|
35 |
+
<textarea id="options_<?php echo $_option->getId() ?>_text" onchange="opConfig.reloadPrice()" class="<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" rows="5" cols="25"><?php echo $this->escapeHtml($this->getDefaultValue()) ?></textarea>
|
36 |
+
<?php endif; ?>
|
37 |
+
<?php if ($_option->getMaxCharacters()): ?>
|
38 |
+
<p class="note"><?php echo Mage::helper('catalog')->__('Maximum number of characters:')?> <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
|
39 |
+
<?php endif; ?>
|
40 |
+
</div>
|
41 |
+
</dd>
|
app/design/frontend/fed/default/template/catalog/product/view/options/wrapper.phtml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="product-options" id="product-options-wrapper">
|
28 |
+
<?php echo $this->getChildHtml('', true, true);?>
|
29 |
+
<?php if ($this->hasRequiredOptions()):?>
|
30 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
31 |
+
<?php endif;?>
|
32 |
+
</div>
|
33 |
+
<script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
|
app/design/frontend/fed/default/template/catalog/product/view/options/wrapper/bottom.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="product-options-bottom">
|
28 |
+
<?php echo $this->getChildHtml('', true, true);?>
|
29 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/view/price.phtml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<div class="price-box" id="product_price">
|
32 |
+
<p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
|
33 |
+
<p class="special-price"><?php echo $this->getPrice() ?></p>
|
34 |
+
</div>
|
app/design/frontend/fed/default/template/catalog/product/view/price_clone.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_product = $this->getProduct() ?>
|
28 |
+
<?php echo $this->getPriceHtml($_product, false, '_clone') ?>
|
app/design/frontend/fed/default/template/catalog/product/view/tabs.phtml
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_modern
|
23 |
+
* @copyright Copyright (c) 2013 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 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<ul class="product-tabs nav nav-pills">
|
34 |
+
<?php foreach ($this->getTabs() as $_index => $_tab): ?>
|
35 |
+
<?php if($this->getChildHtml($_tab['alias'])): ?>
|
36 |
+
<li id="product_tabs_<?php echo $_tab['alias'] ?>" class="<?php echo !$_index?' active first':(($_index==count($this->getTabs())-1)?' last':'')?>"><a href="#"><?php echo $_tab['title']?></a></li>
|
37 |
+
<?php endif; ?>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</ul>
|
40 |
+
<?php foreach ($this->getTabs() as $_index => $_tab): ?>
|
41 |
+
<?php if($this->getChildHtml($_tab['alias'])): ?>
|
42 |
+
<div class="product-tabs-content" id="product_tabs_<?php echo $_tab['alias'] ?>_contents"><?php echo $this->getChildHtml($_tab['alias']) ?></div>
|
43 |
+
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
<script type="text/javascript">
|
47 |
+
//<![CDATA[
|
48 |
+
Varien.Tabs = Class.create();
|
49 |
+
Varien.Tabs.prototype = {
|
50 |
+
initialize: function(selector) {
|
51 |
+
var self=this;
|
52 |
+
$$(selector+' a').each(this.initTab.bind(this));
|
53 |
+
},
|
54 |
+
|
55 |
+
initTab: function(el) {
|
56 |
+
el.href = 'javascript:void(0)';
|
57 |
+
if ($(el.parentNode).hasClassName('active')) {
|
58 |
+
this.showContent(el);
|
59 |
+
}
|
60 |
+
el.observe('click', this.showContent.bind(this, el));
|
61 |
+
},
|
62 |
+
|
63 |
+
showContent: function(a) {
|
64 |
+
var li = $(a.parentNode), ul = $(li.parentNode);
|
65 |
+
ul.select('li', 'ol').each(function(el){
|
66 |
+
var contents = $(el.id+'_contents');
|
67 |
+
if (el==li) {
|
68 |
+
el.addClassName('active');
|
69 |
+
contents.show();
|
70 |
+
} else {
|
71 |
+
el.removeClassName('active');
|
72 |
+
contents.hide();
|
73 |
+
}
|
74 |
+
});
|
75 |
+
}
|
76 |
+
}
|
77 |
+
new Varien.Tabs('.product-tabs');
|
78 |
+
//]]>
|
79 |
+
</script>
|
app/design/frontend/fed/default/template/catalog/product/view/tierprices.phtml
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
*/
|
32 |
+
$_product = $this->getProduct();
|
33 |
+
$_tierPrices = $this->getTierPrices();
|
34 |
+
$_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true);
|
35 |
+
|
36 |
+
/** @var $_catalogHelper Mage_Catalog_Helper_Data */
|
37 |
+
$_catalogHelper = Mage::helper('catalog');
|
38 |
+
|
39 |
+
$_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
|
40 |
+
if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
|
41 |
+
$_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
|
42 |
+
}
|
43 |
+
|
44 |
+
?>
|
45 |
+
<?php if (count($_tierPrices) > 0): ?>
|
46 |
+
<ul class="<?php echo ($this->getInGrouped() ? 'tier-prices-grouped product-pricing-grouped' : 'tier-prices product-pricing'); ?>">
|
47 |
+
<?php if ($this->getInGrouped()): ?>
|
48 |
+
<?php $_tierPrices = $this->getTierPrices($_product); ?>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
|
51 |
+
<?php foreach ($_tierPrices as $_index => $_price): ?>
|
52 |
+
<li class="tier-price tier-<?php echo $_index; ?>">
|
53 |
+
<?php if ($_catalogHelper->canApplyMsrp($_product)): ?>
|
54 |
+
<?php if ($this->getInGrouped()): ?>
|
55 |
+
<?php echo $this->__('Buy %1$s for', $_price['price_qty']) ?>:
|
56 |
+
<?php else: ?>
|
57 |
+
<?php echo $this->__('Buy %1$s', $_price['price_qty']) ?>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php else: ?>
|
60 |
+
|
61 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
62 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
|
63 |
+
<?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price_incl_weee_only'], $_price['formated_price_incl_weee']) ?>
|
64 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
|
65 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
|
66 |
+
<?php if ($_weeeTaxAttributes): ?>
|
67 |
+
(<small>
|
68 |
+
<?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
|
69 |
+
<?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
70 |
+
<?php echo $separator; ?>
|
71 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
72 |
+
<?php endforeach; ?>
|
73 |
+
</small>)
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php echo $this->__('each') ?>
|
76 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
|
77 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
|
78 |
+
<?php if ($_weeeTaxAttributes): ?>
|
79 |
+
(<small>
|
80 |
+
<?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
|
81 |
+
<?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
82 |
+
<?php echo $separator; ?>
|
83 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</small>)
|
86 |
+
<?php endif; ?>
|
87 |
+
<?php echo $this->__('each') ?>
|
88 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
|
89 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
|
90 |
+
<?php if ($_weeeTaxAttributes): ?>
|
91 |
+
(<small>
|
92 |
+
<?php foreach ($_weeeTaxAttributes as $_attribute): ?>
|
93 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
94 |
+
<?php endforeach; ?>
|
95 |
+
<?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
|
96 |
+
</small>)
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php echo $this->__('each') ?>
|
99 |
+
<?php else: ?>
|
100 |
+
<?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price'], $_price['formated_price_incl_tax']) ?>
|
101 |
+
<?php endif; ?>
|
102 |
+
<?php else: ?>
|
103 |
+
<?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
|
104 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
|
105 |
+
<?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
|
106 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
|
107 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
|
108 |
+
<?php if ($_weeeTaxAttributes): ?>
|
109 |
+
(<small>
|
110 |
+
<?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
111 |
+
<?php echo $separator; ?>
|
112 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
113 |
+
<?php $separator = ' + '; endforeach; ?>
|
114 |
+
</small>)
|
115 |
+
<?php endif; ?>
|
116 |
+
<?php echo $this->__('each') ?>
|
117 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
|
118 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
|
119 |
+
<?php if ($_weeeTaxAttributes): ?>
|
120 |
+
(<small>
|
121 |
+
<?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
122 |
+
<?php echo $separator; ?>
|
123 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
|
124 |
+
<?php $separator = ' + '; endforeach; ?>
|
125 |
+
</small>)
|
126 |
+
<?php endif; ?>
|
127 |
+
<?php echo $this->__('each') ?>
|
128 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
|
129 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
|
130 |
+
<?php if ($_weeeTaxAttributes): ?>
|
131 |
+
(<small>
|
132 |
+
<?php foreach ($_weeeTaxAttributes as $_attribute): ?>
|
133 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
134 |
+
<?php endforeach; ?>
|
135 |
+
<?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
|
136 |
+
</small>)
|
137 |
+
<?php endif; ?>
|
138 |
+
<?php echo $this->__('each') ?>
|
139 |
+
<?php else: ?>
|
140 |
+
<?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
|
141 |
+
<?php endif; ?>
|
142 |
+
<?php else: ?>
|
143 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
|
144 |
+
<?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
|
145 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
|
146 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
|
147 |
+
<?php if ($_weeeTaxAttributes): ?>
|
148 |
+
(<small>
|
149 |
+
<?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
150 |
+
<?php echo $separator; ?>
|
151 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
152 |
+
<?php $separator = ' + '; endforeach; ?>
|
153 |
+
</small>)
|
154 |
+
<?php endif; ?>
|
155 |
+
<?php echo $this->__('each') ?>
|
156 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
|
157 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
|
158 |
+
<?php if ($_weeeTaxAttributes): ?>
|
159 |
+
(<small>
|
160 |
+
<?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
|
161 |
+
<?php echo $separator; ?>
|
162 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
|
163 |
+
<?php $separator = ' + '; endforeach; ?>
|
164 |
+
</small>)
|
165 |
+
<?php endif; ?>
|
166 |
+
<?php echo $this->__('each') ?>
|
167 |
+
<?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
|
168 |
+
<?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
|
169 |
+
<?php if ($_weeeTaxAttributes): ?>
|
170 |
+
(<small>
|
171 |
+
<?php foreach ($_weeeTaxAttributes as $_attribute): ?>
|
172 |
+
<?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
|
173 |
+
<?php endforeach; ?>
|
174 |
+
<?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
|
175 |
+
</small>)
|
176 |
+
<?php endif; ?>
|
177 |
+
<?php echo $this->__('each') ?>
|
178 |
+
<?php else: ?>
|
179 |
+
<?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
|
180 |
+
<?php endif; ?>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php endif; ?>
|
183 |
+
|
184 |
+
<?php endif; // Can apply MSRP ?>
|
185 |
+
|
186 |
+
<?php if (!$this->getInGrouped()): ?>
|
187 |
+
<?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
|
188 |
+
|| ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
|
189 |
+
<?php echo $this->__('and') ?> <strong class="benefit"><?php echo $this->__('save')?> <span class="percent tier-<?php echo $_index;?>"><?php echo $_price['savePercent']?></span>%
|
190 |
+
<?php endif ?></strong>
|
191 |
+
<?php endif; ?>
|
192 |
+
|
193 |
+
<?php if ($_catalogHelper->isShowPriceOnGesture($_product)):?>
|
194 |
+
<?php $popupId = 'msrp-popup-' . $_product->getId() . $this->helper('core')->getRandomString(20); ?>
|
195 |
+
<a href="#" id="<?php echo($popupId);?>"><?php echo $this->__('Click for price'); ?></a>
|
196 |
+
<script type="text/javascript">
|
197 |
+
<?php
|
198 |
+
$addToCartUrl = $this->getProduct()->isSalable()
|
199 |
+
? $this->getAddToCartUrl($_product, array('qty' => $_price['price_qty']))
|
200 |
+
: '';
|
201 |
+
?>
|
202 |
+
<?php if (!$this->getInGrouped()): ?>
|
203 |
+
var newLink = {
|
204 |
+
url: "<?php echo $addToCartUrl; ?>",
|
205 |
+
qty: "<?php echo $_price['price_qty']?>"
|
206 |
+
};
|
207 |
+
<?php else: ?>
|
208 |
+
var newLink = {
|
209 |
+
url: "<?php echo $addToCartUrl; ?>",
|
210 |
+
notUseForm: true
|
211 |
+
};
|
212 |
+
<?php endif ?>
|
213 |
+
Catalog.Map.addHelpLink(
|
214 |
+
$('<?php echo $popupId ?>'),
|
215 |
+
"<?php echo $_product->getName() ?>",
|
216 |
+
<?php echo json_encode($_price['real_price_html']) ?>,
|
217 |
+
"<?php echo $this->helper('core')->currency($_product->getMsrp(),true,false) ?>",
|
218 |
+
newLink
|
219 |
+
);
|
220 |
+
</script>
|
221 |
+
<?php else: ?>
|
222 |
+
<span class="msrp-price-hide-message">
|
223 |
+
<?php echo $_catalogHelper->getMsrpPriceMessage($_product) ?>
|
224 |
+
</span>
|
225 |
+
<?php endif; ?>
|
226 |
+
|
227 |
+
|
228 |
+
</li>
|
229 |
+
|
230 |
+
<?php endforeach ?>
|
231 |
+
</ul>
|
232 |
+
<?php endif;?>
|
app/design/frontend/fed/default/template/catalog/product/view/type/configurable.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* @deprecated after 1.4.1.0 in favor of default.phtml
|
30 |
+
*/
|
31 |
+
?>
|
app/design/frontend/fed/default/template/catalog/product/view/type/default.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 base_default
|
23 |
+
* @copyright Copyright (c) 2013 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 /* @var $this Mage_Catalog_Block_Product_View_Abstract */?>
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<?php if ($this->displayProductStockStatus()): ?>
|
31 |
+
<?php if ($_product->isAvailable()): ?>
|
32 |
+
<p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
33 |
+
<?php else: ?>
|
34 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
35 |
+
<?php endif; ?>
|
36 |
+
<?php endif; ?>
|
37 |
+
<?php echo $this->getChildHtml('product_type_data_extra') ?>
|
38 |
+
|
app/design/frontend/fed/default/template/catalog/product/view/type/grouped.phtml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* Grouped product data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
* @see Mage_Catalog_Block_Product_View_Type_Grouped
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $this->setPreconfiguredValue(); ?>
|
35 |
+
<?php $_product = $this->getProduct(); ?>
|
36 |
+
<?php $_associatedProducts = $this->getAssociatedProducts(); ?>
|
37 |
+
<?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
|
38 |
+
<?php if ($this->displayProductStockStatus()): ?>
|
39 |
+
<?php if ($_product->isAvailable() && $_hasAssociatedProducts): ?>
|
40 |
+
<p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
41 |
+
<?php else: ?>
|
42 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php echo $this->getChildHtml('product_type_data_extra') ?>
|
46 |
+
<table class="data-table grouped-items-table" id="super-product-table">
|
47 |
+
<col />
|
48 |
+
<col />
|
49 |
+
<col width="1" />
|
50 |
+
<thead>
|
51 |
+
<tr>
|
52 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
53 |
+
<?php if ($this->getCanShowProductPrice($_product)): ?>
|
54 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php if ($_product->isSaleable()): ?>
|
57 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
58 |
+
<?php endif; ?>
|
59 |
+
</tr>
|
60 |
+
</thead>
|
61 |
+
<tbody>
|
62 |
+
<?php if ($_hasAssociatedProducts): ?>
|
63 |
+
<?php foreach ($_associatedProducts as $_item): ?>
|
64 |
+
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
|
65 |
+
<tr>
|
66 |
+
<td><?php echo $this->escapeHtml($_item->getName()) ?></td>
|
67 |
+
<?php if ($this->getCanShowProductPrice($_product)): ?>
|
68 |
+
<td class="a-right">
|
69 |
+
<?php if ($this->getCanShowProductPrice($_item)): ?>
|
70 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
71 |
+
<?php echo $this->getTierPriceHtml($_item) ?>
|
72 |
+
<?php endif; ?>
|
73 |
+
</td>
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php if ($_product->isSaleable()): ?>
|
76 |
+
<td class="a-center">
|
77 |
+
<?php if ($_item->isSaleable()) : ?>
|
78 |
+
<input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
79 |
+
<?php else: ?>
|
80 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
81 |
+
<?php endif; ?>
|
82 |
+
</td>
|
83 |
+
<?php endif; ?>
|
84 |
+
</tr>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
<?php else: ?>
|
87 |
+
<tr>
|
88 |
+
<td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
|
89 |
+
</tr>
|
90 |
+
<?php endif; ?>
|
91 |
+
</tbody>
|
92 |
+
</table>
|
93 |
+
<script type="text/javascript">decorateTable('super-product-table')</script>
|
app/design/frontend/fed/default/template/catalog/product/view/type/options/configurable.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
$_product = $this->getProduct();
|
30 |
+
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
|
31 |
+
?>
|
32 |
+
<?php if ($_product->isSaleable() && count($_attributes)):?>
|
33 |
+
<dl>
|
34 |
+
<?php foreach($_attributes as $_attribute): ?>
|
35 |
+
<dt><label class="required"><em>*</em><?php echo $_attribute->getLabel() ?></label></dt>
|
36 |
+
<dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
|
37 |
+
<div class="input-box">
|
38 |
+
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
|
39 |
+
<option><?php echo $this->__('Choose an Option...') ?></option>
|
40 |
+
</select>
|
41 |
+
</div>
|
42 |
+
</dd>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</dl>
|
45 |
+
<script type="text/javascript">
|
46 |
+
var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
|
47 |
+
</script>
|
48 |
+
<?php endif;?>
|
app/design/frontend/fed/default/template/catalog/product/view/type/simple.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* @deprecated after 1.4.1.0 in favor of default.phtml
|
30 |
+
*/
|
31 |
+
?>
|
app/design/frontend/fed/default/template/catalog/product/view/type/virtual.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* @deprecated after 1.4.1.0 in favor of default.phtml
|
30 |
+
*/
|
31 |
+
?>
|
app/design/frontend/fed/default/template/catalogsearch/form.mini.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
|
5 |
+
* Magento
|
6 |
+
|
7 |
+
*
|
8 |
+
|
9 |
+
* NOTICE OF LICENSE
|
10 |
+
|
11 |
+
*
|
12 |
+
|
13 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
14 |
+
|
15 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
16 |
+
|
17 |
+
* It is also available through the world-wide-web at this URL:
|
18 |
+
|
19 |
+
* http://opensource.org/licenses/afl-3.0.php
|
20 |
+
|
21 |
+
* If you did not receive a copy of the license and are unable to
|
22 |
+
|
23 |
+
* obtain it through the world-wide-web, please send an email
|
24 |
+
|
25 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
26 |
+
|
27 |
+
*
|
28 |
+
|
29 |
+
* DISCLAIMER
|
30 |
+
|
31 |
+
*
|
32 |
+
|
33 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
34 |
+
|
35 |
+
* versions in the future. If you wish to customize Magento for your
|
36 |
+
|
37 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
38 |
+
|
39 |
+
*
|
40 |
+
|
41 |
+
* @category design
|
42 |
+
|
43 |
+
* @package default_modern
|
44 |
+
|
45 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
46 |
+
|
47 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
48 |
+
|
49 |
+
*/
|
50 |
+
|
51 |
+
/* @var $this Mage_Core_Block_Template */
|
52 |
+
|
53 |
+
/* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
|
54 |
+
|
55 |
+
$catalogSearchHelper = $this->helper('catalogsearch');
|
56 |
+
|
57 |
+
?>
|
58 |
+
|
59 |
+
<form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
|
60 |
+
|
61 |
+
<div class="form-search">
|
62 |
+
|
63 |
+
<div style="width:300px">
|
64 |
+
<div style="float: left">
|
65 |
+
<input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text form-control" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
|
66 |
+
</div>
|
67 |
+
<div style="float: left">
|
68 |
+
<button type="submit" title="<?php echo $this->__('Go') ?>" style="margin-top: 6px;" class="button btn btn-danger btn-xs"><span><span><?php echo $this->__('Go') ?></span></span></button>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<div id="search_autocomplete" class="search-autocomplete"></div>
|
72 |
+
|
73 |
+
<script type="text/javascript">
|
74 |
+
|
75 |
+
//<![CDATA[
|
76 |
+
|
77 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search store...') ?>');
|
78 |
+
|
79 |
+
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
80 |
+
|
81 |
+
//]]>
|
82 |
+
|
83 |
+
</script>
|
84 |
+
</div>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
</form>
|
89 |
+
|
app/design/frontend/fed/default/template/checkout/cart-ol.phtml
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<br/><br/><h3><span class="glyphicon glyphicon-shopping-cart"></span><?php echo $this->__('Shopping Cart') ?></h3><hr /><form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post"><div class="table-responsive product-cart"><table class="table table-bordered"> <tr class="cart-heading"> <th width="10%"><?php echo $this->__('') ?></th> <th ><?php echo $this->__('Product Name') ?></th> <th><?php echo $this->__('Edit') ?></th> <th width="5%"><?php echo $this->__('Unit Price') ?></th> <th width="5%"><?php echo $this->__('Qty') ?></th> <th width="5%"><?php echo $this->__('Subtotal') ?></th> <th width="10%"><?php echo $this->__('Actions') ?></th> </tr> <tbody> <?php foreach($this->getItems() as $_item): ?> <?php echo $this->getItemHtml($_item) ?> <?php endforeach ?> </tbody> </table></div><div class="row"><div class="pull-right"> <?php if($this->getContinueShoppingUrl()): ?> <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="btn btn-success btn-continue btn-sm" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button> <?php endif; ?> <button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="btn btn-danger btn-update btn-sm"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button></div></div><br /></form><div class="row"> <div class="col-md-4"> <?php if($_crosssell = $this->getChildHtml('crosssell')): ?> <?php echo $_crosssell; ?> <?php else: ?> <div class="no-crosssell"> <img src="<?php echo $this->getSkinUrl('images/media/fpo_no_crosssell.gif') ?>" alt="" /> </div> <?php endif; ?> <?php echo $this->getChildHtml('coupon') ?> </div> <div class="col-md-4"> <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?> </div> <div class="col-md-4"> <div class="row"> <div class="pull-right"> <?php echo $this->getChildHtml('totals'); ?> <div class="row"> <?php if(!$this->hasError()): ?> <ul class="checkout-types list-unstyled"> <?php foreach ($this->getMethods('methods') as $method): ?> <?php if ($methodHtml = $this->getMethodHtml($method)): ?> <li><?php echo $methodHtml; ?></li> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?> </div> </div> </div> </div></div>
|
app/design/frontend/fed/default/template/checkout/cart.phtml
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<br/><br/>
|
2 |
+
<h3>
|
3 |
+
<span class="glyphicon glyphicon-shopping-cart"></span><?php echo $this->__('Shopping Cart') ?></h3>
|
4 |
+
<hr />
|
5 |
+
|
6 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
7 |
+
<div class="table-responsive product-cart">
|
8 |
+
<table class="table table-bordered">
|
9 |
+
|
10 |
+
<tr class="cart-heading">
|
11 |
+
<th width="10%"><?php echo $this->__('') ?></th>
|
12 |
+
<th ><?php echo $this->__('Product Name') ?></th>
|
13 |
+
<th><?php echo $this->__('Edit') ?></th>
|
14 |
+
<th width="5%"><?php echo $this->__('Unit Price') ?></th>
|
15 |
+
<th width="5%"><?php echo $this->__('Qty') ?></th>
|
16 |
+
<th width="5%"><?php echo $this->__('Subtotal') ?></th>
|
17 |
+
<th width="10%"><?php echo $this->__('Actions') ?></th>
|
18 |
+
</tr>
|
19 |
+
|
20 |
+
<tbody>
|
21 |
+
<?php foreach($this->getItems() as $_item): ?>
|
22 |
+
<?php echo $this->getItemHtml($_item) ?>
|
23 |
+
<?php endforeach ?>
|
24 |
+
</tbody>
|
25 |
+
</table>
|
26 |
+
</div>
|
27 |
+
<div class="row">
|
28 |
+
<div class="pull-right">
|
29 |
+
<?php if($this->getContinueShoppingUrl()): ?>
|
30 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="btn btn-success btn-continue btn-sm" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
31 |
+
<?php endif; ?>
|
32 |
+
<button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="btn btn-danger btn-update btn-sm"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
|
33 |
+
</div>
|
34 |
+
</div>
|
35 |
+
<br />
|
36 |
+
</form>
|
37 |
+
|
38 |
+
<div class="row">
|
39 |
+
<div class="col-md-4">
|
40 |
+
<?php if($_crosssell = $this->getChildHtml('crosssell')): ?>
|
41 |
+
<?php echo $_crosssell; ?>
|
42 |
+
<?php else: ?>
|
43 |
+
<div class="no-crosssell">
|
44 |
+
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
48 |
+
</div>
|
49 |
+
<div class="col-md-4">
|
50 |
+
<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
|
51 |
+
</div>
|
52 |
+
<div class="col-md-4">
|
53 |
+
<div class="row">
|
54 |
+
<div class="pull-right">
|
55 |
+
<br/>
|
56 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
57 |
+
<div class="row">
|
58 |
+
<?php if(!$this->hasError()): ?>
|
59 |
+
<ul class="checkout-types list-unstyled">
|
60 |
+
<?php foreach ($this->getMethods('methods') as $method): ?>
|
61 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
62 |
+
<li><?php echo $methodHtml; ?></li>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php endforeach; ?>
|
65 |
+
</ul>
|
66 |
+
<?php endif; ?>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
|
72 |
+
</div>
|
73 |
+
|
74 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/cart/coupon.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* @category design_default
|
16 |
+
* @package Mage
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
?>
|
21 |
+
<div class="discount-codes box">
|
22 |
+
<form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
|
23 |
+
<fieldset>
|
24 |
+
<h3><?php echo $this->__('Discount Codes') ?></h3>
|
25 |
+
<p><?php echo $this->__('Enter your coupon code if you have one.') ?></p>
|
26 |
+
<input type="hidden" name="remove" id="remove-coupone" value="0"/>
|
27 |
+
<?php if(!strlen($this->getCouponCode())): ?>
|
28 |
+
<div >
|
29 |
+
<div class="input-group input-group-sm">
|
30 |
+
<span class="input-group-btn">
|
31 |
+
<button class="btn btn-default" type="button"><i class="glyphicon glyphicon-gift"></i></button>
|
32 |
+
</span>
|
33 |
+
<input class="input-text left form-control" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" />
|
34 |
+
<span class="input-group-btn">
|
35 |
+
<button class="form-button-alt btn btn-danger" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button>
|
36 |
+
</span>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
<?php else: ?>
|
40 |
+
<div style="padding-bottom:5px;"><input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" style="width:207px;" /></div>
|
41 |
+
<button class="form-button-alt btn btn-info" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button> <button class="form-button-alt btn btn-info" type="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><?php echo $this->__('Cancel Coupon') ?></span></button>
|
42 |
+
<?php endif;?>
|
43 |
+
<div class="clear"></div>
|
44 |
+
</fieldset>
|
45 |
+
</form>
|
46 |
+
<script type="text/javascript">
|
47 |
+
var discountForm = new VarienForm('discount-coupon-form');
|
48 |
+
discountForm.submit = function (isRemove) {
|
49 |
+
if (isRemove) {
|
50 |
+
$('coupon_code').removeClassName('required-entry');
|
51 |
+
$('remove-coupone').value = "1";
|
52 |
+
} else {
|
53 |
+
$('coupon_code').addClassName('required-entry');
|
54 |
+
$('remove-coupone').value = "0";
|
55 |
+
}
|
56 |
+
return VarienForm.prototype.submit.bind(discountForm)();
|
57 |
+
}
|
58 |
+
</script>
|
59 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/cart/crosssell.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Cart cross sell items template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Crosssell
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getItemCount()): ?>
|
35 |
+
<div class="crosssell">
|
36 |
+
<h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
|
37 |
+
<ul id="crosssell-products-list">
|
38 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
39 |
+
<li class="item">
|
40 |
+
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" /></a>
|
41 |
+
<div class="product-details">
|
42 |
+
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
43 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
44 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
45 |
+
<ul class="add-to-links">
|
46 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
47 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
|
50 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
</ul>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
</ul>
|
57 |
+
<script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/cart/item/configure/updatecart.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $buttonTitle = $this->__('Update Cart'); ?>
|
30 |
+
<?php if ($_product->isSaleable()): ?>
|
31 |
+
<div class="add-to-cart">
|
32 |
+
<?php if (!$_product->isGrouped()): ?>
|
33 |
+
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
34 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
35 |
+
<?php endif; ?>
|
36 |
+
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
37 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
?>
|
32 |
+
<tr>
|
33 |
+
<td><?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?></td>
|
34 |
+
<td>
|
35 |
+
<h2 class="product-name">
|
36 |
+
<?php if ($this->hasProductUrl()):?>
|
37 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php echo $this->escapeHtml($this->getProductName()) ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
</h2>
|
42 |
+
<?php if ($_options = $this->getOptionList()):?>
|
43 |
+
<dl class="item-options">
|
44 |
+
<?php foreach ($_options as $_option) : ?>
|
45 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
46 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
47 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
48 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
49 |
+
<div class="truncated_full_value">
|
50 |
+
<dl class="item-options">
|
51 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
52 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
53 |
+
</dl>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
56 |
+
</dd>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</dl>
|
59 |
+
<?php endif;?>
|
60 |
+
<?php if ($messages = $this->getMessages()): ?>
|
61 |
+
<?php foreach ($messages as $message): ?>
|
62 |
+
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $this->escapeHtml($message['text']) ?></p>
|
63 |
+
<?php endforeach; ?>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
66 |
+
<?php if ($addInfoBlock): ?>
|
67 |
+
<?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
|
68 |
+
<?php endif;?>
|
69 |
+
</td>
|
70 |
+
<td class="a-center">
|
71 |
+
<?php if ($isVisibleProduct): ?>
|
72 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
73 |
+
<?php endif ?>
|
74 |
+
</td>
|
75 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
76 |
+
<td class="a-center">
|
77 |
+
<?php if ($isVisibleProduct): ?>
|
78 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move'); ?></a>
|
79 |
+
<?php endif ?>
|
80 |
+
</td>
|
81 |
+
<?php endif ?>
|
82 |
+
|
83 |
+
<?php if ($canApplyMsrp): ?>
|
84 |
+
<td class="a-right"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
|
85 |
+
<span class="cart-price">
|
86 |
+
<span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
87 |
+
<?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
|
88 |
+
<a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
89 |
+
<script type="text/javascript">
|
90 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
91 |
+
</script>
|
92 |
+
</span>
|
93 |
+
</td>
|
94 |
+
<?php else: ?>
|
95 |
+
|
96 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
97 |
+
<td class="a-right">
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
100 |
+
<?php else: ?>
|
101 |
+
<span class="cart-price">
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
104 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
105 |
+
<?php else: ?>
|
106 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
107 |
+
<?php endif; ?>
|
108 |
+
|
109 |
+
</span>
|
110 |
+
|
111 |
+
|
112 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
113 |
+
|
114 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
115 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
116 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
117 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
118 |
+
<?php endforeach; ?>
|
119 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
121 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
122 |
+
<?php endforeach; ?>
|
123 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
124 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
125 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
126 |
+
<?php endforeach; ?>
|
127 |
+
<?php endif; ?>
|
128 |
+
</div>
|
129 |
+
|
130 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
132 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
133 |
+
</div>
|
134 |
+
<?php endif; ?>
|
135 |
+
<?php endif; ?>
|
136 |
+
</td>
|
137 |
+
<?php endif; ?>
|
138 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
139 |
+
<td>
|
140 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
143 |
+
<?php else: ?>
|
144 |
+
<span class="cart-price">
|
145 |
+
<?php endif; ?>
|
146 |
+
|
147 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
148 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
149 |
+
<?php else: ?>
|
150 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
151 |
+
<?php endif; ?>
|
152 |
+
|
153 |
+
</span>
|
154 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
155 |
+
|
156 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
157 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
158 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
159 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
160 |
+
<?php endforeach; ?>
|
161 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
162 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
163 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
164 |
+
<?php endforeach; ?>
|
165 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
167 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
168 |
+
<?php endforeach; ?>
|
169 |
+
<?php endif; ?>
|
170 |
+
</div>
|
171 |
+
|
172 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
174 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
175 |
+
</div>
|
176 |
+
<?php endif; ?>
|
177 |
+
<?php endif; ?>
|
178 |
+
</td>
|
179 |
+
<?php endif; ?>
|
180 |
+
<?php endif; ?>
|
181 |
+
<td class="a-center">
|
182 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
183 |
+
</td>
|
184 |
+
<?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
185 |
+
<td class="a-right">
|
186 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
187 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
188 |
+
<?php else: ?>
|
189 |
+
<span class="cart-price">
|
190 |
+
<?php endif; ?>
|
191 |
+
|
192 |
+
<?php if ($canApplyMsrp): ?>
|
193 |
+
<span class="cart-msrp-subtotal">--</span>
|
194 |
+
<?php else: ?>
|
195 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
197 |
+
<?php else: ?>
|
198 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
199 |
+
<?php endif; ?>
|
200 |
+
<?php endif; ?>
|
201 |
+
|
202 |
+
</span>
|
203 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
204 |
+
|
205 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
206 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
207 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
208 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
209 |
+
<?php endforeach; ?>
|
210 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
211 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
212 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
213 |
+
<?php endforeach; ?>
|
214 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
215 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
216 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
217 |
+
<?php endforeach; ?>
|
218 |
+
<?php endif; ?>
|
219 |
+
</div>
|
220 |
+
|
221 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
222 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
223 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
224 |
+
</div>
|
225 |
+
<?php endif; ?>
|
226 |
+
<?php endif; ?>
|
227 |
+
</td>
|
228 |
+
<?php endif; ?>
|
229 |
+
<?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
230 |
+
<td>
|
231 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
232 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
233 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
234 |
+
<?php else: ?>
|
235 |
+
<span class="cart-price">
|
236 |
+
<?php endif; ?>
|
237 |
+
|
238 |
+
<?php if ($canApplyMsrp): ?>
|
239 |
+
<span class="cart-msrp-subtotal">--</span>
|
240 |
+
<?php else: ?>
|
241 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
242 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
243 |
+
<?php else: ?>
|
244 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
245 |
+
<?php endif; ?>
|
246 |
+
<?php endif; ?>
|
247 |
+
|
248 |
+
</span>
|
249 |
+
|
250 |
+
|
251 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
252 |
+
|
253 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
254 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
255 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
256 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
257 |
+
<?php endforeach; ?>
|
258 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
259 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
260 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
261 |
+
<?php endforeach; ?>
|
262 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
263 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
264 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
265 |
+
<?php endforeach; ?>
|
266 |
+
<?php endif; ?>
|
267 |
+
</div>
|
268 |
+
|
269 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
270 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
271 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
272 |
+
</div>
|
273 |
+
<?php endif; ?>
|
274 |
+
<?php endif; ?>
|
275 |
+
</td>
|
276 |
+
<?php endif; ?>
|
277 |
+
<td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
|
278 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/cart/noItems.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Shopping Cart is Empty') ?></h1>
|
29 |
+
</div>
|
30 |
+
<div class="cart-empty">
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<?php echo $this->getChildHtml('checkout_cart_empty_widget'); ?>
|
33 |
+
<p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
34 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
|
35 |
+
<?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
|
36 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/cart/render/default.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/cart/render/simple.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/cart/shipping.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 * If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* @category design_default
|
15 |
+
* @package Mage
|
16 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
17 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<div class="shipping-estimate box">
|
21 |
+
<h3><?php echo $this->__('Estimate Shipping and Tax') ?></h3>
|
22 |
+
<form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
|
23 |
+
<p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
24 |
+
<p><label for="country"><?php echo $this->__('Country') ?></label><br /><span><?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?></span></p>
|
25 |
+
<?php //if($this->getStateActive()): ?>
|
26 |
+
<div class="form-group">
|
27 |
+
<label for="region_id"><?php echo $this->__('State/Province') ?></label><br />
|
28 |
+
|
29 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select form-control" style="display:none">
|
30 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
31 |
+
</select>
|
32 |
+
<script type="text/javascript">
|
33 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
34 |
+
</script>
|
35 |
+
<input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="form-control input-text" style="display:none" />
|
36 |
+
</div>
|
37 |
+
<?php //endif; ?>
|
38 |
+
<?php if($this->getCityActive()): ?>
|
39 |
+
<p><label for="city"><?php echo $this->__('City') ?></label><br />
|
40 |
+
<input class="form-control input-text" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
|
41 |
+
</p>
|
42 |
+
<?php endif; ?>
|
43 |
+
<div class="form-group">
|
44 |
+
<label><?php echo $this->__('Zip/Postal Code') ?></label>
|
45 |
+
<input class="input-text form-control" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->htmlEscape($this->getEstimatePostcode()) ?>" placeholder="<?php echo $this->__('Zip/Postal Code') ?>" />
|
46 |
+
</div>
|
47 |
+
<p><button type="button" onclick="coShippingMethodForm.submit()" class="form-button-alt btn btn-danger"><span><?php echo $this->__('Get a Quote') ?></span></button></p>
|
48 |
+
|
49 |
+
</form>
|
50 |
+
<script type="text/javascript">
|
51 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
|
52 |
+
</script>
|
53 |
+
|
54 |
+
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
55 |
+
<div class="divider"></div>
|
56 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
|
57 |
+
<dl class="shipment-methods">
|
58 |
+
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
59 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
60 |
+
<dd>
|
61 |
+
<ul class="list-unstyled">
|
62 |
+
<?php foreach ($_rates as $_rate): ?>
|
63 |
+
<li class="<?php if ($_rate->getErrorMessage()) echo 'error-msg';?>">
|
64 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
65 |
+
<?php echo $_rate->getErrorMessage() ?>
|
66 |
+
<?php else: ?>
|
67 |
+
<input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> />
|
68 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodDescription() ?> - <strong><?php echo $_rate->getPrice() ?></strong></label>
|
69 |
+
<?php endif ?>
|
70 |
+
</li>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</ul>
|
73 |
+
</dd>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</dl>
|
76 |
+
<fieldset><button type="submit" class="form-button-alt btn btn-danger" name="do" value="<?php echo $this->__('Update Total') ?>"><span><?php echo $this->__('Update Total') ?></span></button></fieldset>
|
77 |
+
</form>
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
<script type="text/javascript">
|
81 |
+
var coShippingMethodForm = new VarienForm('shipping-zip-form');
|
82 |
+
Validation.addAllThese(
|
83 |
+
[
|
84 |
+
['validate-postcode', '<?php echo $this->__('Please enter a valid zip code. For example 90602 or 90602-1234.') ?>', function(v) {
|
85 |
+
if( $('shipping-postcode').value.match(/(^[A-z0-9]{2,10}([\s]{0,2}|[\-]{0,2})[A-z0-9]{2,10}$)/ )) {
|
86 |
+
return true;
|
87 |
+
} else {
|
88 |
+
return false;
|
89 |
+
}
|
90 |
+
}]
|
91 |
+
]
|
92 |
+
);
|
93 |
+
</script>
|
94 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/cart/sidebar.phtml
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
|
5 |
+
* Magento
|
6 |
+
|
7 |
+
*
|
8 |
+
|
9 |
+
* NOTICE OF LICENSE
|
10 |
+
|
11 |
+
*
|
12 |
+
|
13 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
14 |
+
|
15 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
16 |
+
|
17 |
+
* It is also available through the world-wide-web at this URL:
|
18 |
+
|
19 |
+
* http://opensource.org/licenses/afl-3.0.php
|
20 |
+
|
21 |
+
* If you did not receive a copy of the license and are unable to
|
22 |
+
|
23 |
+
* obtain it through the world-wide-web, please send an email
|
24 |
+
|
25 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
26 |
+
|
27 |
+
*
|
28 |
+
|
29 |
+
* DISCLAIMER
|
30 |
+
|
31 |
+
*
|
32 |
+
|
33 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
34 |
+
|
35 |
+
* versions in the future. If you wish to customize Magento for your
|
36 |
+
|
37 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
38 |
+
|
39 |
+
*
|
40 |
+
|
41 |
+
* @category design
|
42 |
+
|
43 |
+
* @package base_default
|
44 |
+
|
45 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
46 |
+
|
47 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
48 |
+
|
49 |
+
*/
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
/**
|
54 |
+
|
55 |
+
* Shoping cart sidebar
|
56 |
+
|
57 |
+
*
|
58 |
+
|
59 |
+
* @see Mage_Checkout_Block_Cart_Sidebar
|
60 |
+
|
61 |
+
*/
|
62 |
+
|
63 |
+
|
64 |
+
|
65 |
+
?>
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
<?php if ($this->getIsNeedToDisplaySideBar()):?>
|
70 |
+
|
71 |
+
<div class="panel panel-info">
|
72 |
+
|
73 |
+
<?php $_cartQty = $this->getSummaryCount() ?>
|
74 |
+
|
75 |
+
<div class="panel-heading"><b><?php echo $this->__('My Cart') ?></b></div>
|
76 |
+
|
77 |
+
<div class="panel-body">
|
78 |
+
|
79 |
+
<?php if ($_cartQty>0): ?>
|
80 |
+
|
81 |
+
<div class="summary">
|
82 |
+
|
83 |
+
<?php if ($_cartQty==1): ?>
|
84 |
+
|
85 |
+
<p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
|
86 |
+
|
87 |
+
<?php else: ?>
|
88 |
+
|
89 |
+
<p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
|
90 |
+
|
91 |
+
<?php endif ?>
|
92 |
+
|
93 |
+
<p class="subtotal">
|
94 |
+
|
95 |
+
<?php if ($this->canApplyMsrp()): ?>
|
96 |
+
|
97 |
+
<span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
|
98 |
+
|
99 |
+
<?php else: ?>
|
100 |
+
|
101 |
+
<span class="text-danger"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
|
102 |
+
|
103 |
+
<?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
|
104 |
+
|
105 |
+
(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
|
106 |
+
|
107 |
+
<?php endif; ?>
|
108 |
+
|
109 |
+
<?php endif; ?>
|
110 |
+
|
111 |
+
</p>
|
112 |
+
|
113 |
+
</div>
|
114 |
+
|
115 |
+
<?php endif ?>
|
116 |
+
|
117 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
118 |
+
|
119 |
+
<div class="actions">
|
120 |
+
|
121 |
+
<?php echo $this->getChildHtml('extra_actions') ?>
|
122 |
+
|
123 |
+
<button type="button" title="<?php echo $this->__('Checkout') ?>" class="btn btn-info btn-xs" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
124 |
+
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<?php endif ?>
|
128 |
+
|
129 |
+
<?php $_items = $this->getRecentItems() ?>
|
130 |
+
|
131 |
+
<?php if(count($_items)): ?>
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
<div class="row">
|
136 |
+
|
137 |
+
<div class="col-md-2"></div>
|
138 |
+
|
139 |
+
<div class="col-md-9"></div>
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
</div>
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
+
<p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
|
148 |
+
|
149 |
+
<ol id="cart-sidebar" class="mini-products-list">
|
150 |
+
|
151 |
+
<?php foreach($_items as $_item): ?>
|
152 |
+
|
153 |
+
<?php echo $this->getItemHtml($_item) ?>
|
154 |
+
|
155 |
+
<?php endforeach; ?>
|
156 |
+
|
157 |
+
</ol>
|
158 |
+
|
159 |
+
<script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
|
160 |
+
|
161 |
+
<?php else: ?>
|
162 |
+
|
163 |
+
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
164 |
+
|
165 |
+
<?php endif ?>
|
166 |
+
|
167 |
+
</div>
|
168 |
+
|
169 |
+
</div>
|
170 |
+
|
171 |
+
<?php endif;?>
|
172 |
+
|
app/design/frontend/fed/default/template/checkout/cart/sidebar/default.phtml
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<?php
|
29 |
+
$_item = $this->getItem();
|
30 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
31 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
32 |
+
?>
|
33 |
+
<li class="list-unstyled">
|
34 |
+
<div class="row">
|
35 |
+
<div class="col-md-3">
|
36 |
+
<?php if ($this->hasProductUrl()): ?>
|
37 |
+
<a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image img-responsive"><img src="<?php echo $this->getProductThumbnail()->resize(30, 50)->setWatermarkSize('30x10'); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
|
38 |
+
<?php else: ?>
|
39 |
+
<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
40 |
+
<?php endif; ?>
|
41 |
+
</div>
|
42 |
+
<div class="col-md-9">
|
43 |
+
<div class="product-details">
|
44 |
+
<p class="product-name">
|
45 |
+
<?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
|
46 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><span class="glyphicon glyphicon-trash"></span> </a>
|
47 |
+
<?php if ($isVisibleProduct): ?>
|
48 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><span class="glyphicon glyphicon-edit"></span></a>
|
49 |
+
<?php endif ?>
|
50 |
+
|
51 |
+
<strong><?php echo $this->getQty() ?></strong> x
|
52 |
+
|
53 |
+
<?php if ($canApplyMsrp): ?>
|
54 |
+
|
55 |
+
<span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
56 |
+
|
57 |
+
<?php else: ?>
|
58 |
+
|
59 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
64 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
65 |
+
<?php else: ?>
|
66 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
69 |
+
<br />
|
70 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
71 |
+
<small>
|
72 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
73 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</small>
|
76 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
77 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
78 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
79 |
+
<?php endforeach; ?>
|
80 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
81 |
+
<small>
|
82 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
83 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</small>
|
86 |
+
<?php endif; ?>
|
87 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
88 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
89 |
+
<?php endif; ?>
|
90 |
+
<?php endif; ?>
|
91 |
+
<?php endif; ?>
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
96 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
97 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
98 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
99 |
+
<?php endif; ?>
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
101 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
102 |
+
<?php else: ?>
|
103 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
106 |
+
<br />
|
107 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
108 |
+
<small>
|
109 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
110 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
111 |
+
<?php endforeach; ?>
|
112 |
+
</small>
|
113 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
114 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
115 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
116 |
+
<?php endforeach; ?>
|
117 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
118 |
+
<small>
|
119 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
120 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
121 |
+
<?php endforeach; ?>
|
122 |
+
</small>
|
123 |
+
<?php endif; ?>
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
125 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
126 |
+
<?php endif; ?>
|
127 |
+
<?php endif; ?>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<?php endif; //Can apply MSRP ?>
|
131 |
+
|
132 |
+
<?php if ($_options = $this->getOptionList()):?>
|
133 |
+
<div class="truncated">
|
134 |
+
<div class="truncated_full_value">
|
135 |
+
<dl class="item-options">
|
136 |
+
<?php foreach ($_options as $_option) : ?>
|
137 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
138 |
+
<dd>
|
139 |
+
<?php if (is_array($_option['value'])): ?>
|
140 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
141 |
+
<?php else: ?>
|
142 |
+
<?php echo $_option['value'] ?>
|
143 |
+
<?php endif; ?>
|
144 |
+
</dd>
|
145 |
+
<?php endforeach; ?>
|
146 |
+
</dl>
|
147 |
+
</div>
|
148 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
149 |
+
</div>
|
150 |
+
<?php endif; ?>
|
151 |
+
</div>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
|
156 |
+
|
157 |
+
</li>
|
app/design/frontend/fed/default/template/checkout/cart/totals.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Shopping cart totals template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Totals
|
32 |
+
* @var $this Mage_Checkout_Block_Cart_Totals
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php if ($this->canApplyMsrp()): ?>
|
36 |
+
<div class="cart-msrp-totals"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></div>
|
37 |
+
<?php else: ?>
|
38 |
+
<table id="shopping-cart-totals-table" class="table">
|
39 |
+
<col />
|
40 |
+
<col width="1" />
|
41 |
+
<tfoot>
|
42 |
+
<?php echo $this->renderTotals('footer'); ?>
|
43 |
+
</tfoot>
|
44 |
+
<tbody>
|
45 |
+
<?php echo $this->renderTotals(); ?>
|
46 |
+
</tbody>
|
47 |
+
</table>
|
48 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/coupon.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
* @category design_default
|
16 |
+
* @package Mage
|
17 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
*/
|
20 |
+
?>
|
21 |
+
<div class="discount-codes box">
|
22 |
+
<form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
|
23 |
+
<fieldset>
|
24 |
+
<h3><?php echo $this->__('Discount Codess') ?></h3>
|
25 |
+
<p><?php echo $this->__('Enter your coupon code if you have one.') ?></p>
|
26 |
+
<input type="hidden" name="remove" id="remove-coupone" value="0"/>
|
27 |
+
<?php if(!strlen($this->getCouponCode())): ?>
|
28 |
+
<div >
|
29 |
+
<div class="input-group input-group-sm">
|
30 |
+
<span class="input-group-btn">
|
31 |
+
<button class="btn btn-default" type="button"><i class="glyphicon glyphicon-gift"></i></button>
|
32 |
+
</span>
|
33 |
+
<input class="input-text left form-control" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" />
|
34 |
+
<span class="input-group-btn">
|
35 |
+
<button class="form-button-alt btn btn-danger" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button>
|
36 |
+
</span>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
<?php else: ?>
|
40 |
+
<div style="padding-bottom:5px;"><input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" style="width:207px;" /></div>
|
41 |
+
<button class="form-button-alt btn btn-info" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply Coupon') ?></span></button> <button class="form-button-alt btn btn-info" type="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><?php echo $this->__('Cancel Coupon') ?></span></button>
|
42 |
+
<?php endif;?>
|
43 |
+
<div class="clear"></div>
|
44 |
+
</fieldset>
|
45 |
+
</form>
|
46 |
+
<script type="text/javascript">
|
47 |
+
var discountForm = new VarienForm('discount-coupon-form');
|
48 |
+
discountForm.submit = function (isRemove) {
|
49 |
+
if (isRemove) {
|
50 |
+
$('coupon_code').removeClassName('required-entry');
|
51 |
+
$('remove-coupone').value = "1";
|
52 |
+
} else {
|
53 |
+
$('coupon_code').addClassName('required-entry');
|
54 |
+
$('remove-coupone').value = "0";
|
55 |
+
}
|
56 |
+
return VarienForm.prototype.submit.bind(discountForm)();
|
57 |
+
}
|
58 |
+
</script>
|
59 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/multishipping/address/select.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="multiple-checkout">
|
28 |
+
<div class="page-title title-buttons">
|
29 |
+
<h1><?php echo $this->__('Change Billing Address') ?></h1>
|
30 |
+
<button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<?php $_index=0 ?>
|
34 |
+
<?php foreach ($this->getAddressCollection() as $_address): ?>
|
35 |
+
<?php if($_index%3==0): ?><div class="col3-set"><?php endif; ?>
|
36 |
+
<div class="col-<?php echo ($_index%3+1) ?>">
|
37 |
+
<p class="actions">
|
38 |
+
<a href="<?php echo $this->getEditAddressUrl($_address) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span>
|
39 |
+
<a href="<?php echo $this->getSetAddressUrl($_address) ?>"><strong><?php echo $this->__('Select Address') ?></strong></a>
|
40 |
+
</p>
|
41 |
+
<address>
|
42 |
+
<?php echo $_address->format('html') ?>
|
43 |
+
</address>
|
44 |
+
<?php if($this->isAddressDefaultBilling($_address)): ?>
|
45 |
+
<strong><?php echo $this->__('Default Billing') ?></strong>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php if($this->isAddressDefaultShipping($_address)): ?>
|
48 |
+
<br /><strong><?php echo $this->__('Default Shipping') ?></strong>
|
49 |
+
<?php endif; ?>
|
50 |
+
</div>
|
51 |
+
<?php $_index++ ?>
|
52 |
+
<?php if($_index && $_index%3==0): ?></div><?php endif; ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
<?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
|
55 |
+
<div class="buttons-set">
|
56 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
57 |
+
</div>
|
58 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/multishipping/addresses.phtml
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Ship to multiple address template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_Addresses
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
35 |
+
<form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
|
36 |
+
<div class="multiple-checkout">
|
37 |
+
<div class="page-title title-buttons">
|
38 |
+
<h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
|
39 |
+
<button type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
|
40 |
+
</div>
|
41 |
+
<input type="hidden" name="continue" value="0" id="can_continue_flag" />
|
42 |
+
<input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
|
43 |
+
<h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
|
44 |
+
<table class="data-table" id="multiship-addresses-table">
|
45 |
+
<col />
|
46 |
+
<col width="1" />
|
47 |
+
<col width="1" />
|
48 |
+
<col width="1" />
|
49 |
+
<thead>
|
50 |
+
<tr>
|
51 |
+
<th><?php echo $this->__('Product') ?></th>
|
52 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
53 |
+
<th><?php echo $this->__('Send To') ?></th>
|
54 |
+
<th> </th>
|
55 |
+
</tr>
|
56 |
+
</thead>
|
57 |
+
<tfoot>
|
58 |
+
<tr>
|
59 |
+
<td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty & Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty & Addresses') ?></span></span></button></td>
|
60 |
+
</tr>
|
61 |
+
</tfoot>
|
62 |
+
<tbody>
|
63 |
+
<?php foreach ($this->getItems() as $_index => $_item): ?>
|
64 |
+
<?php if ($_item->getQuoteItem()) :?>
|
65 |
+
<tr>
|
66 |
+
<td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
|
67 |
+
<td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
|
68 |
+
<td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
|
69 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
70 |
+
</tr>
|
71 |
+
<?php endif; ?>
|
72 |
+
<?php endforeach; ?>
|
73 |
+
</tbody>
|
74 |
+
</table>
|
75 |
+
<script type="text/javascript">decorateTable('multiship-addresses-table')</script>
|
76 |
+
<div class="buttons-set">
|
77 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
|
78 |
+
<button type="submit" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
</form>
|
app/design/frontend/fed/default/template/checkout/multishipping/agreements.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 Mage_Checkout_Block_Agreements
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<?php if (!$this->getAgreements()) return; ?>
|
34 |
+
<ol id="checkout-agreements" class="checkout-agreements">
|
35 |
+
<?php foreach ($this->getAgreements() as $_a): ?>
|
36 |
+
<li>
|
37 |
+
<div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
|
38 |
+
<?php if ($_a->getIsHtml()):?>
|
39 |
+
<?php echo $_a->getContent() ?>
|
40 |
+
<?php else:?>
|
41 |
+
<?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
|
42 |
+
<?php endif; ?>
|
43 |
+
</div>
|
44 |
+
<p class="agree">
|
45 |
+
<input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->escapeHtml($_a->getCheckboxText()) ?></label>
|
46 |
+
</p>
|
47 |
+
</li>
|
48 |
+
<?php endforeach ?>
|
49 |
+
</ol>
|
app/design/frontend/fed/default/template/checkout/multishipping/billing.phtml
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Multishipping checkout billing information
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_Billing
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div class="multiple-checkout">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Billing Information') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
|
40 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
|
41 |
+
<div class="col2-set">
|
42 |
+
<div class="col-1 col-narrow">
|
43 |
+
<div class="box">
|
44 |
+
<div class="box-title">
|
45 |
+
<h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
|
46 |
+
</div>
|
47 |
+
<div class="box-content">
|
48 |
+
<?php $_address=$this->getAddress() ?>
|
49 |
+
<address><?php echo $_address->format('html') ?></address>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<div class="col-2 col-wide">
|
54 |
+
<div class="box">
|
55 |
+
<div class="box-title">
|
56 |
+
<h2><?php echo $this->__('Payment Method') ?></h2>
|
57 |
+
</div>
|
58 |
+
<div class="box-content">
|
59 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
60 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
61 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
62 |
+
</div>
|
63 |
+
<!-- Payment methods forms list -->
|
64 |
+
<dl class="sp-methods">
|
65 |
+
<?php
|
66 |
+
$_methods = $this->getMethods();
|
67 |
+
$_methodsCount = count($_methods);
|
68 |
+
?>
|
69 |
+
<?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
|
70 |
+
<dt>
|
71 |
+
<?php if ($_methodsCount > 1): ?>
|
72 |
+
<input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
|
73 |
+
<?php else :?>
|
74 |
+
<span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
|
75 |
+
<?php endif;?>
|
76 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($_method->getTitle()) ?></label>
|
77 |
+
</dt>
|
78 |
+
<?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
|
79 |
+
<dd>
|
80 |
+
<?php echo $html; ?>
|
81 |
+
</dd>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</dl>
|
85 |
+
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="buttons-set">
|
91 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
|
92 |
+
<button type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
|
93 |
+
</div>
|
94 |
+
</form>
|
95 |
+
<script type="text/javascript">
|
96 |
+
//<![CDATA[
|
97 |
+
var payment = new paymentForm('multishipping-billing-form');
|
98 |
+
function toggleToolTip(event){
|
99 |
+
if($('payment-tool-tip')){
|
100 |
+
/*$('payment-tool-tip').setStyle({
|
101 |
+
top: (Event.pointerY(event)-510)+'px',
|
102 |
+
left: (Event.pointerX(event)-800)+'px'
|
103 |
+
})*/
|
104 |
+
$('payment-tool-tip').toggle();
|
105 |
+
}
|
106 |
+
Event.stop(event);
|
107 |
+
}
|
108 |
+
if($('payment-tool-tip-close')){
|
109 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
110 |
+
}
|
111 |
+
$$('.cvv-what-is-this').each(function(element){
|
112 |
+
Event.observe(element, 'click', toggleToolTip);
|
113 |
+
});
|
114 |
+
//]]>
|
115 |
+
</script>
|
116 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/multishipping/billing/items.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getQuote()->hasVirtualItems()): ?>
|
28 |
+
<div class="col2-set">
|
29 |
+
<h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
|
30 |
+
<div class="col-1 col-narrow"></div>
|
31 |
+
<div class="col-2 col-wide">
|
32 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
33 |
+
<table class="data-table" id="unavailable-shipping-table">
|
34 |
+
<col />
|
35 |
+
<col width="1" />
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
39 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
40 |
+
</tr>
|
41 |
+
</thead>
|
42 |
+
<tbody>
|
43 |
+
<?php foreach ($this->getVirtualQuoteItems() as $_item): ?>
|
44 |
+
<tr>
|
45 |
+
<td><?php echo $this->getItemHtml($_item) ?></td>
|
46 |
+
<td class="a-center"><?php echo $_item->getQty() ?></td>
|
47 |
+
</tr>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
</tbody>
|
50 |
+
</table>
|
51 |
+
<script type="text/javascript">decorateTable('unavailable-shipping-table')</script>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/multishipping/item/default.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a></h3>
|
28 |
+
<?php if ($_options = $this->getOptionList()):?>
|
29 |
+
<dl class="item-options">
|
30 |
+
<?php foreach ($_options as $_option) : ?>
|
31 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
32 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
33 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
34 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
35 |
+
<div class="truncated_full_value">
|
36 |
+
<dl class="item-options">
|
37 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
38 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
39 |
+
</dl>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
42 |
+
</dd>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</dl>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/multishipping/link.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
|
5 |
+
* Magento
|
6 |
+
|
7 |
+
*
|
8 |
+
|
9 |
+
* NOTICE OF LICENSE
|
10 |
+
|
11 |
+
*
|
12 |
+
|
13 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
14 |
+
|
15 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
16 |
+
|
17 |
+
* It is also available through the world-wide-web at this URL:
|
18 |
+
|
19 |
+
* http://opensource.org/licenses/afl-3.0.php
|
20 |
+
|
21 |
+
* If you did not receive a copy of the license and are unable to
|
22 |
+
|
23 |
+
* obtain it through the world-wide-web, please send an email
|
24 |
+
|
25 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
26 |
+
|
27 |
+
*
|
28 |
+
|
29 |
+
* DISCLAIMER
|
30 |
+
|
31 |
+
*
|
32 |
+
|
33 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
34 |
+
|
35 |
+
* versions in the future. If you wish to customize Magento for your
|
36 |
+
|
37 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
38 |
+
|
39 |
+
*
|
40 |
+
|
41 |
+
* @category design
|
42 |
+
|
43 |
+
* @package base_default
|
44 |
+
|
45 |
+
* @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
|
46 |
+
|
47 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
48 |
+
|
49 |
+
*/
|
50 |
+
|
51 |
+
?>
|
52 |
+
<br/>
|
53 |
+
<a class="btn btn-info" href="<?php echo $this->getCheckoutUrl()?>" title="<?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?>"><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></a>
|
54 |
+
|
app/design/frontend/fed/default/template/checkout/multishipping/overview.phtml
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
|
28 |
+
<div class="multiple-checkout">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
|
34 |
+
<div class="col2-set">
|
35 |
+
<h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
|
36 |
+
<div class="col-1">
|
37 |
+
<div class="box">
|
38 |
+
<?php $_address=$this->getBillingAddress() ?>
|
39 |
+
<div class="box-title">
|
40 |
+
<h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
41 |
+
</div>
|
42 |
+
<div class="box-content">
|
43 |
+
<address>
|
44 |
+
<?php echo $_address->format('html') ?>
|
45 |
+
</address>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<div class="col-2">
|
50 |
+
<div class="box">
|
51 |
+
<div class="box-title">
|
52 |
+
<h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
|
53 |
+
</div>
|
54 |
+
<div class="box-content">
|
55 |
+
<input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
|
56 |
+
<input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
|
57 |
+
<?php echo $this->getPaymentHtml() ?>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
63 |
+
<div class="col2-set">
|
64 |
+
<h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
|
65 |
+
<?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
|
66 |
+
<h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
|
67 |
+
<div class="col-1 col-narrow">
|
68 |
+
<div class="box">
|
69 |
+
<div class="box-title">
|
70 |
+
<h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
|
71 |
+
</div>
|
72 |
+
<div class="box-content">
|
73 |
+
<address>
|
74 |
+
<?php echo $_address->format('html') ?>
|
75 |
+
</address>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="box">
|
79 |
+
<div class="box-title">
|
80 |
+
<h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
|
81 |
+
</div>
|
82 |
+
<div class="box-content">
|
83 |
+
<?php if($_rate=$this->getShippingAddressRate($_address)): ?>
|
84 |
+
<p>
|
85 |
+
<?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
86 |
+
<?php $_excl = $this->getShippingPriceExclTax($_address); ?>
|
87 |
+
<?php $_incl = $this->getShippingPriceInclTax($_address); ?>
|
88 |
+
<?php echo $_excl; ?>
|
89 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
90 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
91 |
+
<?php endif; ?>
|
92 |
+
</p>
|
93 |
+
<?php endif; ?>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<div class="col-2 col-wide">
|
98 |
+
<h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
|
99 |
+
<table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
|
100 |
+
<col />
|
101 |
+
<col width="1" />
|
102 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
103 |
+
<col width="1" />
|
104 |
+
<?php endif; ?>
|
105 |
+
<col width="1" />
|
106 |
+
<col width="1" />
|
107 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
108 |
+
<col width="1" />
|
109 |
+
<?php endif; ?>
|
110 |
+
<thead>
|
111 |
+
<tr>
|
112 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
113 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
114 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
115 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
116 |
+
</tr>
|
117 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
118 |
+
<tr>
|
119 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
120 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
121 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
122 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
123 |
+
</tr>
|
124 |
+
<?php endif; ?>
|
125 |
+
</thead>
|
126 |
+
<tfoot>
|
127 |
+
<?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
|
128 |
+
</tfoot>
|
129 |
+
<tbody>
|
130 |
+
<?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
|
131 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
</tbody>
|
134 |
+
</table>
|
135 |
+
<script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
|
136 |
+
</div>
|
137 |
+
<?php if($this->getShippingAddressCount()!=$_index+1): ?>
|
138 |
+
<div class="divider"></div>
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
</div>
|
142 |
+
<?php if ($this->getQuote()->hasVirtualItems()): ?>
|
143 |
+
<div class="col2-set">
|
144 |
+
<h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
|
145 |
+
<div class="col-1 col-narrow"></div>
|
146 |
+
<div class="col-2 col-wide">
|
147 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
148 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
149 |
+
<table class="data-table" id="virtual-overview-table">
|
150 |
+
<col />
|
151 |
+
<col width="1" />
|
152 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
153 |
+
<col width="1" />
|
154 |
+
<?php endif; ?>
|
155 |
+
<col width="1" />
|
156 |
+
<col width="1" />
|
157 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
158 |
+
<col width="70" />
|
159 |
+
<?php endif; ?>
|
160 |
+
<thead>
|
161 |
+
<tr>
|
162 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
163 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
164 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
165 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
166 |
+
</tr>
|
167 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
168 |
+
<tr>
|
169 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
170 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
171 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
172 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
173 |
+
</tr>
|
174 |
+
<?php endif; ?>
|
175 |
+
</thead>
|
176 |
+
<tfoot>
|
177 |
+
<?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
|
178 |
+
</tfoot>
|
179 |
+
<tbody>
|
180 |
+
<?php foreach ($this->getVirtualItems() as $_item): ?>
|
181 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
182 |
+
<?php endforeach; ?>
|
183 |
+
</tbody>
|
184 |
+
</table>
|
185 |
+
<script type="text/javascript">decorateTable('virtual-overview-table')</script>
|
186 |
+
</div>
|
187 |
+
</div>
|
188 |
+
<?php endif; ?>
|
189 |
+
|
190 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
191 |
+
|
192 |
+
<div id="checkout-review-submit">
|
193 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
194 |
+
<div class="place-order">
|
195 |
+
<div class="grand-total">
|
196 |
+
<div class="inner">
|
197 |
+
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
198 |
+
<div id="review-buttons-container">
|
199 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
204 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
205 |
+
</span>
|
206 |
+
</div>
|
207 |
+
</div>
|
208 |
+
<div class="buttons-set">
|
209 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
210 |
+
</div>
|
211 |
+
</form>
|
212 |
+
<script type="text/javascript">
|
213 |
+
//<![CDATA[
|
214 |
+
var submitted = false;
|
215 |
+
|
216 |
+
function showLoader()
|
217 |
+
{
|
218 |
+
if (submitted) {
|
219 |
+
return false;
|
220 |
+
}
|
221 |
+
if ($('checkout-agreements')) {
|
222 |
+
var checkboxes = $$('#checkout-agreements input');
|
223 |
+
for (var i=0, l=checkboxes.length; i<l; i++) {
|
224 |
+
if (!checkboxes[i].checked) {
|
225 |
+
alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
|
226 |
+
return false;
|
227 |
+
}
|
228 |
+
}
|
229 |
+
}
|
230 |
+
|
231 |
+
submitted = true;
|
232 |
+
var step='review';
|
233 |
+
Element.show(step+'-please-wait');
|
234 |
+
$(step+'-buttons-container').setStyle({opacity:.5});
|
235 |
+
$(step+'-buttons-container').descendants().each(function(s) {
|
236 |
+
s.disabled = true;
|
237 |
+
});
|
238 |
+
return true;
|
239 |
+
}
|
240 |
+
//]]>
|
241 |
+
</script>
|
242 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/multishipping/overview/item.phtml
ADDED
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Quote Item row html
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Item_Renderer
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_item = $this->getItem() ?>
|
35 |
+
<tr>
|
36 |
+
<td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
|
37 |
+
|
38 |
+
<!--- Excluding Tax -->
|
39 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
40 |
+
<td class="a-right">
|
41 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
42 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="cart-price">
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
48 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
49 |
+
<?php else: ?>
|
50 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
51 |
+
<?php endif; ?>
|
52 |
+
|
53 |
+
</div>
|
54 |
+
|
55 |
+
|
56 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
57 |
+
|
58 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
59 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
60 |
+
<small>
|
61 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
62 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
63 |
+
<?php endforeach; ?>
|
64 |
+
</small>
|
65 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
66 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
67 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
68 |
+
<?php endforeach; ?>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
70 |
+
<small>
|
71 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
72 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
73 |
+
<?php endforeach; ?>
|
74 |
+
</small>
|
75 |
+
<?php endif; ?>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
80 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
81 |
+
</div>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
+
</td>
|
85 |
+
<?php endif; ?>
|
86 |
+
<!--- // Excluding Tax -->
|
87 |
+
|
88 |
+
<!--- Including Tax -->
|
89 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
90 |
+
<td>
|
91 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
92 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
93 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
94 |
+
<?php else: ?>
|
95 |
+
<div class="cart-price">
|
96 |
+
<?php endif; ?>
|
97 |
+
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
100 |
+
<?php else: ?>
|
101 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
|
104 |
+
</div>
|
105 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
106 |
+
|
107 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
109 |
+
<small>
|
110 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
111 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
112 |
+
<?php endforeach; ?>
|
113 |
+
</small>
|
114 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
116 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
117 |
+
<?php endforeach; ?>
|
118 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<small>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
121 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
122 |
+
<?php endforeach; ?>
|
123 |
+
</small>
|
124 |
+
<?php endif; ?>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
128 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
129 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
130 |
+
</div>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php endif; ?>
|
133 |
+
|
134 |
+
</td>
|
135 |
+
<?php endif; ?>
|
136 |
+
<!--- // Including Tax -->
|
137 |
+
|
138 |
+
<td class="a-center"><?php echo $_item->getQty()*1 ?></td>
|
139 |
+
|
140 |
+
<!--- Excluding Tax Subtotal -->
|
141 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
142 |
+
<td class="a-right">
|
143 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
144 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
145 |
+
<?php else: ?>
|
146 |
+
<div class="cart-price">
|
147 |
+
<?php endif; ?>
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
151 |
+
<?php else: ?>
|
152 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
|
155 |
+
</div>
|
156 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
157 |
+
|
158 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
159 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<small>
|
161 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
162 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
163 |
+
<?php endforeach; ?>
|
164 |
+
</small>
|
165 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
167 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
168 |
+
<?php endforeach; ?>
|
169 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<small>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
172 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
173 |
+
<?php endforeach; ?>
|
174 |
+
</small>
|
175 |
+
<?php endif; ?>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
179 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
180 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
181 |
+
</div>
|
182 |
+
<?php endif; ?>
|
183 |
+
<?php endif; ?>
|
184 |
+
</td>
|
185 |
+
<?php endif; ?>
|
186 |
+
<!--- //Excluding Tax Subtotal -->
|
187 |
+
|
188 |
+
<!--- Including Tax Subtotal -->
|
189 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
190 |
+
<td>
|
191 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
192 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
193 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
194 |
+
<?php else: ?>
|
195 |
+
<div class="cart-price">
|
196 |
+
<?php endif; ?>
|
197 |
+
|
198 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
199 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
200 |
+
<?php else: ?>
|
201 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
202 |
+
<?php endif; ?>
|
203 |
+
|
204 |
+
</div>
|
205 |
+
|
206 |
+
|
207 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
208 |
+
|
209 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
210 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
211 |
+
<small>
|
212 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
213 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
214 |
+
<?php endforeach; ?>
|
215 |
+
</small>
|
216 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
217 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
218 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
219 |
+
<?php endforeach; ?>
|
220 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
<small>
|
222 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
223 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
224 |
+
<?php endforeach; ?>
|
225 |
+
</small>
|
226 |
+
<?php endif; ?>
|
227 |
+
</div>
|
228 |
+
|
229 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
231 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
232 |
+
</div>
|
233 |
+
<?php endif; ?>
|
234 |
+
<?php endif; ?>
|
235 |
+
</td>
|
236 |
+
<?php endif; ?>
|
237 |
+
<!--- //Including Tax Subtotal -->
|
238 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/multishipping/shipping.phtml
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Multishipping checkout shipping template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_Shipping
|
32 |
+
* @var $this Mage_Checkout_Block_Multishipping_Shipping
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<div class="multiple-checkout">
|
36 |
+
<div class="page-title">
|
37 |
+
<h1><?php echo $this->__('Select Shipping Method') ?></h1>
|
38 |
+
</div>
|
39 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
|
41 |
+
<?php foreach ($this->getAddresses() as $_index => $_address): ?>
|
42 |
+
<div class="col2-set">
|
43 |
+
<h2 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h2>
|
44 |
+
<div class="col-1 col-narrow">
|
45 |
+
<div class="box">
|
46 |
+
<div class="box-title">
|
47 |
+
<h3><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
48 |
+
</div>
|
49 |
+
<div class="box-content">
|
50 |
+
<address><?php echo $_address->format('html') ?></address>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<div class="box box-sp-methods">
|
54 |
+
<div class="pointer"></div>
|
55 |
+
<div class="box-title">
|
56 |
+
<h3><?php echo $this->__('Shipping Method') ?></h3>
|
57 |
+
</div>
|
58 |
+
<div class="box-content">
|
59 |
+
<?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
|
60 |
+
<p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
|
61 |
+
<?php else: ?>
|
62 |
+
<dl class="sp-methods">
|
63 |
+
<?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
64 |
+
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
65 |
+
<dd>
|
66 |
+
<ul>
|
67 |
+
<?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
|
68 |
+
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"' ?>>
|
69 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
70 |
+
<?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?>: <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
|
71 |
+
<?php else: ?>
|
72 |
+
<?php if ($_sole) : ?>
|
73 |
+
<span class="no-display"><input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>" checked="checked"/></span>
|
74 |
+
<?php else: ?>
|
75 |
+
<input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> class="radio" />
|
76 |
+
<?php endif; ?>
|
77 |
+
<label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
78 |
+
<?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
79 |
+
<?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
|
80 |
+
<?php echo $_excl; ?>
|
81 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
82 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
83 |
+
<?php endif; ?>
|
84 |
+
</label>
|
85 |
+
<?php endif ?>
|
86 |
+
</li>
|
87 |
+
<?php endforeach; ?>
|
88 |
+
</ul>
|
89 |
+
</dd>
|
90 |
+
<?php endforeach; ?>
|
91 |
+
</dl>
|
92 |
+
<?php endif; ?>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
<div class="col-2 col-wide">
|
97 |
+
<?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
|
98 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
99 |
+
<table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
|
100 |
+
<col />
|
101 |
+
<col width="1" />
|
102 |
+
<thead>
|
103 |
+
<tr>
|
104 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
105 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
106 |
+
</tr>
|
107 |
+
</thead>
|
108 |
+
<tbody>
|
109 |
+
<?php foreach ($this->getAddressItems($_address) as $_item): ?>
|
110 |
+
<tr>
|
111 |
+
<td>
|
112 |
+
<?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
|
113 |
+
</td>
|
114 |
+
<td class="a-center"><?php echo $_item->getQty() ?></td>
|
115 |
+
</tr>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</tbody>
|
118 |
+
</table>
|
119 |
+
<script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
|
120 |
+
<?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
<?php endforeach; ?>
|
124 |
+
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
125 |
+
<div class="buttons-set">
|
126 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
|
127 |
+
<button type="submit" title="<?php echo $this->__('Continue to Billing Information') ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
|
128 |
+
</div>
|
129 |
+
</form>
|
130 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/multishipping/state.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Mustishipping state
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_State
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<ul class="checkout-progress" id="checkout-progress-state">
|
35 |
+
<?php foreach ($this->getSteps() as $_step): ?>
|
36 |
+
<li title="<?php echo $_step->getLabel() ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><span><?php echo $_step->getLabel() ?></span></li>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</ul>
|
39 |
+
<script type="text/javascript">decorateGeneric($$('#checkout-progress-state li'), ['first','last']);</script>
|
app/design/frontend/fed/default/template/checkout/multishipping/success.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="multiple-checkout">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Order Success') ?></h1>
|
30 |
+
</div>
|
31 |
+
<h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
|
32 |
+
<p><?php echo $this->__('We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.') ?></p>
|
33 |
+
<?php if($_orderIds = $this->getOrderIds()): ?>
|
34 |
+
<p>
|
35 |
+
<?php $flag = false ?>
|
36 |
+
<?php echo $this->__('Your order number is ') ?>
|
37 |
+
<?php foreach ($_orderIds as $orderId=>$incrementId): ?>
|
38 |
+
<?php if ($flag): ?>
|
39 |
+
<?php echo ', ' ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php $flag = true ?>
|
42 |
+
<a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</p>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->getChildHtml() ?>
|
47 |
+
<div class="buttons-set">
|
48 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
49 |
+
</div>
|
50 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/agreements.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 Mage_Checkout_Block_Agreements
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<?php if (!$this->getAgreements()) return; ?>
|
34 |
+
<form action="" id="checkout-agreements" onsubmit="return false;">
|
35 |
+
<ol class="checkout-agreements">
|
36 |
+
<?php foreach ($this->getAgreements() as $_a): ?>
|
37 |
+
<li>
|
38 |
+
<div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
|
39 |
+
<?php if ($_a->getIsHtml()):?>
|
40 |
+
<?php echo $_a->getContent() ?>
|
41 |
+
<?php else:?>
|
42 |
+
<?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
</div>
|
45 |
+
<p class="agree">
|
46 |
+
<input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->escapeHtml($_a->getCheckboxText()) ?></label>
|
47 |
+
</p>
|
48 |
+
</li>
|
49 |
+
<?php endforeach ?>
|
50 |
+
</ol>
|
51 |
+
</form>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/billing.phtml
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<form id="co-billing-form" action="">
|
28 |
+
<fieldset>
|
29 |
+
<ul class="form-list">
|
30 |
+
<?php if ($this->customerHasAddresses()): ?>
|
31 |
+
<li class="wide">
|
32 |
+
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
|
33 |
+
<div class="input-box">
|
34 |
+
<?php echo $this->getAddressesHtmlSelect('billing') ?>
|
35 |
+
</div>
|
36 |
+
</li>
|
37 |
+
<?php endif; ?>
|
38 |
+
<li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
|
39 |
+
<fieldset>
|
40 |
+
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
41 |
+
<ul>
|
42 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
|
43 |
+
<li class="fields">
|
44 |
+
<div class="field">
|
45 |
+
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
51 |
+
<div class="field">
|
52 |
+
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
<?php endif; ?>
|
58 |
+
</li>
|
59 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
60 |
+
<li class="wide">
|
61 |
+
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
67 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
68 |
+
<li class="wide">
|
69 |
+
<div class="input-box">
|
70 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
71 |
+
</div>
|
72 |
+
</li>
|
73 |
+
<?php endfor; ?>
|
74 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
75 |
+
<li class="wide">
|
76 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
77 |
+
<div class="input-box">
|
78 |
+
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
79 |
+
</div>
|
80 |
+
</li>
|
81 |
+
<?php endif; ?>
|
82 |
+
<li class="fields">
|
83 |
+
<div class="field">
|
84 |
+
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
85 |
+
<div class="input-box">
|
86 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
<div class="field">
|
90 |
+
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
93 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
94 |
+
</select>
|
95 |
+
<script type="text/javascript">
|
96 |
+
//<![CDATA[
|
97 |
+
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
98 |
+
//]]>
|
99 |
+
</script>
|
100 |
+
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</li>
|
104 |
+
<li class="fields">
|
105 |
+
<div class="field">
|
106 |
+
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
107 |
+
<div class="input-box">
|
108 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<div class="field">
|
112 |
+
<label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
113 |
+
<div class="input-box">
|
114 |
+
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
</li>
|
118 |
+
<li class="fields">
|
119 |
+
<div class="field">
|
120 |
+
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
121 |
+
<div class="input-box">
|
122 |
+
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
<div class="field">
|
126 |
+
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
127 |
+
<div class="input-box">
|
128 |
+
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
</li>
|
132 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
133 |
+
|
134 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
135 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
136 |
+
<?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
|
137 |
+
<li class="fields">
|
138 |
+
<?php if ($_dob->isEnabled()): ?>
|
139 |
+
<div class="field">
|
140 |
+
<?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
141 |
+
</div>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php if ($_gender->isEnabled()): ?>
|
144 |
+
<div class="field">
|
145 |
+
<?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
146 |
+
</div>
|
147 |
+
<?php endif ?>
|
148 |
+
</li>
|
149 |
+
<?php endif ?>
|
150 |
+
|
151 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
152 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
153 |
+
<li>
|
154 |
+
<?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
155 |
+
</li>
|
156 |
+
<?php endif ?>
|
157 |
+
|
158 |
+
<li class="fields" id="register-customer-password">
|
159 |
+
<div class="field">
|
160 |
+
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
161 |
+
<div class="input-box">
|
162 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
+
<div class="field">
|
166 |
+
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
167 |
+
<div class="input-box">
|
168 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</li>
|
172 |
+
<?php endif; ?>
|
173 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
174 |
+
<li class="control">
|
175 |
+
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
176 |
+
</li>
|
177 |
+
<?php else:?>
|
178 |
+
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
179 |
+
<?php endif; ?>
|
180 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
181 |
+
</ul>
|
182 |
+
</fieldset>
|
183 |
+
</li>
|
184 |
+
<?php /* Extensions placeholder */ ?>
|
185 |
+
<?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
|
186 |
+
<?php if ($this->canShip()): ?>
|
187 |
+
<li class="control">
|
188 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
189 |
+
<li class="control">
|
190 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
191 |
+
</li>
|
192 |
+
<?php endif; ?>
|
193 |
+
</ul>
|
194 |
+
<?php if (!$this->canShip()): ?>
|
195 |
+
<input type="hidden" name="billing[use_for_shipping]" value="1" />
|
196 |
+
<?php endif; ?>
|
197 |
+
<div class="buttons-set" id="billing-buttons-container">
|
198 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
199 |
+
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
200 |
+
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
201 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
202 |
+
</span>
|
203 |
+
</div>
|
204 |
+
</fieldset>
|
205 |
+
</form>
|
206 |
+
<script type="text/javascript">
|
207 |
+
//<![CDATA[
|
208 |
+
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
209 |
+
var billingForm = new VarienForm('co-billing-form');
|
210 |
+
|
211 |
+
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
212 |
+
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
213 |
+
|
214 |
+
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
|
215 |
+
//]]>
|
216 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/failure.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('An error occurred in the process of payment') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
|
31 |
+
<?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
|
32 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/link.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->isPossibleOnepageCheckout()):?>
|
28 |
+
<button type="button" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
|
29 |
+
<?php endif?>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/login.phtml
ADDED
File without changes
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/payment.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<script type="text/javascript">
|
28 |
+
//<![CDATA[
|
29 |
+
var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
|
30 |
+
var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
31 |
+
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
|
32 |
+
var lastPrice;
|
33 |
+
//]]>
|
34 |
+
</script>
|
35 |
+
<form action="" id="co-payment-form">
|
36 |
+
<fieldset>
|
37 |
+
<?php echo $this->getChildHtml('methods') ?>
|
38 |
+
</fieldset>
|
39 |
+
</form>
|
40 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
41 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
42 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
43 |
+
</div>
|
44 |
+
<div class="buttons-set" id="payment-buttons-container">
|
45 |
+
<p class="required x-small"><?php echo $this->__('* Required Fields') ?></p>
|
46 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
47 |
+
<button type="button" class="button btn btn-danger" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
48 |
+
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
49 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
50 |
+
</span>
|
51 |
+
</div>
|
52 |
+
<script type="text/javascript">
|
53 |
+
//<![CDATA[
|
54 |
+
function toggleToolTip(event){
|
55 |
+
if($('payment-tool-tip')){
|
56 |
+
$('payment-tool-tip').setStyle({
|
57 |
+
top: (Event.pointerY(event)-560)+'px'//,
|
58 |
+
//left: (Event.pointerX(event)+100)+'px'
|
59 |
+
})
|
60 |
+
$('payment-tool-tip').toggle();
|
61 |
+
}
|
62 |
+
Event.stop(event);
|
63 |
+
}
|
64 |
+
if($('payment-tool-tip-close')){
|
65 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
66 |
+
}
|
67 |
+
//]]>
|
68 |
+
</script>
|
69 |
+
<script type="text/javascript">
|
70 |
+
//<![CDATA[
|
71 |
+
payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
|
72 |
+
//]]>
|
73 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/payment/info.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<dl class="sp-methods" id="checkout-payment-method-load">
|
28 |
+
<!-- Content dynamically loaded. Content from the methods.phtml is loaded during the ajax call -->
|
29 |
+
</dl>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/payment/methods.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
* One page checkout payment methods
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Onepage_Payment_Methods
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<dl class="sp-methods" id="checkout-payment-method-load">
|
35 |
+
<?php
|
36 |
+
$methods = $this->getMethods();
|
37 |
+
$oneMethod = count($methods) <= 1;
|
38 |
+
?>
|
39 |
+
<?php
|
40 |
+
foreach ($methods as $_method):
|
41 |
+
$_code = $_method->getCode();
|
42 |
+
?>
|
43 |
+
<dt class="medium">
|
44 |
+
<?php if(!$oneMethod): ?>
|
45 |
+
<label class="radio">
|
46 |
+
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> />
|
47 |
+
|
48 |
+
<?php else: ?>
|
49 |
+
|
50 |
+
<span class="no-display">
|
51 |
+
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" /></span>
|
52 |
+
<?php $oneMethod = $_code; ?>
|
53 |
+
</label>
|
54 |
+
<?php endif; ?>
|
55 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
56 |
+
</dt>
|
57 |
+
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
58 |
+
<dd>
|
59 |
+
<?php echo $html; ?>
|
60 |
+
</dd>
|
61 |
+
<?php endif; ?>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
</dl>
|
64 |
+
<?php echo $this->getChildChildHtml('additional'); ?>
|
65 |
+
<script type="text/javascript">
|
66 |
+
//<![CDATA[
|
67 |
+
<?php echo $this->getChildChildHtml('scripts'); ?>
|
68 |
+
payment.init();
|
69 |
+
<?php if (is_string($oneMethod)): ?>
|
70 |
+
payment.switchMethod('<?php echo $oneMethod ?>');
|
71 |
+
<?php endif; ?>
|
72 |
+
//]]>
|
73 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/progress.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="block block-progress opc-block-progress">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<dl>
|
33 |
+
<?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
|
34 |
+
<div id="billing-progress-opcheckout">
|
35 |
+
<?php echo $this->getChildHtml('billing.progress') ?>
|
36 |
+
</div>
|
37 |
+
<?php endif; ?>
|
38 |
+
|
39 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
|
40 |
+
<div id="shipping-progress-opcheckout">
|
41 |
+
<?php echo $this->getChildHtml('shipping.progress') ?>
|
42 |
+
</div>
|
43 |
+
<?php endif; ?>
|
44 |
+
|
45 |
+
<?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
|
46 |
+
<div id="shipping_method-progress-opcheckout">
|
47 |
+
<?php echo $this->getChildHtml('shippingmethod.progress') ?>
|
48 |
+
</div>
|
49 |
+
<?php endif; ?>
|
50 |
+
|
51 |
+
<?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
|
52 |
+
<div id="payment-progress-opcheckout">
|
53 |
+
<?php echo $this->getChildHtml('payment.progress') ?>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
56 |
+
</dl>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/billing.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('billing', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Billing Address') ?><span class="changelink"> <span class="separator">|</span> <a
|
30 |
+
href="#billing"
|
31 |
+
onclick="checkout.changeSection('opc-billing'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<address><?php echo $this->getBilling()->format('html') ?></address>
|
35 |
+
</dd>
|
36 |
+
<?php else: ?>
|
37 |
+
<dt>
|
38 |
+
<?php echo $this->__('Billing Address') ?>
|
39 |
+
</dt>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/payment.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('payment', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Payment Method') ?><span class="changelink"> <span class="separator">|</span> <a
|
30 |
+
href="#payment"
|
31 |
+
onclick="checkout.changeSection('opc-payment'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<?php echo $this->getPaymentHtml() ?>
|
35 |
+
</dd>
|
36 |
+
<?php else: ?>
|
37 |
+
<dt>
|
38 |
+
<?php echo $this->__('Payment Method') ?>
|
39 |
+
</dt>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/shipping.phtml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
|
28 |
+
<?php $completeClass = $this->getCheckout()->getStepData('shipping', 'complete') ? 'complete' : ''; ?>
|
29 |
+
<dt class="<?php echo $completeClass ?>">
|
30 |
+
<?php echo $this->__('Shipping Address') ?> <span class="changelink"><span class="separator">|</span> <a
|
31 |
+
href="#payment"
|
32 |
+
onclick="checkout.changeSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a></span>
|
33 |
+
</dt>
|
34 |
+
<dd class="<?php echo $completeClass ?>">
|
35 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
|
36 |
+
<address><?php echo $this->getShipping()->format('html') ?></address>
|
37 |
+
<?php endif; ?>
|
38 |
+
</dd>
|
39 |
+
<?php else: ?>
|
40 |
+
<dt>
|
41 |
+
<?php echo $this->__('Shipping Address') ?>
|
42 |
+
</dt>
|
43 |
+
<?php endif; ?>
|
44 |
+
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/progress/shipping_method.phtml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Shipping Method') ?> <span class="changelink"><span class="separator">|</span> <a
|
30 |
+
href="#shipping_method"
|
31 |
+
onclick="checkout.changeSection('opc-shipping_method'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<?php if ($this->getShippingMethod()): ?>
|
35 |
+
<?php echo $this->getShippingDescription() ?>
|
36 |
+
|
37 |
+
<?php $_excl = $this->getShippingPriceExclTax(); ?>
|
38 |
+
<?php $_incl = $this->getShippingPriceInclTax(); ?>
|
39 |
+
<?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
|
40 |
+
<?php echo $_incl; ?>
|
41 |
+
<?php else: ?>
|
42 |
+
<?php echo $_excl; ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
45 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
+
<?php else: ?>
|
49 |
+
<?php echo $this->__('Shipping method has not been selected yet') ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</dd>
|
52 |
+
<?php else: ?>
|
53 |
+
<dt>
|
54 |
+
<?php echo $this->__('Shipping Method') ?>
|
55 |
+
</dt>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/review.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="order-review" id="checkout-review-load">
|
28 |
+
<!-- Content loaded dynamically -->
|
29 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/review/button.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/review/info.phtml
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 echo $this->getChildHtml('items_before'); ?>
|
28 |
+
<div id="checkout-review-table-wrapper">
|
29 |
+
<table class="data-table" id="checkout-review-table">
|
30 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
+
<col />
|
32 |
+
<col width="1" />
|
33 |
+
<col width="1" />
|
34 |
+
<col width="1" />
|
35 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<?php endif; ?>
|
39 |
+
<thead>
|
40 |
+
<tr>
|
41 |
+
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
|
42 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
43 |
+
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
44 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
45 |
+
</tr>
|
46 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<tr>
|
48 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
49 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
50 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
+
</tr>
|
53 |
+
<?php endif; ?>
|
54 |
+
</thead>
|
55 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
56 |
+
<tbody>
|
57 |
+
<?php foreach($this->getItems() as $_item): ?>
|
58 |
+
<?php echo $this->getItemHtml($_item)?>
|
59 |
+
<?php endforeach ?>
|
60 |
+
</tbody>
|
61 |
+
</table>
|
62 |
+
</div>
|
63 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
64 |
+
<script type="text/javascript">
|
65 |
+
//<![CDATA[
|
66 |
+
decorateTable('checkout-review-table');
|
67 |
+
truncateOptions();
|
68 |
+
//]]>
|
69 |
+
</script>
|
70 |
+
<div id="checkout-review-submit">
|
71 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
72 |
+
<div class="buttons-set" id="review-buttons-container">
|
73 |
+
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
74 |
+
<?php echo $this->getChildHtml('button') ?>
|
75 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
76 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
77 |
+
</span>
|
78 |
+
</div>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/review/item.phtml
ADDED
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 $_item = $this->getItem()?>
|
28 |
+
<tr>
|
29 |
+
<td>
|
30 |
+
<h3 class="product-name small"><?php echo $this->htmlEscape($this->getProductName()) ?></h3>
|
31 |
+
<?php if ($_options = $this->getOptionList()):?>
|
32 |
+
<dl class="item-options">
|
33 |
+
<?php foreach ($_options as $_option) : ?>
|
34 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
35 |
+
<dt class="small"><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
36 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
37 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
38 |
+
<div class="truncated_full_value">
|
39 |
+
<dl class="item-options">
|
40 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
41 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
42 |
+
</dl>
|
43 |
+
</div>
|
44 |
+
<?php endif; ?>
|
45 |
+
</dd>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</dl>
|
48 |
+
<?php endif;?>
|
49 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
50 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
51 |
+
<?php endif;?>
|
52 |
+
</td>
|
53 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
54 |
+
<td class="a-right">
|
55 |
+
<span class="cartlabel">Price :</span>
|
56 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
57 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
58 |
+
<?php else: ?>
|
59 |
+
<span class="cart-price">
|
60 |
+
<?php endif; ?>
|
61 |
+
|
62 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
63 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
64 |
+
<?php else: ?>
|
65 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
66 |
+
<?php endif; ?>
|
67 |
+
|
68 |
+
</span>
|
69 |
+
|
70 |
+
|
71 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
72 |
+
|
73 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
74 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
75 |
+
<small>
|
76 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
77 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
78 |
+
<?php endforeach; ?>
|
79 |
+
</small>
|
80 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
81 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
82 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
83 |
+
<?php endforeach; ?>
|
84 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
85 |
+
<small>
|
86 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
87 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
88 |
+
<?php endforeach; ?>
|
89 |
+
</small>
|
90 |
+
<?php endif; ?>
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
94 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
95 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
96 |
+
</div>
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php endif; ?>
|
99 |
+
</td>
|
100 |
+
<?php endif; ?>
|
101 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
102 |
+
<td>
|
103 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
104 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
105 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
106 |
+
<?php else: ?>
|
107 |
+
<span class="cart-price">
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
111 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
112 |
+
<?php else: ?>
|
113 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
114 |
+
<?php endif; ?>
|
115 |
+
|
116 |
+
</span>
|
117 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
118 |
+
|
119 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
120 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
121 |
+
<small>
|
122 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
123 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
124 |
+
<?php endforeach; ?>
|
125 |
+
</small>
|
126 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
127 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
128 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
129 |
+
<?php endforeach; ?>
|
130 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
<small>
|
132 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
133 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
134 |
+
<?php endforeach; ?>
|
135 |
+
</small>
|
136 |
+
<?php endif; ?>
|
137 |
+
</div>
|
138 |
+
|
139 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
140 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
141 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
142 |
+
</div>
|
143 |
+
<?php endif; ?>
|
144 |
+
<?php endif; ?>
|
145 |
+
</td>
|
146 |
+
<?php endif; ?>
|
147 |
+
<td class="a-center">
|
148 |
+
<span class="cartlabel">Quantity :</span>
|
149 |
+
<?php echo $_item->getQty() ?></td>
|
150 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
151 |
+
<td class="a-right">
|
152 |
+
<span class="cartlabel">Subtotal :</span>
|
153 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
154 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
155 |
+
<?php else: ?>
|
156 |
+
<span class="cart-price">
|
157 |
+
<?php endif; ?>
|
158 |
+
|
159 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
161 |
+
<?php else: ?>
|
162 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
163 |
+
<?php endif; ?>
|
164 |
+
|
165 |
+
</span>
|
166 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
167 |
+
|
168 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
169 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<small>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
172 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
173 |
+
<?php endforeach; ?>
|
174 |
+
</small>
|
175 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
176 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
177 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
178 |
+
<?php endforeach; ?>
|
179 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
180 |
+
<small>
|
181 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
182 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
183 |
+
<?php endforeach; ?>
|
184 |
+
</small>
|
185 |
+
<?php endif; ?>
|
186 |
+
</div>
|
187 |
+
|
188 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
189 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
190 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
191 |
+
</div>
|
192 |
+
<?php endif; ?>
|
193 |
+
<?php endif; ?>
|
194 |
+
</td>
|
195 |
+
<?php endif; ?>
|
196 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
197 |
+
<td>
|
198 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
199 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
201 |
+
<?php else: ?>
|
202 |
+
<span class="cart-price">
|
203 |
+
<?php endif; ?>
|
204 |
+
|
205 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
207 |
+
<?php else: ?>
|
208 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
209 |
+
<?php endif; ?>
|
210 |
+
|
211 |
+
</span>
|
212 |
+
|
213 |
+
|
214 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
215 |
+
|
216 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
217 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
218 |
+
<small>
|
219 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
220 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
221 |
+
<?php endforeach; ?>
|
222 |
+
</small>
|
223 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
224 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
225 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
226 |
+
<?php endforeach; ?>
|
227 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
228 |
+
<small>
|
229 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
230 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
231 |
+
<?php endforeach; ?>
|
232 |
+
</small>
|
233 |
+
<?php endif; ?>
|
234 |
+
</div>
|
235 |
+
|
236 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
237 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
238 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
239 |
+
</div>
|
240 |
+
<?php endif; ?>
|
241 |
+
<?php endif; ?>
|
242 |
+
</td>
|
243 |
+
<?php endif; ?>
|
244 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/review/totals.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
/**
|
28 |
+
* @see Mage_Checkout_Block_Cart_Totals
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if ($this->getTotals()): ?>
|
32 |
+
<tfoot>
|
33 |
+
<?php $_colspan = $this->helper('tax')->displayCartBothPrices() ? 5 : 3; ?>
|
34 |
+
<?php echo $this->renderTotals(null, $_colspan); ?>
|
35 |
+
<?php echo $this->renderTotals('footer', $_colspan); ?>
|
36 |
+
<?php if ($this->needDisplayBaseGrandtotal()):?>
|
37 |
+
<tr>
|
38 |
+
<td class="a-right" colspan="<?php echo $_colspan; ?>">
|
39 |
+
<small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
|
40 |
+
</td>
|
41 |
+
<td class="a-right">
|
42 |
+
<small><?php echo $this->displayBaseGrandtotal() ?></small>
|
43 |
+
</td>
|
44 |
+
</tr>
|
45 |
+
<?php endif?>
|
46 |
+
</tfoot>
|
47 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping.phtml
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<form action="" id="co-shipping-form">
|
28 |
+
<ul class="form-list list-unstyled">
|
29 |
+
<?php if ($this->customerHasAddresses()): ?>
|
30 |
+
<li class="wide">
|
31 |
+
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
32 |
+
<div class="input-box">
|
33 |
+
<?php echo $this->getAddressesHtmlSelect('shipping') ?>
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
<?php endif ?>
|
37 |
+
<li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
|
38 |
+
<fieldset>
|
39 |
+
<input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
|
40 |
+
<ul class="list-unstyled">
|
41 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
|
42 |
+
<li class="fields">
|
43 |
+
<div class="fields">
|
44 |
+
<label for="shipping:company"> <?php echo $this->__('Company') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
51 |
+
<li class="wide">
|
52 |
+
<label for="shipping:street1" class="required"><em>*</em> <?php echo $this->__('Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="form-control input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
58 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
59 |
+
<li class="wide">
|
60 |
+
<div class="input-box">
|
61 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="form-control input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
62 |
+
</div>
|
63 |
+
</li>
|
64 |
+
<?php endfor; ?>
|
65 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
66 |
+
<li class="wide">
|
67 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
|
68 |
+
<div class="input-box">
|
69 |
+
<input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
70 |
+
</div>
|
71 |
+
</li>
|
72 |
+
<?php endif; ?>
|
73 |
+
<li class="fields">
|
74 |
+
<div class="field">
|
75 |
+
<label for="shipping:city" class="required"><em>*</em> <?php echo $this->__('City') ?></label>
|
76 |
+
<div class="input-box">
|
77 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<div class="field">
|
81 |
+
<label for="shipping:region" class="required"><em>*</em> <?php echo $this->__('State/Province') ?></label>
|
82 |
+
<div class="input-box">
|
83 |
+
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
84 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
85 |
+
</select>
|
86 |
+
<script type="text/javascript">
|
87 |
+
//<![CDATA[
|
88 |
+
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
89 |
+
//]]>
|
90 |
+
</script>
|
91 |
+
<input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</li>
|
95 |
+
<li class="fields">
|
96 |
+
<div class="field">
|
97 |
+
<label for="shipping:postcode" class="required"><em>*</em> <?php echo $this->__('Zip/Postal Code') ?></label>
|
98 |
+
<div class="input-box">
|
99 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="form-control input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
<div class="field">
|
103 |
+
<label for="shipping:country_id" class="required"><em>*</em> <?php echo $this->__('Country') ?></label>
|
104 |
+
<div class="input-box">
|
105 |
+
<?php echo $this->getCountryHtmlSelect('shipping') ?>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</li>
|
109 |
+
<li class="fields">
|
110 |
+
<div class="field">
|
111 |
+
<label for="shipping:telephone" class="required"><em>*</em> <?php echo $this->__('Telephone') ?></label>
|
112 |
+
<div class="input-box">
|
113 |
+
<input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
<div class="field">
|
117 |
+
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
118 |
+
<div class="input-box">
|
119 |
+
<input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
</li>
|
123 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
124 |
+
<li class="control">
|
125 |
+
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
|
126 |
+
<?php else:?>
|
127 |
+
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
128 |
+
<?php endif;?>
|
129 |
+
</ul>
|
130 |
+
</fieldset>
|
131 |
+
</li>
|
132 |
+
<li class="control">
|
133 |
+
<label for="shipping:same_as_billing" class="checkbox">
|
134 |
+
<input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><?php echo $this->__('Use Billing Address') ?></label>
|
135 |
+
</li>
|
136 |
+
</ul>
|
137 |
+
<div class="buttons-set" id="shipping-buttons-container">
|
138 |
+
<p class="required x-small"><?php echo $this->__('* Required Fields') ?></p>
|
139 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
140 |
+
<button type="button" class="button btn btn-danger" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
141 |
+
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
142 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
143 |
+
</span>
|
144 |
+
</div>
|
145 |
+
</form>
|
146 |
+
<script type="text/javascript">
|
147 |
+
//<![CDATA[
|
148 |
+
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
|
149 |
+
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
150 |
+
var shippingForm = new VarienForm('co-shipping-form');
|
151 |
+
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
152 |
+
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
153 |
+
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
154 |
+
|
155 |
+
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
|
156 |
+
//]]>
|
157 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<form id="co-shipping-method-form" action="">
|
28 |
+
<div id="checkout-shipping-method-load">
|
29 |
+
<?php echo $this->getChildHtml('available') ?>
|
30 |
+
</div>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
|
34 |
+
//]]>
|
35 |
+
</script>
|
36 |
+
<div id="onepage-checkout-shipping-method-additional-load">
|
37 |
+
<?php echo $this->getChildHtml('additional') ?>
|
38 |
+
</div>
|
39 |
+
<div class="buttons-set" id="shipping-method-buttons-container">
|
40 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
41 |
+
<button type="button" class="button btn btn-danger" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
42 |
+
<span id="shipping-method-please-wait" class="please-wait" style="display:none;">
|
43 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
44 |
+
</span>
|
45 |
+
</div>
|
46 |
+
</form>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method/additional.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 if (!$this->getQuote()->isVirtual()): ?>
|
28 |
+
<?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
|
29 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage - Copy/shipping_method/available.phtml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 /** @var $this Mage_Checkout_Block_Onepage_Shipping_Method_Available */ ?>
|
28 |
+
<?php $_shippingRateGroups = $this->getShippingRates(); ?>
|
29 |
+
<?php if (!$_shippingRateGroups): ?>
|
30 |
+
<p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
|
31 |
+
<?php else: ?>
|
32 |
+
<dl class="sp-methods">
|
33 |
+
<?php $shippingCodePrice = array(); ?>
|
34 |
+
<?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
35 |
+
<dt class="medium"><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
36 |
+
<dd>
|
37 |
+
<ul>
|
38 |
+
<?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
|
39 |
+
<?php $shippingCodePrice[] = "'".$_rate->getCode()."':".(float)$_rate->getPrice(); ?>
|
40 |
+
<li>
|
41 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
42 |
+
<div id="messages_product_view">
|
43 |
+
<ul class="messages">
|
44 |
+
<li class="error-msg">
|
45 |
+
<ul>
|
46 |
+
<li>
|
47 |
+
<span><?php echo $this->escapeHtml($_rate->getErrorMessage()) ?></span></li></ul></li></ul></div>
|
48 |
+
<?php else: ?>
|
49 |
+
<?php if ($_sole) : ?>
|
50 |
+
<span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
|
51 |
+
<?php else: ?>
|
52 |
+
<input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
|
53 |
+
|
54 |
+
<?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
|
58 |
+
//]]>
|
59 |
+
</script>
|
60 |
+
<?php endif; ?>
|
61 |
+
|
62 |
+
<?php endif; ?>
|
63 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
64 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
65 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
66 |
+
<?php echo $_excl; ?>
|
67 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
68 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
69 |
+
<?php endif; ?>
|
70 |
+
</label>
|
71 |
+
<?php endif ?>
|
72 |
+
</li>
|
73 |
+
<?php endforeach; ?>
|
74 |
+
</ul>
|
75 |
+
</dd>
|
76 |
+
<?php endforeach; ?>
|
77 |
+
</dl>
|
78 |
+
<script type="text/javascript">
|
79 |
+
//<![CDATA[
|
80 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
81 |
+
var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
|
82 |
+
<?php endif; ?>
|
83 |
+
|
84 |
+
$$('input[type="radio"][name="shipping_method"]').each(function(el){
|
85 |
+
Event.observe(el, 'click', function(){
|
86 |
+
if (el.checked == true) {
|
87 |
+
var getShippingCode = el.getValue();
|
88 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
89 |
+
var newPrice = shippingCodePrice[getShippingCode];
|
90 |
+
if (!lastPrice) {
|
91 |
+
lastPrice = newPrice;
|
92 |
+
quoteBaseGrandTotal += newPrice;
|
93 |
+
}
|
94 |
+
if (newPrice != lastPrice) {
|
95 |
+
quoteBaseGrandTotal += (newPrice-lastPrice);
|
96 |
+
lastPrice = newPrice;
|
97 |
+
}
|
98 |
+
<?php endif; ?>
|
99 |
+
checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
100 |
+
return false;
|
101 |
+
}
|
102 |
+
});
|
103 |
+
});
|
104 |
+
//]]>
|
105 |
+
</script>
|
106 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage.phtml
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="">
|
28 |
+
<h2><?php echo $this->__('Checkout') ?></h2>
|
29 |
+
<hr />
|
30 |
+
</div>
|
31 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
|
32 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
|
33 |
+
<ol class="opc list-unstyled" id="checkoutSteps">
|
34 |
+
<?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
|
35 |
+
<?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
|
36 |
+
<li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
|
37 |
+
<div class="step-title">
|
38 |
+
<h2><span class="label label-danger"><?php echo $i ?></span> <?php echo $_stepInfo['label'] ?></h2>
|
39 |
+
<a href="#"><?php echo $this->__('Edit') ?></a>
|
40 |
+
</div>
|
41 |
+
<div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
|
42 |
+
<?php echo $this->getChildHtml($_stepId) ?>
|
43 |
+
</div>
|
44 |
+
</li>
|
45 |
+
<?php endforeach ?>
|
46 |
+
</ol>
|
47 |
+
|
48 |
+
<script type="text/javascript">
|
49 |
+
//<![CDATA[
|
50 |
+
var accordion = new Accordion('checkoutSteps', '.step-title', true);
|
51 |
+
|
52 |
+
<?php if($this->getActiveStep()): ?>
|
53 |
+
accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
|
54 |
+
<?php endif ?>
|
55 |
+
var checkout = new Checkout(accordion,{
|
56 |
+
progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
|
57 |
+
review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
|
58 |
+
saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
|
59 |
+
failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
|
60 |
+
);
|
61 |
+
//]]>
|
62 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/agreements.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 Mage_Checkout_Block_Agreements
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<?php if (!$this->getAgreements()) return; ?>
|
34 |
+
<form action="" id="checkout-agreements" onsubmit="return false;">
|
35 |
+
<ol class="checkout-agreements">
|
36 |
+
<?php foreach ($this->getAgreements() as $_a): ?>
|
37 |
+
<li>
|
38 |
+
<div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
|
39 |
+
<?php if ($_a->getIsHtml()):?>
|
40 |
+
<?php echo $_a->getContent() ?>
|
41 |
+
<?php else:?>
|
42 |
+
<?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
</div>
|
45 |
+
<p class="agree">
|
46 |
+
<input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->escapeHtml($_a->getCheckboxText()) ?></label>
|
47 |
+
</p>
|
48 |
+
</li>
|
49 |
+
<?php endforeach ?>
|
50 |
+
</ol>
|
51 |
+
</form>
|
app/design/frontend/fed/default/template/checkout/onepage/billing.phtml
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<form id="co-billing-form" action="">
|
28 |
+
<fieldset>
|
29 |
+
<ul class="form-list">
|
30 |
+
<?php if ($this->customerHasAddresses()): ?>
|
31 |
+
<li class="wide">
|
32 |
+
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
|
33 |
+
<div class="input-box">
|
34 |
+
<?php echo $this->getAddressesHtmlSelect('billing') ?>
|
35 |
+
</div>
|
36 |
+
</li>
|
37 |
+
<?php endif; ?>
|
38 |
+
<li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
|
39 |
+
<fieldset>
|
40 |
+
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
41 |
+
<ul>
|
42 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
|
43 |
+
<li class="fields">
|
44 |
+
<div class="field">
|
45 |
+
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
51 |
+
<div class="field">
|
52 |
+
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
<?php endif; ?>
|
58 |
+
</li>
|
59 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
60 |
+
<li class="wide">
|
61 |
+
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
67 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
68 |
+
<li class="wide">
|
69 |
+
<div class="input-box">
|
70 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
71 |
+
</div>
|
72 |
+
</li>
|
73 |
+
<?php endfor; ?>
|
74 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
75 |
+
<li class="wide">
|
76 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
77 |
+
<div class="input-box">
|
78 |
+
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
79 |
+
</div>
|
80 |
+
</li>
|
81 |
+
<?php endif; ?>
|
82 |
+
<li class="fields">
|
83 |
+
<div class="field">
|
84 |
+
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
85 |
+
<div class="input-box">
|
86 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
<div class="field">
|
90 |
+
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
93 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
94 |
+
</select>
|
95 |
+
<script type="text/javascript">
|
96 |
+
//<![CDATA[
|
97 |
+
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
98 |
+
//]]>
|
99 |
+
</script>
|
100 |
+
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</li>
|
104 |
+
<li class="fields">
|
105 |
+
<div class="field">
|
106 |
+
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
107 |
+
<div class="input-box">
|
108 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<div class="field">
|
112 |
+
<label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
113 |
+
<div class="input-box">
|
114 |
+
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
</li>
|
118 |
+
<li class="fields">
|
119 |
+
<div class="field">
|
120 |
+
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
121 |
+
<div class="input-box">
|
122 |
+
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
<div class="field">
|
126 |
+
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
127 |
+
<div class="input-box">
|
128 |
+
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
</li>
|
132 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
133 |
+
|
134 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
135 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
136 |
+
<?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
|
137 |
+
<li class="fields">
|
138 |
+
<?php if ($_dob->isEnabled()): ?>
|
139 |
+
<div class="field">
|
140 |
+
<?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
141 |
+
</div>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php if ($_gender->isEnabled()): ?>
|
144 |
+
<div class="field">
|
145 |
+
<?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
146 |
+
</div>
|
147 |
+
<?php endif ?>
|
148 |
+
</li>
|
149 |
+
<?php endif ?>
|
150 |
+
|
151 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
152 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
153 |
+
<li>
|
154 |
+
<?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
155 |
+
</li>
|
156 |
+
<?php endif ?>
|
157 |
+
|
158 |
+
<li class="fields" id="register-customer-password">
|
159 |
+
<div class="field">
|
160 |
+
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
161 |
+
<div class="input-box">
|
162 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
+
<div class="field">
|
166 |
+
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
167 |
+
<div class="input-box">
|
168 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</li>
|
172 |
+
<?php endif; ?>
|
173 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
174 |
+
<li class="control">
|
175 |
+
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
176 |
+
</li>
|
177 |
+
<?php else:?>
|
178 |
+
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
179 |
+
<?php endif; ?>
|
180 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
181 |
+
</ul>
|
182 |
+
</fieldset>
|
183 |
+
</li>
|
184 |
+
<?php /* Extensions placeholder */ ?>
|
185 |
+
<?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
|
186 |
+
<?php if ($this->canShip()): ?>
|
187 |
+
<li class="control">
|
188 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
189 |
+
<li class="control">
|
190 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
191 |
+
</li>
|
192 |
+
<?php endif; ?>
|
193 |
+
</ul>
|
194 |
+
<?php if (!$this->canShip()): ?>
|
195 |
+
<input type="hidden" name="billing[use_for_shipping]" value="1" />
|
196 |
+
<?php endif; ?>
|
197 |
+
<div class="buttons-set" id="billing-buttons-container">
|
198 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
199 |
+
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
200 |
+
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
201 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
202 |
+
</span>
|
203 |
+
</div>
|
204 |
+
</fieldset>
|
205 |
+
</form>
|
206 |
+
<script type="text/javascript">
|
207 |
+
//<![CDATA[
|
208 |
+
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
209 |
+
var billingForm = new VarienForm('co-billing-form');
|
210 |
+
|
211 |
+
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
212 |
+
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
213 |
+
|
214 |
+
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
|
215 |
+
//]]>
|
216 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/failure.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('An error occurred in the process of payment') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
|
31 |
+
<?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
|
32 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
|
app/design/frontend/fed/default/template/checkout/onepage/link.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->isPossibleOnepageCheckout()):?>
|
28 |
+
<div class="pull-right">
|
29 |
+
<button type="button" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button btn btn-danger btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
|
30 |
+
</div>
|
31 |
+
<div class="clearfix"></div>
|
32 |
+
<?php endif?>
|
app/design/frontend/fed/default/template/checkout/onepage/login.phtml
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 /* Extensions placeholder */ ?>
|
28 |
+
<?php echo $this->getChildHtml('checkout.onepage.login.extra')?>
|
29 |
+
<div class="col2-set">
|
30 |
+
<?php echo $this->getChildHtml('login_before')?>
|
31 |
+
<div class="col-1">
|
32 |
+
<h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
|
33 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
34 |
+
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
|
35 |
+
<?php else: ?>
|
36 |
+
<p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
|
37 |
+
<?php echo $this->__('Register with us for future convenience:') ?></p>
|
38 |
+
<ul>
|
39 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
40 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
41 |
+
</ul>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
44 |
+
<ul class="form-list">
|
45 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
46 |
+
<li class="control">
|
47 |
+
<input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
|
48 |
+
</li>
|
49 |
+
<?php endif; ?>
|
50 |
+
<li class="control">
|
51 |
+
<input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
|
52 |
+
</li>
|
53 |
+
</ul>
|
54 |
+
<h4><?php echo $this->__('Register and save time!') ?></h4>
|
55 |
+
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
|
56 |
+
<ul class="ul">
|
57 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
58 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
59 |
+
</ul>
|
60 |
+
<?php else: ?>
|
61 |
+
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
|
62 |
+
<?php endif; ?>
|
63 |
+
</div>
|
64 |
+
<div class="col-2">
|
65 |
+
<h3><?php echo $this->__('Login') ?></h3>
|
66 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
67 |
+
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
68 |
+
<fieldset>
|
69 |
+
<h4><?php echo $this->__('Already registered?') ?></h4>
|
70 |
+
<p><?php echo $this->__('Please log in below:') ?></p>
|
71 |
+
<ul class="form-list">
|
72 |
+
<li>
|
73 |
+
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
74 |
+
<div class="input-box">
|
75 |
+
<input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
|
76 |
+
</div>
|
77 |
+
</li>
|
78 |
+
<li>
|
79 |
+
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
80 |
+
<div class="input-box">
|
81 |
+
<input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
|
82 |
+
</div>
|
83 |
+
</li>
|
84 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
85 |
+
</ul>
|
86 |
+
</fieldset>
|
87 |
+
</form>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="col2-set">
|
91 |
+
<div class="col-1">
|
92 |
+
<div class="buttons-set">
|
93 |
+
<p class="required"> </p>
|
94 |
+
<button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<div class="col-2">
|
98 |
+
<div class="buttons-set">
|
99 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
100 |
+
<a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
|
101 |
+
<button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
</div>
|
105 |
+
<script type="text/javascript">
|
106 |
+
//<![CDATA[
|
107 |
+
var loginForm = new VarienForm('login-form', true);
|
108 |
+
$('login-email').observe('keypress', bindLoginPost);
|
109 |
+
$('login-password').observe('keypress', bindLoginPost);
|
110 |
+
function bindLoginPost(evt){
|
111 |
+
if (evt.keyCode == Event.KEY_RETURN) {
|
112 |
+
loginForm.submit();
|
113 |
+
}
|
114 |
+
}
|
115 |
+
function onepageLogin(button)
|
116 |
+
{
|
117 |
+
if(loginForm.validator && loginForm.validator.validate()){
|
118 |
+
button.disabled = true;
|
119 |
+
loginForm.submit();
|
120 |
+
}
|
121 |
+
}
|
122 |
+
//]]>
|
123 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/payment.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<script type="text/javascript">
|
28 |
+
//<![CDATA[
|
29 |
+
var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
|
30 |
+
var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
31 |
+
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
|
32 |
+
var lastPrice;
|
33 |
+
//]]>
|
34 |
+
</script>
|
35 |
+
<form action="" id="co-payment-form">
|
36 |
+
<fieldset>
|
37 |
+
<?php echo $this->getChildHtml('methods') ?>
|
38 |
+
</fieldset>
|
39 |
+
</form>
|
40 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
41 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
42 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
43 |
+
</div>
|
44 |
+
<div class="buttons-set" id="payment-buttons-container">
|
45 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
46 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
47 |
+
<button type="button" class="btn btn-danger" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
48 |
+
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
49 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
50 |
+
</span>
|
51 |
+
</div>
|
52 |
+
<script type="text/javascript">
|
53 |
+
//<![CDATA[
|
54 |
+
function toggleToolTip(event){
|
55 |
+
if($('payment-tool-tip')){
|
56 |
+
$('payment-tool-tip').setStyle({
|
57 |
+
top: (Event.pointerY(event)-560)+'px'//,
|
58 |
+
//left: (Event.pointerX(event)+100)+'px'
|
59 |
+
})
|
60 |
+
$('payment-tool-tip').toggle();
|
61 |
+
}
|
62 |
+
Event.stop(event);
|
63 |
+
}
|
64 |
+
if($('payment-tool-tip-close')){
|
65 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
66 |
+
}
|
67 |
+
//]]>
|
68 |
+
</script>
|
69 |
+
<script type="text/javascript">
|
70 |
+
//<![CDATA[
|
71 |
+
payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
|
72 |
+
//]]>
|
73 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/payment/info.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<dl class="sp-methods" id="checkout-payment-method-load">
|
28 |
+
<!-- Content dynamically loaded. Content from the methods.phtml is loaded during the ajax call -->
|
29 |
+
</dl>
|
app/design/frontend/fed/default/template/checkout/onepage/payment/methods.phtml
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* One page checkout payment methods
|
30 |
+
*
|
31 |
+
* @var $this Mage_Checkout_Block_Onepage_Payment_Methods
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
|
35 |
+
<?php
|
36 |
+
$methods = $this->getMethods();
|
37 |
+
$oneMethod = count($methods) <= 1;
|
38 |
+
?>
|
39 |
+
<?php if (empty($methods)): ?>
|
40 |
+
<dt>
|
41 |
+
<?php echo $this->__('No Payment Methods') ?>
|
42 |
+
</dt>
|
43 |
+
<?php else:
|
44 |
+
foreach ($methods as $_method):
|
45 |
+
$_code = $_method->getCode();
|
46 |
+
?>
|
47 |
+
<dt>
|
48 |
+
|
49 |
+
<div class="radio">
|
50 |
+
<?php if(!$oneMethod): ?>
|
51 |
+
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="" />
|
52 |
+
<?php else: ?>
|
53 |
+
<span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
|
54 |
+
<?php $oneMethod = $_code; ?>
|
55 |
+
<?php endif; ?>
|
56 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
57 |
+
</dt>
|
58 |
+
</div>
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
63 |
+
<dd>
|
64 |
+
<?php echo $html; ?>
|
65 |
+
</dd>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php endforeach;
|
68 |
+
endif;
|
69 |
+
?>
|
70 |
+
<?php echo $this->getChildChildHtml('additional'); ?>
|
71 |
+
<script type="text/javascript">
|
72 |
+
//<![CDATA[
|
73 |
+
<?php echo $this->getChildChildHtml('scripts'); ?>
|
74 |
+
payment.init();
|
75 |
+
<?php if (is_string($oneMethod)): ?>
|
76 |
+
payment.switchMethod('<?php echo $oneMethod ?>');
|
77 |
+
<?php endif; ?>
|
78 |
+
//]]>
|
79 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/progress.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<div class="block block-progress opc-block-progress">
|
29 |
+
<div class="block-title">
|
30 |
+
<h2><?php echo $this->__('Progress') ?></h2>
|
31 |
+
<hr />
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<dl>
|
35 |
+
<?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
|
36 |
+
<div id="billing-progress-opcheckout">
|
37 |
+
<?php echo $this->getChildHtml('billing.progress') ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
40 |
+
|
41 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
|
42 |
+
<div id="shipping-progress-opcheckout">
|
43 |
+
<?php echo $this->getChildHtml('shipping.progress') ?>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
|
48 |
+
<div id="shipping_method-progress-opcheckout">
|
49 |
+
<?php echo $this->getChildHtml('shippingmethod.progress') ?>
|
50 |
+
</div>
|
51 |
+
<?php endif; ?>
|
52 |
+
|
53 |
+
<?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
|
54 |
+
<div id="payment-progress-opcheckout">
|
55 |
+
<?php echo $this->getChildHtml('payment.progress') ?>
|
56 |
+
</div>
|
57 |
+
<?php endif; ?>
|
58 |
+
</dl>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
|
app/design/frontend/fed/default/template/checkout/onepage/progress/billing.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('billing', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Billing Address') ?><span class="changelink"> <span class="separator">|</span> <a
|
30 |
+
href="#billing"
|
31 |
+
onclick="checkout.changeSection('opc-billing'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<address><?php echo $this->getBilling()->format('html') ?></address>
|
35 |
+
</dd>
|
36 |
+
<?php else: ?>
|
37 |
+
<dt>
|
38 |
+
<?php echo $this->__('Billing Address') ?>
|
39 |
+
</dt>
|
40 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage/progress/payment.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('payment', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Payment Method') ?><span class="changelink"> <span class="separator">|</span> <a
|
30 |
+
href="#payment"
|
31 |
+
onclick="checkout.changeSection('opc-payment'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<?php echo $this->getPaymentHtml() ?>
|
35 |
+
</dd>
|
36 |
+
<?php else: ?>
|
37 |
+
<dt>
|
38 |
+
<?php echo $this->__('Payment Method') ?>
|
39 |
+
</dt>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
app/design/frontend/fed/default/template/checkout/onepage/progress/shipping.phtml
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
|
28 |
+
<?php $completeClass = $this->getCheckout()->getStepData('shipping', 'complete') ? 'complete' : ''; ?>
|
29 |
+
<dt class="<?php echo $completeClass ?>">
|
30 |
+
<?php echo $this->__('Shipping Address') ?> <span class="changelink"><span class="separator">|</span> <a
|
31 |
+
href="#payment"
|
32 |
+
onclick="checkout.changeSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a></span>
|
33 |
+
</dt>
|
34 |
+
<dd class="<?php echo $completeClass ?>">
|
35 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'complete')): ?>
|
36 |
+
<address><?php echo $this->getShipping()->format('html') ?></address>
|
37 |
+
<?php endif; ?>
|
38 |
+
</dd>
|
39 |
+
<?php else: ?>
|
40 |
+
<dt>
|
41 |
+
<?php echo $this->__('Shipping Address') ?>
|
42 |
+
</dt>
|
43 |
+
<?php endif; ?>
|
44 |
+
|
app/design/frontend/fed/default/template/checkout/onepage/progress/shipping_method.phtml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if ($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
|
28 |
+
<dt class="complete">
|
29 |
+
<?php echo $this->__('Shipping Method') ?> <span class="changelink"><span class="separator">|</span> <a
|
30 |
+
href="#shipping_method"
|
31 |
+
onclick="checkout.changeSection('opc-shipping_method'); return false;"><?php echo $this->__('Change') ?></a></span>
|
32 |
+
</dt>
|
33 |
+
<dd class="complete">
|
34 |
+
<?php if ($this->getShippingMethod()): ?>
|
35 |
+
<?php echo $this->getShippingDescription() ?>
|
36 |
+
|
37 |
+
<?php $_excl = $this->getShippingPriceExclTax(); ?>
|
38 |
+
<?php $_incl = $this->getShippingPriceInclTax(); ?>
|
39 |
+
<?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
|
40 |
+
<?php echo $_incl; ?>
|
41 |
+
<?php else: ?>
|
42 |
+
<?php echo $_excl; ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
45 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
+
<?php else: ?>
|
49 |
+
<?php echo $this->__('Shipping method has not been selected yet') ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</dd>
|
52 |
+
<?php else: ?>
|
53 |
+
<dt>
|
54 |
+
<?php echo $this->__('Shipping Method') ?>
|
55 |
+
</dt>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
app/design/frontend/fed/default/template/checkout/onepage/review.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="order-review" id="checkout-review-load">
|
28 |
+
<!-- Content loaded dynamically -->
|
29 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/onepage/review/button.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="btn btn-warning" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
app/design/frontend/fed/default/template/checkout/onepage/review/info.phtml
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 echo $this->getChildHtml('items_before'); ?>
|
28 |
+
<div id="checkout-review-table-wrapper">
|
29 |
+
<table class="table table-bordered" id="checkout-review-table">
|
30 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
+
<col />
|
32 |
+
<col width="1" />
|
33 |
+
<col width="1" />
|
34 |
+
<col width="1" />
|
35 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<?php endif; ?>
|
39 |
+
<thead>
|
40 |
+
<tr>
|
41 |
+
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
|
42 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
43 |
+
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
44 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
45 |
+
</tr>
|
46 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<tr>
|
48 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
49 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
50 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
+
</tr>
|
53 |
+
<?php endif; ?>
|
54 |
+
</thead>
|
55 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
56 |
+
<tbody>
|
57 |
+
<?php foreach($this->getItems() as $_item): ?>
|
58 |
+
<?php echo $this->getItemHtml($_item)?>
|
59 |
+
<?php endforeach ?>
|
60 |
+
</tbody>
|
61 |
+
</table>
|
62 |
+
</div>
|
63 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
64 |
+
<script type="text/javascript">
|
65 |
+
//<![CDATA[
|
66 |
+
decorateTable('checkout-review-table');
|
67 |
+
truncateOptions();
|
68 |
+
//]]>
|
69 |
+
</script>
|
70 |
+
<div id="checkout-review-submit">
|
71 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
72 |
+
<div class="buttons-set" id="review-buttons-container">
|
73 |
+
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
74 |
+
<?php echo $this->getChildHtml('button') ?>
|
75 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
76 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
77 |
+
</span>
|
78 |
+
</div>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/onepage/review/item.phtml
ADDED
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 $_item = $this->getItem()?>
|
28 |
+
<tr>
|
29 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
|
30 |
+
<?php if ($_options = $this->getOptionList()):?>
|
31 |
+
<dl class="item-options">
|
32 |
+
<?php foreach ($_options as $_option) : ?>
|
33 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
34 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
35 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
36 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
37 |
+
<div class="truncated_full_value">
|
38 |
+
<dl class="item-options">
|
39 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
40 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
41 |
+
</dl>
|
42 |
+
</div>
|
43 |
+
<?php endif; ?>
|
44 |
+
</dd>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</dl>
|
47 |
+
<?php endif;?>
|
48 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
49 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
50 |
+
<?php endif;?>
|
51 |
+
</td>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
55 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
56 |
+
<?php else: ?>
|
57 |
+
<span class="cart-price">
|
58 |
+
<?php endif; ?>
|
59 |
+
|
60 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
61 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
62 |
+
<?php else: ?>
|
63 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
64 |
+
<?php endif; ?>
|
65 |
+
|
66 |
+
</span>
|
67 |
+
|
68 |
+
|
69 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
70 |
+
|
71 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
72 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
<small>
|
74 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
75 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
76 |
+
<?php endforeach; ?>
|
77 |
+
</small>
|
78 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
80 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
81 |
+
<?php endforeach; ?>
|
82 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<small>
|
84 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
85 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</small>
|
88 |
+
<?php endif; ?>
|
89 |
+
</div>
|
90 |
+
|
91 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
92 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
93 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
94 |
+
</div>
|
95 |
+
<?php endif; ?>
|
96 |
+
<?php endif; ?>
|
97 |
+
</td>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
100 |
+
<td>
|
101 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
102 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
103 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
104 |
+
<?php else: ?>
|
105 |
+
<span class="cart-price">
|
106 |
+
<?php endif; ?>
|
107 |
+
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
109 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
110 |
+
<?php else: ?>
|
111 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
112 |
+
<?php endif; ?>
|
113 |
+
|
114 |
+
</span>
|
115 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
116 |
+
|
117 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
118 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<small>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
121 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
122 |
+
<?php endforeach; ?>
|
123 |
+
</small>
|
124 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
125 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
126 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
127 |
+
<?php endforeach; ?>
|
128 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
129 |
+
<small>
|
130 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
132 |
+
<?php endforeach; ?>
|
133 |
+
</small>
|
134 |
+
<?php endif; ?>
|
135 |
+
</div>
|
136 |
+
|
137 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
138 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
139 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
140 |
+
</div>
|
141 |
+
<?php endif; ?>
|
142 |
+
<?php endif; ?>
|
143 |
+
</td>
|
144 |
+
<?php endif; ?>
|
145 |
+
<td class="a-center"><?php echo $_item->getQty() ?></td>
|
146 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
147 |
+
<td class="a-right">
|
148 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
149 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
150 |
+
<?php else: ?>
|
151 |
+
<span class="cart-price">
|
152 |
+
<?php endif; ?>
|
153 |
+
|
154 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
155 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
156 |
+
<?php else: ?>
|
157 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
158 |
+
<?php endif; ?>
|
159 |
+
|
160 |
+
</span>
|
161 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
162 |
+
|
163 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
164 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
165 |
+
<small>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
167 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
168 |
+
<?php endforeach; ?>
|
169 |
+
</small>
|
170 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
172 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
173 |
+
<?php endforeach; ?>
|
174 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
175 |
+
<small>
|
176 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
177 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
178 |
+
<?php endforeach; ?>
|
179 |
+
</small>
|
180 |
+
<?php endif; ?>
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
184 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
185 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
186 |
+
</div>
|
187 |
+
<?php endif; ?>
|
188 |
+
<?php endif; ?>
|
189 |
+
</td>
|
190 |
+
<?php endif; ?>
|
191 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
192 |
+
<td>
|
193 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
194 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
195 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
196 |
+
<?php else: ?>
|
197 |
+
<span class="cart-price">
|
198 |
+
<?php endif; ?>
|
199 |
+
|
200 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
201 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
202 |
+
<?php else: ?>
|
203 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
|
206 |
+
</span>
|
207 |
+
|
208 |
+
|
209 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
210 |
+
|
211 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
212 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
213 |
+
<small>
|
214 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
215 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
216 |
+
<?php endforeach; ?>
|
217 |
+
</small>
|
218 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
219 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
220 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
221 |
+
<?php endforeach; ?>
|
222 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
223 |
+
<small>
|
224 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
225 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
226 |
+
<?php endforeach; ?>
|
227 |
+
</small>
|
228 |
+
<?php endif; ?>
|
229 |
+
</div>
|
230 |
+
|
231 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
232 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
233 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
234 |
+
</div>
|
235 |
+
<?php endif; ?>
|
236 |
+
<?php endif; ?>
|
237 |
+
</td>
|
238 |
+
<?php endif; ?>
|
239 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/onepage/review/totals.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
/**
|
28 |
+
* @see Mage_Checkout_Block_Cart_Totals
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if ($this->getTotals()): ?>
|
32 |
+
<tfoot>
|
33 |
+
<?php $_colspan = $this->helper('tax')->displayCartBothPrices() ? 5 : 3; ?>
|
34 |
+
<?php echo $this->renderTotals(null, $_colspan); ?>
|
35 |
+
<?php echo $this->renderTotals('footer', $_colspan); ?>
|
36 |
+
<?php if ($this->needDisplayBaseGrandtotal()):?>
|
37 |
+
<tr>
|
38 |
+
<td class="a-right" colspan="<?php echo $_colspan; ?>">
|
39 |
+
<small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
|
40 |
+
</td>
|
41 |
+
<td class="a-right">
|
42 |
+
<small><?php echo $this->displayBaseGrandtotal() ?></small>
|
43 |
+
</td>
|
44 |
+
</tr>
|
45 |
+
<?php endif?>
|
46 |
+
</tfoot>
|
47 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage/shipping.phtml
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<form action="" id="co-shipping-form">
|
28 |
+
<ul class="form-list list-unstyled">
|
29 |
+
<?php if ($this->customerHasAddresses()): ?>
|
30 |
+
<li class="wide">
|
31 |
+
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
32 |
+
<div class="input-box">
|
33 |
+
<?php echo $this->getAddressesHtmlSelect('shipping') ?>
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
<?php endif ?>
|
37 |
+
<li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
|
38 |
+
<fieldset>
|
39 |
+
<input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
|
40 |
+
<ul class="list-unstyled">
|
41 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
|
42 |
+
<li class="fields">
|
43 |
+
<div class="fields">
|
44 |
+
<label for="shipping:company"><?php echo $this->__('Company') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
51 |
+
<li class="wide">
|
52 |
+
<label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
58 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
59 |
+
<li class="wide">
|
60 |
+
<div class="input-box">
|
61 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
62 |
+
</div>
|
63 |
+
</li>
|
64 |
+
<?php endfor; ?>
|
65 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
66 |
+
<li class="wide">
|
67 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
|
68 |
+
<div class="input-box">
|
69 |
+
<input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
70 |
+
</div>
|
71 |
+
</li>
|
72 |
+
<?php endif; ?>
|
73 |
+
<li class="fields">
|
74 |
+
<div class="field">
|
75 |
+
<label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
76 |
+
<div class="input-box">
|
77 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<div class="field">
|
81 |
+
<label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
82 |
+
<div class="input-box">
|
83 |
+
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select form-control" style="display:none;">
|
84 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
85 |
+
</select>
|
86 |
+
<script type="text/javascript">
|
87 |
+
//<![CDATA[
|
88 |
+
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
89 |
+
//]]>
|
90 |
+
</script>
|
91 |
+
<input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</li>
|
95 |
+
<li class="fields">
|
96 |
+
<div class="field">
|
97 |
+
<label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
98 |
+
<div class="input-box">
|
99 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
<div class="field">
|
103 |
+
<label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
104 |
+
<div class="input-box">
|
105 |
+
<?php echo $this->getCountryHtmlSelect('shipping') ?>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</li>
|
109 |
+
<li class="fields">
|
110 |
+
<div class="field">
|
111 |
+
<label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
112 |
+
<div class="input-box">
|
113 |
+
<input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
<div class="field">
|
117 |
+
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
118 |
+
<div class="input-box">
|
119 |
+
<input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
</li>
|
123 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
124 |
+
<li class="control">
|
125 |
+
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
|
126 |
+
<?php else:?>
|
127 |
+
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
128 |
+
<?php endif;?>
|
129 |
+
</ul>
|
130 |
+
</fieldset>
|
131 |
+
</li>
|
132 |
+
<li class="control">
|
133 |
+
<div class="checkbox">
|
134 |
+
<label>
|
135 |
+
<input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="" /><?php echo $this->__('Use Billings Address') ?>
|
136 |
+
</label>
|
137 |
+
</div>
|
138 |
+
</li>
|
139 |
+
</ul>
|
140 |
+
<div class="buttons-set" id="shipping-buttons-container">
|
141 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
142 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
143 |
+
<button type="button" class="btn btn-danger" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
144 |
+
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
145 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
146 |
+
</span>
|
147 |
+
</div>
|
148 |
+
</form>
|
149 |
+
<script type="text/javascript">
|
150 |
+
//<![CDATA[
|
151 |
+
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
|
152 |
+
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
153 |
+
var shippingForm = new VarienForm('co-shipping-form');
|
154 |
+
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
155 |
+
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
156 |
+
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
157 |
+
|
158 |
+
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
|
159 |
+
//]]>
|
160 |
+
</script>
|
app/design/frontend/fed/default/template/checkout/onepage/shipping_method.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<form id="co-shipping-method-form" action="">
|
28 |
+
<div id="checkout-shipping-method-load">
|
29 |
+
<!-- Content loaded dynamically -->
|
30 |
+
</div>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
|
34 |
+
//]]>
|
35 |
+
</script>
|
36 |
+
<div id="onepage-checkout-shipping-method-additional-load">
|
37 |
+
<?php echo $this->getChildHtml('additional') ?>
|
38 |
+
</div>
|
39 |
+
<div class="buttons-set" id="shipping-method-buttons-container">
|
40 |
+
<p class="back-link">
|
41 |
+
<a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a>
|
42 |
+
</p>
|
43 |
+
<button type="button" class="btn btn-danger" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
44 |
+
<span id="shipping-method-please-wait" class="please-wait" style="display:none;">
|
45 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
46 |
+
</span>
|
47 |
+
</div>
|
48 |
+
</form>
|
app/design/frontend/fed/default/template/checkout/onepage/shipping_method/additional.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if (!$this->getQuote()->isVirtual()): ?>
|
28 |
+
<?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
|
29 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/onepage/shipping_method/available.phtml
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 /** @var $this Mage_Checkout_Block_Onepage_Shipping_Method_Available */ ?>
|
28 |
+
<?php $_shippingRateGroups = $this->getShippingRates(); ?>
|
29 |
+
<?php if (!$_shippingRateGroups): ?>
|
30 |
+
<p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
|
31 |
+
<?php else: ?>
|
32 |
+
<dl class="sp-methods">
|
33 |
+
<?php $shippingCodePrice = array(); ?>
|
34 |
+
<?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
35 |
+
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
36 |
+
<dd>
|
37 |
+
<ul class="list-unstyled">
|
38 |
+
<?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
|
39 |
+
<?php $shippingCodePrice[] = "'".$_rate->getCode()."':".(float)$_rate->getPrice(); ?>
|
40 |
+
<li>
|
41 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
42 |
+
<ul class="messages"><li class="error-msg"><ul><li><?php echo $this->escapeHtml($_rate->getErrorMessage()) ?></li></ul></li></ul>
|
43 |
+
<?php else: ?>
|
44 |
+
<?php if ($_sole) : ?>
|
45 |
+
<span class="no-display">
|
46 |
+
<label class="radio">
|
47 |
+
<input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" />
|
48 |
+
<?php else: ?>
|
49 |
+
<input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/>
|
50 |
+
|
51 |
+
<?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
|
52 |
+
<script type="text/javascript">
|
53 |
+
//<![CDATA[
|
54 |
+
lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
|
55 |
+
//]]>
|
56 |
+
</script>
|
57 |
+
<?php endif; ?>
|
58 |
+
|
59 |
+
<?php endif; ?>
|
60 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
61 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
62 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
63 |
+
<?php echo $_excl; ?>
|
64 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
65 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
66 |
+
<?php endif; ?>
|
67 |
+
</label>
|
68 |
+
</span>
|
69 |
+
|
70 |
+
|
71 |
+
</label>
|
72 |
+
<?php endif ?>
|
73 |
+
</li>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</ul>
|
76 |
+
</dd>
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</dl>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
82 |
+
var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
|
83 |
+
<?php endif; ?>
|
84 |
+
|
85 |
+
$$('input[type="radio"][name="shipping_method"]').each(function(el){
|
86 |
+
Event.observe(el, 'click', function(){
|
87 |
+
if (el.checked == true) {
|
88 |
+
var getShippingCode = el.getValue();
|
89 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
90 |
+
var newPrice = shippingCodePrice[getShippingCode];
|
91 |
+
if (!lastPrice) {
|
92 |
+
lastPrice = newPrice;
|
93 |
+
quoteBaseGrandTotal += newPrice;
|
94 |
+
}
|
95 |
+
if (newPrice != lastPrice) {
|
96 |
+
quoteBaseGrandTotal += (newPrice-lastPrice);
|
97 |
+
lastPrice = newPrice;
|
98 |
+
}
|
99 |
+
<?php endif; ?>
|
100 |
+
checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
101 |
+
return false;
|
102 |
+
}
|
103 |
+
});
|
104 |
+
});
|
105 |
+
//]]>
|
106 |
+
</script>
|
107 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/checkout/shipping.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 * If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* @category design_default
|
15 |
+
* @package Mage
|
16 |
+
* @copyright Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
17 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
+
*/
|
19 |
+
?>
|
20 |
+
<div class="shipping-estimate box">
|
21 |
+
<h3><?php echo $this->__('Estimate Shipping and Tax') ?></h3>
|
22 |
+
<form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
|
23 |
+
<p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
24 |
+
<p><label for="country"><?php echo $this->__('Country') ?></label><br /><span><?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?></span></p>
|
25 |
+
<?php //if($this->getStateActive()): ?>
|
26 |
+
<div class="form-group">
|
27 |
+
<label for="region_id"><?php echo $this->__('State/Province') ?></label><br />
|
28 |
+
|
29 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
|
30 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
31 |
+
</select>
|
32 |
+
<script type="text/javascript">
|
33 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
34 |
+
</script>
|
35 |
+
<input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
|
36 |
+
</div>
|
37 |
+
<?php //endif; ?>
|
38 |
+
<?php if($this->getCityActive()): ?>
|
39 |
+
<p><label for="city"><?php echo $this->__('City') ?></label><br />
|
40 |
+
<input class="input-text" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
|
41 |
+
</p>
|
42 |
+
<?php endif; ?>
|
43 |
+
<div class="form-group">
|
44 |
+
<label><?php echo $this->__('Zip/Postal Code') ?></label>
|
45 |
+
<input class="input-text form-control" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->htmlEscape($this->getEstimatePostcode()) ?>" placeholder="<?php echo $this->__('Zip/Postal Code') ?>" />
|
46 |
+
</div>
|
47 |
+
<p><button type="button" onclick="coShippingMethodForm.submit()" class="form-button-alt"><span><?php echo $this->__('Get a Quote') ?></span></button></p>
|
48 |
+
|
49 |
+
</form>
|
50 |
+
<script type="text/javascript">
|
51 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
|
52 |
+
</script>
|
53 |
+
|
54 |
+
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
55 |
+
<div class="divider"></div>
|
56 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
|
57 |
+
<dl class="shipment-methods">
|
58 |
+
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
59 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
60 |
+
<dd>
|
61 |
+
<ul>
|
62 |
+
<?php foreach ($_rates as $_rate): ?>
|
63 |
+
<li class="<?php if ($_rate->getErrorMessage()) echo 'error-msg';?>">
|
64 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
65 |
+
<?php echo $_rate->getErrorMessage() ?>
|
66 |
+
<?php else: ?>
|
67 |
+
<input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> />
|
68 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodDescription() ?> - <strong><?php echo $_rate->getPrice() ?></strong></label>
|
69 |
+
<?php endif ?>
|
70 |
+
</li>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</ul>
|
73 |
+
</dd>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</dl>
|
76 |
+
<fieldset><button type="submit" class="form-button-alt" name="do" value="<?php echo $this->__('Update Total') ?>"><span><?php echo $this->__('Update Total') ?></span></button></fieldset>
|
77 |
+
</form>
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
<script type="text/javascript">
|
81 |
+
var coShippingMethodForm = new VarienForm('shipping-zip-form');
|
82 |
+
Validation.addAllThese(
|
83 |
+
[
|
84 |
+
['validate-postcode', '<?php echo $this->__('Please enter a valid zip code. For example 90602 or 90602-1234.') ?>', function(v) {
|
85 |
+
if( $('shipping-postcode').value.match(/(^[A-z0-9]{2,10}([\s]{0,2}|[\-]{0,2})[A-z0-9]{2,10}$)/ )) {
|
86 |
+
return true;
|
87 |
+
} else {
|
88 |
+
return false;
|
89 |
+
}
|
90 |
+
}]
|
91 |
+
]
|
92 |
+
);
|
93 |
+
</script>
|
94 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/success.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Your order has been received.') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
|
32 |
+
|
33 |
+
<?php if ($this->getOrderId()):?>
|
34 |
+
<?php if ($this->getCanViewOrder()) :?>
|
35 |
+
<p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
|
36 |
+
<?php else :?>
|
37 |
+
<p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
|
38 |
+
<?php endif;?>
|
39 |
+
<p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
|
40 |
+
<?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
|
41 |
+
<p>
|
42 |
+
<?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
|
43 |
+
<?php echo $this->getChildHtml() ?>
|
44 |
+
</p>
|
45 |
+
<?php endif;?>
|
46 |
+
<?php endif;?>
|
47 |
+
|
48 |
+
<?php if ($this->getAgreementRefId()): ?>
|
49 |
+
<p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
|
50 |
+
<?php endif;?>
|
51 |
+
|
52 |
+
<?php if ($profiles = $this->getRecurringProfiles()):?>
|
53 |
+
<p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
|
54 |
+
<ul class="disc">
|
55 |
+
<?php foreach($profiles as $profile):?>
|
56 |
+
<?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
|
57 |
+
<li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
|
58 |
+
<?php endforeach;?>
|
59 |
+
</ul>
|
60 |
+
<?php endif;?>
|
61 |
+
|
62 |
+
<div class="buttons-set">
|
63 |
+
<button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
64 |
+
</div>
|
app/design/frontend/fed/default/template/checkout/total/default.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 base_default
|
23 |
+
* @copyright Copyright (c) 2013 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 |
+
<tr>
|
28 |
+
<td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
|
29 |
+
<?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
|
30 |
+
<?php echo $this->escapeHtml($this->getTotal()->getTitle()); ?>
|
31 |
+
<?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
|
32 |
+
</td>
|
33 |
+
<td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
|
34 |
+
<?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
|
35 |
+
<?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>
|
36 |
+
<?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
|
37 |
+
</td>
|
38 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/total/nominal.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 Mage_Checkout_Block_Total_Nominal
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<tr>
|
33 |
+
<th colspan="<?php echo $this->getColspan() + 1; ?>" style="<?php echo $this->getTotalStyle() ?>" class="a-right">
|
34 |
+
<?php echo sprintf(($this->getRenderingArea() == $this->getTotalArea()) ? '<strong>%s</strong>' : '%s', $this->escapeHtml($this->getTotalTitle())) ?>
|
35 |
+
</th>
|
36 |
+
</tr>
|
37 |
+
<?php foreach ($this->getTotalItems() as $i => $item): ?>
|
38 |
+
<?php foreach ($this->getTotalItemDetails($item) as $j => $row):?>
|
39 |
+
<tr class="summary-details <?php echo "summary-details-nominal-{$i}" . (0 == $j ? ' summary-details-first' : '') . ($this->getItemDetailsRowIsCompounded($row) ? '' : ' summary-details-excluded')?>" style="display:none;">
|
40 |
+
<td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotalStyle() ?>" class="a-right">
|
41 |
+
<?php echo $this->escapeHtml($this->getItemDetailsRowLabel($row)) ?>
|
42 |
+
</td>
|
43 |
+
<td class="a-right">
|
44 |
+
<?php echo $this->formatPrice($this->getItemDetailsRowAmount($row)) ?>
|
45 |
+
</td>
|
46 |
+
</tr>
|
47 |
+
<?php endforeach; ?>
|
48 |
+
<tr class="summary-total" onclick="expandDetails(this, '<?php echo ".summary-details-nominal-{$i}"?>')">
|
49 |
+
<td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotalStyle() ?>">
|
50 |
+
<div class="summary-collapse"><?php echo $this->escapeHtml($this->getItemName($item)); ?></div>
|
51 |
+
</td>
|
52 |
+
<td class="a-right">
|
53 |
+
<?php echo $this->helper('checkout')->formatPrice($this->getItemRowTotal($item)) ?>
|
54 |
+
</td>
|
55 |
+
</tr>
|
56 |
+
<?php endforeach; ?>
|
app/design/frontend/fed/default/template/checkout/total/tax.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 global $taxIter; $taxIter++; ?>
|
28 |
+
<?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?>
|
29 |
+
<?php $isTop = 1; ?>
|
30 |
+
<?php foreach ($this->getTotal()->getFullInfo() as $info): ?>
|
31 |
+
<?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
|
32 |
+
<?php $percent = $info['percent']; ?>
|
33 |
+
<?php $amount = $info['amount']; ?>
|
34 |
+
<?php $rates = $info['rates']; ?>
|
35 |
+
<?php $isFirst = 1; ?>
|
36 |
+
|
37 |
+
<?php foreach ($rates as $rate): ?>
|
38 |
+
<tr class="summary-details-<?php echo $taxIter; ?> summary-details<?php if ($isTop): echo ' summary-details-first'; endif; ?>" style="display:none;">
|
39 |
+
<td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>" colspan="<?php echo $this->getColspan(); ?>">
|
40 |
+
<?php echo $this->escapeHtml($rate['title']); ?>
|
41 |
+
<?php if (!is_null($rate['percent'])): ?>
|
42 |
+
(<?php echo (float)$rate['percent']; ?>%)
|
43 |
+
<?php endif; ?>
|
44 |
+
<br />
|
45 |
+
</td>
|
46 |
+
<?php if ($isFirst): ?>
|
47 |
+
<td rowspan="<?php echo count($rates); ?>" class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
|
48 |
+
<?php echo $this->helper('checkout')->formatPrice($amount); ?>
|
49 |
+
</td>
|
50 |
+
<?php endif; ?>
|
51 |
+
</tr>
|
52 |
+
<?php $isFirst = 0; ?>
|
53 |
+
<?php $isTop = 0; ?>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
<?php endif;?>
|
57 |
+
<tr<?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?> class="summary-total" onclick="expandDetails(this, '.summary-details-<?php echo $taxIter;?>')"<?php endif; ?>>
|
58 |
+
<td class="a-right" colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>">
|
59 |
+
<?php if ($this->helper('tax')->displayFullSummary()): ?>
|
60 |
+
<div class="summary-collapse"><?php echo $this->getTotal()->getTitle() ?></div>
|
61 |
+
<?php else: ?>
|
62 |
+
<?php echo $this->getTotal()->getTitle() ?>
|
63 |
+
<?php endif;?>
|
64 |
+
</td>
|
65 |
+
<td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
|
66 |
+
<strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
|
67 |
+
</td>
|
68 |
+
</tr>
|
app/design/frontend/fed/default/template/checkout/totals.phtml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<table id="shopping-cart-totals-table" style="" class="table">
|
2 |
+
<col />
|
3 |
+
<col width="1" />
|
4 |
+
<tbody>
|
5 |
+
<?php echo $this->renderTotals(-1); ?>
|
6 |
+
</tbody>
|
7 |
+
</table>
|
app/design/frontend/fed/default/template/cms/content.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 echo $pageData->getPageContent(); ?>
|
app/design/frontend/fed/default/template/cms/content_heading.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if($_heading = $this->getContentHeading()): ?>
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $_heading; ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/cms/default/home.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
There was no Home CMS page configured or found.
|
app/design/frontend/fed/default/template/cms/default/no-route.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
There was no 404 CMS page configured or found.
|
app/design/frontend/fed/default/template/cms/featuredblocks.phtml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="row" style="padding:15px;">
|
2 |
+
<div class="col-md-6 mainblocks">
|
3 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('featuredblock1')->toHtml() ?>
|
4 |
+
</div>
|
5 |
+
<div class="col-md-3 mainblocks">
|
6 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('featuredblock2')->toHtml() ?>
|
7 |
+
</div>
|
8 |
+
<div class="col-md-3">
|
9 |
+
<div class="col-md-12 mainblocks">
|
10 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('featuredblock3')->toHtml() ?>
|
11 |
+
</div>
|
12 |
+
<div class="col-md-12 mainblocks">
|
13 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('featuredblock4')->toHtml() ?>
|
14 |
+
</div>
|
15 |
+
</div>
|
16 |
+
</div>
|
app/design/frontend/fed/default/template/cms/mainblocks.phtml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="row" style="padding:15px;">
|
2 |
+
<div class="col-md-3 mainblocks">
|
3 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('mainblock1')->toHtml() ?>
|
4 |
+
</div>
|
5 |
+
<div class="col-md-3 mainblocks">
|
6 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('mainblock2')->toHtml() ?>
|
7 |
+
</div>
|
8 |
+
<div class="col-md-3 mainblocks">
|
9 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('mainblock3')->toHtml() ?>
|
10 |
+
</div>
|
11 |
+
<div class="col-md-3 mainblocks">
|
12 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('mainblock4')->toHtml() ?>
|
13 |
+
</div>
|
14 |
+
</div>
|
app/design/frontend/fed/default/template/cms/meta.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 if($pageData->getPageMetaKeywords()): ?>
|
28 |
+
<meta name="keywords" content="<?php echo $pageData->getPageMetaKeywords() ?>" />
|
29 |
+
<?php endif; ?>
|
30 |
+
<?php if($pageData->getPageMetaDescription()): ?>
|
31 |
+
<meta name="description" content="<?php echo $pageData->getPageMetaDescription() ?>" />
|
32 |
+
<?php endif; ?>
|
app/design/frontend/fed/default/template/cms/widget/link/link_block.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<span class="widget widget-cms-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/fed/default/template/cms/widget/link/link_inline.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<span class="widget widget-cms-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/fed/default/template/cms/widget/static_block/default.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="widget widget-static-block"><?php echo $this->getText(); ?></div>
|
app/design/frontend/fed/default/template/core/formkey.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
|
app/design/frontend/fed/default/template/core/link.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<a <?php echo $this->getLinkAttributes() ?>><?php echo $this->escapeHtml($this->getAnchorText()) ?></a>
|
app/design/frontend/fed/default/template/core/messages.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 foreach ($types as $type) {
|
28 |
+
if ( $messages = $this->getMessages($type) ) {
|
29 |
+
if ( !$html ) {
|
30 |
+
$html .= '<ul class="messages">';
|
31 |
+
}
|
32 |
+
$html .= '<li class="' . $type . '-msg">';
|
33 |
+
$html .= '<ul>';
|
34 |
+
|
35 |
+
foreach ( $messages as $message ) {
|
36 |
+
$html.= '<li>';
|
37 |
+
$html.= $message->getText();
|
38 |
+
$html.= '</li>';
|
39 |
+
}
|
40 |
+
$html .= '</ul>';
|
41 |
+
$html .= '</li>';
|
42 |
+
}
|
43 |
+
}
|
44 |
+
if ( $html) {
|
45 |
+
$html .= '</ul>';
|
46 |
+
}
|
47 |
+
?>
|
app/design/frontend/fed/default/template/customblocks/bottomblock.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$enable=Mage::getStoreConfig('customblocks_options/blocksettings2/block_select2');
|
3 |
+
|
4 |
+
$link1= Mage::getStoreConfig('customblocks_options/blocksettings2/block_link5');
|
5 |
+
$image1=Mage::getStoreConfig('customblocks_options/blocksettings2/block_image5');
|
6 |
+
$url1=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
7 |
+
$a='<img src="'.$url1.''.$image1.'">';
|
8 |
+
|
9 |
+
$link2= Mage::getStoreConfig('customblocks_options/blocksettings2/block_link6');
|
10 |
+
$image2=Mage::getStoreConfig('customblocks_options/blocksettings2/block_image6');
|
11 |
+
$url2=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
12 |
+
$b='<img src="'.$url2.''.$image2.'">';
|
13 |
+
|
14 |
+
$link3= Mage::getStoreConfig('customblocks_options/blocksettings2/block_link7');
|
15 |
+
$image3=Mage::getStoreConfig('customblocks_options/blocksettings2/block_image7');
|
16 |
+
$url3=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
17 |
+
$c='<img src="'.$url3.''.$image3.'">';
|
18 |
+
|
19 |
+
$link4= Mage::getStoreConfig('customblocks_options/blocksettings2/block_link8');
|
20 |
+
$image4=Mage::getStoreConfig('customblocks_options/blocksettings2/block_image8');
|
21 |
+
$url4=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
22 |
+
$d='<img src="'.$url4.''.$image4.'">';
|
23 |
+
|
24 |
+
$linkc1= Mage::getStoreConfig('customblocks_options/blocksettings2/block_linkc1');
|
25 |
+
$imagec1=Mage::getStoreConfig('customblocks_options/blocksettings2/block_imagec1');
|
26 |
+
$urlc1=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
27 |
+
$c1='<img src="'.$urlc1.''.$imagec1.'">';
|
28 |
+
|
29 |
+
$linkc2= Mage::getStoreConfig('customblocks_options/blocksettings2/block_linkc2');
|
30 |
+
$imagec2=Mage::getStoreConfig('customblocks_options/blocksettings2/block_imagec2');
|
31 |
+
$urlc2=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
32 |
+
$c2='<img src="'.$urlc2.''.$imagec2.'">';
|
33 |
+
|
34 |
+
$linkc3= Mage::getStoreConfig('customblocks_options/blocksettings2/block_linkc3');
|
35 |
+
$imagec3=Mage::getStoreConfig('customblocks_options/blocksettings2/block_imagec3');
|
36 |
+
$urlc3=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
37 |
+
$c3='<img src="'.$urlc3.''.$imagec3.'">';
|
38 |
+
|
39 |
+
?>
|
40 |
+
|
41 |
+
<?php if($enable==1){?>
|
42 |
+
<div class="row" style="padding:15px;">
|
43 |
+
<div class="col-md-6 mainblocks">
|
44 |
+
<a href="<?php echo $link1; ?>"><?php echo $a; ?></a>
|
45 |
+
</div>
|
46 |
+
<div class="col-md-3 mainblocks">
|
47 |
+
<a href="<?php echo $link2; ?>"><?php echo $b; ?></a>
|
48 |
+
</div>
|
49 |
+
<div class="col-md-3">
|
50 |
+
<div class="col-md-12 mainblocks">
|
51 |
+
<a href="<?php echo $link3; ?>"><?php echo $c; ?></a>
|
52 |
+
</div>
|
53 |
+
<div class="col-md-12 mainblocks" style="margin-top:5px;">
|
54 |
+
<a href="<?php echo $link4; ?>"><?php echo $d; ?></a>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
|
59 |
+
<div class="row" style="padding:20px;">
|
60 |
+
<div class="col-md-4"><a href="<?php echo $linkc1; ?>"><?php echo $c1; ?></a></div>
|
61 |
+
<div class="col-md-4"><a href="<?php echo $linkc2; ?>"><?php echo $c2; ?></a></div>
|
62 |
+
<div class="col-md-4"><a href="<?php echo $linkc3; ?>"><?php echo $c3; ?></a></div>
|
63 |
+
</div>
|
64 |
+
|
65 |
+
<?php }?>
|
app/design/frontend/fed/default/template/customblocks/brandblocks.phtml
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$enable=Mage::getStoreConfig('customblocks_options/blocksettings3/block_select3');
|
3 |
+
|
4 |
+
$link= Mage::getStoreConfig('customblocks_options/blocksettings3/block_link9');
|
5 |
+
$image=Mage::getStoreConfig('customblocks_options/blocksettings3/block_image9');
|
6 |
+
$url=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
7 |
+
//$brand='<img src="'.$url.''.$image.'">';
|
8 |
+
$brand= $url.$image;
|
9 |
+
|
10 |
+
?>
|
11 |
+
|
12 |
+
<style>
|
13 |
+
.brand_banner{
|
14 |
+
width:100%;
|
15 |
+
height:70px;
|
16 |
+
margin-bottom: 20px;
|
17 |
+
background:url('<?php echo $brand;?>');
|
18 |
+
}
|
19 |
+
</style>
|
20 |
+
|
21 |
+
<?php if($enable==1){?>
|
22 |
+
<div class="brand_banner">
|
23 |
+
</div>
|
24 |
+
<?php } ?>
|
app/design/frontend/fed/default/template/customblocks/customblock.phtml
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$enable=Mage::getStoreConfig('customblocks_options/blocksettings1/block_select1');
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
+
$link1= Mage::getStoreConfig('customblocks_options/blocksettings1/block_link1');
|
8 |
+
|
9 |
+
$image1=Mage::getStoreConfig('customblocks_options/blocksettings1/block_image1');
|
10 |
+
|
11 |
+
$url1=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
12 |
+
|
13 |
+
$a='<img src="'.$url1.''.$image1.'">';
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
$link2= Mage::getStoreConfig('customblocks_options/blocksettings1/block_link2');
|
18 |
+
|
19 |
+
$image2=Mage::getStoreConfig('customblocks_options/blocksettings1/block_image2');
|
20 |
+
|
21 |
+
$url2=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
22 |
+
|
23 |
+
$b='<img src="'.$url2.''.$image2.'">';
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
$link3= Mage::getStoreConfig('customblocks_options/blocksettings1/block_link3');
|
28 |
+
|
29 |
+
$image3=Mage::getStoreConfig('customblocks_options/blocksettings1/block_image3');
|
30 |
+
|
31 |
+
$url3=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
32 |
+
|
33 |
+
$c='<img src="'.$url3.''.$image3.'">';
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
$link4= Mage::getStoreConfig('customblocks_options/blocksettings1/block_link4');
|
38 |
+
|
39 |
+
$image4=Mage::getStoreConfig('customblocks_options/blocksettings1/block_image4');
|
40 |
+
|
41 |
+
$url4=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
42 |
+
|
43 |
+
$d='<img src="'.$url4.''.$image4.'">';
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
?>
|
48 |
+
|
49 |
+
<?php if($enable==1){?>
|
50 |
+
<br/><br/>
|
51 |
+
<div style="border-bottom: 4px solid #ca2728; width: 100%"><img src="<?= $this->getSkinUrl('images/featured.jpg');?>" /></div>
|
52 |
+
|
53 |
+
<div class="row" style="padding:15px;">
|
54 |
+
|
55 |
+
<div class="col-md-3 mainblocks">
|
56 |
+
|
57 |
+
<a href="<?php echo $link1; ?>"><?php echo $a; ?></a>
|
58 |
+
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<div class="col-md-3 mainblocks">
|
62 |
+
|
63 |
+
<a href="<?php echo $link2; ?>"><?php echo $b; ?></a>
|
64 |
+
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<div class="col-md-3 mainblocks">
|
68 |
+
|
69 |
+
<a href="<?php echo $link3; ?>"><?php echo $c; ?></a>
|
70 |
+
|
71 |
+
</div>
|
72 |
+
|
73 |
+
<div class="col-md-3 mainblocks">
|
74 |
+
|
75 |
+
<a href="<?php echo $link4; ?>"><?php echo $d; ?></a>
|
76 |
+
|
77 |
+
</div>
|
78 |
+
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<?php } ?>
|
app/design/frontend/fed/default/template/customblocks/mainblock.phtml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$enable=Mage::getStoreConfig('customblocks_options/blocksettings0/block_select0');
|
3 |
+
|
4 |
+
$link= Mage::getStoreConfig('customblocks_options/blocksettings0/block_link0');
|
5 |
+
$image=Mage::getStoreConfig('customblocks_options/blocksettings0/block_image0');
|
6 |
+
$url=Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
|
7 |
+
$a= $url.$image;
|
8 |
+
|
9 |
+
?>
|
10 |
+
<style>
|
11 |
+
.slide{
|
12 |
+
width:100%;
|
13 |
+
height:500px;
|
14 |
+
margin-bottom: 20px;
|
15 |
+
background:url('<?php echo $a;?>') center center no-repeat;
|
16 |
+
}
|
17 |
+
</style>
|
18 |
+
<?php if($enable==1){?>
|
19 |
+
<div class="col-md-12 slide"></div>
|
20 |
+
<?php } ?>
|
app/design/frontend/fed/default/template/customer/account/dashboard.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<h4 class="alert alert-info"><?php echo $this->__('My Dashboard') ?></h4>
|
28 |
+
<hr />
|
29 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
30 |
+
<?php echo $this->getChildHtml('hello') ?>
|
31 |
+
<?php echo $this->getChildHtml('top') ?>
|
32 |
+
|
33 |
+
<br/><br/>
|
34 |
+
<h5 class="alert alert-info"><?php echo $this->__('Account Information') ?></h5>
|
35 |
+
|
36 |
+
<?php echo $this->getChildHtml('customer.account.dashboard.extra') ?>
|
37 |
+
<?php echo $this->getChildHtml('info') ?>
|
38 |
+
<?php echo $this->getChildHtml('address') ?>
|
39 |
+
|
40 |
+
<?php echo $this->getChildHtml('info1') ?>
|
41 |
+
<?php echo $this->getChildHtml('info2') ?>
|
42 |
+
|
43 |
+
|
app/design/frontend/fed/default/template/customer/account/dashboard/address.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<div>
|
28 |
+
<div class="col-md-6">
|
29 |
+
<div class="box-content">
|
30 |
+
<div class="col-1">
|
31 |
+
<h4><?php echo $this->__('Default Billing Address') ?> <small><a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"> <span class="glyphicon glyphicon-edit"></span></a> </small></h4>
|
32 |
+
<hr />
|
33 |
+
<address>
|
34 |
+
<?php echo $this->getPrimaryBillingAddressHtml() ?><br />
|
35 |
+
</address>
|
36 |
+
</div>
|
37 |
+
<div class="col-2">
|
38 |
+
<h4><?php echo $this->__('Default Shipping Address') ?><small><a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"> <span class="glyphicon glyphicon-edit"></span></a> </small></h4>
|
39 |
+
<hr />
|
40 |
+
<address>
|
41 |
+
<?php echo $this->getPrimaryShippingAddressHtml() ?><br />
|
42 |
+
</address>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
</div>
|
47 |
+
<div class="col-md-6">
|
48 |
+
<h4><?php echo $this->__('Address Book') ?> <small><a href="<?php echo $this->getAddressBookUrl() ?>"> <span class="glyphicon glyphicon-edit"></span></a> </small></h4>
|
49 |
+
<hr />
|
50 |
+
</div>
|
51 |
+
</div>
|
app/design/frontend/fed/default/template/customer/account/dashboard/hello.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 fed
|
23 |
+
* @copyright Copyright (c) 2012 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 |
+
|
28 |
+
<div class="lead"><?php echo $this->__('Hello, %s!', $this->htmlEscape($this->getCustomerName())) ?></div>
|
29 |
+
<div><?php echo $this->__('From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.') ?></div>
|
30 |
+
<div class="clearfix"></div>
|
app/design/frontend/fed/default/template/customer/account/dashboard/info.phtml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<div>
|
28 |
+
<div class="col-md-6">
|
29 |
+
<h4><?php echo $this->__('Contact Information') ?>
|
30 |
+
<small> <a href="<?php echo $this->getUrl('customer/account/edit') ?>"><span class="glyphicon glyphicon-edit"></span></a></small>
|
31 |
+
</h4>
|
32 |
+
<hr />
|
33 |
+
<p>
|
34 |
+
<?php echo $this->htmlEscape($this->getCustomer()->getName()) ?><br />
|
35 |
+
<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?><br />
|
36 |
+
<a href="<?php echo $this->getChangePasswordUrl() ?>"><?php echo $this->__('Change Password') ?></a>
|
37 |
+
</p>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
<div class="col-md-6">
|
41 |
+
<?php if( $this->isNewsletterEnabled() ): ?>
|
42 |
+
<h4><?php echo $this->__('Newsletters') ?>
|
43 |
+
<small> <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><span class="glyphicon glyphicon-edit"></span></a> </small>
|
44 |
+
</h4><hr />
|
45 |
+
<p>
|
46 |
+
<?php if( $this->getIsSubscribed() ): ?>
|
47 |
+
<?php echo $this->__("You are currently subscribed to 'General Subscription'.") ?>
|
48 |
+
<?php else: ?>
|
49 |
+
<?php echo $this->__('You are currently not subscribed to any newsletter.') ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</p>
|
52 |
+
</div>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php /* Extensions placeholder */ ?>
|
55 |
+
<?php echo $this->getChildHtml('customer.account.dashboard.info.extra')?>
|
56 |
+
</div>
|
57 |
+
<div class="clearfix"></div>
|
app/design/frontend/fed/default/template/customer/account/dashboard/newsletter.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<div class="col-2">
|
28 |
+
<h4><?php echo $this->__('Newsletters') ?></h4>
|
29 |
+
<a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit Newsletters') ?></a>
|
30 |
+
<p><?php echo $this->__('You are currently subscribed to our newsletter.') ?></p>
|
31 |
+
</div>
|
app/design/frontend/fed/default/template/customer/account/navigation.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2012 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 |
+
<div class="block block-account">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong class="medium"><span><?php echo $this->__('My Account'); ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<ul class="nav nav-pills nav-stacked">
|
33 |
+
<?php $_links = $this->getLinks(); ?>
|
34 |
+
<?php $_index = 1; ?>
|
35 |
+
<?php $_count = count($_links); ?>
|
36 |
+
<?php foreach ($_links as $_link): ?>
|
37 |
+
<?php $_last = ($_index++ >= $_count); ?>
|
38 |
+
<?php if ($this->isActive($_link)): ?>
|
39 |
+
<li class="current<?php echo ($_last ? ' last' : '') ?>"><span class="errow"></span><strong class="small"><?php echo $_link->getLabel() ?></strong></li>
|
40 |
+
<?php else: ?>
|
41 |
+
<li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><span class="errow"></span><?php echo $_link->getLabel() ?></a></li>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
</div>
|
app/design/frontend/fed/default/template/customer/address.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Address Books') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<table width="100%">
|
32 |
+
<tr>
|
33 |
+
<td style="width:50%;"><h3>Default</h3>
|
34 |
+
<table width="100%">
|
35 |
+
<?php if(!empty($primaryAddresses)): ?>
|
36 |
+
<?php foreach($primaryAddresses as $_address): ?>
|
37 |
+
<tr>
|
38 |
+
<td>
|
39 |
+
<address>
|
40 |
+
<?php echo $_address->format('html') ?>
|
41 |
+
</address>
|
42 |
+
<p>
|
43 |
+
<strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong>
|
44 |
+
</p>
|
45 |
+
</td>
|
46 |
+
</tr>
|
47 |
+
<?php endforeach; ?>
|
48 |
+
<?php else: ?>
|
49 |
+
<tr>
|
50 |
+
<td>
|
51 |
+
<p><?php echo $this->__('You have no default entries in your address book.') ?></p>
|
52 |
+
</td>
|
53 |
+
</tr>
|
54 |
+
<?php endif ?>
|
55 |
+
</table>
|
56 |
+
</td>
|
57 |
+
<td style="width:50%;"><h3><?php echo $this->__('Additional Address Entries') ?></h3>
|
58 |
+
<table width="100%">
|
59 |
+
<?php if(!empty($alternativeAddresses)): ?>
|
60 |
+
<?php foreach($alternativeAddresses as $_address): ?>
|
61 |
+
<tr>
|
62 |
+
<td>
|
63 |
+
<address>
|
64 |
+
<?php echo $_address->format('html') ?>
|
65 |
+
</address>
|
66 |
+
<p>
|
67 |
+
<strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong><span class="separator"> | </span><strong><a href="#" onclick="return deleteAddress('<?php echo $_address->getAddressId() ?>');" class="red-link"><?php echo $this->__('Delete Address') ?></a></strong>
|
68 |
+
</p>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
<?php else: ?>
|
73 |
+
<tr>
|
74 |
+
<td>
|
75 |
+
<p><?php echo $this->__('You have no additional entries in your address book.') ?></p>
|
76 |
+
</td>
|
77 |
+
</tr>
|
78 |
+
<?php endif ?>
|
79 |
+
</table>
|
80 |
+
</td>
|
81 |
+
</tr>
|
82 |
+
</table>
|
83 |
+
<div class="buttons-set">
|
84 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
85 |
+
<button type="button" onclick="window.location='<?php echo $this->getUrl('customer/address/form') ?>';" class="button"><span><span><?php echo $this->__('New Address') ?></span></span></button>
|
86 |
+
</div>
|
87 |
+
<script type="text/javascript">
|
88 |
+
function deleteAddress(addressId) {
|
89 |
+
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
90 |
+
window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
|
91 |
+
}
|
92 |
+
return false;
|
93 |
+
}
|
94 |
+
</script>
|
app/design/frontend/fed/default/template/customer/address/book.phtml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Temlate for Mage_Customer_Block_Address_Book block
|
30 |
+
* @var $test Mage_Customer_Block_Address_Book
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<div class="page-title title-buttons">
|
34 |
+
<h4 class="alert alert-info"><?php echo $this->__('Address Book') ?></h4>
|
35 |
+
<hr />
|
36 |
+
<button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button btn btn-info" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<div class="col2-set addresses-list">
|
40 |
+
<div class="col-1 addresses-primary">
|
41 |
+
<!--<h5 class="alert alert-info"><?php echo $this->__('Default Addresses') ?></h5>-->
|
42 |
+
<ol class="list-unstyled">
|
43 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
|
44 |
+
<li class="item">
|
45 |
+
<h5 class="alert alert-success"><?php echo $this->__('Default Billing Address') ?></h5>
|
46 |
+
<address>
|
47 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
48 |
+
</address>
|
49 |
+
<p><a class="btn btn-success" href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a></p>
|
50 |
+
</li>
|
51 |
+
<?php else: ?>
|
52 |
+
<li class="item">
|
53 |
+
<h5 class="alert alert-success"><?php echo $this->__('Default Billing Address') ?></h5>
|
54 |
+
<?php echo $this->__('You have no default billing address in your address book.') ?>
|
55 |
+
</li>
|
56 |
+
<?php endif ?>
|
57 |
+
|
58 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
|
59 |
+
<li class="item">
|
60 |
+
<h5 class="alert alert-success"><?php echo $this->__('Default Shipping Address') ?></h5>
|
61 |
+
<address>
|
62 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
63 |
+
</address>
|
64 |
+
<p><a class="btn btn-success" href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></p>
|
65 |
+
</li>
|
66 |
+
<?php else: ?>
|
67 |
+
<li class="item empty">
|
68 |
+
<h5 class="alert alert-success"><?php echo $this->__('Default Shipping Address') ?></h5>
|
69 |
+
<p><?php echo $this->__('You have no default shipping address in your address book.') ?></p>
|
70 |
+
</li>
|
71 |
+
<?php endif ?>
|
72 |
+
</ol>
|
73 |
+
</div>
|
74 |
+
<div class="col-2 addresses-additional">
|
75 |
+
<h3><?php echo $this->__('Additional Address Entries') ?></h3>
|
76 |
+
<ol>
|
77 |
+
<?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
|
78 |
+
<?php foreach($_pAddsses as $_address): ?>
|
79 |
+
<li class="item">
|
80 |
+
<address>
|
81 |
+
<?php echo $this->getAddressHtml($_address) ?>
|
82 |
+
</address>
|
83 |
+
<p><a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span> <a href="#" class="link-remove" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a></p>
|
84 |
+
</li>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
<?php else: ?>
|
87 |
+
<li class="item empty">
|
88 |
+
<p><?php echo $this->__('You have no additional address entries in your address book.') ?></p>
|
89 |
+
</li>
|
90 |
+
<?php endif ?>
|
91 |
+
</ol>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
<div class="buttons-set">
|
95 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
96 |
+
</div>
|
97 |
+
<script type="text/javascript">
|
98 |
+
//<![CDATA[
|
99 |
+
function deleteAddress(addressId) {
|
100 |
+
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
101 |
+
window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
|
102 |
+
}
|
103 |
+
return false;
|
104 |
+
}
|
105 |
+
//]]>
|
106 |
+
</script>
|
app/design/frontend/fed/default/template/customer/address/edit.phtml
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
* Edit customer address template
|
30 |
+
*
|
31 |
+
* @see Mage_Customer_Block_Address_Edit
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getTitle()): ?>
|
35 |
+
|
36 |
+
<div class="row">
|
37 |
+
|
38 |
+
<div class="page-title">
|
39 |
+
<h2><?php echo $this->getTitle() ?></h2>
|
40 |
+
<hr />
|
41 |
+
</div>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
44 |
+
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
|
45 |
+
<div class="fieldset">
|
46 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
47 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
48 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
49 |
+
<h3 class="legend"><?php echo $this->__('Contact Information') ?> </h3>
|
50 |
+
<ul class="form-list list-unstyled">
|
51 |
+
<map><area shape="" href=""></map>
|
52 |
+
<li class="fields">
|
53 |
+
<?php echo $this->getNameBlockHtml() ?>
|
54 |
+
</li>
|
55 |
+
<li class="wide">
|
56 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
57 |
+
<div class="input-box">
|
58 |
+
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<li class="fields">
|
62 |
+
<div class="field">
|
63 |
+
<br/>
|
64 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<div class="field">
|
70 |
+
<br/>
|
71 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
</li>
|
77 |
+
</ul>
|
78 |
+
</div>
|
79 |
+
<div class="fieldset">
|
80 |
+
<h3 class="legend"><?php echo $this->__('Address') ?></h3>
|
81 |
+
<ul class="form-list list-unstyled">
|
82 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
83 |
+
<li class="wide list-unstyled">
|
84 |
+
<label for="street_1" class="required"><em>*</em> <?php echo $this->__('Street Address') ?></label>
|
85 |
+
<div class="input-box">
|
86 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="form-control input-text <?php echo $_streetValidationClass ?>" />
|
87 |
+
</div>
|
88 |
+
</li>
|
89 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
90 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
91 |
+
<li class="wide">
|
92 |
+
<br/>
|
93 |
+
<div class="input-box">
|
94 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="form-control input-text <?php echo $_streetValidationClass ?>" />
|
95 |
+
</div>
|
96 |
+
</li>
|
97 |
+
<?php endfor; ?>
|
98 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
99 |
+
<li class="wide">
|
100 |
+
<label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
|
101 |
+
<div class="input-box">
|
102 |
+
<input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
103 |
+
</div>
|
104 |
+
</li>
|
105 |
+
<?php endif; ?>
|
106 |
+
<li class="fields">
|
107 |
+
<div class="field">
|
108 |
+
<br/>
|
109 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
110 |
+
<div class="input-box">
|
111 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="form-control input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<div class="field">
|
115 |
+
<br/>
|
116 |
+
<label for="region_id" class="required"><em>*</em> <?php echo $this->__('State/Province') ?></label>
|
117 |
+
<div class="input-box">
|
118 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="form-control validate-select" style="display:none;">
|
119 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
120 |
+
</select>
|
121 |
+
<script type="text/javascript">
|
122 |
+
//<![CDATA[
|
123 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
124 |
+
//]]>
|
125 |
+
</script>
|
126 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
</li>
|
130 |
+
<li class="fields">
|
131 |
+
<div class="field">
|
132 |
+
<br/>
|
133 |
+
<label for="zip" class="required"><em>*</em> <?php echo $this->__('Zip/Postal Code') ?></label>
|
134 |
+
<div class="input-box">
|
135 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="form-control input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
<div class="field">
|
139 |
+
<br/>
|
140 |
+
<label for="country" class="required"><em>*</em> <?php echo $this->__('Country') ?></label>
|
141 |
+
<div class="input-box">
|
142 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
</li>
|
146 |
+
<li<?php if($this->canSetAsDefaultBilling()) echo ' class="control"' ?>>
|
147 |
+
<?php if($this->isDefaultBilling()): ?>
|
148 |
+
<strong><?php echo $this->__('Default Billing Address') ?></strong>
|
149 |
+
<?php elseif($this->canSetAsDefaultBilling()): ?>
|
150 |
+
<div class="checkbox">
|
151 |
+
<input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as My Default Billing Address') ?>" class="" />
|
152 |
+
<label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
|
153 |
+
</div>
|
154 |
+
<?php else: ?>
|
155 |
+
<input type="hidden" name="default_billing" value="1" />
|
156 |
+
<?php endif; ?>
|
157 |
+
</li>
|
158 |
+
<li<?php if($this->canSetAsDefaultShipping()) echo ' class="control"' ?>>
|
159 |
+
<?php if($this->isDefaultShipping()): ?>
|
160 |
+
<strong><?php echo $this->__('Default Shipping Address') ?></strong>
|
161 |
+
<?php elseif($this->canSetAsDefaultShipping()): ?>
|
162 |
+
<div class="checkbox">
|
163 |
+
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as My Default Shipping Address') ?>" class="" />
|
164 |
+
<label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
|
165 |
+
</div>
|
166 |
+
<?php else: ?>
|
167 |
+
<input type="hidden" name="default_shipping" value="1" />
|
168 |
+
<?php endif; ?>
|
169 |
+
</li>
|
170 |
+
</ul>
|
171 |
+
</div>
|
172 |
+
<div class="buttons-set">
|
173 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
174 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
175 |
+
<button type="submit" title="<?php echo $this->__('Save Address') ?>" class="button btn btn-danger"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
176 |
+
</div>
|
177 |
+
</form>
|
178 |
+
</div>
|
179 |
+
|
180 |
+
<script type="text/javascript">
|
181 |
+
//<![CDATA[
|
182 |
+
var dataForm = new VarienForm('form-validate', true);
|
183 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
184 |
+
//]]>
|
185 |
+
</script>
|
app/design/frontend/fed/default/template/customer/balance.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
28 |
+
<?php echo $this->__('Your account balance is: %s', $customer->getStoreBalance()) ?>
|
29 |
+
<div class="buttons-set">
|
30 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
31 |
+
</div>
|
app/design/frontend/fed/default/template/customer/form/address.phtml
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
|
28 |
+
|
29 |
+
<div class="page-title">
|
30 |
+
<h2><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h2>
|
31 |
+
<hr />
|
32 |
+
</div>
|
33 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
34 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate">
|
35 |
+
<div class="fieldset">
|
36 |
+
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
|
37 |
+
<input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
|
38 |
+
<h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
|
39 |
+
<ul class="form-list">
|
40 |
+
<li class="fields">
|
41 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
|
42 |
+
</li>
|
43 |
+
<li>
|
44 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
47 |
+
</div>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
</div>
|
51 |
+
<div class="fieldset">
|
52 |
+
<h2 class="legend"><?php echo $this->__('Address') ?></h2>
|
53 |
+
<ul class="form-list">
|
54 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
55 |
+
<li class="wide">
|
56 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
57 |
+
<div class="input-box">
|
58 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
62 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
63 |
+
<li class="wide">
|
64 |
+
<div class="input-box">
|
65 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
66 |
+
</div>
|
67 |
+
</li>
|
68 |
+
<?php endfor; ?>
|
69 |
+
<li class="fields">
|
70 |
+
<div class="field">
|
71 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<div class="field">
|
77 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
78 |
+
<div class="input-box">
|
79 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
80 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
81 |
+
</select>
|
82 |
+
<script type="text/javascript">
|
83 |
+
//<![CDATA[
|
84 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
85 |
+
//]]>
|
86 |
+
</script>
|
87 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
</li>
|
91 |
+
<li class="fields">
|
92 |
+
<div class="field">
|
93 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
94 |
+
<div class="input-box">
|
95 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<div class="field">
|
99 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
100 |
+
<div class="input-box">
|
101 |
+
<select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
|
102 |
+
<?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
|
103 |
+
</select>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
</li>
|
107 |
+
<li class="fields">
|
108 |
+
<div class="field">
|
109 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
110 |
+
<div class="input-box">
|
111 |
+
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<div class="field">
|
115 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
116 |
+
<div class="input-box">
|
117 |
+
<input type="text" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</li>
|
121 |
+
<?php foreach ($primaryTypes as $code=>$type): ?>
|
122 |
+
<li<?php if (!$address->isPrimary($type['address_type_id'])) echo ' class="control"' ?>>
|
123 |
+
<?php if ($address->isPrimary($type['address_type_id'])): ?>
|
124 |
+
<strong><?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?></strong>
|
125 |
+
<?php else: ?>
|
126 |
+
<input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" /><label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
|
127 |
+
<?php endif ?>
|
128 |
+
</li>
|
129 |
+
<?php endforeach ?>
|
130 |
+
</ul>
|
131 |
+
</div>
|
132 |
+
<div class="buttons-set">
|
133 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
134 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
135 |
+
<button type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
136 |
+
</div>
|
137 |
+
</form>
|
138 |
+
<script type="text/javascript">
|
139 |
+
//<![CDATA[
|
140 |
+
var dataForm = new VarienForm('form-validate', true);
|
141 |
+
//dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
|
142 |
+
new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
|
143 |
+
//]]>
|
144 |
+
</script>
|
app/design/frontend/fed/default/template/customer/form/changepassword.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Change Account Password') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
|
34 |
+
<ul class="form-list">
|
35 |
+
<li>
|
36 |
+
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
37 |
+
<div class="input-box">
|
38 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
|
39 |
+
</div>
|
40 |
+
</li>
|
41 |
+
<li class="fields">
|
42 |
+
<div class="field">
|
43 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
44 |
+
<div class="input-box">
|
45 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<div class="field">
|
49 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
</ul>
|
56 |
+
</div>
|
57 |
+
<div class="buttons-set">
|
58 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
59 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
60 |
+
<button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
|
61 |
+
</div>
|
62 |
+
</form>
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
var dataForm = new VarienForm('form-validate');
|
66 |
+
//]]>
|
67 |
+
</script>
|
app/design/frontend/fed/default/template/customer/form/confirmation.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Send confirmation link') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
|
34 |
+
<p><?php echo $this->__('Please enter your email below and we\'ll send you confirmation link for it.') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li>
|
37 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="text" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
</ul>
|
43 |
+
</div>
|
44 |
+
<div class="buttons-set">
|
45 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
46 |
+
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
47 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
48 |
+
</div>
|
49 |
+
</form>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
var dataForm = new VarienForm('form-validate', true);
|
53 |
+
//]]>
|
54 |
+
</script>
|
app/design/frontend/fed/default/template/customer/form/edit.phtml
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
|
28 |
+
<h2><?php echo $this->__('Edit Account Information') ?></h2>
|
29 |
+
<hr />
|
30 |
+
<?php if($this->getMessagesBlock()->getGroupedHtml()){ ?>
|
31 |
+
<div class="alert alert-danger"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
32 |
+
<?php } ?>
|
33 |
+
<div class="row">
|
34 |
+
<div class="col-md-8">
|
35 |
+
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate" autocomplete="off">
|
36 |
+
<div class="fieldset">
|
37 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
38 |
+
<h3><?php echo $this->__('Account Information') ?></h3>
|
39 |
+
<ul class="form-list list-unstyled">
|
40 |
+
<li class="fields">
|
41 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
|
42 |
+
</li>
|
43 |
+
<li>
|
44 |
+
|
45 |
+
<label for="email" class="required"><em class="text-danger">* </em> <?php echo $this->__('Email Address') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<input type="text" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email form-control" />
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
51 |
+
<?php if ($_dob->isEnabled()): ?>
|
52 |
+
<li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
55 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
56 |
+
<li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
|
57 |
+
<?php endif ?>
|
58 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
59 |
+
<?php if ($_gender->isEnabled()): ?>
|
60 |
+
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
61 |
+
<?php endif ?>
|
62 |
+
<li>
|
63 |
+
<div class="checkbox">
|
64 |
+
<label>
|
65 |
+
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
66 |
+
</label>
|
67 |
+
</div>
|
68 |
+
</li>
|
69 |
+
</ul>
|
70 |
+
</div>
|
71 |
+
<div class="fieldset" style="display:none;">
|
72 |
+
<h3><?php echo $this->__('Change Password') ?></h3>
|
73 |
+
<ul class="form-list list-unstyled">
|
74 |
+
<li>
|
75 |
+
<em>*</em> <?php echo $this->__('Current Password') ?>
|
76 |
+
<div class="input-box">
|
77 |
+
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
|
78 |
+
<input type="hidden" class="input-text no-display" name="dummy" id="dummy" />
|
79 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text form-control" name="current_password" id="current_password" />
|
80 |
+
</div>
|
81 |
+
</li>
|
82 |
+
<li class="fields">
|
83 |
+
<div class="field">
|
84 |
+
<em>*</em> <?php echo $this->__('New Password') ?>
|
85 |
+
<div class="input-box">
|
86 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password form-control" name="password" id="password" />
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
<div class="field">
|
90 |
+
<em>*</em> <?php echo $this->__('Confirm New Password') ?>
|
91 |
+
<div class="input-box">
|
92 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword form-control" name="confirmation" id="confirmation" />
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</li>
|
96 |
+
</ul>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<div class="buttons-set">
|
100 |
+
<p class="text-danger"><?php echo $this->__('* Required Fields') ?><br/><br/>
|
101 |
+
<a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a>
|
102 |
+
<button type="submit" title="<?php echo $this->__('Save') ?>" class="btn btn-danger"><?php echo $this->__('Save') ?></button>
|
103 |
+
</p>
|
104 |
+
</div>
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
</form>
|
109 |
+
</div></div>
|
110 |
+
<script type="text/javascript">
|
111 |
+
//<![CDATA[
|
112 |
+
var dataForm = new VarienForm('form-validate', true);
|
113 |
+
function setPasswordForm(arg){
|
114 |
+
if(arg){
|
115 |
+
$('current_password').up(3).show();
|
116 |
+
$('current_password').addClassName('required-entry');
|
117 |
+
$('password').addClassName('required-entry');
|
118 |
+
$('confirmation').addClassName('required-entry');
|
119 |
+
|
120 |
+
}else{
|
121 |
+
$('current_password').up(3).hide();
|
122 |
+
$('current_password').removeClassName('required-entry');
|
123 |
+
$('password').removeClassName('required-entry');
|
124 |
+
$('confirmation').removeClassName('required-entry');
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
<?php if($this->getCustomer()->getChangePassword()): ?>
|
129 |
+
setPasswordForm(true);
|
130 |
+
<?php endif; ?>
|
131 |
+
//]]>
|
132 |
+
</script>
|
app/design/frontend/fed/default/template/customer/form/forgotpassword.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2013 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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Forgot Your Password?') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Retrieve your password here') ?></h2>
|
34 |
+
<p><?php echo $this->__('Please enter your email address below. You will receive a link to reset your password.') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li>
|
37 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="text" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value=
|