Version Notes
stable version
Download this release
Release Info
Developer | tony vu |
Extension | responsive |
Version | 1.4.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.4.6
- app/code/local/Tvcarousel/Slider/Block/Link.php +23 -0
- app/code/local/Tvcarousel/Slider/Helper/Data.php +13 -0
- app/code/local/Tvcarousel/Slider/Model/Option/Transition.php +15 -0
- app/code/local/Tvcarousel/Slider/etc/config.xml +60 -0
- app/code/local/Tvcarousel/Slider/etc/system.xml +90 -0
- app/code/local/Tvcom/Blockcustom/Helper/Data.php +27 -0
- app/code/local/Tvcom/Blockcustom/etc/config.xml +43 -0
- app/code/local/Tvcom/Blockcustom/etc/system.xml +189 -0
- app/code/local/Tvcom/Page/Block/Html/Welcome.php +2 -2
- app/code/local/Tvcom/Themecustom/etc/system.xml +35 -288
- app/code/local/Tvmenu/Mega/Block/Textfields.php +17 -0
- app/code/local/Tvmenu/Mega/Helper/Data.php +105 -0
- app/code/local/Tvmenu/Mega/etc/config.xml +53 -0
- app/code/local/Tvmenu/Mega/etc/system.xml +192 -0
- app/design/frontend/default/responsive/layout/carousel.xml +12 -0
- app/design/frontend/default/responsive/layout/catalog.xml +20 -6
- app/design/frontend/default/responsive/layout/catalogsearch.xml +16 -0
- app/design/frontend/default/responsive/layout/checkout.xml +6 -0
- app/design/frontend/default/responsive/layout/cms.xml +16 -0
- app/design/frontend/default/responsive/layout/page.xml +0 -4
- app/design/frontend/default/responsive/layout/review.xml +134 -0
- app/design/frontend/default/responsive/layout/yamm.xml +14 -0
- app/design/frontend/default/responsive/template/bundle/catalog/product/view/type/bundle/option/radio.phtml +2 -2
- app/design/frontend/default/responsive/template/carousel/slider.phtml +83 -0
- app/design/frontend/default/responsive/template/catalog/layer/state.phtml +1 -1
- app/design/frontend/default/responsive/template/catalog/layer/view.phtml +61 -0
- app/design/frontend/default/responsive/template/catalog/product/compare/sidebar.phtml +4 -5
- app/design/frontend/default/responsive/template/catalog/product/list.phtml +17 -11
- app/design/frontend/default/responsive/template/catalog/product/list/related.phtml +94 -0
- app/design/frontend/default/responsive/template/catalog/product/list/toolbar.phtml +2 -2
- app/design/frontend/default/responsive/template/catalog/product/list/upsell.phtml +13 -9
- app/design/frontend/default/responsive/template/catalog/product/price.phtml +459 -0
- app/design/frontend/default/responsive/template/catalog/product/view.phtml +39 -13
- app/design/frontend/default/responsive/template/catalog/product/view/addtocart.phtml +44 -0
- app/design/frontend/default/responsive/template/catalog/product/view/attributes.phtml +2 -2
- app/design/frontend/default/responsive/template/catalog/product/view/description.phtml +39 -0
- app/design/frontend/default/responsive/template/catalog/product/view/type/grouped.phtml +93 -0
- app/design/frontend/default/responsive/template/catalog/seo/sitemap.phtml +50 -0
- app/design/frontend/default/responsive/template/catalog/seo/tree.phtml +43 -0
- app/design/frontend/default/responsive/template/catalogsearch/advanced/result.phtml +60 -0
- app/design/frontend/default/responsive/template/catalogsearch/form.mini.phtml +6 -5
- app/design/frontend/default/responsive/template/catalogsearch/result.phtml +55 -0
- app/design/frontend/default/responsive/template/catalogsearch/term.phtml +38 -0
- app/design/frontend/default/responsive/template/checkout/cart/coupon.phtml +2 -2
- app/design/frontend/default/responsive/template/checkout/cart/crosssell.phtml +33 -6
- app/design/frontend/default/responsive/template/checkout/cart/item/configure/updatecart.phtml +41 -0
- app/design/frontend/default/responsive/template/checkout/cart/item/default.phtml +1 -1
- app/design/frontend/default/responsive/template/checkout/cart/render/default.phtml +70 -0
- app/design/frontend/default/responsive/template/checkout/cart/render/simple.phtml +70 -0
- app/design/frontend/default/responsive/template/checkout/cart/shipping.phtml +2 -2
- app/design/frontend/default/responsive/template/checkout/cart/sidebar.phtml +4 -4
- app/design/frontend/default/responsive/template/checkout/multishipping/shipping.phtml +130 -0
- app/design/frontend/default/responsive/template/checkout/onepage/payment.phtml +73 -0
- app/design/frontend/default/responsive/template/checkout/onepage/progress.phtml +59 -0
- app/design/frontend/default/responsive/template/checkout/onepage/progress/billing.phtml +40 -0
- app/design/frontend/default/responsive/template/checkout/onepage/shipping.phtml +1 -1
- app/design/frontend/default/responsive/template/checkout/onepage/shipping_method.phtml +46 -0
- app/design/frontend/default/responsive/template/checkout/onepage/shipping_method/available.phtml +101 -0
- app/design/frontend/default/responsive/template/customer/account/navigation.phtml +46 -0
- app/design/frontend/default/responsive/template/customer/form/login.phtml +92 -0
- app/design/frontend/default/responsive/template/downloadable/customer/products/list.phtml +2 -0
- app/design/frontend/default/responsive/template/newsletter/subscribe.phtml +1 -1
- app/design/frontend/default/responsive/template/page/1column.phtml +18 -7
- app/design/frontend/default/responsive/template/page/2columns-left.phtml +18 -8
- app/design/frontend/default/responsive/template/page/2columns-right.phtml +18 -10
- app/design/frontend/default/responsive/template/page/3columns.phtml +17 -10
- app/design/frontend/default/responsive/template/page/html/.head.phtml.swp +0 -0
- app/design/frontend/default/responsive/template/page/html/footer.phtml +2 -2
- app/design/frontend/default/responsive/template/page/html/head.phtml +17 -16
- app/design/frontend/default/responsive/template/page/html/header.phtml +16 -9
- app/design/frontend/default/responsive/template/page/html/pager.phtml +2 -2
- app/design/frontend/default/responsive/template/page/html/topmenu.phtml +10 -14
- app/design/frontend/default/responsive/template/page/switch/languages.phtml +10 -8
- app/design/frontend/default/responsive/template/persistent/checkout/onepage/billing.phtml +1 -1
- app/design/frontend/default/responsive/template/persistent/checkout/onepage/login.phtml +2 -2
- app/design/frontend/default/responsive/template/persistent/customer/form/login.phtml +2 -1
- app/design/frontend/default/responsive/template/poll/active.phtml +5 -5
- app/design/frontend/default/responsive/template/reports/product_compared.phtml +44 -0
- app/design/frontend/default/responsive/template/reports/product_viewed.phtml +44 -0
- app/design/frontend/default/responsive/template/review/form.phtml +2 -2
- app/design/frontend/default/responsive/template/sales/order/history.phtml +40 -38
- app/design/frontend/default/responsive/template/sales/reorder/sidebar.phtml +5 -5
- app/design/frontend/default/responsive/template/sendfriend/send.phtml +133 -0
- app/design/frontend/default/responsive/template/tag/cloud.phtml +38 -0
- app/design/frontend/default/responsive/template/tag/list.phtml +6 -12
- app/design/frontend/default/responsive/template/tag/popular.phtml +41 -0
- app/design/frontend/default/responsive/template/tvtheme/best-sale.phtml +52 -0
- app/design/frontend/default/responsive/template/tvtheme/cssconfig.phtml +25 -56
- app/design/frontend/default/responsive/template/tvtheme/networkshare.phtml +3 -3
- app/design/frontend/default/responsive/template/tvtheme/new-arrival.phtml +52 -0
- app/design/frontend/default/responsive/template/tvtheme/sectors.phtml +38 -0
- app/design/frontend/default/responsive/template/tvtheme/yamm.phtml +113 -0
- app/design/frontend/default/responsive/template/wishlist/item/column/cart.phtml +2 -2
- app/design/frontend/default/responsive/template/wishlist/item/column/image.phtml +1 -1
- app/design/frontend/default/responsive/template/wishlist/sidebar.phtml +4 -4
- app/design/frontend/default/responsive/template/wishlist/view.phtml +76 -0
- app/etc/modules/Tvcarousel_Slider.xml +9 -0
- app/etc/modules/Tvcom_Blockcustom.xml +9 -0
- app/etc/modules/Tvmenu_Mega.xml +9 -0
- package.xml +25 -10
- skin/frontend/default/responsive/css/carousel/slider.css +36 -0
- skin/frontend/default/responsive/css/jcarousel/jcarousel.skeleton.css +25 -0
- skin/frontend/default/responsive/css/responsive.css +30 -9
- skin/frontend/default/responsive/css/styles.css +120 -121
- skin/frontend/default/responsive/css/yamm.css +39 -0
- skin/frontend/default/responsive/images/main-banner1.jpg +0 -0
- skin/frontend/default/responsive/images/main-banner2.jpg +0 -0
- skin/frontend/default/responsive/images/paypal-logo-imt.png +0 -0
- skin/frontend/default/responsive/js/grids.min.js +9 -0
- skin/frontend/default/responsive/js/jquery.jcarousel.min.js +4 -0
app/code/local/Tvcarousel/Slider/Block/Link.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Set up link for Carousel */
|
3 |
+
|
4 |
+
class Tvcarousel_Slider_Block_Link extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
|
5 |
+
{
|
6 |
+
public function __construct()
|
7 |
+
{
|
8 |
+
$this->addColumn('image_name', array(
|
9 |
+
'label' => Mage::helper('adminhtml')->__('Image Name'),
|
10 |
+
'style' => 'width:130px',
|
11 |
+
));
|
12 |
+
|
13 |
+
$this->addColumn('image_link', array(
|
14 |
+
'label' => Mage::helper('adminhtml')->__('Image Link'),
|
15 |
+
'style' => 'width:400px',
|
16 |
+
));
|
17 |
+
|
18 |
+
$this->_addAfter = false;
|
19 |
+
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add Link Banner');
|
20 |
+
parent::__construct();
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
app/code/local/Tvcarousel/Slider/Helper/Data.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
class Tvcarousel_Slider_Helper_Data extends Mage_Core_Helper_Abstract{
|
8 |
+
public function getImageName($path_image){
|
9 |
+
return substr($path_image, strrpos($path_image, '/') + 1);
|
10 |
+
}
|
11 |
+
}
|
12 |
+
|
13 |
+
?>
|
app/code/local/Tvcarousel/Slider/Model/Option/Transition.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
class Tvcarousel_Slider_Model_Option_Transition{
|
8 |
+
public function toOptionArray(){
|
9 |
+
return array(
|
10 |
+
array('value'=>'slide', 'label'=>'slide'),
|
11 |
+
array('value'=>'slide carousel-fade', 'label'=>'fade'),
|
12 |
+
);
|
13 |
+
}
|
14 |
+
}
|
15 |
+
?>
|
app/code/local/Tvcarousel/Slider/etc/config.xml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvcarousel_Slider>
|
5 |
+
<version>0.0.1</version>
|
6 |
+
</Tvcarousel_Slider>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<frontend>
|
10 |
+
<layout>
|
11 |
+
<updates>
|
12 |
+
<tvcarousel_slider>
|
13 |
+
<file>carousel.xml</file>
|
14 |
+
</tvcarousel_slider>
|
15 |
+
</updates>
|
16 |
+
</layout>
|
17 |
+
</frontend>
|
18 |
+
|
19 |
+
<global>
|
20 |
+
<helpers>
|
21 |
+
<slider>
|
22 |
+
<class>Tvcarousel_Slider_Helper</class>
|
23 |
+
</slider>
|
24 |
+
</helpers>
|
25 |
+
|
26 |
+
<models>
|
27 |
+
<slider>
|
28 |
+
<class>Tvcarousel_Slider_Model</class>
|
29 |
+
</slider>
|
30 |
+
</models>
|
31 |
+
|
32 |
+
<blocks>
|
33 |
+
<slider>
|
34 |
+
<class>Tvcarousel_Slider_Block</class>
|
35 |
+
</slider>
|
36 |
+
</blocks>
|
37 |
+
</global>
|
38 |
+
|
39 |
+
<adminhtml>
|
40 |
+
<acl>
|
41 |
+
<resources>
|
42 |
+
<admin>
|
43 |
+
<children>
|
44 |
+
<system>
|
45 |
+
<children>
|
46 |
+
<config>
|
47 |
+
<children>
|
48 |
+
<carousel translate="label" module="slider"> <!-- setting section -->
|
49 |
+
<title>Carousel Section</title>
|
50 |
+
</carousel>
|
51 |
+
</children>
|
52 |
+
</config>
|
53 |
+
</children>
|
54 |
+
</system>
|
55 |
+
</children>
|
56 |
+
</admin>
|
57 |
+
</resources>
|
58 |
+
</acl>
|
59 |
+
</adminhtml>
|
60 |
+
</config>
|
app/code/local/Tvcarousel/Slider/etc/system.xml
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
|
3 |
+
<config>
|
4 |
+
<sections>
|
5 |
+
<carousel tranlate="label" module="slider">
|
6 |
+
<label>Homepage Carousel</label>
|
7 |
+
<tab>tvcomthemecustom</tab>
|
8 |
+
<frontend_type>text</frontend_type>
|
9 |
+
<sort_order>307</sort_order>
|
10 |
+
<show_in_default>1</show_in_default>
|
11 |
+
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
+
<groups translate="label" module="slider">
|
14 |
+
<setting translate="label">
|
15 |
+
<label>Carousel Setting</label>
|
16 |
+
<frontend_type>text</frontend_type>
|
17 |
+
<sort_order>2</sort_order>
|
18 |
+
<show_in_default>1</show_in_default>
|
19 |
+
<show_in_website>1</show_in_website>
|
20 |
+
<show_in_store>1</show_in_store>
|
21 |
+
<fields>
|
22 |
+
<yes_no translate="label">
|
23 |
+
<label>Show carousel ?</label>
|
24 |
+
<frontend_type>select</frontend_type>
|
25 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
26 |
+
<sort_order>1</sort_order>
|
27 |
+
<show_in_default>1</show_in_default>
|
28 |
+
<show_in_website>1</show_in_website>
|
29 |
+
<show_in_store>1</show_in_store>
|
30 |
+
<comment>yes to show carousel</comment>
|
31 |
+
</yes_no>
|
32 |
+
|
33 |
+
<wrap translate="label">
|
34 |
+
<label>Loop</label>
|
35 |
+
<frontend_type>select</frontend_type>
|
36 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
37 |
+
<sort_order>2</sort_order>
|
38 |
+
<show_in_default>1</show_in_default>
|
39 |
+
<show_in_website>1</show_in_website>
|
40 |
+
<show_in_store>1</show_in_store>
|
41 |
+
<comment>carousel continuously loops or stops</comment>
|
42 |
+
</wrap>
|
43 |
+
|
44 |
+
<path translate="data">
|
45 |
+
<label>Path Folder</label>
|
46 |
+
<frontend_type>text</frontend_type>
|
47 |
+
<sort_order>4</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
<comment><![CDATA[carousel images inside media folder<br/><b>Example</b>: shoes/men]]></comment>
|
52 |
+
</path>
|
53 |
+
|
54 |
+
<transition translate="label">
|
55 |
+
<label>Transition option</label>
|
56 |
+
<frontend_type>select</frontend_type>
|
57 |
+
<source_model>slider/option_transition</source_model>
|
58 |
+
<sort_order>5</sort_order>
|
59 |
+
<show_in_default>1</show_in_default>
|
60 |
+
<show_in_website>1</show_in_website>
|
61 |
+
<show_in_store>1</show_in_store>
|
62 |
+
</transition>
|
63 |
+
|
64 |
+
<interval translate="data">
|
65 |
+
<label>Interval</label>
|
66 |
+
<frontend_type>text</frontend_type>
|
67 |
+
<sort_order>6</sort_order>
|
68 |
+
<show_in_default>1</show_in_default>
|
69 |
+
<show_in_website>1</show_in_website>
|
70 |
+
<show_in_store>1</show_in_store>
|
71 |
+
<comment><![CDATA[time between transition<br/><b>Example</b>: 1s = 1000]]></comment>
|
72 |
+
</interval>
|
73 |
+
|
74 |
+
<banner translate="comment">
|
75 |
+
<label>Add Link Banner</label>
|
76 |
+
<frontend_model>slider/link</frontend_model>
|
77 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
78 |
+
<sort_order>100</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 |
+
<comment>Add Banner Link in HOMEPAGE</comment>
|
83 |
+
</banner>
|
84 |
+
|
85 |
+
</fields>
|
86 |
+
</setting>
|
87 |
+
</groups>
|
88 |
+
</carousel>
|
89 |
+
</sections>
|
90 |
+
</config>
|
app/code/local/Tvcom/Blockcustom/Helper/Data.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Checkout default helper
|
4 |
+
*
|
5 |
+
* @author Magento Core Team <core@magentocommerce.com>
|
6 |
+
*/
|
7 |
+
require_once(Mage::getBaseDir().DS."app".DS."code".DS."core".DS."Mage".DS."Catalog".DS."Block".DS."Product.php");
|
8 |
+
|
9 |
+
class Tvcom_Blockcustom_Helper_Data extends Mage_Core_Helper_Abstract{
|
10 |
+
/* get feature product list from their sku */
|
11 |
+
public function getProducts($arry_product_sku){
|
12 |
+
$products = Mage::helper('mega/data')->getProductBySku($arry_product_sku);
|
13 |
+
$product_block = new Mage_Catalog_Block_Product;
|
14 |
+
$html .= '<ul>';
|
15 |
+
foreach($products as $product){
|
16 |
+
$html .= '<li>';
|
17 |
+
$html .= '<div>';
|
18 |
+
$html .= '<a href="' . Mage::getBaseUrl(). $product->getUrl_path() . '" /><img src="' . Mage::helper('catalog/image')->init($product, 'small_image')->resize(150) . '" alt=""></a>';
|
19 |
+
$html .= '<p><a href="' . Mage::getBaseUrl(). $product->getUrl_path() . '">' . $product->getName() . '</a>';
|
20 |
+
$html .= '<p>' . $product_block->getPriceHtml($product) . '</p>';
|
21 |
+
$html .= '</div>';
|
22 |
+
$html .= '</li>';
|
23 |
+
}
|
24 |
+
$html .= '</ul>';
|
25 |
+
return $html;
|
26 |
+
}
|
27 |
+
}
|
app/code/local/Tvcom/Blockcustom/etc/config.xml
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvcom_Blockcustom>
|
5 |
+
<version>0.0.2</version>
|
6 |
+
</Tvcom_Blockcustom>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<global>
|
10 |
+
<helpers>
|
11 |
+
<blockcustom>
|
12 |
+
<class>Tvcom_Blockcustom_Helper</class>
|
13 |
+
</blockcustom>
|
14 |
+
</helpers>
|
15 |
+
|
16 |
+
</global>
|
17 |
+
|
18 |
+
<adminhtml>
|
19 |
+
<acl>
|
20 |
+
<resources>
|
21 |
+
<admin>
|
22 |
+
<children>
|
23 |
+
<system>
|
24 |
+
<children>
|
25 |
+
<config>
|
26 |
+
<children>
|
27 |
+
<block translate="label" module="themecustom">
|
28 |
+
<title>promotion Blocks</title>
|
29 |
+
</block>
|
30 |
+
</children>
|
31 |
+
</config>
|
32 |
+
</children>
|
33 |
+
</system>
|
34 |
+
</children>
|
35 |
+
</admin>
|
36 |
+
</resources>
|
37 |
+
</acl>
|
38 |
+
</adminhtml>
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
</config>
|
app/code/local/Tvcom/Blockcustom/etc/system.xml
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
|
3 |
+
<config>
|
4 |
+
<sections>
|
5 |
+
<block tranlate="label" module="blockcustom">
|
6 |
+
<label>Promotion Blocks</label>
|
7 |
+
<tab>tvcomthemecustom</tab>
|
8 |
+
<frontend_type>text</frontend_type>
|
9 |
+
<sort_order>450</sort_order>
|
10 |
+
<show_in_default>1</show_in_default>
|
11 |
+
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
+
<groups translate="label" module="slider">
|
14 |
+
<newarrival translate="label">
|
15 |
+
<label>New Arrival List</label>
|
16 |
+
<frontend_type>text</frontend_type>
|
17 |
+
<sort_order>2</sort_order>
|
18 |
+
<show_in_default>1</show_in_default>
|
19 |
+
<show_in_website>1</show_in_website>
|
20 |
+
<show_in_store>1</show_in_store>
|
21 |
+
<comment>Add product sku to show them in HOMEPAGE > NEW ARRIVAL</comment>
|
22 |
+
<fields>
|
23 |
+
<yes_no translate="label">
|
24 |
+
<label>Show New Arrival Block ?</label>
|
25 |
+
<frontend_type>select</frontend_type>
|
26 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
27 |
+
<sort_order>10</sort_order>
|
28 |
+
<show_in_default>1</show_in_default>
|
29 |
+
<show_in_website>1</show_in_website>
|
30 |
+
<show_in_store>1</show_in_store>
|
31 |
+
</yes_no>
|
32 |
+
|
33 |
+
<product translate="comment">
|
34 |
+
<label>Add product sku</label>
|
35 |
+
<frontend_model>mega/textfields</frontend_model>
|
36 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
37 |
+
<sort_order>25</sort_order>
|
38 |
+
<show_in_default>1</show_in_default>
|
39 |
+
<show_in_website>1</show_in_website>
|
40 |
+
<show_in_store>1</show_in_store>
|
41 |
+
</product>
|
42 |
+
</fields>
|
43 |
+
</newarrival>
|
44 |
+
|
45 |
+
<bestsale translate="label">
|
46 |
+
<label>Best Sale List</label>
|
47 |
+
<frontend_type>text</frontend_type>
|
48 |
+
<sort_order>10</sort_order>
|
49 |
+
<show_in_default>1</show_in_default>
|
50 |
+
<show_in_website>1</show_in_website>
|
51 |
+
<show_in_store>1</show_in_store>
|
52 |
+
<comment>Add product sku to show them in HOMEPAGE > NEW ARRIVAL</comment>
|
53 |
+
<fields>
|
54 |
+
|
55 |
+
<yes_no translate="label">
|
56 |
+
<label>Show Best Sale Block ?</label>
|
57 |
+
<frontend_type>select</frontend_type>
|
58 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
59 |
+
<sort_order>10</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>1</show_in_store>
|
63 |
+
</yes_no>
|
64 |
+
|
65 |
+
<product translate="comment">
|
66 |
+
<label>Add product sku</label>
|
67 |
+
<frontend_model>mega/textfields</frontend_model>
|
68 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
69 |
+
<sort_order>25</sort_order>
|
70 |
+
<show_in_default>1</show_in_default>
|
71 |
+
<show_in_website>1</show_in_website>
|
72 |
+
<show_in_store>1</show_in_store>
|
73 |
+
</product>
|
74 |
+
</fields>
|
75 |
+
</bestsale>
|
76 |
+
|
77 |
+
<sectors translate="label">
|
78 |
+
<label>3 Blocks</label>
|
79 |
+
<frontend_type>label</frontend_type>
|
80 |
+
<sort_order>40</sort_order>
|
81 |
+
<show_in_default>1</show_in_default>
|
82 |
+
<show_in_website>1</show_in_website>
|
83 |
+
<show_in_store>1</show_in_store>
|
84 |
+
<fields>
|
85 |
+
<yes_no translate="label">
|
86 |
+
<label>Show 3 Blocks ?</label>
|
87 |
+
<frontend_type>select</frontend_type>
|
88 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
89 |
+
<sort_order>10</sort_order>
|
90 |
+
<show_in_default>1</show_in_default>
|
91 |
+
<show_in_website>1</show_in_website>
|
92 |
+
<show_in_store>1</show_in_store>
|
93 |
+
</yes_no>
|
94 |
+
|
95 |
+
<left translate="label">
|
96 |
+
<label><![CDATA[<span style="color:red">Left Block</span>]]></label>
|
97 |
+
<frontend_type>label</frontend_type>
|
98 |
+
<sort_order>15</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 |
+
</left>
|
103 |
+
<l_image translate="label">
|
104 |
+
<label>Image</label>
|
105 |
+
<frontend_type>image</frontend_type>
|
106 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
107 |
+
<upload_dir config="system/filesystem/media" scope_info="1">blockimage</upload_dir>
|
108 |
+
<base_url type="media" scope_info="1">blockimage</base_url>
|
109 |
+
<sort_order>25</sort_order>
|
110 |
+
<show_in_default>1</show_in_default>
|
111 |
+
<show_in_website>1</show_in_website>
|
112 |
+
<show_in_store>1</show_in_store>
|
113 |
+
</l_image>
|
114 |
+
<l_link translate="label">
|
115 |
+
<label>Link</label>
|
116 |
+
<frontend_type>text</frontend_type>
|
117 |
+
<sort_order>35</sort_order>
|
118 |
+
<show_in_default>1</show_in_default>
|
119 |
+
<show_in_website>1</show_in_website>
|
120 |
+
<show_in_store>1</show_in_store>
|
121 |
+
<comment>Example:https://www.example.com/</comment>
|
122 |
+
</l_link>
|
123 |
+
|
124 |
+
<middle translate="label">
|
125 |
+
<label><![CDATA[<span style="color:red">Middle Block</span>]]></label>
|
126 |
+
<frontend_type>label</frontend_type>
|
127 |
+
<sort_order>40</sort_order>
|
128 |
+
<show_in_default>1</show_in_default>
|
129 |
+
<show_in_website>1</show_in_website>
|
130 |
+
<show_in_store>1</show_in_store>
|
131 |
+
</middle>
|
132 |
+
|
133 |
+
<m_image translate="label">
|
134 |
+
<label>Image</label>
|
135 |
+
<frontend_type>image</frontend_type>
|
136 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
137 |
+
<upload_dir config="system/filesystem/media" scope_info="1">blockimage</upload_dir>
|
138 |
+
<base_url type="media" scope_info="1">blockimage</base_url>
|
139 |
+
<sort_order>45</sort_order>
|
140 |
+
<show_in_default>1</show_in_default>
|
141 |
+
<show_in_website>1</show_in_website>
|
142 |
+
<show_in_store>1</show_in_store>
|
143 |
+
</m_image>
|
144 |
+
|
145 |
+
<m_link translate="label">
|
146 |
+
<label>Link</label>
|
147 |
+
<frontend_type>text</frontend_type>
|
148 |
+
<sort_order>48</sort_order>
|
149 |
+
<show_in_default>1</show_in_default>
|
150 |
+
<show_in_website>1</show_in_website>
|
151 |
+
<show_in_store>1</show_in_store>
|
152 |
+
</m_link>
|
153 |
+
|
154 |
+
<right translate="label">
|
155 |
+
<label><![CDATA[<span style="color:red">Right Block</span>]]></label>
|
156 |
+
<frontend_type>label</frontend_type>
|
157 |
+
<sort_order>50</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 |
+
</right>
|
162 |
+
|
163 |
+
<r_image translate="label">
|
164 |
+
<label>Right Block</label>
|
165 |
+
<frontend_type>image</frontend_type>
|
166 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
167 |
+
<upload_dir config="system/filesystem/media" scope_info="1">blockimage</upload_dir>
|
168 |
+
<base_url type="media" scope_info="1">blockimage</base_url>
|
169 |
+
<sort_order>55</sort_order>
|
170 |
+
<show_in_default>1</show_in_default>
|
171 |
+
<show_in_website>1</show_in_website>
|
172 |
+
<show_in_store>1</show_in_store>
|
173 |
+
</r_image>
|
174 |
+
|
175 |
+
<r_link translate="label">
|
176 |
+
<label>Link</label>
|
177 |
+
<frontend_type>text</frontend_type>
|
178 |
+
<sort_order>60</sort_order>
|
179 |
+
<show_in_default>1</show_in_default>
|
180 |
+
<show_in_website>1</show_in_website>
|
181 |
+
<show_in_store>1</show_in_store>
|
182 |
+
</r_link>
|
183 |
+
|
184 |
+
</fields>
|
185 |
+
</sectors>
|
186 |
+
</groups>
|
187 |
+
</block>
|
188 |
+
</sections>
|
189 |
+
</config>
|
app/code/local/Tvcom/Page/Block/Html/Welcome.php
CHANGED
@@ -16,9 +16,9 @@ class Tvcom_Page_Block_Html_Welcome extends Mage_Page_Block_Html_Welcome
|
|
16 |
if (empty($this->_data['welcome'])) {
|
17 |
if (Mage::isInstalled() && Mage::getSingleton('customer/session')->isLoggedIn()) {
|
18 |
$this->_data['welcome'] = $this->__('Hi, %s!', $this->escapeHtml(Mage::getSingleton('customer/session')->getCustomer()->getName()));
|
19 |
-
} else {
|
20 |
$this->_data['welcome'] = Mage::getStoreConfig('design/header/welcome');
|
21 |
-
}
|
22 |
}
|
23 |
|
24 |
return $this->_data['welcome'];
|
16 |
if (empty($this->_data['welcome'])) {
|
17 |
if (Mage::isInstalled() && Mage::getSingleton('customer/session')->isLoggedIn()) {
|
18 |
$this->_data['welcome'] = $this->__('Hi, %s!', $this->escapeHtml(Mage::getSingleton('customer/session')->getCustomer()->getName()));
|
19 |
+
} /*else {
|
20 |
$this->_data['welcome'] = Mage::getStoreConfig('design/header/welcome');
|
21 |
+
}*/
|
22 |
}
|
23 |
|
24 |
return $this->_data['welcome'];
|
app/code/local/Tvcom/Themecustom/etc/system.xml
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
<config>
|
4 |
<tabs> <!-- create a new tab in system / configuration -->
|
5 |
<tvcomthemecustom translate="label" module="themecustom">
|
6 |
-
<label>TVcom Theme
|
7 |
<sort_order>1</sort_order>
|
8 |
</tvcomthemecustom>
|
9 |
</tabs>
|
10 |
|
11 |
<sections>
|
12 |
<setting translate="label" module="themecustom"> <!-- setting section -->
|
13 |
-
<label>Setting</label>
|
14 |
<tab>tvcomthemecustom</tab>
|
15 |
<frontend_type>text</frontend_type>
|
16 |
<sort_order>305</sort_order>
|
@@ -18,137 +18,43 @@
|
|
18 |
<show_in_website>1</show_in_website>
|
19 |
<show_in_store>1</show_in_store>
|
20 |
<groups>
|
21 |
-
<themebg translate="label"> <!-- theme background -->
|
22 |
-
<label>Theme Background</label>
|
23 |
-
<frontend_type>text</frontend_type>
|
24 |
-
<sort_order>0</sort_order>
|
25 |
-
<show_in_default>1</show_in_default>
|
26 |
-
<show_in_website>1</show_in_website>
|
27 |
-
<show_in_store>0</show_in_store>
|
28 |
-
<fields>
|
29 |
-
<bgcolor translate="label">
|
30 |
-
<label>Bg color</label>
|
31 |
-
<frontend_type>text</frontend_type>
|
32 |
-
<validate>color</validate>
|
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 |
-
</bgcolor>
|
38 |
-
|
39 |
-
<bgimage translate="label"> <!-- body background image -->
|
40 |
-
<label>Bg image</label>
|
41 |
-
<frontend_type>image</frontend_type>
|
42 |
-
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
43 |
-
<upload_dir config="system/filesystem/media" scope_info="1">bgimage</upload_dir>
|
44 |
-
<base_url type="media" scope_info="1">bgimage</base_url>
|
45 |
-
<sort_order>2</sort_order>
|
46 |
-
<show_in_default>1</show_in_default>
|
47 |
-
<show_in_website>1</show_in_website>
|
48 |
-
<show_in_store>1</show_in_store>
|
49 |
-
</bgimage>
|
50 |
-
|
51 |
-
<bgpositionx translate="label"> <!-- background position x -->
|
52 |
-
<label>Bg position x</label>
|
53 |
-
<frontend_type>text</frontend_type>
|
54 |
-
<sort_order>3</sort_order>
|
55 |
-
<show_in_default>1</show_in_default>
|
56 |
-
<show_in_website>1</show_in_website>
|
57 |
-
<show_in_store>1</show_in_store>
|
58 |
-
</bgpositionx>
|
59 |
-
|
60 |
-
<bgpositiony translate="label"> <!-- background position y -->
|
61 |
-
<label>Bg position y</label>
|
62 |
-
<fronend_type>text</fronend_type>
|
63 |
-
<sort_order>4</sort_order>
|
64 |
-
<show_in_default>1</show_in_default>
|
65 |
-
<show_in_website>1</show_in_website>
|
66 |
-
<show_in_store>1</show_in_store>
|
67 |
-
</bgpositiony>
|
68 |
-
|
69 |
-
<bgrepeat translate="label"> <!-- background repeat -->
|
70 |
-
<label>Bg repeat</label>
|
71 |
-
<frontend_type>select</frontend_type>
|
72 |
-
<source_model>themecustom/option_repeat</source_model>
|
73 |
-
<sort_order>5</sort_order>
|
74 |
-
<show_in_default>1</show_in_default>
|
75 |
-
<show_in_website>1</show_in_website>
|
76 |
-
<show_in_store>1</show_in_store>
|
77 |
-
</bgrepeat>
|
78 |
-
|
79 |
-
</fields>
|
80 |
-
</themebg>
|
81 |
-
|
82 |
<pagebg translate="label"> <!-- page background -->
|
83 |
-
<label>
|
84 |
<frontend_type>text</frontend_type>
|
85 |
<sort_order>1</sort_order>
|
86 |
<show_in_default>1</show_in_default>
|
87 |
<show_in_website>1</show_in_website>
|
88 |
-
<show_in_store>
|
89 |
<fields>
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
<comment>yes for transparent background</comment>
|
100 |
-
</transparent>
|
101 |
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
<show_in_store>1</show_in_store>
|
122 |
-
</bgimage>
|
123 |
-
|
124 |
-
<bgpositionx translate="label"> <!-- background position x -->
|
125 |
-
<label>Bg position x</label>
|
126 |
-
<frontend_type>text</frontend_type>
|
127 |
-
<sort_order>3</sort_order>
|
128 |
-
<show_in_default>1</show_in_default>
|
129 |
-
<show_in_website>1</show_in_website>
|
130 |
-
<show_in_store>1</show_in_store>
|
131 |
-
</bgpositionx>
|
132 |
-
|
133 |
-
<bgpositiony translate="label"> <!-- background position y -->
|
134 |
-
<label>Bg position y</label>
|
135 |
-
<fronend_type>text</fronend_type>
|
136 |
-
<sort_order>4</sort_order>
|
137 |
-
<show_in_default>1</show_in_default>
|
138 |
-
<show_in_website>1</show_in_website>
|
139 |
-
<show_in_store>1</show_in_store>
|
140 |
-
</bgpositiony>
|
141 |
-
|
142 |
-
<bgrepeat translate="label"> <!-- background repeat -->
|
143 |
-
<label>Bg repeat</label>
|
144 |
-
<frontend_type>select</frontend_type>
|
145 |
-
<source_model>themecustom/option_repeat</source_model>
|
146 |
-
<sort_order>5</sort_order>
|
147 |
-
<show_in_default>1</show_in_default>
|
148 |
-
<show_in_website>1</show_in_website>
|
149 |
-
<show_in_store>1</show_in_store>
|
150 |
-
</bgrepeat>
|
151 |
-
|
152 |
</fields>
|
153 |
</pagebg>
|
154 |
|
@@ -160,16 +66,6 @@
|
|
160 |
<show_in_website>1</show_in_website>
|
161 |
<show_in_store>1</show_in_store>
|
162 |
<fields>
|
163 |
-
<goofont translate="label">
|
164 |
-
<label>Google Font</label>
|
165 |
-
<frontend_type>textarea</frontend_type>
|
166 |
-
<sort_order>0</sort_order>
|
167 |
-
<show_in_default>1</show_in_default>
|
168 |
-
<show_in_website>1</show_in_website>
|
169 |
-
<show_in_store>1</show_in_store>
|
170 |
-
<comment><![CDATA[Example: <br/> <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans' rel='stylesheet' type='text/css'>]]></comment>
|
171 |
-
</goofont>
|
172 |
-
|
173 |
<fontfamily translate="label">
|
174 |
<label>Font family</label>
|
175 |
<fontend_type>text</fontend_type>
|
@@ -206,7 +102,7 @@
|
|
206 |
<sort_order>3</sort_order>
|
207 |
<show_in_default>1</show_in_default>
|
208 |
<show_in_website>1</show_in_website>
|
209 |
-
<show_in_store>
|
210 |
<fields>
|
211 |
<logo translate="label">
|
212 |
<label>Company logo</label>
|
@@ -228,45 +124,6 @@
|
|
228 |
<show_in_website>1</show_in_website>
|
229 |
<show_in_store>1</show_in_store>
|
230 |
</logoalt>
|
231 |
-
|
232 |
-
<or translate="label">
|
233 |
-
<label><![CDATA[<span style="color:red">Or</span>]]></label>
|
234 |
-
<frontend_type>label</frontend_type>
|
235 |
-
<sort_order>3</sort_order>
|
236 |
-
<show_in_default>1</show_in_default>
|
237 |
-
<show_in_website>1</show_in_website>
|
238 |
-
<show_in_store>1</show_in_store>
|
239 |
-
</or>
|
240 |
-
|
241 |
-
<logotext translate="label">
|
242 |
-
<label>Logo text</label>
|
243 |
-
<frontend_type>text</frontend_type>
|
244 |
-
<sort_order>4</sort_order>
|
245 |
-
<show_in_default>1</show_in_default>
|
246 |
-
<show_in_website>1</show_in_website>
|
247 |
-
<show_in_store>1</show_in_store>
|
248 |
-
<comment>Logo is just normal text</comment>
|
249 |
-
</logotext>
|
250 |
-
|
251 |
-
<logocolor translate="label">
|
252 |
-
<label>Logo color</label>
|
253 |
-
<font_type>text</font_type>
|
254 |
-
<validate>color</validate>
|
255 |
-
<sort_order>5</sort_order>
|
256 |
-
<show_in_default>1</show_in_default>
|
257 |
-
<show_in_website>1</show_in_website>
|
258 |
-
<show_in_store>1</show_in_store>
|
259 |
-
</logocolor>
|
260 |
-
|
261 |
-
<logopadding translate="label">
|
262 |
-
<label>Logo padding</label>
|
263 |
-
<frontend_type>text</frontend_type>
|
264 |
-
<sort_order>6</sort_order>
|
265 |
-
<show_in_default>1</show_in_default>
|
266 |
-
<show_in_website>1</show_in_website>
|
267 |
-
<show_in_store>1</show_in_store>
|
268 |
-
<comment>Example: 10px 10px 10px 10px</comment>
|
269 |
-
</logopadding>
|
270 |
|
271 |
<navbar translate="label">
|
272 |
<label>Navigation bar</label>
|
@@ -278,16 +135,6 @@
|
|
278 |
<show_in_store>1</show_in_store>
|
279 |
</navbar>
|
280 |
|
281 |
-
<bgcolor translate="label"> <!-- header background color -->
|
282 |
-
<label>Bg color</label>
|
283 |
-
<frontend_type>text</frontend_type>
|
284 |
-
<validate>color</validate>
|
285 |
-
<sort_order>50</sort_order>
|
286 |
-
<show_in_default>1</show_in_default>
|
287 |
-
<show_in_website>1</show_in_website>
|
288 |
-
<show_in_store>1</show_in_store>
|
289 |
-
</bgcolor>
|
290 |
-
|
291 |
<link translate="label">
|
292 |
<label><![CDATA[<span style="color:red">a link</span>]]></label>
|
293 |
<frontend_type>label</frontend_type>
|
@@ -406,85 +253,14 @@
|
|
406 |
</fields>
|
407 |
</header>
|
408 |
|
409 |
-
<body translate="label"> <!-- body -->
|
410 |
-
<label>Body</label>
|
411 |
-
<frontend_type>text</frontend_type>
|
412 |
-
<sort_order>4</sort_order>
|
413 |
-
<show_in_default>1</show_in_default>
|
414 |
-
<show_in_website>1</show_in_website>
|
415 |
-
<show_in_store>1</show_in_store>
|
416 |
-
<fields>
|
417 |
-
<bgcolor translate="label">
|
418 |
-
<label>Bg color</label>
|
419 |
-
<frontend_type>text</frontend_type>
|
420 |
-
<validate>color</validate>
|
421 |
-
<sort_order>1</sort_order>
|
422 |
-
<show_in_default>1</show_in_default>
|
423 |
-
<show_in_website>1</show_in_website>
|
424 |
-
<show_in_store>1</show_in_store>
|
425 |
-
</bgcolor>
|
426 |
-
|
427 |
-
<bgimage translate="label"> <!-- body background image -->
|
428 |
-
<label>Bg image</label>
|
429 |
-
<frontend_type>image</frontend_type>
|
430 |
-
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
431 |
-
<upload_dir config="system/filesystem/media" scope_info="1">bgimage</upload_dir>
|
432 |
-
<base_url type="media" scope_info="1">bgimage</base_url>
|
433 |
-
<sort_order>2</sort_order>
|
434 |
-
<show_in_default>1</show_in_default>
|
435 |
-
<show_in_website>1</show_in_website>
|
436 |
-
<show_in_store>1</show_in_store>
|
437 |
-
</bgimage>
|
438 |
-
|
439 |
-
<bgpositionx translate="label"> <!-- background position x -->
|
440 |
-
<label>Bg position x</label>
|
441 |
-
<frontend_type>text</frontend_type>
|
442 |
-
<sort_order>3</sort_order>
|
443 |
-
<show_in_default>1</show_in_default>
|
444 |
-
<show_in_website>1</show_in_website>
|
445 |
-
<show_in_store>1</show_in_store>
|
446 |
-
</bgpositionx>
|
447 |
-
|
448 |
-
<bgpositiony translate="label"> <!-- background position y -->
|
449 |
-
<label>Bg position y</label>
|
450 |
-
<fronend_type>text</fronend_type>
|
451 |
-
<sort_order>4</sort_order>
|
452 |
-
<show_in_default>1</show_in_default>
|
453 |
-
<show_in_website>1</show_in_website>
|
454 |
-
<show_in_store>1</show_in_store>
|
455 |
-
</bgpositiony>
|
456 |
-
|
457 |
-
<bgrepeat translate="label"> <!-- background repeat -->
|
458 |
-
<label>Bg repeat</label>
|
459 |
-
<frontend_type>select</frontend_type>
|
460 |
-
<source_model>themecustom/option_repeat</source_model>
|
461 |
-
<sort_order>5</sort_order>
|
462 |
-
<show_in_default>1</show_in_default>
|
463 |
-
<show_in_website>1</show_in_website>
|
464 |
-
<show_in_store>1</show_in_store>
|
465 |
-
</bgrepeat>
|
466 |
-
|
467 |
-
</fields>
|
468 |
-
</body>
|
469 |
-
|
470 |
<footer translate="label"> <!-- footer -->
|
471 |
<label>Footer</label>
|
472 |
<frontend_type>text</frontend_type>
|
473 |
<sort_order>5</sort_order>
|
474 |
<show_in_default>1</show_in_default>
|
475 |
<show_in_website>1</show_in_website>
|
476 |
-
<show_in_store>
|
477 |
<fields>
|
478 |
-
<bgcolor translate="label">
|
479 |
-
<label>Bg color</label>
|
480 |
-
<frontend_type>text</frontend_type>
|
481 |
-
<validate>color</validate>
|
482 |
-
<sort_order>0</sort_order>
|
483 |
-
<show_in_default>1</show_in_default>
|
484 |
-
<show_in_website>1</show_in_website>
|
485 |
-
<show_in_store>1</show_in_store>
|
486 |
-
</bgcolor>
|
487 |
-
|
488 |
<title translate="label">
|
489 |
<label><![CDATA[<span style="color:red">Title</span>]]></label>
|
490 |
<frontend_type>label</frontend_type>
|
@@ -517,7 +293,7 @@
|
|
517 |
<link translate="label">
|
518 |
<label><![CDATA[<span style="color:red">a link</span>]]></label>
|
519 |
<frontend_type>label</frontend_type>
|
520 |
-
<sort_order>
|
521 |
<show_in_default>1</show_in_default>
|
522 |
<show_in_website>1</show_in_website>
|
523 |
<show_in_store>1</show_in_store>
|
@@ -570,35 +346,6 @@
|
|
570 |
<show_in_store>1</show_in_store>
|
571 |
</text_size>
|
572 |
|
573 |
-
<line translate="label"> <!-- line style -->
|
574 |
-
<label><![CDATA[<span style="color:red">Line</span>]]></label>
|
575 |
-
<frontend_type>label</frontend_type>
|
576 |
-
<sort_order>12</sort_order>
|
577 |
-
<show_in_default>1</show_in_default>
|
578 |
-
<show_in_website>1</show_in_website>
|
579 |
-
<show_in_store>1</show_in_store>
|
580 |
-
</line>
|
581 |
-
|
582 |
-
<line_color translate="label"> <!-- line color -->
|
583 |
-
<label>Color</label>
|
584 |
-
<frontend_type>text</frontend_type>
|
585 |
-
<validate>color</validate>
|
586 |
-
<sort_order>14</sort_order>
|
587 |
-
<show_in_default>1</show_in_default>
|
588 |
-
<show_in_website>1</show_in_website>
|
589 |
-
<show_in_store>1</show_in_store>
|
590 |
-
</line_color>
|
591 |
-
|
592 |
-
<line_size translate="label"> <!-- footer line size -->
|
593 |
-
<label>Size</label>
|
594 |
-
<frontend_type>text</frontend_type>
|
595 |
-
<sort_order>15</sort_order>
|
596 |
-
<show_in_default>1</show_in_default>
|
597 |
-
<show_in_website>1</show_in_website>
|
598 |
-
<show_in_store>1</show_in_store>
|
599 |
-
<comment>If empty, It will take 10px as default line size</comment>
|
600 |
-
</line_size>
|
601 |
-
|
602 |
<contact translate="label">
|
603 |
<label>Contact details</label>
|
604 |
<frontend_type>textarea</frontend_type>
|
3 |
<config>
|
4 |
<tabs> <!-- create a new tab in system / configuration -->
|
5 |
<tvcomthemecustom translate="label" module="themecustom">
|
6 |
+
<label>TVcom Theme</label>
|
7 |
<sort_order>1</sort_order>
|
8 |
</tvcomthemecustom>
|
9 |
</tabs>
|
10 |
|
11 |
<sections>
|
12 |
<setting translate="label" module="themecustom"> <!-- setting section -->
|
13 |
+
<label>General Setting</label>
|
14 |
<tab>tvcomthemecustom</tab>
|
15 |
<frontend_type>text</frontend_type>
|
16 |
<sort_order>305</sort_order>
|
18 |
<show_in_website>1</show_in_website>
|
19 |
<show_in_store>1</show_in_store>
|
20 |
<groups>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
<pagebg translate="label"> <!-- page background -->
|
22 |
+
<label>Full Grid background color</label>
|
23 |
<frontend_type>text</frontend_type>
|
24 |
<sort_order>1</sort_order>
|
25 |
<show_in_default>1</show_in_default>
|
26 |
<show_in_website>1</show_in_website>
|
27 |
+
<show_in_store>1</show_in_store>
|
28 |
<fields>
|
29 |
+
<fullgrid_header translate="label">
|
30 |
+
<label>Header</label>
|
31 |
+
<frontend_type>text</frontend_type>
|
32 |
+
<validate>color</validate>
|
33 |
+
<sort_order>50</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 |
+
</fullgrid_header>
|
|
|
|
|
38 |
|
39 |
+
<fullgrid_main_container translate="label">
|
40 |
+
<label>Main Container</label>
|
41 |
+
<frontend_type>text</frontend_type>
|
42 |
+
<validate>color</validate>
|
43 |
+
<sort_order>55</sort_order>
|
44 |
+
<show_in_default>1</show_in_default>
|
45 |
+
<show_in_website>1</show_in_website>
|
46 |
+
<show_in_store>1</show_in_store>
|
47 |
+
</fullgrid_main_container>
|
48 |
+
|
49 |
+
<fullgrid_footer translate="label">
|
50 |
+
<label>Footer</label>
|
51 |
+
<frontend_type>text</frontend_type>
|
52 |
+
<validate>color</validate>
|
53 |
+
<sort_order>60</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 |
+
</fullgrid_footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
</fields>
|
59 |
</pagebg>
|
60 |
|
66 |
<show_in_website>1</show_in_website>
|
67 |
<show_in_store>1</show_in_store>
|
68 |
<fields>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<fontfamily translate="label">
|
70 |
<label>Font family</label>
|
71 |
<fontend_type>text</fontend_type>
|
102 |
<sort_order>3</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 |
<fields>
|
107 |
<logo translate="label">
|
108 |
<label>Company logo</label>
|
124 |
<show_in_website>1</show_in_website>
|
125 |
<show_in_store>1</show_in_store>
|
126 |
</logoalt>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
<navbar translate="label">
|
129 |
<label>Navigation bar</label>
|
135 |
<show_in_store>1</show_in_store>
|
136 |
</navbar>
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
<link translate="label">
|
139 |
<label><![CDATA[<span style="color:red">a link</span>]]></label>
|
140 |
<frontend_type>label</frontend_type>
|
253 |
</fields>
|
254 |
</header>
|
255 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
<footer translate="label"> <!-- footer -->
|
257 |
<label>Footer</label>
|
258 |
<frontend_type>text</frontend_type>
|
259 |
<sort_order>5</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 |
<fields>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
<title translate="label">
|
265 |
<label><![CDATA[<span style="color:red">Title</span>]]></label>
|
266 |
<frontend_type>label</frontend_type>
|
293 |
<link translate="label">
|
294 |
<label><![CDATA[<span style="color:red">a link</span>]]></label>
|
295 |
<frontend_type>label</frontend_type>
|
296 |
+
<sort_order>5</sort_order>
|
297 |
<show_in_default>1</show_in_default>
|
298 |
<show_in_website>1</show_in_website>
|
299 |
<show_in_store>1</show_in_store>
|
346 |
<show_in_store>1</show_in_store>
|
347 |
</text_size>
|
348 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
<contact translate="label">
|
350 |
<label>Contact details</label>
|
351 |
<frontend_type>textarea</frontend_type>
|
app/code/local/Tvmenu/Mega/Block/Textfields.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**/
|
3 |
+
|
4 |
+
|
5 |
+
class Tvmenu_Mega_Block_Textfields extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
|
6 |
+
{
|
7 |
+
public function __construct()
|
8 |
+
{
|
9 |
+
$this->addColumn('product_sku', array(
|
10 |
+
'label' => Mage::helper('adminhtml')->__('Product Sku'),
|
11 |
+
'style' => 'width:170px',
|
12 |
+
));
|
13 |
+
$this->_addAfter = false;
|
14 |
+
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add Product');
|
15 |
+
parent::__construct();
|
16 |
+
}
|
17 |
+
}
|
app/code/local/Tvmenu/Mega/Helper/Data.php
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* To change this template, choose Tools | Templates
|
5 |
+
* and open the template in the editor.
|
6 |
+
*/
|
7 |
+
require_once (Mage::getBaseDir().DS."app".DS."code".DS."core".DS."Mage".DS."Catalog".DS."Block".DS."Product.php");
|
8 |
+
|
9 |
+
class Tvmenu_Mega_Helper_Data extends Mage_Core_Helper_Abstract{
|
10 |
+
public function getSubCategories($parent_id){
|
11 |
+
return Mage::getModel("catalog/category")
|
12 |
+
->getCollection()
|
13 |
+
->addAttributeToSelect('name')
|
14 |
+
->addAttributeToSelect('url_path')
|
15 |
+
->addFieldToFilter('is_active', array('eq'=>'1'))
|
16 |
+
->addFieldToFilter('parent_id', array($parent_id))
|
17 |
+
->load();
|
18 |
+
}
|
19 |
+
|
20 |
+
public function getCategory($catId){
|
21 |
+
return Mage::getModel('catalog/category')
|
22 |
+
->getCollection()
|
23 |
+
->addAttributeToSelect('name')
|
24 |
+
->addAttributeToSelect('url_path')
|
25 |
+
->addAttributeToSelect('description')
|
26 |
+
->addAttributeToSelect('image')
|
27 |
+
->addFieldToFilter('entity_id', array('eq' => $catId))
|
28 |
+
->addAttributeToFilter('is_active', 1)
|
29 |
+
->load();
|
30 |
+
}
|
31 |
+
|
32 |
+
public function getProductBySku($arry_product_sku){
|
33 |
+
return Mage::getModel("catalog/product")
|
34 |
+
->getCollection()
|
35 |
+
->addAttributeToSelect('*')
|
36 |
+
->addAttributeToFilter('status', 1)
|
37 |
+
->addAttributeToFilter('sku', array('in'=> $arry_product_sku))
|
38 |
+
->load();
|
39 |
+
}
|
40 |
+
|
41 |
+
public function getCatergorybyLevel($rootid) {
|
42 |
+
//load only location category
|
43 |
+
$categories = $this->getSubCategories($rootid);
|
44 |
+
$i = 0;
|
45 |
+
$html .= '<div class="row">';
|
46 |
+
foreach ($categories as $cat) {
|
47 |
+
$html .= '<ul class="col-md-3 col-sm-6 col-xs-12">';
|
48 |
+
$html .= '<li><a href="' . Mage::getBaseurl() . $cat->getUrlpath() . '" class="title">' . $cat->getName() . '</a></li>';
|
49 |
+
$children = $this->getSubCategories($cat->getEntityId());
|
50 |
+
foreach ($children as $child) {
|
51 |
+
$html .= '<li><a href="' . Mage::getBaseurl() . $child->getUrlpath() . '">' . $child->getName() . '</a></li>';
|
52 |
+
}
|
53 |
+
$html .= '</ul>';
|
54 |
+
$i++;
|
55 |
+
if ($i % 4 == 0){
|
56 |
+
$html .= '</div><div class="row">';
|
57 |
+
}
|
58 |
+
}
|
59 |
+
$html .= '</div>';
|
60 |
+
return $html;
|
61 |
+
}
|
62 |
+
|
63 |
+
/* get feature product list from their sku */
|
64 |
+
public function getFeaturedCategory($catId){
|
65 |
+
$cats = $this->getCategory($catId);
|
66 |
+
$html .= '<div class="row">';
|
67 |
+
// it s collection so we have to do foreach to get result
|
68 |
+
foreach($cats as $cat){
|
69 |
+
$html .= '<div class="col-md-6 col-sm-12">';
|
70 |
+
$html .= '<img class="img-responsive" src="' . Mage::getStoreConfig('web/unsecure/base_url') . 'media/catalog/category/' . $cat->getImage() . '">';
|
71 |
+
$html .= '</div>';
|
72 |
+
$html .= '<div class="col-md-6 col-sm-12">';
|
73 |
+
$html .= '<p><a href="' . Mage::getBaseUrl(). $cat->getUrl_path(). '" class="title" alt="' . $cat->getName() . '">' . $cat->getName() . '</a></p>';
|
74 |
+
$html .= '<p>' . $cat->getDescription() . '</p>';
|
75 |
+
$html .= '<p><a href="' . Mage::getBaseUrl(). $cat->getUrl_path() . '" class="btn btn-default" alt="' . $cat->getName() . '">View Category</a></p>';
|
76 |
+
$html .= '</div>';
|
77 |
+
}
|
78 |
+
$html .= '</div>';
|
79 |
+
return $html;
|
80 |
+
}
|
81 |
+
|
82 |
+
/* get feature product list from their sku */
|
83 |
+
public function getSaleProducts($arry_product_sku){
|
84 |
+
$products = $this->getProductBySku($arry_product_sku);
|
85 |
+
$html .= '<table class="table table-hover tblsale">';
|
86 |
+
$html .= '<thead>';
|
87 |
+
$html .= '<tr>';
|
88 |
+
$html .= '<th colspan="3" class="salelists">Sale Product List</th>';
|
89 |
+
$html .= '</tr>';
|
90 |
+
$html .= '</thead>';
|
91 |
+
$html .= '<tbody>';
|
92 |
+
$product_block = new Mage_Catalog_Block_Product;
|
93 |
+
foreach($products as $product){
|
94 |
+
$html .= '<tr>';
|
95 |
+
$html .= '<td align="left"><img src="' . Mage::helper('catalog/image')->init($product, 'small_image')->resize(40) . '" alt=""></td>';
|
96 |
+
$html .= '<td><a href="' . Mage::getBaseUrl(). $product->getUrl_path() . '">' . $product->getName() . '</a></td>';
|
97 |
+
$html .= '<td>' . $product_block->getPriceHtml($product) . '</td>';
|
98 |
+
$html .= '</tr>';
|
99 |
+
}
|
100 |
+
$html .= '</tbody>';
|
101 |
+
$html .= '</table>';
|
102 |
+
return $html;
|
103 |
+
}
|
104 |
+
}
|
105 |
+
?>
|
app/code/local/Tvmenu/Mega/etc/config.xml
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvmenu_Mega>
|
5 |
+
<version>0.0.1</version>
|
6 |
+
</Tvmenu_Mega>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<frontend>
|
10 |
+
<layout>
|
11 |
+
<updates>
|
12 |
+
<tvmenu_mega>
|
13 |
+
<file>yamm.xml</file>
|
14 |
+
</tvmenu_mega>
|
15 |
+
</updates>
|
16 |
+
</layout>
|
17 |
+
</frontend>
|
18 |
+
|
19 |
+
<global>
|
20 |
+
<helpers>
|
21 |
+
<mega>
|
22 |
+
<class>Tvmenu_Mega_Helper</class>
|
23 |
+
</mega>
|
24 |
+
</helpers>
|
25 |
+
<blocks>
|
26 |
+
<mega>
|
27 |
+
<class>Tvmenu_Mega_Block</class>
|
28 |
+
</mega>
|
29 |
+
</blocks>
|
30 |
+
</global>
|
31 |
+
|
32 |
+
<adminhtml>
|
33 |
+
<acl>
|
34 |
+
<resources>
|
35 |
+
<admin>
|
36 |
+
<children>
|
37 |
+
<system>
|
38 |
+
<children>
|
39 |
+
<config>
|
40 |
+
<children>
|
41 |
+
<yamm translate="label" module="mega">
|
42 |
+
<title>Mega Menu Section</title>
|
43 |
+
</yamm>
|
44 |
+
</children>
|
45 |
+
</config>
|
46 |
+
</children>
|
47 |
+
</system>
|
48 |
+
</children>
|
49 |
+
</admin>
|
50 |
+
</resources>
|
51 |
+
</acl>
|
52 |
+
</adminhtml>
|
53 |
+
</config>
|
app/code/local/Tvmenu/Mega/etc/system.xml
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
|
3 |
+
<config>
|
4 |
+
<sections>
|
5 |
+
<yamm tranlate="label" module="slider">
|
6 |
+
<label>Yamm Mega Menu</label>
|
7 |
+
<tab>tvcomthemecustom</tab>
|
8 |
+
<frontend_type>text</frontend_type>
|
9 |
+
<sort_order>308</sort_order>
|
10 |
+
<show_in_default>1</show_in_default>
|
11 |
+
<show_in_website>1</show_in_website>
|
12 |
+
<show_in_store>1</show_in_store>
|
13 |
+
<groups translate="label" module="slider">
|
14 |
+
<setting translate="label">
|
15 |
+
<label>Setting</label>
|
16 |
+
<frontend_type>text</frontend_type>
|
17 |
+
<sort_order>2</sort_order>
|
18 |
+
<show_in_default>1</show_in_default>
|
19 |
+
<show_in_website>1</show_in_website>
|
20 |
+
<show_in_store>1</show_in_store>
|
21 |
+
<fields>
|
22 |
+
<yes_no translate="label">
|
23 |
+
<label>Use Mega Menu ?</label>
|
24 |
+
<frontend_type>select</frontend_type>
|
25 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
26 |
+
<sort_order>0</sort_order>
|
27 |
+
<show_in_default>1</show_in_default>
|
28 |
+
<show_in_website>1</show_in_website>
|
29 |
+
<show_in_store>1</show_in_store>
|
30 |
+
</yes_no>
|
31 |
+
|
32 |
+
<navbar translate="label">
|
33 |
+
<label>Navigation Bar</label>
|
34 |
+
<frontend_type>select</frontend_type>
|
35 |
+
<source_model>themecustom/option_narbar</source_model>
|
36 |
+
<sort_order>100</sort_order>
|
37 |
+
<show_in_default>1</show_in_default>
|
38 |
+
<show_in_website>1</show_in_website>
|
39 |
+
<show_in_store>1</show_in_store>
|
40 |
+
</navbar>
|
41 |
+
|
42 |
+
</fields>
|
43 |
+
</setting>
|
44 |
+
|
45 |
+
<first_menu_item translate="label">
|
46 |
+
<label>First Menu Item</label>
|
47 |
+
<frontend_type>text</frontend_type>
|
48 |
+
<sort_order>50</sort_order>
|
49 |
+
<show_in_default>1</show_in_default>
|
50 |
+
<show_in_website>1</show_in_website>
|
51 |
+
<show_in_store>1</show_in_store>
|
52 |
+
<fields>
|
53 |
+
<title translate="label">
|
54 |
+
<label>Menu Title</label>
|
55 |
+
<frontend_type>text</frontend_type>
|
56 |
+
<sort_order>15</sort_order>
|
57 |
+
<show_in_default>1</show_in_default>
|
58 |
+
<show_in_website>1</show_in_website>
|
59 |
+
<show_in_store>1</show_in_store>
|
60 |
+
</title>
|
61 |
+
|
62 |
+
<catid translate="label">
|
63 |
+
<label>Category Id</label>
|
64 |
+
<frontend_type>text</frontend_type>
|
65 |
+
<sort_order>20</sort_order>
|
66 |
+
<show_in_default>1</show_in_default>
|
67 |
+
<show_in_website>1</show_in_website>
|
68 |
+
<show_in_store>1</show_in_store>
|
69 |
+
<comment>Type Category Id, It will generate all sub level of it</comment>
|
70 |
+
</catid>
|
71 |
+
|
72 |
+
<ad translate="label">
|
73 |
+
<label>Top Banner</label>
|
74 |
+
<frontend_type>image</frontend_type>
|
75 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
76 |
+
<upload_dir config="system/filesystem/media" scope_info="1">ad_banner</upload_dir>
|
77 |
+
<base_url type="media" scope_info="1">ad_banner</base_url>
|
78 |
+
<sort_order>40</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 |
+
</ad>
|
83 |
+
|
84 |
+
<alt translate="label">
|
85 |
+
<label>Banner alt</label>
|
86 |
+
<frontend_type>text</frontend_type>
|
87 |
+
<sort_order>60</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 |
+
</alt>
|
92 |
+
|
93 |
+
<link translate="label">
|
94 |
+
<label>Banner link</label>
|
95 |
+
<frontend_type>text</frontend_type>
|
96 |
+
<sort_order>70</sort_order>
|
97 |
+
<show_in_default>1</show_in_default>
|
98 |
+
<show_in_website>1</show_in_website>
|
99 |
+
<show_in_store>1</show_in_store>
|
100 |
+
<comment>Example: http://www.example.com/banner.html</comment>
|
101 |
+
</link>
|
102 |
+
|
103 |
+
</fields>
|
104 |
+
</first_menu_item>
|
105 |
+
|
106 |
+
|
107 |
+
<second_menu_item translate="label">
|
108 |
+
<label>Second Menu Item</label>
|
109 |
+
<frontend_type>text</frontend_type>
|
110 |
+
<sort_order>87</sort_order>
|
111 |
+
<show_in_default>1</show_in_default>
|
112 |
+
<show_in_website>1</show_in_website>
|
113 |
+
<show_in_store>1</show_in_store>
|
114 |
+
<fields>
|
115 |
+
<title translate="label">
|
116 |
+
<label>Menu Title</label>
|
117 |
+
<frontend_type>text</frontend_type>
|
118 |
+
<sort_order>5</sort_order>
|
119 |
+
<show_in_default>1</show_in_default>
|
120 |
+
<show_in_website>1</show_in_website>
|
121 |
+
<show_in_store>1</show_in_store>
|
122 |
+
</title>
|
123 |
+
|
124 |
+
<catid translate="label">
|
125 |
+
<label>Category Id</label>
|
126 |
+
<frontend_type>text</frontend_type>
|
127 |
+
<sort_order>60</sort_order>
|
128 |
+
<show_in_default>1</show_in_default>
|
129 |
+
<show_in_website>1</show_in_website>
|
130 |
+
<show_in_store>1</show_in_store>
|
131 |
+
</catid>
|
132 |
+
</fields>
|
133 |
+
</second_menu_item>
|
134 |
+
|
135 |
+
|
136 |
+
<sale translate="label">
|
137 |
+
<label>Sale Product List</label>
|
138 |
+
<frontend_type>text</frontend_type>
|
139 |
+
<sort_order>100</sort_order>
|
140 |
+
<show_in_default>1</show_in_default>
|
141 |
+
<show_in_website>1</show_in_website>
|
142 |
+
<show_in_store>1</show_in_store>
|
143 |
+
<fields>
|
144 |
+
<product translate="comment">
|
145 |
+
<label>Add product sku</label>
|
146 |
+
<frontend_model>mega/textfields</frontend_model>
|
147 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
148 |
+
<!-- <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>-->
|
149 |
+
<sort_order>25</sort_order>
|
150 |
+
<show_in_default>1</show_in_default>
|
151 |
+
<show_in_website>1</show_in_website>
|
152 |
+
<show_in_store>1</show_in_store>
|
153 |
+
<comment>Add product sku for SALE MENU</comment>
|
154 |
+
</product>
|
155 |
+
|
156 |
+
<ad translate="label">
|
157 |
+
<label>Left Banner</label>
|
158 |
+
<frontend_type>image</frontend_type>
|
159 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
160 |
+
<upload_dir config="system/filesystem/media" scope_info="1">ad_banner</upload_dir>
|
161 |
+
<base_url type="media" scope_info="1">ad_banner</base_url>
|
162 |
+
<sort_order>100</sort_order>
|
163 |
+
<show_in_default>1</show_in_default>
|
164 |
+
<show_in_website>1</show_in_website>
|
165 |
+
<show_in_store>1</show_in_store>
|
166 |
+
</ad>
|
167 |
+
|
168 |
+
<alt translate="label">
|
169 |
+
<label>Banner alt</label>
|
170 |
+
<frontend_type>text</frontend_type>
|
171 |
+
<sort_order>110</sort_order>
|
172 |
+
<show_in_default>1</show_in_default>
|
173 |
+
<show_in_website>1</show_in_website>
|
174 |
+
<show_in_store>1</show_in_store>
|
175 |
+
</alt>
|
176 |
+
|
177 |
+
<link translate="label">
|
178 |
+
<label>Banner link</label>
|
179 |
+
<frontend_type>text</frontend_type>
|
180 |
+
<sort_order>120</sort_order>
|
181 |
+
<show_in_default>1</show_in_default>
|
182 |
+
<show_in_website>1</show_in_website>
|
183 |
+
<show_in_store>1</show_in_store>
|
184 |
+
</link>
|
185 |
+
|
186 |
+
</fields>
|
187 |
+
</sale>
|
188 |
+
|
189 |
+
</groups>
|
190 |
+
</yamm>
|
191 |
+
</sections>
|
192 |
+
</config>
|
app/design/frontend/default/responsive/layout/carousel.xml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
|
3 |
+
<layout>
|
4 |
+
<cms_index_index>
|
5 |
+
<reference name="head">
|
6 |
+
<action method="addCss"><stylesheet>css/carousel/slider.css</stylesheet></action>
|
7 |
+
</reference>
|
8 |
+
<reference name="header">
|
9 |
+
<block type="core/template" name="carousel" before="" template="carousel/slider.phtml" />
|
10 |
+
</reference>
|
11 |
+
</cms_index_index>
|
12 |
+
</layout>
|
app/design/frontend/default/responsive/layout/catalog.xml
CHANGED
@@ -72,6 +72,14 @@ Category default layout
|
|
72 |
|
73 |
<catalog_category_default translate="label">
|
74 |
<label>Catalog Category (Non-Anchor)</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
<reference name="left">
|
76 |
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
|
77 |
</reference>
|
@@ -110,6 +118,16 @@ Category layered navigation layout
|
|
110 |
|
111 |
<catalog_category_layered translate="label">
|
112 |
<label>Catalog Category (Anchor)</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
<reference name="left">
|
114 |
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
115 |
</reference>
|
@@ -191,12 +209,8 @@ Product view
|
|
191 |
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
192 |
|
193 |
<!-- script for jcarousel -->
|
194 |
-
<
|
195 |
-
|
196 |
-
</block>
|
197 |
-
<block type="core/text" name="jcarousel">
|
198 |
-
<action method="setText"><text><![CDATA[<script src="http://sorgalla.com/jcarousel/dist/jquery.jcarousel.min.js" defer="defer"></script>]]></text></action>
|
199 |
-
</block>
|
200 |
<!-- end script for jcarousel -->
|
201 |
|
202 |
</reference>
|
72 |
|
73 |
<catalog_category_default translate="label">
|
74 |
<label>Catalog Category (Non-Anchor)</label>
|
75 |
+
<reference name="head">
|
76 |
+
<!-- lazy load image -->
|
77 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/jquery.lazyload.min.js</name></action>
|
78 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/load.lazyscript.js</name></action>
|
79 |
+
|
80 |
+
<!-- same height script -->
|
81 |
+
<action method="addItem"><type>skin_js</type><name>js/grids.min.js</name></action>
|
82 |
+
</reference>
|
83 |
<reference name="left">
|
84 |
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
|
85 |
</reference>
|
118 |
|
119 |
<catalog_category_layered translate="label">
|
120 |
<label>Catalog Category (Anchor)</label>
|
121 |
+
|
122 |
+
<reference name="head">
|
123 |
+
<!-- lazy load image -->
|
124 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/jquery.lazyload.min.js</name></action>
|
125 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/load.lazyscript.js</name></action>
|
126 |
+
|
127 |
+
<!-- same height script -->
|
128 |
+
<action method="addItem"><type>skin_js</type><name>js/grids.min.js</name></action>
|
129 |
+
</reference>
|
130 |
+
|
131 |
<reference name="left">
|
132 |
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
133 |
</reference>
|
209 |
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
210 |
|
211 |
<!-- script for jcarousel -->
|
212 |
+
<action method="addCss"><stylesheet>css/jcarousel/jcarousel.skeleton.css</stylesheet></action>
|
213 |
+
<action method="addItem"><type>skin_js</type><name>js/jquery.jcarousel.min.js</name></action>
|
|
|
|
|
|
|
|
|
214 |
<!-- end script for jcarousel -->
|
215 |
|
216 |
</reference>
|
app/design/frontend/default/responsive/layout/catalogsearch.xml
CHANGED
@@ -48,6 +48,14 @@
|
|
48 |
|
49 |
<catalogsearch_result_index translate="label">
|
50 |
<label>Quick Search Form</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
<reference name="root">
|
52 |
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
53 |
</reference>
|
@@ -103,6 +111,14 @@ Advanced search results
|
|
103 |
<label>Advanced Search Result</label>
|
104 |
<update handle="page_two_columns_right" />
|
105 |
<!-- Mage_Catalogsearch -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
<reference name="root">
|
107 |
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
108 |
</reference>
|
48 |
|
49 |
<catalogsearch_result_index translate="label">
|
50 |
<label>Quick Search Form</label>
|
51 |
+
<reference name="head">
|
52 |
+
<!-- lazy load image -->
|
53 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/jquery.lazyload.min.js</name></action>
|
54 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/load.lazyscript.js</name></action>
|
55 |
+
|
56 |
+
<!-- same height script -->
|
57 |
+
<action method="addItem"><type>skin_js</type><name>js/grids.min.js</name></action>
|
58 |
+
</reference>
|
59 |
<reference name="root">
|
60 |
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
61 |
</reference>
|
111 |
<label>Advanced Search Result</label>
|
112 |
<update handle="page_two_columns_right" />
|
113 |
<!-- Mage_Catalogsearch -->
|
114 |
+
<reference name="head">
|
115 |
+
<!-- lazy load image -->
|
116 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/jquery.lazyload.min.js</name></action>
|
117 |
+
<action method="addItem"><type>skin_js</type><name>js/lazyload/load.lazyscript.js</name></action>
|
118 |
+
|
119 |
+
<!-- same height script -->
|
120 |
+
<action method="addItem"><type>skin_js</type><name>js/grids.min.js</name></action>
|
121 |
+
</reference>
|
122 |
<reference name="root">
|
123 |
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
124 |
</reference>
|
app/design/frontend/default/responsive/layout/checkout.xml
CHANGED
@@ -58,6 +58,12 @@ Default layout, loads most of the pages
|
|
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>
|
58 |
<remove name="right"/>
|
59 |
<remove name="left"/>
|
60 |
<!-- Mage_Checkout -->
|
61 |
+
<reference name="head">
|
62 |
+
<!-- script for jcarousel -->
|
63 |
+
<action method="addCss"><stylesheet>css/jcarousel/jcarousel.skeleton.css</stylesheet></action>
|
64 |
+
<action method="addItem"><type>skin_js</type><name>js/jquery.jcarousel.min.js</name></action>
|
65 |
+
<!-- end script for jcarousel -->
|
66 |
+
</reference>
|
67 |
<reference name="root">
|
68 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
69 |
</reference>
|
app/design/frontend/default/responsive/layout/cms.xml
CHANGED
@@ -61,6 +61,22 @@ Default layout, loads most of the pages
|
|
61 |
|
62 |
<cms_index_index translate="label">
|
63 |
<label>CMS Home Page</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
</cms_index_index>
|
65 |
|
66 |
<cms_index_defaultindex>
|
61 |
|
62 |
<cms_index_index translate="label">
|
63 |
<label>CMS Home Page</label>
|
64 |
+
<reference name="head">
|
65 |
+
<!-- script for jcarousel -->
|
66 |
+
<action method="addCss"><stylesheet>css/jcarousel/jcarousel.skeleton.css</stylesheet></action>
|
67 |
+
<action method="addItem"><type>skin_js</type><name>js/jquery.jcarousel.min.js</name></action>
|
68 |
+
<!-- end script for jcarousel -->
|
69 |
+
</reference>
|
70 |
+
|
71 |
+
<reference name="right">
|
72 |
+
<block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
|
73 |
+
</reference>
|
74 |
+
|
75 |
+
<reference name="content">
|
76 |
+
<block type="core/template" name="home.sectors" template="tvtheme/sectors.phtml" />
|
77 |
+
<block type="core/template" name="new.arrival" template="tvtheme/new-arrival.phtml" />
|
78 |
+
<block type="core/template" name="best.sale" template="tvtheme/best-sale.phtml" />
|
79 |
+
</reference>
|
80 |
</cms_index_index>
|
81 |
|
82 |
<cms_index_defaultindex>
|
app/design/frontend/default/responsive/layout/page.xml
CHANGED
@@ -63,10 +63,6 @@ Default layout, loads most of the pages
|
|
63 |
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
64 |
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
|
65 |
|
66 |
-
<!-- lazy load image -->
|
67 |
-
<action method="addItem"><type>skin_js</type><name>js/lazyload/jquery.lazyload.min.js</name></action>
|
68 |
-
<action method="addItem"><type>skin_js</type><name>js/lazyload/load.lazyscript.js</name></action>
|
69 |
-
|
70 |
</block>
|
71 |
|
72 |
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
63 |
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
64 |
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
|
65 |
|
|
|
|
|
|
|
|
|
66 |
</block>
|
67 |
|
68 |
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
app/design/frontend/default/responsive/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="review_product" 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/default/responsive/layout/yamm.xml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
|
3 |
+
<layout version="0.1.0">
|
4 |
+
<default translate="label" module="page">
|
5 |
+
<reference name="head">
|
6 |
+
<action method="addCss"><stylesheet>css/yamm.css</stylesheet></action>
|
7 |
+
</reference>
|
8 |
+
|
9 |
+
<reference name="top.menu">
|
10 |
+
<block type="core/template" name="mega.menu" template="tvtheme/yamm.phtml" />
|
11 |
+
<action method="unsetChild" ifconfig="yamm/setting/yes_no"><name>catalog.topnav</name></action>
|
12 |
+
</reference>
|
13 |
+
</default>
|
14 |
+
</layout>
|
app/design/frontend/default/responsive/template/bundle/catalog/product/view/type/bundle/option/radio.phtml
CHANGED
@@ -68,7 +68,7 @@
|
|
68 |
<?php endif; ?>
|
69 |
</div>
|
70 |
<span id="bundle-option-<?php echo $_option->getId() ?>-tier-prices"> <?php echo $tierPriceHtml; ?></span>
|
71 |
-
<span class="qty-holder">
|
72 |
-
<span for="bundle-option-<?php echo $_option->getId() ?>-qty-input"><?php echo $this->__('Qty
|
73 |
</span>
|
74 |
</div>
|
68 |
<?php endif; ?>
|
69 |
</div>
|
70 |
<span id="bundle-option-<?php echo $_option->getId() ?>-tier-prices"> <?php echo $tierPriceHtml; ?></span>
|
71 |
+
<span class="qty-holder input-group">
|
72 |
+
<span class="input-group-addon" for="bundle-option-<?php echo $_option->getId() ?>-qty-input"><?php echo $this->__('Qty') ?></span><input onkeyup="bundle.changeOptionQty(this, event)" onblur="bundle.changeOptionQty(this, event)" <?php if (!$_canChangeQty) echo ' disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="form-control input-text qty<?php if (!$_canChangeQty) echo ' qty-disabled' ?>" type="text" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>"/>
|
73 |
</span>
|
74 |
</div>
|
app/design/frontend/default/responsive/template/carousel/slider.phtml
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Bootstrap Carousel
|
4 |
+
* Tony Vu
|
5 |
+
* 29.01.2014
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php
|
10 |
+
$i = 0;
|
11 |
+
$j = 0;
|
12 |
+
|
13 |
+
/*Magento Config*/
|
14 |
+
$is_carousel = Mage::getStoreConfig('carousel/setting/yes_no');
|
15 |
+
if($is_carousel == 0 || $is_carousel == 0){
|
16 |
+
return;
|
17 |
+
}
|
18 |
+
|
19 |
+
// auto loop carousel
|
20 |
+
$is_loop = Mage::getStoreConfig('carousel/setting/wrap');
|
21 |
+
|
22 |
+
// path folder contains images
|
23 |
+
$path_folder = "media/" . Mage::getStoreConfig('carousel/setting/path') . "/*.*" ;
|
24 |
+
$TotalImages = count(glob($path_folder));
|
25 |
+
|
26 |
+
// transition option
|
27 |
+
$transition = Mage::getStoreConfig('carousel/setting/transition');
|
28 |
+
if($transition == null){
|
29 |
+
$transition = 'slide';
|
30 |
+
}
|
31 |
+
|
32 |
+
// transition time
|
33 |
+
$interval = Mage::getStoreConfig('carousel/setting/interval');
|
34 |
+
if($interval == null || $interval == 0){
|
35 |
+
$interval = 5000;
|
36 |
+
}
|
37 |
+
|
38 |
+
// get Banner Links
|
39 |
+
$banner_arr = unserialize(Mage::getStoreConfig('carousel/setting/banner', Mage::app()->getStore()->getId()));
|
40 |
+
if(!empty($banner_arr)){
|
41 |
+
$banner_list = array();
|
42 |
+
foreach($banner_arr as $banner){
|
43 |
+
$banner_list[trim($banner['image_name'])] = trim($banner['image_link']);
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
?>
|
48 |
+
<div id="tvcarousel" data-interval="<?php echo $interval ?>" data-wrap="<?php echo $is_loop ?>" class="carousel <?php echo $transition ?>" data-ride="carousel">
|
49 |
+
<!-- Indicators -->
|
50 |
+
<ol class="carousel-indicators">
|
51 |
+
<?php
|
52 |
+
while ($i < $TotalImages) {
|
53 |
+
if($i == 0){
|
54 |
+
echo '<li data-target="#tvcarousel" data-slide-to="' . $i . '" class="active"></li>';
|
55 |
+
}else{
|
56 |
+
echo '<li data-target="#tvcarousel" data-slide-to="' . $i . '"></li>';
|
57 |
+
}
|
58 |
+
$i++;
|
59 |
+
}
|
60 |
+
?>
|
61 |
+
</ol>
|
62 |
+
|
63 |
+
<!-- Wrapper for slides -->
|
64 |
+
<div class="carousel-inner">
|
65 |
+
<?php
|
66 |
+
foreach (glob($path_folder) as $filename) {
|
67 |
+
if($j == 0){
|
68 |
+
echo '<div class="item active"><a href="' . $banner_list[Mage::helper('slider/data')->getImageName($filename)].'"><img src="' . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . $filename . '" /></a><div class="carousel-caption"></div></div>';
|
69 |
+
}else{
|
70 |
+
echo '<div class="item"><a href="' . $banner_list[Mage::helper('slider/data')->getImageName($filename)].'"><img src="' . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . $filename . '" /></a><div class="carousel-caption"></div></div>' ;
|
71 |
+
}
|
72 |
+
$j++;
|
73 |
+
}
|
74 |
+
?>
|
75 |
+
</div>
|
76 |
+
<!-- Controls -->
|
77 |
+
<a class="left carousel-control" href="#tvcarousel" data-slide="prev">
|
78 |
+
<span class="glyphicon glyphicon-chevron-left"></span>
|
79 |
+
</a>
|
80 |
+
<a class="right carousel-control" href="#tvcarousel" data-slide="next">
|
81 |
+
<span class="glyphicon glyphicon-chevron-right"></span>
|
82 |
+
</a>
|
83 |
+
</div>
|
app/design/frontend/default/responsive/template/catalog/layer/state.phtml
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
<?php $_filters = $this->getActiveFilters() ?>
|
35 |
<?php if(!empty($_filters)): ?>
|
36 |
<div class="currently">
|
37 |
-
<p class="block-subtitle"><?php echo $this->__('Shopping by
|
38 |
<ol>
|
39 |
<?php foreach ($_filters as $_filter): ?>
|
40 |
<li>
|
34 |
<?php $_filters = $this->getActiveFilters() ?>
|
35 |
<?php if(!empty($_filters)): ?>
|
36 |
<div class="currently">
|
37 |
+
<p class="block-subtitle"><?php echo $this->__('Shopping by') ?></p>
|
38 |
<ol>
|
39 |
<?php foreach ($_filters as $_filter): ?>
|
40 |
<li>
|
app/design/frontend/default/responsive/template/catalog/layer/view.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 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category layered navigation
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->canShowBlock()): ?>
|
35 |
+
<div class="block block-layered-nav">
|
36 |
+
<div class="block-title">
|
37 |
+
<strong><span><?php echo $this->__('Shop By') ?></span></strong>
|
38 |
+
</div>
|
39 |
+
<div class="block-content">
|
40 |
+
<?php echo $this->getStateHtml() ?>
|
41 |
+
<?php if ($this->getLayer()->getState()->getFilters()): ?>
|
42 |
+
<div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if($this->canShowOptions()): ?>
|
45 |
+
<div class="panel panel-default">
|
46 |
+
<div class="block-subtitle panel-heading"><?php echo $this->__('Shopping Options') ?></div>
|
47 |
+
<dl id="narrow-by-list panel-body">
|
48 |
+
<?php $_filters = $this->getFilters() ?>
|
49 |
+
<?php foreach ($_filters as $_filter): ?>
|
50 |
+
<?php if($_filter->getItemsCount()): ?>
|
51 |
+
<dt><?php echo $this->__($_filter->getName()) ?></dt>
|
52 |
+
<dd><?php echo $_filter->getHtml() ?></dd>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</dl>
|
56 |
+
</div>
|
57 |
+
<script type="text/javascript">decorateDataList('narrow-by-list')</script>
|
58 |
+
<?php endif; ?>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/catalog/product/compare/sidebar.phtml
CHANGED
@@ -29,15 +29,14 @@
|
|
29 |
$_helper = $this->helper('catalog/product_compare');
|
30 |
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
31 |
?>
|
32 |
-
<div class="block block-list block-compare">
|
33 |
-
<div class="block-title">
|
34 |
-
|
35 |
<?php if($_helper->getItemCount() > 0): ?>
|
36 |
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
37 |
<?php endif; ?>
|
38 |
-
</span></strong>
|
39 |
</div>
|
40 |
-
<div class="block-content">
|
41 |
<?php if($_helper->getItemCount() > 0): ?>
|
42 |
<ol id="compare-items">
|
43 |
<?php foreach($_items as $_index => $_item): ?>
|
29 |
$_helper = $this->helper('catalog/product_compare');
|
30 |
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
31 |
?>
|
32 |
+
<div class="block block-list block-compare panel panel-default">
|
33 |
+
<div class="block-title panel-heading">
|
34 |
+
<?php echo $this->__('Compare Products') ?>
|
35 |
<?php if($_helper->getItemCount() > 0): ?>
|
36 |
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
37 |
<?php endif; ?>
|
|
|
38 |
</div>
|
39 |
+
<div class="block-content panel-body">
|
40 |
<?php if($_helper->getItemCount() > 0): ?>
|
41 |
<ol id="compare-items">
|
42 |
<?php foreach($_items as $_index => $_item): ?>
|
app/design/frontend/default/responsive/template/catalog/product/list.phtml
CHANGED
@@ -36,7 +36,7 @@
|
|
36 |
$_helper = $this->helper('catalog/output');
|
37 |
?>
|
38 |
<?php if(!$_productCollection->count()): ?>
|
39 |
-
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
40 |
<?php else: ?>
|
41 |
<div class="category-products">
|
42 |
<?php echo $this->getToolbarHtml() ?>
|
@@ -58,7 +58,7 @@
|
|
58 |
<?php endif; ?>
|
59 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
60 |
<?php if($_product->isSaleable()): ?>
|
61 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-default
|
62 |
<?php else: ?>
|
63 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
64 |
<?php endif; ?>
|
@@ -87,11 +87,11 @@
|
|
87 |
|
88 |
<?php $_collectionSize = $_productCollection->count() ?>
|
89 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
|
|
90 |
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
91 |
-
<?php if ($i++%$_columnCount==0): ?>
|
92 |
-
|
93 |
-
|
94 |
-
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?> col-md-4 col-xs-4">
|
95 |
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img data-original="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" class="lazy img-responsive" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
|
96 |
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
97 |
<?php if($_product->getRatingSummary()): ?>
|
@@ -100,7 +100,7 @@
|
|
100 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
101 |
<div class="actions">
|
102 |
<?php if($_product->isSaleable()): ?>
|
103 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-default
|
104 |
<?php else: ?>
|
105 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
106 |
<?php endif; ?>
|
@@ -114,10 +114,10 @@
|
|
114 |
</ul>
|
115 |
</div>
|
116 |
</li>
|
117 |
-
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
118 |
-
|
119 |
-
<?php endif ?>
|
120 |
<?php endforeach ?>
|
|
|
121 |
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
122 |
<?php endif; ?>
|
123 |
|
@@ -125,4 +125,10 @@
|
|
125 |
<?php echo $this->getToolbarHtml() ?>
|
126 |
</div>
|
127 |
</div>
|
128 |
-
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
36 |
$_helper = $this->helper('catalog/output');
|
37 |
?>
|
38 |
<?php if(!$_productCollection->count()): ?>
|
39 |
+
<p class="note-msg alert alert-info"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
40 |
<?php else: ?>
|
41 |
<div class="category-products">
|
42 |
<?php echo $this->getToolbarHtml() ?>
|
58 |
<?php endif; ?>
|
59 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
60 |
<?php if($_product->isSaleable()): ?>
|
61 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-default" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><?php echo $this->__('Add to Cart') ?></button></p>
|
62 |
<?php else: ?>
|
63 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
64 |
<?php endif; ?>
|
87 |
|
88 |
<?php $_collectionSize = $_productCollection->count() ?>
|
89 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
90 |
+
<ul class="products-grid row">
|
91 |
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
92 |
+
<?php //if ($i++%$_columnCount==0): ?>
|
93 |
+
<?php //endif ?>
|
94 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?> col-md-4 col-xs-6 element">
|
|
|
95 |
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img data-original="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" class="lazy img-responsive" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
|
96 |
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
97 |
<?php if($_product->getRatingSummary()): ?>
|
100 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
101 |
<div class="actions">
|
102 |
<?php if($_product->isSaleable()): ?>
|
103 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-default" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><?php echo $this->__('Add to Cart') ?></button>
|
104 |
<?php else: ?>
|
105 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
106 |
<?php endif; ?>
|
114 |
</ul>
|
115 |
</div>
|
116 |
</li>
|
117 |
+
<?php //if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
118 |
+
<?php //endif ?>
|
|
|
119 |
<?php endforeach ?>
|
120 |
+
</ul>
|
121 |
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
122 |
<?php endif; ?>
|
123 |
|
125 |
<?php echo $this->getToolbarHtml() ?>
|
126 |
</div>
|
127 |
</div>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<script type="text/javascript">
|
131 |
+
jQuery(function($) {
|
132 |
+
$('.element').responsiveEqualHeightGrid();
|
133 |
+
});
|
134 |
+
</script>
|
app/design/frontend/default/responsive/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 panel panel-default">
|
29 |
+
<div class="block-title panel-heading">
|
30 |
+
<?php echo $this->__('Related Products') ?>
|
31 |
+
</div>
|
32 |
+
<div class="block-content panel-body">
|
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"><i class="fa fa-gift fa-lg"></i></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/default/responsive/template/catalog/product/list/toolbar.phtml
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
<?php if($this->getLastPageNum()>1): ?>
|
39 |
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
40 |
<?php else: ?>
|
41 |
-
|
42 |
<?php endif; ?>
|
43 |
</div>
|
44 |
|
@@ -68,7 +68,7 @@
|
|
68 |
<?php echo $this->__('View as') ?>:
|
69 |
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
70 |
<?php if($this->isModeActive($_code)): ?>
|
71 |
-
<
|
72 |
<?php else: ?>
|
73 |
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
|
74 |
<?php endif; ?>
|
38 |
<?php if($this->getLastPageNum()>1): ?>
|
39 |
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
40 |
<?php else: ?>
|
41 |
+
<?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?>
|
42 |
<?php endif; ?>
|
43 |
</div>
|
44 |
|
68 |
<?php echo $this->__('View as') ?>:
|
69 |
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
70 |
<?php if($this->isModeActive($_code)): ?>
|
71 |
+
<span title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></span>
|
72 |
<?php else: ?>
|
73 |
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
|
74 |
<?php endif; ?>
|
app/design/frontend/default/responsive/template/catalog/product/list/upsell.phtml
CHANGED
@@ -26,8 +26,16 @@
|
|
26 |
?>
|
27 |
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
<div class="box-collateral box-up-sell">
|
29 |
-
<
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
<!-- Carousel -->
|
@@ -38,23 +46,19 @@
|
|
38 |
<?php if($_link=$this->getIterableItem()): ?>
|
39 |
<li>
|
40 |
<div class="upsell-product">
|
41 |
-
<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) ?>"
|
42 |
<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>
|
43 |
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
44 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
45 |
</div>
|
46 |
</li>
|
47 |
<?php else: ?>
|
48 |
-
|
49 |
<?php endif; ?>
|
50 |
<?php endfor; ?>
|
51 |
<?php endfor; ?>
|
52 |
</ul>
|
53 |
-
</div>
|
54 |
-
<!-- Prev/next controls -->
|
55 |
-
<a class="jcarousel-prev">‹ Prev</a>
|
56 |
-
| <span style="font-weight: bold">Slider</span> |
|
57 |
-
<a class="jcarousel-next">Next ›</a>
|
58 |
|
59 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
60 |
</div>
|
26 |
?>
|
27 |
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
<div class="box-collateral box-up-sell">
|
29 |
+
<div class="row">
|
30 |
+
<!-- <div class="col-xs-8">
|
31 |
+
<h2><?php echo $this->__('Related Product') ?></h2>
|
32 |
+
</div> -->
|
33 |
+
<div class="col-xs-12" style="text-align: right">
|
34 |
+
<!-- Prev/next controls -->
|
35 |
+
<a class="jcarousel-prev"><i class="fa fa-angle-left fa-2x"></i></a>
|
36 |
+
<a class="jcarousel-next"><i class="fa fa-angle-right fa-2x"></i></a>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
<?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
40 |
<?php $this->resetItemsIterator() ?>
|
41 |
<!-- Carousel -->
|
46 |
<?php if($_link=$this->getIterableItem()): ?>
|
47 |
<li>
|
48 |
<div class="upsell-product">
|
49 |
+
<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) ?>" alt="<?php echo $this->escapeHtml($_link->getName()) ?>" /></a>
|
50 |
<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>
|
51 |
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
52 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
53 |
</div>
|
54 |
</li>
|
55 |
<?php else: ?>
|
56 |
+
<!-- <li class="empty"> </li>-->
|
57 |
<?php endif; ?>
|
58 |
<?php endfor; ?>
|
59 |
<?php endfor; ?>
|
60 |
</ul>
|
61 |
+
</div>
|
|
|
|
|
|
|
|
|
62 |
|
63 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
64 |
</div>
|
app/design/frontend/default/responsive/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 = '<span class="price-label">Special Price</span>';
|
52 |
+
if ($this->getProductAttribute('special_price')) $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
|
53 |
+
?>
|
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/default/responsive/template/catalog/product/view.phtml
CHANGED
@@ -65,9 +65,6 @@
|
|
65 |
<div class="add-to-box">
|
66 |
<?php if($_product->isSaleable()): ?>
|
67 |
<?php echo $this->getChildHtml('addtocart') ?>
|
68 |
-
<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
69 |
-
<span class="or"><?php echo $this->__('OR') ?></span>
|
70 |
-
<?php endif; ?>
|
71 |
<?php endif; ?>
|
72 |
<?php echo $this->getChildHtml('addto') ?>
|
73 |
</div>
|
@@ -156,15 +153,44 @@
|
|
156 |
</div>
|
157 |
|
158 |
<div class="product-collateral">
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
</div>
|
170 |
</div>
|
65 |
<div class="add-to-box">
|
66 |
<?php if($_product->isSaleable()): ?>
|
67 |
<?php echo $this->getChildHtml('addtocart') ?>
|
|
|
|
|
|
|
68 |
<?php endif; ?>
|
69 |
<?php echo $this->getChildHtml('addto') ?>
|
70 |
</div>
|
153 |
</div>
|
154 |
|
155 |
<div class="product-collateral">
|
156 |
+
<!-- tab -->
|
157 |
+
|
158 |
+
<ul id="myTab" class="nav nav-tabs">
|
159 |
+
<?php if($this->getChildHtml('description')) : ?>
|
160 |
+
<li class="active"><a href="#details" data-toggle="tab">Details</a></li>
|
161 |
+
<?php endif; ?>
|
162 |
+
<?php if($this->getChildHtml('upsell_products')) : ?>
|
163 |
+
<li class=""><a href="#upsells" data-toggle="tab">Related Product</a></li>
|
164 |
+
<?php endif; ?>
|
165 |
+
<?php if($this->getChildHtml('product_additional_data')) : ?>
|
166 |
+
<li class=""><a href="#tags" data-toggle="tab">Product Tags</a></li>
|
167 |
+
<?php endif; ?>
|
168 |
+
</ul>
|
169 |
+
|
170 |
+
<div id="ProductTabContent" class="tab-content">
|
171 |
+
<!-- details content -->
|
172 |
+
<div class="tab-pane fade in active" id="details">
|
173 |
+
<?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
|
174 |
+
<div class="box-collateral <?php echo "box-{$alias}"?>">
|
175 |
+
<?php if ($title = $this->getChildData($alias, 'title')):?>
|
176 |
+
<h2><?php echo $this->escapeHtml($title); ?></h2>
|
177 |
+
<?php endif;?>
|
178 |
+
<?php echo $html; ?>
|
179 |
+
</div>
|
180 |
+
<?php endforeach;?>
|
181 |
+
</div>
|
182 |
+
<?php if($this->getChildHtml('upsell_products')) : ?>
|
183 |
+
<div class="tab-pane fade" id="upsells">
|
184 |
+
<?php echo $this->getChildHtml('upsell_products') ?>
|
185 |
+
</div>
|
186 |
+
<?php endif; ?>
|
187 |
+
<?php if($this->getChildHtml('product_additional_data')) : ?>
|
188 |
+
<div class="tab-pane fade" id="tags">
|
189 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
190 |
+
</div>
|
191 |
+
<?php endif; ?>
|
192 |
+
</div>
|
193 |
+
<!-- Review Product From -->
|
194 |
+
<?php echo $this->getChildHtml('review_product') ?>
|
195 |
</div>
|
196 |
</div>
|
app/design/frontend/default/responsive/template/catalog/product/view/addtocart.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 $_product = $this->getProduct(); ?>
|
28 |
+
<?php $buttonTitle = $this->__('Add to Cart'); ?>
|
29 |
+
<?php if($_product->isSaleable()): ?>
|
30 |
+
<div class="add-to-cart">
|
31 |
+
<div class="input-group">
|
32 |
+
<?php if(!$_product->isGrouped()): ?>
|
33 |
+
<span class="input-group-addon">
|
34 |
+
<label for="qty"><?php echo $this->__('Qty') ?></label>
|
35 |
+
</span>
|
36 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="form-control input-text qty" />
|
37 |
+
<?php endif; ?>
|
38 |
+
<span class="input-group-btn">
|
39 |
+
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn btn-cart btn-danger" onclick="productAddToCartForm.submit(this)"><?php echo $buttonTitle ?></button>
|
40 |
+
</span>
|
41 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/catalog/product/view/attributes.phtml
CHANGED
@@ -38,8 +38,8 @@
|
|
38 |
<h2><?php echo $this->__('Additional Information') ?></h2>
|
39 |
<div id="product-attribute-specs-table">
|
40 |
<?php foreach ($_additional as $_data): ?>
|
41 |
-
<
|
42 |
-
<
|
43 |
<?php endforeach; ?>
|
44 |
</div>
|
45 |
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
|
38 |
<h2><?php echo $this->__('Additional Information') ?></h2>
|
39 |
<div id="product-attribute-specs-table">
|
40 |
<?php foreach ($_additional as $_data): ?>
|
41 |
+
<p><span style="font-weight: bold"><?php echo $this->escapeHtml($this->__($_data['label'])) ?></span>:
|
42 |
+
<span class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></span></p>
|
43 |
<?php endforeach; ?>
|
44 |
</div>
|
45 |
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
|
app/design/frontend/default/responsive/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/default/responsive/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 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 form-control" />
|
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/default/responsive/template/catalog/seo/sitemap.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 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Catalog_Block_Seo_Sitemap_
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_items = $this->getCollection(); ?>
|
33 |
+
<?php if($_items->getSize()): ?>
|
34 |
+
<ul class="sitemap">
|
35 |
+
<?php foreach ($_items as $_item): ?>
|
36 |
+
<li><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->escapeHtml($_item->name) ?></a></li>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</ul>
|
39 |
+
<?php else: ?>
|
40 |
+
<p class="alert alert-warning note-msg">
|
41 |
+
<?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
|
42 |
+
</p>
|
43 |
+
<script type="text/javascript">
|
44 |
+
//<![CDATA[
|
45 |
+
if ($('sitemap_top_links') != undefined) {
|
46 |
+
$('sitemap_top_links').hide();
|
47 |
+
}
|
48 |
+
//]]>
|
49 |
+
</script>
|
50 |
+
<?php endif ?>
|
app/design/frontend/default/responsive/template/catalog/seo/tree.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) 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_Catalog_Block_Seo_Sitemap_
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_items = $this->getCollection(); ?>
|
33 |
+
<?php if($_items->getSize()): ?>
|
34 |
+
<ul class="sitemap">
|
35 |
+
<?php foreach ($_items as $_item): ?>
|
36 |
+
<li class="level-<?php echo $this->getLevel($_item) ?>" <?php echo $this->getLevel($_item)?'style="padding-left:' . $this->getLevel($_item, 2) . '0px;"':'' ?>><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $_item->name ?></a></li>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</ul>
|
39 |
+
<?php else: ?>
|
40 |
+
<p class="alert alert-warning note-msg">
|
41 |
+
<?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
|
42 |
+
</p>
|
43 |
+
<?php endif ?>
|
app/design/frontend/default/responsive/template/catalogsearch/advanced/result.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) 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->__('Catalog Advanced Search') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<?php if($this->getResultCount()): ?>
|
32 |
+
<p class="advanced-search-amount">
|
33 |
+
<?php echo $this->helper('catalogsearch')->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
|
34 |
+
</p>
|
35 |
+
<?php else: ?>
|
36 |
+
<p class="error-msg alert alert-warning"><?php echo $this->helper('catalogsearch')->__('No items were found using the following search criteria.');?> <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a></p>
|
37 |
+
<?php endif; ?>
|
38 |
+
|
39 |
+
<div class="advanced-search-summary">
|
40 |
+
<?php $searchCriterias=$this->getSearchCriterias(); ?>
|
41 |
+
<?php foreach (array('left', 'right') as $side): ?>
|
42 |
+
<?php if(@$searchCriterias[$side]): ?>
|
43 |
+
<ul>
|
44 |
+
<?php foreach($searchCriterias[$side] as $criteria): ?>
|
45 |
+
<li><strong><?php echo $this->escapeHtml($this->helper('catalog')->__($criteria['name'])); ?>:</strong> <?php echo $this->escapeHtml($criteria['value']); ?></li>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</ul>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
<?php if($this->getResultCount()): ?>
|
51 |
+
<p>
|
52 |
+
<?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
|
53 |
+
<a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
|
54 |
+
</p>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
<?php if($this->getResultCount()): ?>
|
58 |
+
<?php echo $this->getProductListHtml() ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php $this->getSearchCriterias(); ?>
|
app/design/frontend/default/responsive/template/catalogsearch/form.mini.phtml
CHANGED
@@ -33,10 +33,11 @@ $catalogSearchHelper = $this->helper('catalogsearch');
|
|
33 |
<div class="input-group">
|
34 |
<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();?>" />
|
35 |
<!-- <span class="input-group-addon"><i class="fa fa-search"></i></span> -->
|
36 |
-
<div class="input-group-btn">
|
37 |
-
|
38 |
-
<button type="button"
|
39 |
-
|
|
|
40 |
<ul class="dropdown-menu pull-right" role="menu">
|
41 |
<li><a href="<?php echo Mage::getBaseUrl() . 'catalogsearch/advanced/' ?>"><i class="fa fa-search"></i>Advanced Search</a></li>
|
42 |
<li class="divider"></li>
|
@@ -47,7 +48,7 @@ $catalogSearchHelper = $this->helper('catalogsearch');
|
|
47 |
<div id="search_autocomplete" class="search-autocomplete"></div>
|
48 |
<script type="text/javascript">
|
49 |
//<![CDATA[
|
50 |
-
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('
|
51 |
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
52 |
//]]>
|
53 |
</script>
|
33 |
<div class="input-group">
|
34 |
<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();?>" />
|
35 |
<!-- <span class="input-group-addon"><i class="fa fa-search"></i></span> -->
|
36 |
+
<div class="input-group-btn">
|
37 |
+
<button type="submit" title="<?php echo $this->__('Search') ?>" class="btn btn-info">Search</button>
|
38 |
+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
39 |
+
<span class="caret"></span>
|
40 |
+
<span class="sr-only">Toggle Dropdown</span></button>
|
41 |
<ul class="dropdown-menu pull-right" role="menu">
|
42 |
<li><a href="<?php echo Mage::getBaseUrl() . 'catalogsearch/advanced/' ?>"><i class="fa fa-search"></i>Advanced Search</a></li>
|
43 |
<li class="divider"></li>
|
48 |
<div id="search_autocomplete" class="search-autocomplete"></div>
|
49 |
<script type="text/javascript">
|
50 |
//<![CDATA[
|
51 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Product name') ?>');
|
52 |
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
53 |
//]]>
|
54 |
</script>
|
app/design/frontend/default/responsive/template/catalogsearch/result.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 |
+
<?php if($this->getResultCount()): ?>
|
28 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
29 |
+
<div class="page-title">
|
30 |
+
<?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
|
31 |
+
<a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
|
32 |
+
<?php endif; ?>
|
33 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
34 |
+
</div>
|
35 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
36 |
+
<p class="alert alert-info note-msg">
|
37 |
+
<?php foreach ($messages as $message):?>
|
38 |
+
<?php echo $message?><br />
|
39 |
+
<?php endforeach;?>
|
40 |
+
</p>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php echo $this->getProductListHtml() ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="page-title">
|
45 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
46 |
+
</div>
|
47 |
+
<p class="alert alert-info note-msg">
|
48 |
+
<?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
|
49 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
50 |
+
<?php foreach ($messages as $message):?>
|
51 |
+
<br /><?php echo $message?>
|
52 |
+
<?php endforeach;?>
|
53 |
+
<?php endif; ?>
|
54 |
+
</p>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/catalogsearch/term.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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Popular Search Terms') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php if( sizeof($this->getTerms()) > 0 ): ?>
|
31 |
+
<ul class="tags-list">
|
32 |
+
<?php foreach ($this->getTerms() as $_term): ?>
|
33 |
+
<li><a href="<?php echo $this->getSearchUrl($_term) ?>" style="font-size:<?php echo $_term->getRatio()*70+75 ?>%;"><?php echo $this->escapeHtml($_term->getName()) ?></a></li>
|
34 |
+
<?php endforeach; ?>
|
35 |
+
</ul>
|
36 |
+
<?php else: ?>
|
37 |
+
<p class="alert alert-warning note-msg"><?php echo $this->__('There are no search terms available.'); ?></p>
|
38 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/checkout/cart/coupon.phtml
CHANGED
@@ -34,9 +34,9 @@
|
|
34 |
<input class="form-control input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
|
35 |
</div>
|
36 |
<div class="buttons-set">
|
37 |
-
<button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button btn btn-default
|
38 |
<?php if(strlen($this->getCouponCode())): ?>
|
39 |
-
<button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button btn btn-default
|
40 |
<?php endif;?>
|
41 |
</div>
|
42 |
</div>
|
34 |
<input class="form-control input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
|
35 |
</div>
|
36 |
<div class="buttons-set">
|
37 |
+
<button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button btn btn-default" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"><?php echo $this->__('Apply Coupon') ?></button>
|
38 |
<?php if(strlen($this->getCouponCode())): ?>
|
39 |
+
<button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button btn btn-default" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><?php echo $this->__('Cancel Coupon') ?></button>
|
40 |
<?php endif;?>
|
41 |
</div>
|
42 |
</div>
|
app/design/frontend/default/responsive/template/checkout/cart/crosssell.phtml
CHANGED
@@ -33,27 +33,54 @@
|
|
33 |
?>
|
34 |
<?php if($this->getItemCount()): ?>
|
35 |
<div class="crosssell">
|
36 |
-
<
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 btn btn-default
|
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"
|
48 |
<?php endif; ?>
|
49 |
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
|
50 |
-
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"
|
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; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
?>
|
34 |
<?php if($this->getItemCount()): ?>
|
35 |
<div class="crosssell">
|
36 |
+
<div class="row">
|
37 |
+
<div class="col-xs-6">
|
38 |
+
<h2><?php echo $this->__('Related product') ?></h2>
|
39 |
+
</div>
|
40 |
+
<div class="col-xs-6" style="text-align: right">
|
41 |
+
<a class="jcarousel-prev"><i class="fa fa-angle-up"></i></a><br/>
|
42 |
+
<a class="jcarousel-next"><i class="fa fa-angle-down"></i></a>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
<div class="jcarousel-vertical">
|
46 |
+
<ul id="crosssell-products-list">
|
47 |
<?php foreach ($this->getItems() as $_item): ?>
|
48 |
+
<li class="item">
|
49 |
<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>
|
50 |
<div class="product-details">
|
51 |
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
52 |
<?php echo $this->getPriceHtml($_item, true) ?>
|
53 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-default" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><?php echo $this->__('Add to Cart') ?></button>
|
54 |
<ul class="add-to-links">
|
55 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
56 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><i class="fa fa-gift fa-lg"></i></a></li>
|
57 |
<?php endif; ?>
|
58 |
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
|
59 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><i class="fa fa-files-o"></i></a></li>
|
60 |
<?php endif; ?>
|
61 |
</ul>
|
62 |
</div>
|
63 |
</li>
|
64 |
<?php endforeach; ?>
|
65 |
</ul>
|
66 |
+
</div>
|
67 |
<script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script>
|
68 |
</div>
|
69 |
<?php endif; ?>
|
70 |
+
<script>
|
71 |
+
jQuery(function() {
|
72 |
+
// create instance
|
73 |
+
jQuery('.jcarousel-vertical').jcarousel({
|
74 |
+
vertical: true,
|
75 |
+
scroll: 1
|
76 |
+
});
|
77 |
+
|
78 |
+
jQuery('.jcarousel-prev').click(function() {
|
79 |
+
jQuery('.jcarousel-vertical').jcarousel('scroll', '-=1');
|
80 |
+
});
|
81 |
+
|
82 |
+
jQuery('.jcarousel-next').click(function() {
|
83 |
+
jQuery('.jcarousel-vertical').jcarousel('scroll', '+=1');
|
84 |
+
});
|
85 |
+
});
|
86 |
+
</script>
|
app/design/frontend/default/responsive/template/checkout/cart/item/configure/updatecart.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 $buttonTitle = $this->__('Update Cart'); ?>
|
30 |
+
<?php if ($_product->isSaleable()): ?>
|
31 |
+
<div class="add-to-cart">
|
32 |
+
<div class="input-group">
|
33 |
+
<?php if (!$_product->isGrouped()): ?>
|
34 |
+
<span class="input-group-addon"><label for="qty"><?php echo $this->__('Qty:') ?></label></span>
|
35 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="form-control input-text qty" />
|
36 |
+
<?php endif; ?>
|
37 |
+
<span class="input-group-btn"><button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart btn btn-danger" onclick="productAddToCartForm.submit(this)"><?php echo $buttonTitle ?></button></span>
|
38 |
+
</div>
|
39 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/checkout/cart/item/default.phtml
CHANGED
@@ -59,7 +59,7 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
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(); ?>
|
59 |
<?php endif;?>
|
60 |
<?php if ($messages = $this->getMessages()): ?>
|
61 |
<?php foreach ($messages as $message): ?>
|
62 |
+
<p class="alert alert-info item-msg <?php echo $message['type'] ?>">* <?php echo $this->escapeHtml($message['text']) ?></p>
|
63 |
<?php endforeach; ?>
|
64 |
<?php endif; ?>
|
65 |
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
app/design/frontend/default/responsive/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="alert alert-info 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/default/responsive/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="alert alert-info 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/default/responsive/template/checkout/cart/shipping.phtml
CHANGED
@@ -69,7 +69,7 @@
|
|
69 |
</li>
|
70 |
</ul>
|
71 |
<div class="buttons-set">
|
72 |
-
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button btn btn-default
|
73 |
</div>
|
74 |
</form>
|
75 |
<script type="text/javascript">
|
@@ -86,7 +86,7 @@
|
|
86 |
<dd>
|
87 |
<ul>
|
88 |
<?php foreach ($_rates as $_rate): ?>
|
89 |
-
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
|
90 |
<?php if ($_rate->getErrorMessage()): ?>
|
91 |
<?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
|
92 |
<?php else: ?>
|
69 |
</li>
|
70 |
</ul>
|
71 |
<div class="buttons-set">
|
72 |
+
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button btn btn-default"><?php echo $this->__('Get a Quote') ?></button>
|
73 |
</div>
|
74 |
</form>
|
75 |
<script type="text/javascript">
|
86 |
<dd>
|
87 |
<ul>
|
88 |
<?php foreach ($_rates as $_rate): ?>
|
89 |
+
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg alert alert-danger"';?>>
|
90 |
<?php if ($_rate->getErrorMessage()): ?>
|
91 |
<?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
|
92 |
<?php else: ?>
|
app/design/frontend/default/responsive/template/checkout/cart/sidebar.phtml
CHANGED
@@ -32,12 +32,12 @@
|
|
32 |
|
33 |
?>
|
34 |
<?php if ($this->getIsNeedToDisplaySideBar()):?>
|
35 |
-
<div class="block block-cart">
|
36 |
<?php $_cartQty = $this->getSummaryCount() ?>
|
37 |
-
<div class="block-title">
|
38 |
-
|
39 |
</div>
|
40 |
-
<div class="block-content">
|
41 |
<?php if ($_cartQty>0): ?>
|
42 |
<div class="summary">
|
43 |
<?php if ($_cartQty==1): ?>
|
32 |
|
33 |
?>
|
34 |
<?php if ($this->getIsNeedToDisplaySideBar()):?>
|
35 |
+
<div class="block block-cart panel panel-default">
|
36 |
<?php $_cartQty = $this->getSummaryCount() ?>
|
37 |
+
<div class="block-title panel-heading">
|
38 |
+
<?php echo $this->__('My Cart') ?>
|
39 |
</div>
|
40 |
+
<div class="block-content panel-body">
|
41 |
<?php if ($_cartQty>0): ?>
|
42 |
<div class="summary">
|
43 |
<?php if ($_cartQty==1): ?>
|
app/design/frontend/default/responsive/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 alert alert-danger"' ?>>
|
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/default/responsive/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="button btn btn-default" onclick="payment.save()"><?php echo $this->__('Continue') ?></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/default/responsive/template/checkout/onepage/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 panel panel-default">
|
28 |
+
<div class="block-title panel-heading">
|
29 |
+
<?php echo $this->__('Your Checkout Progress') ?>
|
30 |
+
</div>
|
31 |
+
<div class="block-content panel-body">
|
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/default/responsive/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/default/responsive/template/checkout/onepage/shipping.phtml
CHANGED
@@ -136,7 +136,7 @@
|
|
136 |
<div class="buttons-set" id="shipping-buttons-container">
|
137 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
138 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
139 |
-
<button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"
|
140 |
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
141 |
<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...') ?>
|
142 |
</span>
|
136 |
<div class="buttons-set" id="shipping-buttons-container">
|
137 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
138 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
139 |
+
<button type="button" class="button btn btn-default" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><?php echo $this->__('Continue') ?></button>
|
140 |
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
141 |
<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...') ?>
|
142 |
</span>
|
app/design/frontend/default/responsive/template/checkout/onepage/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) 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"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
41 |
+
<button type="button" class="button btn btn-default" onclick="shippingMethod.save()"><?php echo $this->__('Continue') ?></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/default/responsive/template/checkout/onepage/shipping_method/available.phtml
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
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 alert alert-danger"><ul><li><?php echo $this->escapeHtml($_rate->getErrorMessage()) ?></li></ul></li></ul>
|
43 |
+
<?php else: ?>
|
44 |
+
<?php if ($_sole) : ?>
|
45 |
+
<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>
|
46 |
+
<?php else: ?>
|
47 |
+
<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"/>
|
48 |
+
|
49 |
+
<?php if ($_rate->getCode() === $this->getAddressShippingMethod()): ?>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
lastPrice = <?php echo (float)$_rate->getPrice(); ?>;
|
53 |
+
//]]>
|
54 |
+
</script>
|
55 |
+
<?php endif; ?>
|
56 |
+
|
57 |
+
<?php endif; ?>
|
58 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
59 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
60 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
61 |
+
<?php echo $_excl; ?>
|
62 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
63 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
64 |
+
<?php endif; ?>
|
65 |
+
</label>
|
66 |
+
<?php endif ?>
|
67 |
+
</li>
|
68 |
+
<?php endforeach; ?>
|
69 |
+
</ul>
|
70 |
+
</dd>
|
71 |
+
<?php endforeach; ?>
|
72 |
+
</dl>
|
73 |
+
<script type="text/javascript">
|
74 |
+
//<![CDATA[
|
75 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
76 |
+
var shippingCodePrice = {<?php echo implode(',',$shippingCodePrice); ?>};
|
77 |
+
<?php endif; ?>
|
78 |
+
|
79 |
+
$$('input[type="radio"][name="shipping_method"]').each(function(el){
|
80 |
+
Event.observe(el, 'click', function(){
|
81 |
+
if (el.checked == true) {
|
82 |
+
var getShippingCode = el.getValue();
|
83 |
+
<?php if (!empty($shippingCodePrice)): ?>
|
84 |
+
var newPrice = shippingCodePrice[getShippingCode];
|
85 |
+
if (!lastPrice) {
|
86 |
+
lastPrice = newPrice;
|
87 |
+
quoteBaseGrandTotal += newPrice;
|
88 |
+
}
|
89 |
+
if (newPrice != lastPrice) {
|
90 |
+
quoteBaseGrandTotal += (newPrice-lastPrice);
|
91 |
+
lastPrice = newPrice;
|
92 |
+
}
|
93 |
+
<?php endif; ?>
|
94 |
+
checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
95 |
+
return false;
|
96 |
+
}
|
97 |
+
});
|
98 |
+
});
|
99 |
+
//]]>
|
100 |
+
</script>
|
101 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/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) 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-account panel panel-info">
|
28 |
+
<div class="block-title panel-heading">
|
29 |
+
<?php echo $this->__('My Account'); ?>
|
30 |
+
</div>
|
31 |
+
<div class="block-content panel-body">
|
32 |
+
<ul>
|
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' : '') ?>"><strong><?php echo $_link->getLabel() ?></strong></li>
|
40 |
+
<?php else: ?>
|
41 |
+
<li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
</div>
|
app/design/frontend/default/responsive/template/customer/form/login.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
|
28 |
+
/**
|
29 |
+
* Customer login form template
|
30 |
+
*
|
31 |
+
* @see Mage_Customer_Block_Form_Login
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div class="account-login">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Login or Create an Account') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<?php /* Extensions placeholder */ ?>
|
40 |
+
<?php echo $this->getChildHtml('customer.form.login.extra')?>
|
41 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
42 |
+
<div class="col2-set">
|
43 |
+
<div class="col-1 new-users">
|
44 |
+
<div class="content">
|
45 |
+
<h2><?php echo $this->__('New Customers') ?></h2>
|
46 |
+
<p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<div class="col-2 registered-users">
|
50 |
+
<div class="content">
|
51 |
+
<h2><?php echo $this->__('Registered Customers') ?></h2>
|
52 |
+
<p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
|
53 |
+
<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
|
54 |
+
<ul class="form-list">
|
55 |
+
<li>
|
56 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
57 |
+
<div class="input-box">
|
58 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<li>
|
62 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
63 |
+
<div class="input-box">
|
64 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
65 |
+
</div>
|
66 |
+
</li>
|
67 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
68 |
+
</ul>
|
69 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
<div class="col2-set">
|
74 |
+
<div class="col-1 new-users">
|
75 |
+
<div class="buttons-set">
|
76 |
+
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<div class="col-2 registered-users">
|
80 |
+
<div class="buttons-set">
|
81 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
82 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
</form>
|
87 |
+
<script type="text/javascript">
|
88 |
+
//<![CDATA[
|
89 |
+
var dataForm = new VarienForm('login-form', true);
|
90 |
+
//]]>
|
91 |
+
</script>
|
92 |
+
</div>
|
app/design/frontend/default/responsive/template/downloadable/customer/products/list.phtml
CHANGED
@@ -36,6 +36,7 @@
|
|
36 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
<?php if(count($_items)): ?>
|
|
|
39 |
<table class="data-table table" id="my-downloadable-products-table">
|
40 |
<col width="1" />
|
41 |
<col width="1" />
|
@@ -64,6 +65,7 @@
|
|
64 |
<?php endforeach; ?>
|
65 |
</tbody>
|
66 |
</table>
|
|
|
67 |
<script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
|
68 |
<?php else: ?>
|
69 |
<p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
|
36 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
<?php if(count($_items)): ?>
|
39 |
+
<div class="downloadable-product-wrapper">
|
40 |
<table class="data-table table" id="my-downloadable-products-table">
|
41 |
<col width="1" />
|
42 |
<col width="1" />
|
65 |
<?php endforeach; ?>
|
66 |
</tbody>
|
67 |
</table>
|
68 |
+
</div>
|
69 |
<script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
|
70 |
<?php else: ?>
|
71 |
<p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
|
app/design/frontend/default/responsive/template/newsletter/subscribe.phtml
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
<input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email form-control" placeholder="Your Email" />
|
38 |
<!--</div>-->
|
39 |
<!--<div class="actions">-->
|
40 |
-
<button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button btn btn-
|
41 |
<!--</div>-->
|
42 |
</div>
|
43 |
</form>
|
37 |
<input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email form-control" placeholder="Your Email" />
|
38 |
<!--</div>-->
|
39 |
<!--<div class="actions">-->
|
40 |
+
<button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button btn btn-info"><?php echo $this->__('Subscribe') ?></button>
|
41 |
<!--</div>-->
|
42 |
</div>
|
43 |
</form>
|
app/design/frontend/default/responsive/template/page/1column.phtml
CHANGED
@@ -38,19 +38,30 @@
|
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
-
<div class="page
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
45 |
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
|
|
|
|
|
|
|
|
46 |
<div class="col-main">
|
47 |
-
<?php echo $this->getChildHtml('global_messages') ?>
|
48 |
<?php echo $this->getChildHtml('content') ?>
|
49 |
</div>
|
50 |
</div>
|
51 |
</div>
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
54 |
</div>
|
55 |
</div>
|
56 |
<?php echo $this->getAbsoluteFooter() ?>
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<div class="page">
|
42 |
+
<div class="full-container fullgrid-header">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<div class="container">
|
47 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
48 |
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
<div class="col1-layout full-container fullgrid-main-container">
|
52 |
+
<div class="main col1-layout container">
|
53 |
<div class="col-main">
|
|
|
54 |
<?php echo $this->getChildHtml('content') ?>
|
55 |
</div>
|
56 |
</div>
|
57 |
</div>
|
58 |
+
|
59 |
+
<div class="full-container fullgrid-footer">
|
60 |
+
<div class="container">
|
61 |
+
<?php echo $this->getChildHtml('footer') ?>
|
62 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
</div>
|
66 |
</div>
|
67 |
<?php echo $this->getAbsoluteFooter() ?>
|
app/design/frontend/default/responsive/template/page/2columns-left.phtml
CHANGED
@@ -38,20 +38,30 @@
|
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
-
<div class="page
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
<div class="col-main col-sm-9 col-xs-12">
|
47 |
-
<?php echo $this->getChildHtml('global_messages') ?>
|
48 |
<?php echo $this->getChildHtml('content') ?>
|
49 |
</div>
|
50 |
<div class="col-left sidebar col-sm-3 col-xs-12"><?php echo $this->getChildHtml('left') ?></div>
|
51 |
</div>
|
52 |
</div>
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
</div>
|
56 |
</div>
|
57 |
<?php echo $this->getAbsoluteFooter() ?>
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<div class="page"
|
42 |
+
<div class="full-container fullgrid-header">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
<div class="container">
|
47 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
48 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
<div class="main col1-layout full-container fullgrid-main-container">
|
52 |
+
<div class="main col2-left-layout container">
|
53 |
<div class="col-main col-sm-9 col-xs-12">
|
|
|
54 |
<?php echo $this->getChildHtml('content') ?>
|
55 |
</div>
|
56 |
<div class="col-left sidebar col-sm-3 col-xs-12"><?php echo $this->getChildHtml('left') ?></div>
|
57 |
</div>
|
58 |
</div>
|
59 |
+
<div class="full-container fullgrid-footer">
|
60 |
+
<div class="container">
|
61 |
+
<?php echo $this->getChildHtml('footer') ?>
|
62 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
</div>
|
66 |
</div>
|
67 |
<?php echo $this->getAbsoluteFooter() ?>
|
app/design/frontend/default/responsive/template/page/2columns-right.phtml
CHANGED
@@ -38,20 +38,28 @@
|
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
-
<div class="page
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
48 |
<?php echo $this->getChildHtml('content') ?>
|
49 |
</div>
|
50 |
-
<div class="col-right sidebar col-
|
51 |
</div>
|
52 |
</div>
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
55 |
</div>
|
56 |
</div>
|
57 |
<?php echo $this->getAbsoluteFooter() ?>
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<div class="page">
|
42 |
+
<div class="full-container fullgrid-header">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
<div class="container">
|
46 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
47 |
+
<?php echo $this->getChildHtml('breadcrumbsContainer') ?>
|
48 |
+
</div>
|
49 |
+
<div class="main col1-layout full-container fullgrid-main-container">
|
50 |
+
<div class="main col2-right-layout container">
|
51 |
+
<div class="col-main col-sm-9 col-xs-12">
|
52 |
<?php echo $this->getChildHtml('content') ?>
|
53 |
</div>
|
54 |
+
<div class="col-right sidebar col-sm-3 col-xs-12"><?php echo $this->getChildHtml('right') ?></div>
|
55 |
</div>
|
56 |
</div>
|
57 |
+
<div class="full-container fullgrid-footer">
|
58 |
+
<div class="container">
|
59 |
+
<?php echo $this->getChildHtml('footer') ?>
|
60 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
</div>
|
64 |
</div>
|
65 |
<?php echo $this->getAbsoluteFooter() ?>
|
app/design/frontend/default/responsive/template/page/3columns.phtml
CHANGED
@@ -38,25 +38,32 @@
|
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
-
<div class="page
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
47 |
<div class="col-wrapper col-md-9 col-sm-12">
|
48 |
<div class="col-left sidebar col-md-3 col-sm-3"><?php echo $this->getChildHtml('left') ?></div>
|
49 |
<div class="col-main col-md-9 col-sm-9">
|
50 |
-
<?php echo $this->getChildHtml('global_messages') ?>
|
51 |
<?php echo $this->getChildHtml('content') ?>
|
52 |
</div>
|
53 |
</div>
|
54 |
<div class="col-right sidebar col-md-3 col-sm-12"><?php echo $this->getChildHtml('right') ?></div>
|
55 |
-
</div>
|
56 |
</div>
|
57 |
</div>
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
60 |
</div>
|
61 |
</div>
|
62 |
<?php echo $this->getAbsoluteFooter() ?>
|
38 |
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
<div class="wrapper">
|
40 |
<?php echo $this->getChildHtml('global_notices') ?>
|
41 |
+
<div class="page">
|
42 |
+
<div class="full-container fullgrid-header">
|
43 |
+
<?php echo $this->getChildHtml('header') ?>
|
44 |
+
</div>
|
45 |
+
<div class="container">
|
46 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
47 |
+
<?php echo $this->getChildHtml('breadcrumbsContainer') ?>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div class="main col1-layout full-container fullgrid-main-container">
|
51 |
+
<div class="main col3-layout container">
|
52 |
<div class="col-wrapper col-md-9 col-sm-12">
|
53 |
<div class="col-left sidebar col-md-3 col-sm-3"><?php echo $this->getChildHtml('left') ?></div>
|
54 |
<div class="col-main col-md-9 col-sm-9">
|
|
|
55 |
<?php echo $this->getChildHtml('content') ?>
|
56 |
</div>
|
57 |
</div>
|
58 |
<div class="col-right sidebar col-md-3 col-sm-12"><?php echo $this->getChildHtml('right') ?></div>
|
|
|
59 |
</div>
|
60 |
</div>
|
61 |
+
<div class="full-container fullgrid-footer">
|
62 |
+
<div class="container">
|
63 |
+
<?php echo $this->getChildHtml('footer') ?>
|
64 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
</div>
|
68 |
</div>
|
69 |
<?php echo $this->getAbsoluteFooter() ?>
|
app/design/frontend/default/responsive/template/page/html/.head.phtml.swp
ADDED
Binary file
|
app/design/frontend/default/responsive/template/page/html/footer.phtml
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
<div class="footer row">
|
29 |
<div class="col-md-3 col-sm-6 col-xs-12"> <!-- col 1 -->
|
30 |
<p class="title">Contact Details</p>
|
31 |
-
<?php echo Mage::getStoreConfig('setting/footer/contact'); ?>
|
32 |
</div>
|
33 |
|
34 |
<div class="col-md-3 col-sm-6 col-xs-12"> <!-- col 2 -->
|
@@ -57,7 +57,7 @@
|
|
57 |
<tr><!-- row 3 -->
|
58 |
<td>
|
59 |
<address><?php echo $this->getCopyright() ?></address>
|
60 |
-
<img src="
|
61 |
</td>
|
62 |
</tr>
|
63 |
</table>
|
28 |
<div class="footer row">
|
29 |
<div class="col-md-3 col-sm-6 col-xs-12"> <!-- col 1 -->
|
30 |
<p class="title">Contact Details</p>
|
31 |
+
<?php echo Mage::getStoreConfig('setting/footer/contact', Mage::app()->getStore()->getId()); ?>
|
32 |
</div>
|
33 |
|
34 |
<div class="col-md-3 col-sm-6 col-xs-12"> <!-- col 2 -->
|
57 |
<tr><!-- row 3 -->
|
58 |
<td>
|
59 |
<address><?php echo $this->getCopyright() ?></address>
|
60 |
+
<img src="<?php echo $this->getSkinUrl('images/paypal-logo-imt.png'); ?>" alt="payment method">
|
61 |
</td>
|
62 |
</tr>
|
63 |
</table>
|
app/design/frontend/default/responsive/template/page/html/head.phtml
CHANGED
@@ -25,6 +25,10 @@
|
|
25 |
*/
|
26 |
?>
|
27 |
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
|
|
|
|
|
|
|
|
|
28 |
<title><?php echo $this->getTitle() ?></title>
|
29 |
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
30 |
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
@@ -32,31 +36,28 @@
|
|
32 |
<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
33 |
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
34 |
|
35 |
-
<!-- responsive -->
|
36 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
37 |
-
|
38 |
<!-- Bootstrap -->
|
39 |
-
<link rel="stylesheet" href="
|
40 |
-
<link rel="stylesheet" href="
|
41 |
|
42 |
<!-- jquery -->
|
43 |
-
<script src="
|
44 |
-
<script src="
|
45 |
|
46 |
<!-- awesome font -->
|
47 |
-
<link href="//
|
48 |
|
49 |
-
<!--
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
<!-- Google Analytics -->
|
58 |
<?php
|
59 |
-
$oogleanalytics = Mage::getStoreConfig('setting/general/googleanalytics');
|
60 |
echo $oogleanalytics;
|
61 |
?>
|
62 |
|
25 |
*/
|
26 |
?>
|
27 |
<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
|
28 |
+
<!-- responsive -->
|
29 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
30 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
31 |
+
|
32 |
<title><?php echo $this->getTitle() ?></title>
|
33 |
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
34 |
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
36 |
<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
37 |
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
38 |
|
|
|
|
|
|
|
39 |
<!-- Bootstrap -->
|
40 |
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
|
41 |
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
42 |
|
43 |
<!-- jquery -->
|
44 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" type="text/javascript"></script>
|
45 |
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
46 |
|
47 |
<!-- awesome font -->
|
48 |
+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
49 |
|
50 |
+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
51 |
+
<!--[if lt IE 9]>
|
52 |
+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
53 |
+
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
54 |
+
<![endif]-->
|
55 |
+
|
56 |
+
<link href='http://fonts.googleapis.com/css?family=Francois+One' rel='stylesheet' type='text/css'>
|
57 |
|
58 |
<!-- Google Analytics -->
|
59 |
<?php
|
60 |
+
$oogleanalytics = Mage::getStoreConfig('setting/general/googleanalytics', Mage::app()->getStore()->getId());
|
61 |
echo $oogleanalytics;
|
62 |
?>
|
63 |
|
app/design/frontend/default/responsive/template/page/html/header.phtml
CHANGED
@@ -28,19 +28,25 @@
|
|
28 |
*/
|
29 |
?>
|
30 |
<div class="header-container">
|
31 |
-
<div class="header
|
32 |
-
<div class="col-sm-
|
33 |
-
|
34 |
-
|
35 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
36 |
<div class="usp">
|
37 |
-
<?php echo Mage::getStoreConfig('setting/header/usp')?>
|
38 |
</div>
|
39 |
<?php endif; ?>
|
40 |
</div>
|
41 |
|
42 |
-
<div class="quick-access col-sm-
|
43 |
-
|
|
|
44 |
<div class="welcome-box col-sm-12 col-xs-4">
|
45 |
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
|
46 |
</div>
|
@@ -54,6 +60,7 @@
|
|
54 |
</div>
|
55 |
</div>
|
56 |
<?php echo $this->getChildHtml('topMenu') ?>
|
|
|
57 |
<script type="text/javascript">
|
58 |
jQuery(document).ready(function(){
|
59 |
jQuery('.showminicart').click(function(e){
|
@@ -67,4 +74,4 @@
|
|
67 |
jQuery('#popupcart').slideUp("fast");
|
68 |
});
|
69 |
})
|
70 |
-
</script>
|
28 |
*/
|
29 |
?>
|
30 |
<div class="header-container">
|
31 |
+
<div class="header container">
|
32 |
+
<div class="col-sm-6 col-xs-12">
|
33 |
+
<!-- company logo -->
|
34 |
+
<?php if(Mage::getStoreConfig('setting/header/logo', Mage::app()->getStore()->getId()) != ''): ?>
|
35 |
+
<a href="<?php echo $this->getBaseUrl(); ?>"><img class="img-responsive" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'logo/' . Mage::getStoreConfig('setting/header/logo') ?>" alt="<?php echo Mage::getStoreConfig('setting/header/logoalt') ?>"></a>
|
36 |
+
<?php else: ?>
|
37 |
+
<a class="navbar-brand" href="<?php echo $this->getBaseUrl(); ?>">Logo Example Here</a>
|
38 |
+
<?php endif; ?>
|
39 |
+
<div style="clear: both"></div>
|
40 |
+
<?php if(Mage::getStoreConfig('setting/header/usp_yesno', Mage::app()->getStore()->getId()) == 1): ?>
|
41 |
<div class="usp">
|
42 |
+
<?php echo Mage::getStoreConfig('setting/header/usp', Mage::app()->getStore()->getId())?>
|
43 |
</div>
|
44 |
<?php endif; ?>
|
45 |
</div>
|
46 |
|
47 |
+
<div class="quick-access col-sm-6 col-xs-12">
|
48 |
+
<?php echo $this->getChildHtml('topSearch') ?>
|
49 |
+
<div class="row quick-link">
|
50 |
<div class="welcome-box col-sm-12 col-xs-4">
|
51 |
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
|
52 |
</div>
|
60 |
</div>
|
61 |
</div>
|
62 |
<?php echo $this->getChildHtml('topMenu') ?>
|
63 |
+
<?php echo $this->getChildHtml('carousel') ?>
|
64 |
<script type="text/javascript">
|
65 |
jQuery(document).ready(function(){
|
66 |
jQuery('.showminicart').click(function(e){
|
74 |
jQuery('#popupcart').slideUp("fast");
|
75 |
});
|
76 |
})
|
77 |
+
</script>
|
app/design/frontend/default/responsive/template/page/html/pager.phtml
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
<?php endif ?>
|
39 |
|
40 |
<?php if($this->getShowAmounts()): ?>
|
41 |
-
<p class="amount col-
|
42 |
<?php if($this->getLastPageNum()>1): ?>
|
43 |
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
44 |
<?php else: ?>
|
@@ -48,7 +48,7 @@
|
|
48 |
<?php endif ?>
|
49 |
|
50 |
<?php if($this->getShowPerPage()): ?>
|
51 |
-
<div class="limiter col-
|
52 |
<?php echo $this->__('Show') ?>
|
53 |
<select onchange="setLocation(this.value)">
|
54 |
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
38 |
<?php endif ?>
|
39 |
|
40 |
<?php if($this->getShowAmounts()): ?>
|
41 |
+
<p class="amount col-xs-6">
|
42 |
<?php if($this->getLastPageNum()>1): ?>
|
43 |
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
44 |
<?php else: ?>
|
48 |
<?php endif ?>
|
49 |
|
50 |
<?php if($this->getShowPerPage()): ?>
|
51 |
+
<div class="limiter col-xs-6">
|
52 |
<?php echo $this->__('Show') ?>
|
53 |
<select onchange="setLocation(this.value)">
|
54 |
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
app/design/frontend/default/responsive/template/page/html/topmenu.phtml
CHANGED
@@ -33,16 +33,15 @@
|
|
33 |
?>
|
34 |
<?php $_menu = $this->getHtml('level-top') ;?>
|
35 |
<?php
|
36 |
-
$narbar_style = Mage::getStoreConfig('setting/header/navbar');
|
37 |
if ($narbar_style ==''){
|
38 |
// navbar-default is an option in the setting/header/navbar
|
39 |
$narbar_style = 'navbar-default';
|
40 |
}
|
41 |
-
|
42 |
-
$logotext = Mage::getStoreConfig('setting/header/logotext');
|
43 |
?>
|
44 |
<?php if($_menu): ?>
|
45 |
<nav id="default-nav" class="navbar <?php echo $narbar_style ?>" role="navigation">
|
|
|
46 |
<div class="navbar-header">
|
47 |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
48 |
<span class="sr-only">Toggle navigation</span>
|
@@ -51,16 +50,13 @@
|
|
51 |
<span class="icon-bar"></span>
|
52 |
</button>
|
53 |
<!-- company logo -->
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
<ul id="nav" class="nav navbar-nav">
|
62 |
-
<?php echo $_menu ?>
|
63 |
-
</ul>
|
64 |
</div>
|
65 |
</nav>
|
66 |
-
<?php endif ?>
|
33 |
?>
|
34 |
<?php $_menu = $this->getHtml('level-top') ;?>
|
35 |
<?php
|
36 |
+
$narbar_style = Mage::getStoreConfig('setting/header/navbar', Mage::app()->getStore()->getId());
|
37 |
if ($narbar_style ==''){
|
38 |
// navbar-default is an option in the setting/header/navbar
|
39 |
$narbar_style = 'navbar-default';
|
40 |
}
|
|
|
|
|
41 |
?>
|
42 |
<?php if($_menu): ?>
|
43 |
<nav id="default-nav" class="navbar <?php echo $narbar_style ?>" role="navigation">
|
44 |
+
<div class="container">
|
45 |
<div class="navbar-header">
|
46 |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
47 |
<span class="sr-only">Toggle navigation</span>
|
50 |
<span class="icon-bar"></span>
|
51 |
</button>
|
52 |
<!-- company logo -->
|
53 |
+
<a class="navbar-brand" href="">Categories</a>
|
54 |
+
</div>
|
55 |
+
<div class="nav-container collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
56 |
+
<ul id="nav" class="nav navbar-nav">
|
57 |
+
<?php echo $_menu ?>
|
58 |
+
</ul>
|
59 |
+
</div>
|
|
|
|
|
|
|
60 |
</div>
|
61 |
</nav>
|
62 |
+
<?php endif ?>
|
app/design/frontend/default/responsive/template/page/switch/languages.phtml
CHANGED
@@ -33,12 +33,14 @@
|
|
33 |
?>
|
34 |
<?php if(count($this->getStores())>1): ?>
|
35 |
<div class="form-language">
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
<?php
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
43 |
</div>
|
44 |
-
<?php endif; ?>
|
33 |
?>
|
34 |
<?php if(count($this->getStores())>1): ?>
|
35 |
<div class="form-language">
|
36 |
+
<div class="input-group">
|
37 |
+
<span class="input-group-addon"><?php echo $this->__('Store view') ?></span>
|
38 |
+
<select class="form-control" id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value">
|
39 |
+
<?php foreach ($this->getStores() as $_lang): ?>
|
40 |
+
<?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
|
41 |
+
<option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_lang->getName()) ?></option>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</select>
|
44 |
+
</div>
|
45 |
</div>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/persistent/checkout/onepage/billing.phtml
CHANGED
@@ -202,7 +202,7 @@
|
|
202 |
<?php endif; ?>
|
203 |
<div class="buttons-set" id="billing-buttons-container">
|
204 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
205 |
-
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button btn btn-default
|
206 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
207 |
<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...') ?>
|
208 |
</span>
|
202 |
<?php endif; ?>
|
203 |
<div class="buttons-set" id="billing-buttons-container">
|
204 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
205 |
+
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button btn btn-default" onclick="billing.save()"><?php echo $this->__('Continue') ?></button>
|
206 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
207 |
<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...') ?>
|
208 |
</span>
|
app/design/frontend/default/responsive/template/persistent/checkout/onepage/login.phtml
CHANGED
@@ -91,14 +91,14 @@
|
|
91 |
<div class="col-1">
|
92 |
<div class="buttons-set">
|
93 |
<p class="required"> </p>
|
94 |
-
<button type="button" class="button btn btn-default
|
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 btn btn-default
|
102 |
</div>
|
103 |
</div>
|
104 |
</div>
|
91 |
<div class="col-1">
|
92 |
<div class="buttons-set">
|
93 |
<p class="required"> </p>
|
94 |
+
<button type="button" class="button btn btn-default" onclick="checkout.setMethod();"><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></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 btn btn-default" onclick="onepageLogin(this)"><?php echo $this->__('Login') ?></button>
|
102 |
</div>
|
103 |
</div>
|
104 |
</div>
|
app/design/frontend/default/responsive/template/persistent/customer/form/login.phtml
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
</div>
|
39 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
41 |
-
<div class="customer-login
|
42 |
<div class="new-customer col-md-6 col-sm-12">
|
43 |
<div class="content">
|
44 |
<h2><?php echo $this->__('New Customers') ?></h2>
|
@@ -50,6 +50,7 @@
|
|
50 |
<div class="content">
|
51 |
<h2><?php echo $this->__('Registered Customers') ?></h2>
|
52 |
<p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
|
|
|
53 |
<ul class="form-list">
|
54 |
<li>
|
55 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
38 |
</div>
|
39 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
41 |
+
<div class="customer-login row">
|
42 |
<div class="new-customer col-md-6 col-sm-12">
|
43 |
<div class="content">
|
44 |
<h2><?php echo $this->__('New Customers') ?></h2>
|
50 |
<div class="content">
|
51 |
<h2><?php echo $this->__('Registered Customers') ?></h2>
|
52 |
<p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
|
53 |
+
<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
|
54 |
<ul class="form-list">
|
55 |
<li>
|
56 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
app/design/frontend/default/responsive/template/poll/active.phtml
CHANGED
@@ -39,19 +39,19 @@
|
|
39 |
}
|
40 |
//]]>
|
41 |
</script>
|
42 |
-
<div class="block block-poll">
|
43 |
-
<div class="block-title">
|
44 |
-
|
45 |
</div>
|
46 |
<form id="pollForm" action="<?php echo $action ?>" method="post" onsubmit="return validatePollAnswerIsSelected();">
|
47 |
-
<div class="block-content">
|
48 |
<p class="block-subtitle"><?php echo $this->escapeHtml($poll->getPollTitle()); ?></p>
|
49 |
<?php if( $poll_answers ): ?>
|
50 |
<ul id="poll-answers">
|
51 |
<?php foreach( $poll_answers as $answer ): ?>
|
52 |
<li>
|
53 |
<input type="radio" name="vote" class="radio poll_vote" id="vote_<?php echo $answer->getId() ?>" value="<?php echo $answer->getAnswerId() ?>" />
|
54 |
-
<span
|
55 |
</li>
|
56 |
<?php endforeach; ?>
|
57 |
</ul>
|
39 |
}
|
40 |
//]]>
|
41 |
</script>
|
42 |
+
<div class="block block-poll panel panel-default">
|
43 |
+
<div class="block-title panel-heading">
|
44 |
+
<?php echo $this->__('Community Poll') ?>
|
45 |
</div>
|
46 |
<form id="pollForm" action="<?php echo $action ?>" method="post" onsubmit="return validatePollAnswerIsSelected();">
|
47 |
+
<div class="block-content panel-body">
|
48 |
<p class="block-subtitle"><?php echo $this->escapeHtml($poll->getPollTitle()); ?></p>
|
49 |
<?php if( $poll_answers ): ?>
|
50 |
<ul id="poll-answers">
|
51 |
<?php foreach( $poll_answers as $answer ): ?>
|
52 |
<li>
|
53 |
<input type="radio" name="vote" class="radio poll_vote" id="vote_<?php echo $answer->getId() ?>" value="<?php echo $answer->getAnswerId() ?>" />
|
54 |
+
<span for="vote_<?php echo $answer->getId() ?>"><?php echo $this->escapeHtml($answer->getAnswerTitle()) ?></span>
|
55 |
</li>
|
56 |
<?php endforeach; ?>
|
57 |
</ul>
|
app/design/frontend/default/responsive/template/reports/product_compared.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 |
+
/* @var $this Mage_Reports_Block_Product_Compared */
|
27 |
+
?>
|
28 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
29 |
+
<div class="block block-list block-compared panel panel-default">
|
30 |
+
<div class="block-title panel-heading">
|
31 |
+
<?php echo $this->__('Recently Compared Products') ?>
|
32 |
+
</div>
|
33 |
+
<div class="block-content panel-body">
|
34 |
+
<ol id="recently-compared-items">
|
35 |
+
<?php foreach ($_products as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></p>
|
38 |
+
</li>
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</ol>
|
41 |
+
<script type="text/javascript">decorateList('recently-compared-items');</script>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/reports/product_viewed.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 |
+
/* @var $this Mage_Reports_Block_Product_Viewed */
|
27 |
+
?>
|
28 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
29 |
+
<div class="block block-list block-viewed panel panel-default">
|
30 |
+
<div class="block-title panel-heading">
|
31 |
+
<?php echo $this->__('Recently Viewed Products') ?>
|
32 |
+
</div>
|
33 |
+
<div class="block-content panel-body">
|
34 |
+
<ol id="recently-viewed-items">
|
35 |
+
<?php foreach ($_products as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></p>
|
38 |
+
</li>
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</ol>
|
41 |
+
<script type="text/javascript">decorateList('recently-viewed-items');</script>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/review/form.phtml
CHANGED
@@ -30,9 +30,9 @@
|
|
30 |
<form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
|
31 |
<fieldset>
|
32 |
<?php echo $this->getChildHtml('form_fields_before')?>
|
33 |
-
<
|
34 |
<?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
|
35 |
-
<
|
36 |
<span id="input-message-box"></span>
|
37 |
<table class="data-table table" id="product-review-table">
|
38 |
<col />
|
30 |
<form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
|
31 |
<fieldset>
|
32 |
<?php echo $this->getChildHtml('form_fields_before')?>
|
33 |
+
<p><?php echo $this->__("You're reviewing:"); ?> <span style="font-weight:bold"><?php echo $this->escapeHtml($this->getProductInfo()->getName()) ?></span></p>
|
34 |
<?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
|
35 |
+
<p><?php echo $this->__('How do you rate this product?') ?> <em class="required">*</em></p>
|
36 |
<span id="input-message-box"></span>
|
37 |
<table class="data-table table" id="product-review-table">
|
38 |
<col />
|
app/design/frontend/default/responsive/template/sales/order/history.phtml
CHANGED
@@ -31,44 +31,46 @@
|
|
31 |
</div>
|
32 |
<?php echo $this->getPagerHtml(); ?>
|
33 |
<?php if($_orders->getSize()): ?>
|
34 |
-
<
|
35 |
-
<
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
<
|
43 |
-
<
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
<
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
<
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
</
|
|
|
|
|
72 |
<script type="text/javascript">decorateTable('my-orders-table');</script>
|
73 |
<?php echo $this->getPagerHtml(); ?>
|
74 |
<?php else: ?>
|
31 |
</div>
|
32 |
<?php echo $this->getPagerHtml(); ?>
|
33 |
<?php if($_orders->getSize()): ?>
|
34 |
+
<div class="order-history-wrapper">
|
35 |
+
<table class="data-table" id="my-orders-table">
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<col />
|
39 |
+
<col width="1" />
|
40 |
+
<col width="1" />
|
41 |
+
<col width="1" />
|
42 |
+
<thead>
|
43 |
+
<tr>
|
44 |
+
<th><?php echo $this->__('Order #') ?></th>
|
45 |
+
<th class="col-order-date"><?php echo $this->__('Date') ?></th>
|
46 |
+
<th class="col-ship-to"><?php echo $this->__('Ship To') ?></th>
|
47 |
+
<th><span class="nobr"><?php echo $this->__('Order Total') ?></span></th>
|
48 |
+
<th><span class="nobr"><?php echo $this->__('Order Status') ?></span></th>
|
49 |
+
<th> </th>
|
50 |
+
</tr>
|
51 |
+
</thead>
|
52 |
+
<tbody>
|
53 |
+
<?php $_odd = ''; ?>
|
54 |
+
<?php foreach ($_orders as $_order): ?>
|
55 |
+
<tr>
|
56 |
+
<td><?php echo $_order->getRealOrderId() ?></td>
|
57 |
+
<td class="col-order-date"><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
58 |
+
<td class="col-ship-to"><?php echo $_order->getShippingAddress() ? $this->escapeHtml($_order->getShippingAddress()->getName()) : ' ' ?></td>
|
59 |
+
<td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
60 |
+
<td><em><?php echo $_order->getStatusLabel() ?></em></td>
|
61 |
+
<td class="a-center">
|
62 |
+
<span class="nobr"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View Order') ?></a>
|
63 |
+
<?php /*<span class="separator">|</span><a href="<?php echo $this->getTrackUrl($_order) ?>"><?php echo $this->__('Track Order') ?></a> */ ?>
|
64 |
+
<?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
|
65 |
+
<span class="separator">|</span> <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
|
66 |
+
<?php endif ?>
|
67 |
+
</span>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</tbody>
|
72 |
+
</table>
|
73 |
+
</div>
|
74 |
<script type="text/javascript">decorateTable('my-orders-table');</script>
|
75 |
<?php echo $this->getPagerHtml(); ?>
|
76 |
<?php else: ?>
|
app/design/frontend/default/responsive/template/sales/reorder/sidebar.phtml
CHANGED
@@ -33,13 +33,13 @@
|
|
33 |
?>
|
34 |
<?php $_items = $this->getItems()?>
|
35 |
<?php if($_items): ?>
|
36 |
-
<div class="block block-reorder">
|
37 |
-
<div class="block-title">
|
38 |
-
|
39 |
</div>
|
40 |
<form method="post" action="<?php echo $this->getFormActionUrl() ?>" id="reorder-validate-detail">
|
41 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
42 |
-
<div class="block-content">
|
43 |
<p class="block-subtitle"><?php echo $this->__('Last Ordered Items') ?></p>
|
44 |
<ol id="cart-sidebar-reorder">
|
45 |
<?php $_showAddButtonFlag = false ?>
|
@@ -62,7 +62,7 @@
|
|
62 |
<div id="cart-sidebar-reorder-advice-container"></div>
|
63 |
<div class="actions">
|
64 |
<?php if ($_showAddButtonFlag): ?>
|
65 |
-
<button type="submit" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-danger btn-
|
66 |
<?php endif; ?>
|
67 |
<a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a>
|
68 |
</div>
|
33 |
?>
|
34 |
<?php $_items = $this->getItems()?>
|
35 |
<?php if($_items): ?>
|
36 |
+
<div class="block block-reorder panel panel-default">
|
37 |
+
<div class="block-title panel-heading">
|
38 |
+
<?php echo $this->__('My Orders') ?>
|
39 |
</div>
|
40 |
<form method="post" action="<?php echo $this->getFormActionUrl() ?>" id="reorder-validate-detail">
|
41 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
42 |
+
<div class="block-content panel-body">
|
43 |
<p class="block-subtitle"><?php echo $this->__('Last Ordered Items') ?></p>
|
44 |
<ol id="cart-sidebar-reorder">
|
45 |
<?php $_showAddButtonFlag = false ?>
|
62 |
<div id="cart-sidebar-reorder-advice-container"></div>
|
63 |
<div class="actions">
|
64 |
<?php if ($_showAddButtonFlag): ?>
|
65 |
+
<button type="submit" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart btn btn-danger btn-sm"><?php echo $this->__('Add to Cart') ?></button>
|
66 |
<?php endif; ?>
|
67 |
<a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a>
|
68 |
</div>
|
app/design/frontend/default/responsive/template/sendfriend/send.phtml
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_Sendfriend_Block_Send */
|
27 |
+
/**
|
28 |
+
* Send to friend form
|
29 |
+
*
|
30 |
+
* @see Mage_Sendfriend_Block_Send
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<script type="text/javascript">
|
34 |
+
//<![CDATA[
|
35 |
+
i=0;
|
36 |
+
var recipCount = 1;
|
37 |
+
var maxRecip = <?php echo $this->getMaxRecipients() ?>;
|
38 |
+
function remove_recipient(i){
|
39 |
+
$('recipients_name'+i).up(2).remove();
|
40 |
+
recipCount--;
|
41 |
+
if(recipCount<maxRecip && maxRecip != 0) {
|
42 |
+
$('add_recipient_button').show();
|
43 |
+
$('max_recipient_message').hide();
|
44 |
+
}
|
45 |
+
return false;
|
46 |
+
}
|
47 |
+
|
48 |
+
function add_recipient(){
|
49 |
+
ul = $('recipients_options');
|
50 |
+
var li_mail = Element.extend(document.createElement("LI"));
|
51 |
+
li_mail.addClassName('fields additional-row');
|
52 |
+
li_mail.innerHTML = '<p><a href="delete_email" title="<?php echo $this->jsQuoteEscape($this->__('Remove Email')) ?>" onclick="remove_recipient('+i+'); return false" class="btn-remove"><?php echo $this->jsQuoteEscape($this->__('Remove Email')) ?>"<\/a><\/p>'
|
53 |
+
li_mail.innerHTML += '<div class="field"><label for="recipients_name'+i+'" class="required"><em>*<\/em><?php echo $this->jsQuoteEscape($this->__('Name:')) ?><\/label><div class="input-box"><input name="recipients[name][]" type="text" class="input-text required-entry form-control" id="recipients_name'+i+'" /><\/div>';
|
54 |
+
li_mail.innerHTML += '<div class="field"><label for="recipients_email'+i+'" class="required"><em>*<\/em><?php echo $this->jsQuoteEscape($this->__('Email Address:')) ?><\/label><div class="input-box"><input name="recipients[email][]" value="" title="<?php echo $this->jsQuoteEscape($this->__('Email Address')) ?>" id="recipients_email'+i+'" type="text" class="input-text required-entry validate-email form-control" /><\/div><\/div>';
|
55 |
+
i++;
|
56 |
+
recipCount++;
|
57 |
+
if(recipCount>=maxRecip && maxRecip != 0) {
|
58 |
+
$('add_recipient_button').hide();
|
59 |
+
$('max_recipient_message').show();
|
60 |
+
}
|
61 |
+
|
62 |
+
ul.appendChild(li_mail);
|
63 |
+
}
|
64 |
+
//]]>
|
65 |
+
</script>
|
66 |
+
|
67 |
+
<div class="send-friend">
|
68 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
69 |
+
<div class="page-title">
|
70 |
+
<h1><?php echo $this->__('Email to a Friend') ?></h1>
|
71 |
+
</div>
|
72 |
+
<form action="<?php echo $this->getSendUrl() ?>" method="post" id="product_sendtofriend_form">
|
73 |
+
<div class="fieldset">
|
74 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
75 |
+
<h2 class="legend"><?php echo $this->__('Sender:') ?></h2>
|
76 |
+
<ul class="form-list" id="sender_options">
|
77 |
+
<li class="fields">
|
78 |
+
<label for="sender_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
79 |
+
<input name="sender[name]" value="<?php echo $this->escapeHtml($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry form-control" />
|
80 |
+
<label for="sender_email" class="required"><em>*</em><?php echo $this->__('Email:') ?></label>
|
81 |
+
<input name="sender[email]" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="text" class="input-text required-entry validate-email form-control" />
|
82 |
+
</li>
|
83 |
+
<li class="wide">
|
84 |
+
<label for="sender_message" class="required"><em>*</em><?php echo $this->__('Message:') ?></label>
|
85 |
+
<textarea name="sender[message]" class="input-text required-entry form-control" id="sender_message" cols="3" rows="3"><?php echo $this->escapeHtml($this->getMessage())?></textarea>
|
86 |
+
</li>
|
87 |
+
</ul>
|
88 |
+
</div>
|
89 |
+
<div class="fieldset">
|
90 |
+
<h2 class="legend"><?php echo $this->__('Recipient:') ?></h2>
|
91 |
+
<ul class="form-list" id="recipients_options">
|
92 |
+
<li class="fields">
|
93 |
+
<div class="field">
|
94 |
+
<label for="recipients_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
95 |
+
<div class="input-box">
|
96 |
+
<input name="recipients[name][]" type="text" class="input-text required-entry form-control" id="recipients_name" />
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
<div class="field">
|
100 |
+
<label for="recipients_email" class="required"><em>*</em><?php echo $this->__('Email Address:') ?></label>
|
101 |
+
<div class="input-box">
|
102 |
+
<input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="text" class="input-text required-entry validate-email form-control" />
|
103 |
+
</div>
|
104 |
+
</div>
|
105 |
+
</li>
|
106 |
+
</ul>
|
107 |
+
</div>
|
108 |
+
<div class="buttons-set">
|
109 |
+
<p class="back-link"><a href="#" onclick="history.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
110 |
+
<button type="submit" class="btn btn-default button<?php if (!$this->canSend()):?> disabled<?php endif ?>"<?php if (!$this->canSend()):?> disabled="disabled"<?php endif ?>><span><span><?php echo $this->__('Send Email') ?></span></span></button>
|
111 |
+
<div id="max_recipient_message" style="display:none;">
|
112 |
+
<?php if ($this->getMaxRecipients()): ?>
|
113 |
+
<p class="limit"><?php echo $this->__('Maximum %d email addresses allowed.', $this->getMaxRecipients()) ?></p>
|
114 |
+
<?php endif; ?>
|
115 |
+
</div>
|
116 |
+
<?php if (1 < $this->getMaxRecipients()): ?>
|
117 |
+
<p id="add_recipient_button">
|
118 |
+
<button type="button" onclick="add_recipient();" class="button btn btn-default"><?php echo $this->__('Add Recipient') ?></button>
|
119 |
+
</p>
|
120 |
+
<?php endif; ?>
|
121 |
+
</div>
|
122 |
+
</form>
|
123 |
+
<script type="text/javascript">
|
124 |
+
//<![CDATA[
|
125 |
+
var productSendtofriendForm = new VarienForm('product_sendtofriend_form');
|
126 |
+
productSendtofriendForm.submit = function() {
|
127 |
+
if(this.validator.validate()) {
|
128 |
+
this.form.submit();
|
129 |
+
}
|
130 |
+
}.bind(productSendtofriendForm);
|
131 |
+
//]]>
|
132 |
+
</script>
|
133 |
+
</div>
|
app/design/frontend/default/responsive/template/tag/cloud.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 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('All Tags') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php if( sizeof($this->getTags()) > 0 ): ?>
|
31 |
+
<ul class="tags-list">
|
32 |
+
<?php foreach ($this->getTags() as $_tag): ?>
|
33 |
+
<li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->escapeHtml($_tag->getName()) ?></a></li>
|
34 |
+
<?php endforeach; ?>
|
35 |
+
</ul>
|
36 |
+
<?php else: ?>
|
37 |
+
<p class="note-msg alert alert-info"><?php echo $this->__('There are no tags available.') ?></p>
|
38 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/tag/list.phtml
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
*/
|
26 |
?>
|
27 |
<div class="box-collateral box-tags">
|
28 |
-
|
29 |
<?php echo $this->getChildHtml('list_before')?>
|
30 |
<?php if( $this->getCount() ): ?>
|
31 |
<h3><?php echo $this->__('Other people marked this product with these tags:') ?></h3>
|
@@ -37,17 +37,11 @@
|
|
37 |
</script>
|
38 |
<?php endif; ?>
|
39 |
<form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="get">
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
<button type="button" title="<?php echo $this->__('Add Tags') ?>" class="button btn btn-default" onclick="submitTagForm()">
|
46 |
-
<?php echo $this->__('Add Tags') ?>
|
47 |
-
</button>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
</div>
|
51 |
</form>
|
52 |
<p class="note"><?php echo $this->__("Use spaces to separate tags. Use single quotes (') for phrases.") ?></p>
|
53 |
<script type="text/javascript">
|
25 |
*/
|
26 |
?>
|
27 |
<div class="box-collateral box-tags">
|
28 |
+
<!-- <h2><?php //echo $this->__('Product Tags') ?></h2>-->
|
29 |
<?php echo $this->getChildHtml('list_before')?>
|
30 |
<?php if( $this->getCount() ): ?>
|
31 |
<h3><?php echo $this->__('Other people marked this product with these tags:') ?></h3>
|
37 |
</script>
|
38 |
<?php endif; ?>
|
39 |
<form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="get">
|
40 |
+
<p for="productTagName"><?php echo $this->__('Your Tags') ?></p>
|
41 |
+
<input type="text" class="input-text required-entry form-control" name="productTagName" id="productTagName" />
|
42 |
+
<button style="margin-top:15px" type="button" title="<?php echo $this->__('Add Tags') ?>" class="button btn btn-default" onclick="submitTagForm()">
|
43 |
+
<?php echo $this->__('Add Tags') ?>
|
44 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
</form>
|
46 |
<p class="note"><?php echo $this->__("Use spaces to separate tags. Use single quotes (') for phrases.") ?></p>
|
47 |
<script type="text/javascript">
|
app/design/frontend/default/responsive/template/tag/popular.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 |
+
<div class="block block-tags panel panel-default">
|
28 |
+
<div class="block-title panel-heading">
|
29 |
+
<?php echo $this->__('Popular Tags'); ?>
|
30 |
+
</div>
|
31 |
+
<div class="block-content panel-body">
|
32 |
+
<ul class="tags-list">
|
33 |
+
<?php foreach ($this->getTags() as $_tag): ?>
|
34 |
+
<li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->escapeHtml($_tag->getName()) ?></a></li>
|
35 |
+
<?php endforeach; ?>
|
36 |
+
</ul>
|
37 |
+
<div class="actions">
|
38 |
+
<a href="<?php echo $this->getUrl('tag/list') ?>"><?php echo $this->__('View All Tags') ?></a>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</div>
|
app/design/frontend/default/responsive/template/tvtheme/best-sale.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Authod Tony Vu
|
4 |
+
* Date 12.12.2013
|
5 |
+
* Description Product Best Sale Block
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php if (Mage::getStoreConfig('block/bestsale/yes_no', Mage::app()->getStore()->getId()) == 1) : ?>
|
10 |
+
<div class="bestsale">
|
11 |
+
<div class="row heading">
|
12 |
+
<div class="col-xs-8">
|
13 |
+
<h3>Best Sales</h3>
|
14 |
+
</div>
|
15 |
+
|
16 |
+
<div class="col-xs-4" style="text-align: right">
|
17 |
+
<a class="bestsale-jcarousel-prev"><i class="fa fa-angle-left fa-2x"></i></a>
|
18 |
+
<a class="bestsale-jcarousel-next"><i class="fa fa-angle-right fa-2x"></i></a>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div class="col-xs-12 bestsale-jcarousel"><!-- row 1 example data -->
|
23 |
+
<?php
|
24 |
+
//get feature products from getstoreconfig
|
25 |
+
$product_arr = unserialize(Mage::getStoreConfig('block/bestsale/product', Mage::app()->getStore()->getId()));
|
26 |
+
if (!empty($product_arr)){
|
27 |
+
$new_arrival = array();
|
28 |
+
foreach($product_arr as $product){
|
29 |
+
array_push($new_arrival ,trim($product['product_sku']));
|
30 |
+
}
|
31 |
+
echo Mage::helper('blockcustom/data')->getProducts($new_arrival);
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
<script>
|
38 |
+
jQuery(function() {
|
39 |
+
// create instance
|
40 |
+
jQuery('.bestsale-jcarousel').jcarousel();
|
41 |
+
|
42 |
+
jQuery('.bestsale-jcarousel-prev').click(function() {
|
43 |
+
jQuery('.bestsale-jcarousel').jcarousel('scroll', '-=1');
|
44 |
+
});
|
45 |
+
|
46 |
+
jQuery('.bestsale-jcarousel-next').click(function() {
|
47 |
+
jQuery('.bestsale-jcarousel').jcarousel('scroll', '+=1');
|
48 |
+
});
|
49 |
+
});
|
50 |
+
</script>
|
51 |
+
|
52 |
+
<?php endif;?>
|
app/design/frontend/default/responsive/template/tvtheme/cssconfig.phtml
CHANGED
@@ -6,95 +6,64 @@
|
|
6 |
*/
|
7 |
?>
|
8 |
<?php
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$theme_bgpositiony = Mage::getStoreConfig('setting/themebg/bgpositiony');
|
14 |
-
$theme_bgpositionrepeat = Mage::getStoreConfig('setting/themebg/bgrepeat');
|
15 |
-
|
16 |
-
/* page background */
|
17 |
-
$is_transparent_pagegb = Mage::getStoreConfig('setting/pagebg/transparent');
|
18 |
-
if ($is_transparent_pagegb == false){
|
19 |
-
$page_bgcolor = '#' . Mage::getStoreConfig('setting/pagebg/bgcolor');
|
20 |
-
$page_bgimage = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'bgimage/' . Mage::getStoreConfig('setting/pagebg/bgimage');
|
21 |
-
$page_bgpositionx = Mage::getStoreConfig('setting/pagebg/bgpositionx');
|
22 |
-
$page_bgpositiony = Mage::getStoreConfig('setting/pagebg/bgpositiony');
|
23 |
-
$page_bgpositionrepeat = Mage::getStoreConfig('setting/pagebg/bgrepeat');
|
24 |
-
}
|
25 |
|
26 |
/* theme font */
|
27 |
-
$fontfm = Mage::getStoreConfig('setting/themefont/fontfamily');
|
28 |
-
|
29 |
// if $fontsize == null then fontsize is 14px from bootstrap theme
|
30 |
-
$fontsize = Mage::getStoreConfig('setting/themefont/fontsize');
|
31 |
-
$textcolor = '#' . Mage::getStoreConfig('setting/themefont/textcolor');
|
32 |
|
33 |
/* header */
|
34 |
-
$
|
35 |
-
$
|
36 |
-
$
|
37 |
-
$
|
38 |
-
|
39 |
-
$logo_padding = Mage::getStoreConfig('setting/header/logopadding');
|
40 |
-
$logo_color= '#' . Mage::getStoreConfig('setting/header/logocolor');
|
41 |
-
|
42 |
-
/* body */
|
43 |
-
$container_bgcolor = '#' . Mage::getStoreConfig('setting/body/bgcolor');
|
44 |
-
$container_bgimage = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'bgimage/' . Mage::getStoreConfig('setting/body/bgimage');
|
45 |
-
$container_bgpositionx = Mage::getStoreConfig('setting/body/bgpositionx');
|
46 |
-
$container_bgpositiony = Mage::getStoreConfig('setting/body/bgpositiony');
|
47 |
-
$container_bgpositionrepeat = Mage::getStoreConfig('setting/body/bgrepeat');
|
48 |
|
49 |
/* footer */
|
50 |
-
$
|
51 |
-
$
|
52 |
-
$footer_link_size = Mage::getStoreConfig('setting/footer/link_size');
|
53 |
|
54 |
// get default size
|
55 |
if ($footer_link_size == ''){
|
56 |
$footer_link_size = $fontsize;
|
57 |
}
|
58 |
|
59 |
-
$footer_title_color = '#' . Mage::getStoreConfig('setting/footer/title_color');
|
60 |
-
$footer_title_size = Mage::getStoreConfig('setting/footer/title_size');
|
61 |
// get default size
|
62 |
if ($footer_title_size == ''){
|
63 |
$footer_title_size = $fontsize;
|
64 |
}
|
65 |
|
66 |
-
$footer_text_color = '#' . Mage::getStoreConfig('setting/footer/text_color');
|
67 |
-
$footer_text_size = Mage::getStoreConfig('setting/footer/text_size');
|
68 |
// get default size
|
69 |
if ($footer_text_size == ''){
|
70 |
$footer_text_size = $fontsize;
|
71 |
}
|
72 |
|
73 |
-
$footer_line_color = '#' . Mage::getStoreConfig('setting/footer/line_color');
|
74 |
-
$footer_line_size = Mage::getStoreConfig('setting/footer/line_size');
|
75 |
-
// get default size 10px
|
76 |
-
if ($footer_line_size == ''){
|
77 |
-
$footer_line_size = '10px';
|
78 |
-
}
|
79 |
-
|
80 |
?>
|
81 |
|
82 |
<style type="text/css">
|
83 |
-
|
84 |
-
|
85 |
-
.
|
|
|
86 |
|
87 |
-
.header{padding: 10px 0px; background: <?php echo $header_bgcolor ?>}
|
88 |
.header .links a { color:<?php echo $header_link_color ?>; font-size: <?php echo $header_link_size ?>;}
|
89 |
.header .links a:hover { color:<?php echo $header_hoverlink_color ?>; font-size: <?php echo $header_hoverlink_size ?>;}
|
90 |
.header .links .top-link-cart i{margin-left: 5px;}
|
91 |
-
.navbar-header .navbar-brand{
|
92 |
-
.
|
93 |
-
.footer { /*width:930px; margin:0 auto; */padding:10px 10px 50px; background: <?php echo $footer_bgcolor ?>; color:<?php echo $footer_text_color ?>; font-size: <?php echo $footer_text_size ?>; border-top:<?php echo $footer_line_size ?> solid <?php echo $footer_line_color ?>; text-align:left}
|
94 |
.footer a { color:<?php echo $footer_link_color ?>; text-decoration:none; font-size: <?php echo $footer_link_size ?>}
|
95 |
.footer .title{color:<?php echo $footer_title_color ?>; font-size: <?php echo $footer_title_size ?>; font-weight:bold; text-transform: uppercase; padding: 2px 0}
|
96 |
.footer address a { color:<?php echo $footer_link_color ?>; text-decoration:underline; font-size: <?php echo $footer_link_size ?>}
|
97 |
|
98 |
.product-options .options-list label { font-weight:normal; color: <?php echo $textcolor?>; font-size:11px}
|
99 |
</style>
|
100 |
-
|
6 |
*/
|
7 |
?>
|
8 |
<?php
|
9 |
+
/* full grid layout */
|
10 |
+
$fullgrid_header_bgcolor = '#' . Mage::getStoreConfig('setting/pagebg/fullgrid_header', Mage::app()->getStore()->getId());
|
11 |
+
$fullgrid_footer_bgcolor = '#' . Mage::getStoreConfig('setting/pagebg/fullgrid_footer', Mage::app()->getStore()->getId());
|
12 |
+
$fullgrid_footer_main_container = '#' . Mage::getStoreConfig('setting/pagebg/fullgrid_main_container', Mage::app()->getStore()->getId());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
/* theme font */
|
15 |
+
$fontfm = Mage::getStoreConfig('setting/themefont/fontfamily', Mage::app()->getStore()->getId());
|
|
|
16 |
// if $fontsize == null then fontsize is 14px from bootstrap theme
|
17 |
+
$fontsize = Mage::getStoreConfig('setting/themefont/fontsize', Mage::app()->getStore()->getId());
|
18 |
+
$textcolor = '#' . Mage::getStoreConfig('setting/themefont/textcolor', Mage::app()->getStore()->getId());
|
19 |
|
20 |
/* header */
|
21 |
+
$header_link_color = '#' . Mage::getStoreConfig('setting/header/link_color', Mage::app()->getStore()->getId());
|
22 |
+
$header_link_size = Mage::getStoreConfig('setting/header/link_size', Mage::app()->getStore()->getId());
|
23 |
+
$header_hoverlink_color = '#' . Mage::getStoreConfig('setting/header/hoverlink_color', Mage::app()->getStore()->getId());
|
24 |
+
$header_hoverlink_size = Mage::getStoreConfig('setting/header/hoverlink_size', Mage::app()->getStore()->getId());
|
25 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
/* footer */
|
28 |
+
$footer_link_color = '#' . Mage::getStoreConfig('setting/footer/link_color', Mage::app()->getStore()->getId());
|
29 |
+
$footer_link_size = Mage::getStoreConfig('setting/footer/link_size', Mage::app()->getStore()->getId());
|
|
|
30 |
|
31 |
// get default size
|
32 |
if ($footer_link_size == ''){
|
33 |
$footer_link_size = $fontsize;
|
34 |
}
|
35 |
|
36 |
+
$footer_title_color = '#' . Mage::getStoreConfig('setting/footer/title_color', Mage::app()->getStore()->getId());
|
37 |
+
$footer_title_size = Mage::getStoreConfig('setting/footer/title_size', Mage::app()->getStore()->getId());
|
38 |
// get default size
|
39 |
if ($footer_title_size == ''){
|
40 |
$footer_title_size = $fontsize;
|
41 |
}
|
42 |
|
43 |
+
$footer_text_color = '#' . Mage::getStoreConfig('setting/footer/text_color', Mage::app()->getStore()->getId());
|
44 |
+
$footer_text_size = Mage::getStoreConfig('setting/footer/text_size', Mage::app()->getStore()->getId());
|
45 |
// get default size
|
46 |
if ($footer_text_size == ''){
|
47 |
$footer_text_size = $fontsize;
|
48 |
}
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
?>
|
51 |
|
52 |
<style type="text/css">
|
53 |
+
body{font-family: <?php echo $fontfm ?>; font-size:<?php echo $fontsize ?>; color: <?php echo $textcolor ?>; text-align:center}
|
54 |
+
.fullgrid-header{margin: 0 auto; background: <?php echo $fullgrid_header_bgcolor?>}
|
55 |
+
.fullgrid-footer{margin: 0 auto; background: <?php echo $fullgrid_footer_bgcolor?>}
|
56 |
+
.fullgrid-main-container {background:<?php echo $fullgrid_footer_main_container; ?>; margin: 0 auto; padding: 20px 0 40px}
|
57 |
|
|
|
58 |
.header .links a { color:<?php echo $header_link_color ?>; font-size: <?php echo $header_link_size ?>;}
|
59 |
.header .links a:hover { color:<?php echo $header_hoverlink_color ?>; font-size: <?php echo $header_hoverlink_size ?>;}
|
60 |
.header .links .top-link-cart i{margin-left: 5px;}
|
61 |
+
.navbar-header .navbar-brand{text-transform: uppercase}
|
62 |
+
.footer {color:<?php echo $footer_text_color ?>; font-size: <?php echo $footer_text_size ?>; text-align:left}
|
|
|
63 |
.footer a { color:<?php echo $footer_link_color ?>; text-decoration:none; font-size: <?php echo $footer_link_size ?>}
|
64 |
.footer .title{color:<?php echo $footer_title_color ?>; font-size: <?php echo $footer_title_size ?>; font-weight:bold; text-transform: uppercase; padding: 2px 0}
|
65 |
.footer address a { color:<?php echo $footer_link_color ?>; text-decoration:underline; font-size: <?php echo $footer_link_size ?>}
|
66 |
|
67 |
.product-options .options-list label { font-weight:normal; color: <?php echo $textcolor?>; font-size:11px}
|
68 |
</style>
|
69 |
+
|
app/design/frontend/default/responsive/template/tvtheme/networkshare.phtml
CHANGED
@@ -8,9 +8,9 @@
|
|
8 |
|
9 |
<?php
|
10 |
// get the config
|
11 |
-
$facebook = Mage::getStoreConfig('setting/footer/facebook');
|
12 |
-
$twitter = Mage::getStoreConfig('setting/footer/twitter');
|
13 |
-
$youtube = Mage::getStoreConfig('setting/footer/youtube');
|
14 |
?>
|
15 |
<div id="divnetworkshare" class="">
|
16 |
<?php if($facebook != '' || $twitter !=='' || $youtube !=''): ?>
|
8 |
|
9 |
<?php
|
10 |
// get the config
|
11 |
+
$facebook = Mage::getStoreConfig('setting/footer/facebook', Mage::app()->getStore()->getId());
|
12 |
+
$twitter = Mage::getStoreConfig('setting/footer/twitter', Mage::app()->getStore()->getId());
|
13 |
+
$youtube = Mage::getStoreConfig('setting/footer/youtube', Mage::app()->getStore()->getId());
|
14 |
?>
|
15 |
<div id="divnetworkshare" class="">
|
16 |
<?php if($facebook != '' || $twitter !=='' || $youtube !=''): ?>
|
app/design/frontend/default/responsive/template/tvtheme/new-arrival.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Authod Tony Vu
|
4 |
+
* Date 12.12.2013
|
5 |
+
* Description Product New Arrival Block
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php if (Mage::getStoreConfig('block/newarrival/yes_no', Mage::app()->getStore()->getId()) == 1) : ?>
|
10 |
+
<div class="newarrival">
|
11 |
+
<div class="row heading">
|
12 |
+
<div class="col-xs-8">
|
13 |
+
<h3>New Arrival</h3>
|
14 |
+
</div>
|
15 |
+
|
16 |
+
<div class="col-xs-4" style="text-align: right">
|
17 |
+
<a class="jcarousel-prev"><i class="fa fa-angle-left fa-2x"></i></a>
|
18 |
+
<a class="jcarousel-next"><i class="fa fa-angle-right fa-2x"></i></a>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div class="col-xs-12 jcarousel"><!-- row 1 example data -->
|
23 |
+
<?php
|
24 |
+
//get feature products from getstoreconfig
|
25 |
+
$product_arr = unserialize(Mage::getStoreConfig('block/newarrival/product', Mage::app()->getStore()->getId()));
|
26 |
+
if (!empty($product_arr)){
|
27 |
+
$new_arrival = array();
|
28 |
+
foreach($product_arr as $product){
|
29 |
+
array_push($new_arrival ,trim($product['product_sku']));
|
30 |
+
}
|
31 |
+
echo Mage::helper('blockcustom/data')->getProducts($new_arrival);
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
<script>
|
38 |
+
jQuery(function() {
|
39 |
+
// create instance
|
40 |
+
jQuery('.jcarousel').jcarousel();
|
41 |
+
|
42 |
+
jQuery('.jcarousel-prev').click(function() {
|
43 |
+
jQuery('.jcarousel').jcarousel('scroll', '-=1');
|
44 |
+
});
|
45 |
+
|
46 |
+
jQuery('.jcarousel-next').click(function() {
|
47 |
+
jQuery('.jcarousel').jcarousel('scroll', '+=1');
|
48 |
+
});
|
49 |
+
});
|
50 |
+
</script>
|
51 |
+
|
52 |
+
<?php endif; ?>
|
app/design/frontend/default/responsive/template/tvtheme/sectors.phtml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Authod Tony Vu
|
4 |
+
* Date 12.12.2013
|
5 |
+
* Description 3 Sectors Block
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php if (Mage::getStoreConfig('block/sectors/yes_no', Mage::app()->getStore()->getId()) == 1) : ?>
|
10 |
+
<div class='row mainblocks'>
|
11 |
+
<!-- Left block -->
|
12 |
+
<div class='l_block col-md-4 col-xs-12'>
|
13 |
+
<?php
|
14 |
+
if (Mage::getStoreConfig('block/sectors/l_image', Mage::app()->getStore()->getId()) != NULL) {
|
15 |
+
echo '<a href="' . Mage::getStoreConfig('block/sectors/l_link', Mage::app()->getStore()->getId()) . '"/><img class="img-responsive" src="' . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'media/blockimage/' . Mage::getStoreConfig('block/sectors/l_image', Mage::app()->getStore()->getId()) . '" alt="" /></a>';
|
16 |
+
}
|
17 |
+
?>
|
18 |
+
</div>
|
19 |
+
<!-- Middle block -->
|
20 |
+
<div class='m_block col-md-4 col-xs-12'>
|
21 |
+
<?php
|
22 |
+
if (Mage::getStoreConfig('block/sectors/m_image', Mage::app()->getStore()->getId()) != NULL) {
|
23 |
+
echo '<a href="' . Mage::getStoreConfig('block/sectors/m_link', Mage::app()->getStore()->getId()) . '"/><img class="img-responsive" src="' . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'media/blockimage/' . Mage::getStoreConfig('block/sectors/m_image', Mage::app()->getStore()->getId()) . '" alt="" /></a>';
|
24 |
+
}
|
25 |
+
?>
|
26 |
+
</div>
|
27 |
+
<!-- Right block -->
|
28 |
+
<div class='r_block col-md-4 col-xs-12'>
|
29 |
+
<?php
|
30 |
+
if (Mage::getStoreConfig('block/sectors/r_image', Mage::app()->getStore()->getId()) != NULL) {
|
31 |
+
echo '<a href="' . Mage::getStoreConfig('block/sectors/r_link', Mage::app()->getStore()->getId()) . '"/><img class="img-responsive" src="' . Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) . 'media/blockimage/' . Mage::getStoreConfig('block/sectors/r_image', Mage::app()->getStore()->getId()) . '" alt="" /></a>';
|
32 |
+
}
|
33 |
+
?>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
|
38 |
+
<?php endif;?>
|
app/design/frontend/default/responsive/template/tvtheme/yamm.phtml
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Authod Tony Vu
|
4 |
+
* Date 24.12.2013
|
5 |
+
* Description Mega Menu
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<?php
|
10 |
+
// get storeconfig
|
11 |
+
$is_Megamenu = Mage::getStoreConfig('yamm/setting/yes_no', Mage::app()->getStore()->getId());
|
12 |
+
// if Megamenu is yes
|
13 |
+
if($is_Megamenu == 1){
|
14 |
+
$narbar_style = Mage::getStoreConfig('yamm/setting/navbar', Mage::app()->getStore()->getId());
|
15 |
+
if ($narbar_style ==''){
|
16 |
+
// navbar-default is an option in the setting/header/navbar
|
17 |
+
$narbar_style = 'navbar-default';
|
18 |
+
}
|
19 |
+
|
20 |
+
?>
|
21 |
+
|
22 |
+
<div class="navbar yamm <?php echo $narbar_style ?>">
|
23 |
+
<div class="container">
|
24 |
+
<div class="navbar-header">
|
25 |
+
<button type="button" data-toggle="collapse" data-target="#navbar-collapse-1" class="navbar-toggle">
|
26 |
+
<span class="icon-bar"></span>
|
27 |
+
<span class="icon-bar"></span>
|
28 |
+
<span class="icon-bar"></span>
|
29 |
+
</button>
|
30 |
+
<!-- company logo -->
|
31 |
+
<a href="#" class="navbar-brand">Menu</a>
|
32 |
+
</div>
|
33 |
+
<div id="navbar-collapse-1" class="navbar-collapse collapse">
|
34 |
+
<ul class="nav navbar-nav">
|
35 |
+
<!-- fist menu item -->
|
36 |
+
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><?php echo Mage::getStoreConfig('yamm/first_menu_item/title', Mage::app()->getStore()->getId()) ?> <b class="caret"></b></a>
|
37 |
+
<ul class="dropdown-menu">
|
38 |
+
<li>
|
39 |
+
<!-- Content container to add padding -->
|
40 |
+
<div class="yamm-categories yamm-content megamenu_cat_1">
|
41 |
+
<!-- banner for promotion -->
|
42 |
+
<?php if(Mage::getStoreConfig('yamm/first_menu_item/ad', Mage::app()->getStore()->getId()) != null): ?>
|
43 |
+
<div class="row">
|
44 |
+
<a href="<?php echo Mage::getStoreConfig('yamm/first_menu_item/link', Mage::app()->getStore()->getId()) ?>"><img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'ad_banner/' . Mage::getStoreConfig('yamm/first_menu_item/ad', Mage::app()->getStore()->getId()); ?>" class="img-responsive" alt="<?php echo Mage::getStoreConfig('yamm/first_menu_item/alt', Mage::app()->getStore()->getId()) ?>"></a>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php
|
48 |
+
// back end config
|
49 |
+
$subcat = Mage::getStoreConfig('yamm/first_menu_item/catid', Mage::app()->getStore()->getId());
|
50 |
+
|
51 |
+
$categories = Mage::helper('mega/data')->getCatergorybyLevel($subcat);
|
52 |
+
echo $categories;
|
53 |
+
?>
|
54 |
+
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
</ul>
|
58 |
+
</li>
|
59 |
+
<!-- Second Menu Item -->
|
60 |
+
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><?php echo Mage::getStoreConfig('yamm/second_menu_item/title', Mage::app()->getStore()->getId()) ?><b class="caret"></b></a>
|
61 |
+
<ul class="dropdown-menu">
|
62 |
+
<li>
|
63 |
+
<div class="yamm-content megamenu_cat_2">
|
64 |
+
<?php
|
65 |
+
$catid = Mage::getStoreConfig('yamm/second_menu_item/catid', Mage::app()->getStore()->getId());
|
66 |
+
//echo $catid;
|
67 |
+
$featured_category = Mage::helper('mega/data')->getFeaturedCategory($catid);
|
68 |
+
echo $featured_category;
|
69 |
+
?>
|
70 |
+
</div>
|
71 |
+
</li>
|
72 |
+
</ul>
|
73 |
+
</li>
|
74 |
+
<!-- Sales -->
|
75 |
+
<li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Sales<b class="caret"></b></a>
|
76 |
+
<ul class="dropdown-menu">
|
77 |
+
<li>
|
78 |
+
<div class="megamenu_cat_3 col-xs-12">
|
79 |
+
<div class='row'>
|
80 |
+
<?php if(Mage::getStoreConfig('yamm/sale/ad') != null): ?>
|
81 |
+
<div class='col-sm-12 banner'>
|
82 |
+
<a href="<?php echo Mage::getStoreConfig('yamm/sale/link', Mage::app()->getStore()->getId()) ?>"><img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'ad_banner/' . Mage::getStoreConfig('yamm/sale/ad'); ?>" class="img-responsive" alt="<?php echo Mage::getStoreConfig('yamm/sale/alt') ?>"></a>
|
83 |
+
</div>
|
84 |
+
<?php endif; ?>
|
85 |
+
<div class='col-sm-12'>
|
86 |
+
<?php
|
87 |
+
//get feature products from getstoreconfig
|
88 |
+
$product_arr = unserialize(Mage::getStoreConfig('yamm/sale/product', Mage::app()->getStore()->getId()));
|
89 |
+
if (!empty($product_arr)){
|
90 |
+
$product_sale_list = array();
|
91 |
+
foreach($product_arr as $product){
|
92 |
+
array_push($product_sale_list ,trim($product['product_sku']));
|
93 |
+
}
|
94 |
+
echo Mage::helper('mega/data')->getSaleProducts($product_sale_list);
|
95 |
+
}
|
96 |
+
?>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
</li>
|
101 |
+
</ul>
|
102 |
+
</li>
|
103 |
+
</div>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
|
107 |
+
<script type='text/javascript' defer>
|
108 |
+
jQuery('.yamm .dropdown-menu').click(function(e) {
|
109 |
+
e.stopPropagation();
|
110 |
+
});
|
111 |
+
</script>
|
112 |
+
|
113 |
+
<?php } ?>
|
app/design/frontend/default/responsive/template/wishlist/item/column/cart.phtml
CHANGED
@@ -36,10 +36,10 @@ $options = $this->getChild('customer.wishlist.item.options')
|
|
36 |
<?php echo $this->getPriceHtml($product, empty($options));?>
|
37 |
<div class="add-to-cart-alt">
|
38 |
<?php if ($item->canHaveQty() && $item->getProduct()->isVisibleInSiteVisibility()): ?>
|
39 |
-
<input type="text" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>"
|
40 |
<?php endif; ?>
|
41 |
<?php if ($product->isSaleable()): ?>
|
42 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart btn btn-default btn-
|
43 |
<?php else: ?>
|
44 |
<?php if ($product->getIsSalable()): ?>
|
45 |
<p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
|
36 |
<?php echo $this->getPriceHtml($product, empty($options));?>
|
37 |
<div class="add-to-cart-alt">
|
38 |
<?php if ($item->canHaveQty() && $item->getProduct()->isVisibleInSiteVisibility()): ?>
|
39 |
+
<input type="text" class="form-control input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" />
|
40 |
<?php endif; ?>
|
41 |
<?php if ($product->isSaleable()): ?>
|
42 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart btn btn-default btn-sm"><?php echo $this->__('Add to Cart') ?></button>
|
43 |
<?php else: ?>
|
44 |
<?php if ($product->getIsSalable()): ?>
|
45 |
<p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
|
app/design/frontend/default/responsive/template/wishlist/item/column/image.phtml
CHANGED
@@ -29,5 +29,5 @@ $item = $this->getItem();
|
|
29 |
$product = $item->getProduct();
|
30 |
?>
|
31 |
<a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>">
|
32 |
-
<img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(113, 113); ?>"
|
33 |
</a>
|
29 |
$product = $item->getProduct();
|
30 |
?>
|
31 |
<a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>">
|
32 |
+
<img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(113, 113); ?>" alt="<?php echo $this->escapeHtml($product->getName()) ?>" />
|
33 |
</a>
|
app/design/frontend/default/responsive/template/wishlist/sidebar.phtml
CHANGED
@@ -26,11 +26,11 @@
|
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Sidebar */
|
27 |
?>
|
28 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
-
<div class="block block-wishlist">
|
30 |
-
<div class="block-title">
|
31 |
-
|
32 |
</div>
|
33 |
-
<div class="block-content">
|
34 |
<p class="block-subtitle"><?php echo $this->__('Last Added Items') ?></p>
|
35 |
<?php if ($this->hasWishlistItems()): ?>
|
36 |
<ol class="mini-products-list" id="wishlist-sidebar">
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Sidebar */
|
27 |
?>
|
28 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
+
<div class="block block-wishlist panel panel-default">
|
30 |
+
<div class="block-title panel-heading">
|
31 |
+
<?php echo $this->getTitle(); ?>
|
32 |
</div>
|
33 |
+
<div class="block-content panel-body">
|
34 |
<p class="block-subtitle"><?php echo $this->__('Last Added Items') ?></p>
|
35 |
<?php if ($this->hasWishlistItems()): ?>
|
36 |
<ol class="mini-products-list" id="wishlist-sidebar">
|
app/design/frontend/default/responsive/template/wishlist/view.phtml
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_Wishlist_Block_Customer_Wishlist */
|
27 |
+
?>
|
28 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
+
<div class="my-wishlist">
|
30 |
+
<div class="page-title title-buttons">
|
31 |
+
<?php if ($this->helper('wishlist')->isRssAllow() && $this->hasWishlistItems()): ?>
|
32 |
+
<a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistInstance()->getId()); ?>" class="link-rss"><?php echo $this->__('RSS Feed') ?></a>
|
33 |
+
<?php endif; ?>
|
34 |
+
<h1><?php echo $this->getTitle(); ?></h1>
|
35 |
+
</div>
|
36 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
+
|
38 |
+
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
|
39 |
+
<?php echo $this->getChildHtml('top'); ?>
|
40 |
+
<fieldset>
|
41 |
+
<?php if ($this->hasWishlistItems()): ?>
|
42 |
+
<?php echo $this->getBlockHtml('formkey');?>
|
43 |
+
<?php $this->getChild('items')->setItems($this->getWishlistItems()); ?>
|
44 |
+
<?php echo $this->getChildHtml('items');?>
|
45 |
+
<script type="text/javascript">decorateTable('wishlist-table')</script>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
|
48 |
+
<?php endif ?>
|
49 |
+
<div class="buttons-set buttons-set2">
|
50 |
+
<?php echo $this->getChild('control_buttons')->toHtml();?>
|
51 |
+
</div>
|
52 |
+
</fieldset>
|
53 |
+
</form>
|
54 |
+
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
var wishlistForm = new Validation($('wishlist-view-form'));
|
58 |
+
function addAllWItemsToCart() {
|
59 |
+
var url = '<?php echo $this->getUrl('*/*/allcart', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>';
|
60 |
+
var separator = (url.indexOf('?') >= 0) ? '&' : '?';
|
61 |
+
$$('#wishlist-view-form .qty').each(
|
62 |
+
function (input, index) {
|
63 |
+
url += separator + input.name + '=' + encodeURIComponent(input.value);
|
64 |
+
separator = '&';
|
65 |
+
}
|
66 |
+
);
|
67 |
+
setLocation(url);
|
68 |
+
}
|
69 |
+
//]]>
|
70 |
+
</script>
|
71 |
+
</div>
|
72 |
+
<?php echo $this->getChildHtml('bottom'); ?>
|
73 |
+
<div class="buttons-set">
|
74 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
75 |
+
</div>
|
76 |
+
<?php endif ?>
|
app/etc/modules/Tvcarousel_Slider.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvcarousel_Slider>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>local</codePool>
|
7 |
+
</Tvcarousel_Slider>
|
8 |
+
</modules>
|
9 |
+
</config>
|
app/etc/modules/Tvcom_Blockcustom.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvcom_Blockcustom>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>local</codePool>
|
7 |
+
</Tvcom_Blockcustom>
|
8 |
+
</modules>
|
9 |
+
</config>
|
app/etc/modules/Tvmenu_Mega.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Tvmenu_Mega>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>local</codePool>
|
7 |
+
</Tvmenu_Mega>
|
8 |
+
</modules>
|
9 |
+
</config>
|
package.xml
CHANGED
@@ -1,19 +1,34 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>responsive</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://opensource.org/licenses/
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Responsive theme for Magento Community</summary>
|
10 |
-
<description>
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
<contents><target name="magelocal"><dir name="Tvcom"><dir name="Catalog"><dir name="Block"><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="e61a22e4b79d685c4f4526cb6e26fd72"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="35847847fa734d329dab80caecd34bdb"/></dir></dir><dir name="Checkout"><dir name="Block"><file name="Links.php" hash="834fd8bccc5addc9e064cb41999b1953"/></dir><dir name="etc"><file name="config.xml" hash="0f64ed1b38d6c042c971232bb9a4dc32"/></dir></dir><dir name="Page"><dir name="Block"><dir name="Html"><file name="Topmenu.php" hash="2791cf29aa19226e538a8ad38984c3dc"/><file name="Welcome.php" hash="b1cd77ea53caa2e3473a1dcaceded2ec"/></dir></dir><dir name="etc"><file name="config.xml" hash="0564cbbf86e324a4d877856167874e03"/></dir></dir><dir name="Themecustom"><dir name="Helper"><file name="Data.php" hash="07559e4fa8223efcb10bd0795458c765"/></dir><dir name="Model"><file name="Custom.php" hash="bff5f52f606c33ada097641e6e2970bf"/><dir name="Option"><file name="Footerlayout.php" hash="090b0ae1f016d981cf94865ec9be41b0"/><file name="Narbar.php" hash="35f4c30272e466a31d81efca71f73ab8"/><file name="Repeat.php" hash="b1f08bac80e215209e45fe8456b964f8"/></dir></dir><dir name="etc"><file name="config.xml" hash="db7138914a67c69ed0f00942bbaf104e"/><file name="system.xml" hash="6efe7bed8c58822f2438c3578e8124a4"/></dir></dir><dir name="Wishlist"><dir name="Block"><file name="Links.php" hash="cce4090698606febae140553a9669c17"/></dir><dir name="etc"><file name="config.xml" hash="34a7946e942d408b5b0eef07d9511264"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tvcom_Page.xml" hash="6eb34161b3a13e001b1af7dea977f484"/><file name="Tvcom_Themecustom.xml" hash="742cda5cce51b8cb0cfebfe3075a06d9"/><file name="Tvcom_Checkout.xml" hash="ba2345c0bb1a258ef97e46c6ba64f961"/><file name="Tvcom_Wishlist.xml" hash="c77ddf27ba8becaa3054118f32dc4dd7"/><file name="Tvcom_Catalog.xml" hash="75b972b51f4aade7f27042109f904b9d"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="responsive"><dir name="template"><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><dir name="option"><file name="checkbox.phtml" hash="dee3002492adc119a59e3248c81f51a6"/><file name="radio.phtml" hash="c5048ab31279a6bda1b16999b0f8b506"/></dir></dir></dir></dir></dir></dir></dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="9e3e85a334e42279bf4bc503c9182737"/></dir><dir name="layer"><file name="state.phtml" hash="214203502bb82c114adbf9922611ec12"/></dir><dir name="product"><dir name="compare"><file name="sidebar.phtml" hash="6add573c5b0da1b80d0051c7d9c23cbb"/></dir><dir name="list"><file name="toolbar.phtml" hash="221bdf353ddc33f1526eb37e4daa44e0"/><file name="upsell.phtml" hash="5230d7294058085d07c4423cae0b9108"/></dir><file name="list.phtml" hash="695fe3b0d85144b0b9016c217aead08c"/><dir name="view"><file name="addto.phtml" hash="d84144cbb6b1d14c2039c3388ab8d7b8"/><file name="attributes.phtml" hash="069cfe613294d042a930865d24f8d1ce"/><file name="media.phtml" hash="1be8f4ea6e54f9a97e220f28931c4f50"/></dir><file name="view.phtml" hash="22bdbd648cebdc15fc130fecd02270f2"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="da5a91141a34f6dab2f60ec72de0cd12"/></dir><file name="form.mini.phtml" hash="efbd0ea4fdbb6c5c2bbf12ea520e2302"/></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="3c8d5da75a8b74a0b65237398a31faa1"/><file name="crosssell.phtml" hash="1700a70387393e29eddd97c6e96c6b10"/><dir name="item"><file name="default.phtml" hash="982a6b6f9889db37d04c8c77330e8cf4"/></dir><file name="shipping.phtml" hash="c985cdf397a55cc3bffa62d7f381a4a8"/><dir name="sidebar"><file name="default.phtml" hash="5b64bb75c39984829140dd7265025d75"/></dir><file name="sidebar.phtml" hash="9a14973934e91c8cfbef11b28d2ad5ec"/></dir><file name="cart.phtml" hash="b4d576b3dc1bd2e0623f97d405f75dba"/><dir name="onepage"><file name="link.phtml" hash="5dc65b59514b034c4af5a914134a9485"/><dir name="review"><file name="button.phtml" hash="08ced3ff77fe2a821291adfbfb550aed"/><file name="info.phtml" hash="77a6d7af2da26472343105ecf8673699"/></dir><file name="shipping.phtml" hash="b250285eefc4925f9bdb4b9d5f6c27f1"/></dir><file name="success.phtml" hash="10ac42a5bfc041f65228ea192081b6ab"/></dir><dir name="contacts"><file name="form.phtml" hash="232fc97e58720dd8d871b6047df5b01e"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="d39ddf7d3dea541b3c08bd1717356a9f"/><file name="info.phtml" hash="9a0afc6868754390a9eb66f470ddafc3"/></dir></dir><dir name="address"><file name="book.phtml" hash="cb8beb5f539e7b942ee1820a2f800251"/><file name="edit.phtml" hash="745bb83d3ced8fc996231288d1214e53"/></dir><dir name="form"><file name="edit.phtml" hash="dab5bb72d61cdcac15b9354ad54cefd7"/><file name="forgotpassword.phtml" hash="33d71a5f207dd942f14202d4cf915981"/><file name="newsletter.phtml" hash="6b49b91d1cb6a2182362b137bb00103a"/><file name="resetforgottenpassword.phtml" hash="930929e1d9d4a456a249ff3142386e14"/></dir><dir name="widget"><file name="name.phtml" hash="3aa7a542339bf2d64eddcb382ff85f45"/></dir></dir><dir name="downloadable"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="fa89c8b5771bba0647d1fd5bd2291c8e"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="c4fd32f949134a09d46064f71b9c954d"/></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="80bcb1324ea096ae2f4b323e6a82ff05"/></dir><dir name="page"><file name="1column.phtml" hash="8f2578c19ae57f70ee3141d31f9f1a22"/><file name="2columns-left.phtml" hash="6ead24530145d1f7f9750b25dcf83d88"/><file name="2columns-right.phtml" hash="69012716b9e773a5357cc4be01159a4e"/><file name="3columns.phtml" hash="1fbf4e3a5c3bc3c6414bf28c9c57bc13"/><dir name="html"><file name="breadcrumbs.phtml" hash="c0cca53ff2cbca0747fd4b4a550767c8"/><file name="footer.phtml" hash="49507f2b10542ed5905184973c32f23c"/><file name="head.phtml" hash="a066ec1b026adaae62ea2ffb72458c35"/><file name="header.phtml" hash="b01940b2fd3b0a9aead59f5cce0e5b3a"/><file name="pager.phtml" hash="57a502c2ba961bfcec7152577923aa44"/><file name="topmenu.phtml" hash="a3313934f27dd0a885e5374a08082460"/></dir><dir name="switch"><file name="languages.phtml" hash="e5fe88f43510dae0c3b6d041613b508f"/></dir><dir name="template"><file name="links.phtml" hash="7a60ff97b7a3b4f233cda603993a9b52"/></dir></dir><dir name="payment"><dir name="form"><file name="ccsave.phtml" hash="a805914290f553f9890295b01a06cb37"/><file name="purchaseorder.phtml" hash="cc6f08fdd01ccf5582cd56a59707fe2b"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="9946fbef5ca93b4452b5a0efc43c8b57"/><file name="login.phtml" hash="7122df5630b7437e4da4e2c8713a8efd"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="094bd6f48256243281e4152b487a8510"/><file name="register.phtml" hash="4fb1808b870414a32b71b65b83dc5605"/></dir></dir></dir><dir name="poll"><file name="active.phtml" hash="cbaa4cf06b173ab28a5879e76016ca5e"/></dir><dir name="review"><file name="form.phtml" hash="184175fb22afaacfcd588aabf6380c74"/><dir name="helper"><file name="summary.phtml" hash="ea30e9f48a4fa4643c47e52a2e63881a"/></dir></dir><dir name="sales"><dir name="guest"><file name="form.phtml" hash="3a8f1de79b1e226d8a48d9ea1006625e"/></dir><dir name="order"><file name="history.phtml" hash="9fd12e237a9d991e69c0c7a6a8e5dd84"/><file name="info.phtml" hash="8dfda74e14c78f05edae029b174aa7b6"/><file name="recent.phtml" hash="43f16dbcfad82ee7ae055a897a277824"/></dir><dir name="reorder"><file name="sidebar.phtml" hash="3183a9cf029313d803990083201f8636"/></dir></dir><dir name="tag"><file name="list.phtml" hash="9bfb661f1323fff54a0b9b507d18f85a"/></dir><dir name="tvtheme"><file name="cssconfig.phtml" hash="ba32f5e3beba6cc44ba79e2c1327c46e"/><file name="networkshare.phtml" hash="d8a2c01e3ace5ad2cbccdfd31ec76f06"/><file name="scroll-up.phtml" hash="e271affba498c05ae7b7e582d4eb5297"/></dir><dir name="wishlist"><dir name="button"><file name="share.phtml" hash="cbcdee03ca80bf30c9c281f27c18a705"/><file name="tocart.phtml" hash="c4abc4a86cf3e939b6a6625985b37b32"/><file name="update.phtml" hash="ac22c73383aeebb8ab9621d009b354a1"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="68cb9103433c18123348e5584438fe03"/><file name="image.phtml" hash="6c01f5e8e925ac7224c1ecb9f7ddcb3b"/><file name="info.phtml" hash="014767f1334d5d9d73f2afaab104374e"/><file name="remove.phtml" hash="09cbe88cb373ccb9a61a5c76781abfbf"/></dir><file name="list.phtml" hash="55cdcb13a576b84498af79347dffc796"/></dir><file name="sidebar.phtml" hash="962f4fb81d680bbd6b236b200c7d317b"/></dir></dir><dir name="layout"><file name="catalog.xml" hash="233f3a9b63b29f9675563208dcff0ed8"/><file name="catalogsearch.xml" hash="79d5265c20a14cbe23c527bca59888e2"/><file name="checkout.xml" hash="ebd8515f1888b36fc6545d4f3896d17f"/><file name="cms.xml" hash="f05747c9355b79a501a67b4ccae31c0d"/><file name="customer.xml" hash="324d65d83265f8cba0714fa6f3517f9d"/><file name="newsletter.xml" hash="4c650fa3ee0f1f1610504de5fd1ad3b4"/><file name="page.xml" hash="ff25860abae207dff824fcaf7b7f82f8"/><file name="paypal.xml" hash="6a17412a18ec4b860090f8fe31676b58"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="responsive"><dir name="layout"><file name="colorpicker.xml" hash="a7e0375e1a9c6715ef7955157202a6d3"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="responsive"><dir name="css"><file name="responsive.css" hash="cf5d12bec4e25018e9682d50e0cc1fde"/><file name="styles.css" hash="8a3c93518d01aa200e2da299601b0a9b"/></dir><dir name="images"><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="free_shipping_callout.jpg" hash="476fc754dbcdd6a4259a885c5fcf307e"/><file name="home_main_callout.jpg" hash="0bb666dad9749423d4e8da6cd46467ac"/><file name="ph_callout_left_top.gif" hash="0f459871d68b62dd3252de29188199cf"/></dir><dir name="js"><dir name="lazyload"><file name="jquery.lazyload.min.js" hash="89c45121934ed4664ff3ca811a008226"/><file name="load.lazyscript.js" hash="7d9eed85f2422c692e4b39263dd18683"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="prototype"><file name="prototype_bootstrap.js" hash="3fcb2fb515a2b67ee70fe53afbd2775f"/></dir></dir></target></contents>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>responsive</name>
|
4 |
+
<version>1.4.6</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Responsive theme for Magento Community version</summary>
|
10 |
+
<description>The responsive theme is written above the Magento community base theme with Bootstrap V3, HTML5 and CSS3. 
|
11 |
+

|
12 |
+
+ Lazy load implementation NEW
|
13 |
+

|
14 |
+
+ Responsive Carousel on homepage and configurable at the backend NEW
|
15 |
+

|
16 |
+
+ Can choose Bootstap Menu Navigation or Mega Menu Navigation bar at the backend NEW
|
17 |
+

|
18 |
+
+ Full Responsive to adapt all devices such as iphone, adroid, ipad, table, laptop and wide screen computer
|
19 |
+

|
20 |
+
+ Fully customize at the Magento Backend such as color, font type, font size and so on
|
21 |
+

|
22 |
+
+ Scroll up Icon on Catalog page
|
23 |
+

|
24 |
+
+ Use awesome font to increase speed loading
|
25 |
+

|
26 |
+
+ Slide related products on product page</description>
|
27 |
+
<notes>stable version</notes>
|
28 |
+
<authors><author><name>tony vu</name><user>vuductrung2003</user><email>vuductrung2003@gmail.com</email></author></authors>
|
29 |
+
<date>2014-12-02</date>
|
30 |
+
<time>09:57:39</time>
|
31 |
+
<contents><target name="magelocal"><dir name="Tvcom"><dir name="Blockcustom"><dir name="Helper"><file name="Data.php" hash="cc947b7bdb267c279a206f0d8e59b8f7"/></dir><dir name="etc"><file name="config.xml" hash="585902145d8be151bfd4e630fc395cac"/><file name="system.xml" hash="aaeaabc11cc077bd2a12b5979b4faf6b"/></dir></dir><dir name="Catalog"><dir name="Block"><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="e61a22e4b79d685c4f4526cb6e26fd72"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="35847847fa734d329dab80caecd34bdb"/></dir></dir><dir name="Checkout"><dir name="Block"><file name="Links.php" hash="834fd8bccc5addc9e064cb41999b1953"/></dir><dir name="etc"><file name="config.xml" hash="0f64ed1b38d6c042c971232bb9a4dc32"/></dir></dir><dir name="Page"><dir name="Block"><dir name="Html"><file name="Topmenu.php" hash="2791cf29aa19226e538a8ad38984c3dc"/><file name="Welcome.php" hash="a3a59af3d40edfca2d3510888bc72795"/></dir></dir><dir name="etc"><file name="config.xml" hash="0564cbbf86e324a4d877856167874e03"/></dir></dir><dir name="Themecustom"><dir name="Helper"><file name="Data.php" hash="07559e4fa8223efcb10bd0795458c765"/></dir><dir name="Model"><file name="Custom.php" hash="bff5f52f606c33ada097641e6e2970bf"/><dir name="Option"><file name="Footerlayout.php" hash="090b0ae1f016d981cf94865ec9be41b0"/><file name="Narbar.php" hash="35f4c30272e466a31d81efca71f73ab8"/><file name="Repeat.php" hash="b1f08bac80e215209e45fe8456b964f8"/></dir></dir><dir name="etc"><file name="config.xml" hash="db7138914a67c69ed0f00942bbaf104e"/><file name="system.xml" hash="0ffcc3be0fb3abad86e8aa14052d3547"/></dir></dir><dir name="Wishlist"><dir name="Block"><file name="Links.php" hash="cce4090698606febae140553a9669c17"/></dir><dir name="etc"><file name="config.xml" hash="34a7946e942d408b5b0eef07d9511264"/></dir></dir></dir><dir name="Tvcarousel"><dir name="Slider"><dir name="Block"><file name="Link.php" hash="fd0075a5c677639dc9a405c184775c7a"/></dir><dir name="Helper"><file name="Data.php" hash="9e6f63ef08a1b903a7df6865480d6522"/></dir><dir name="Model"><dir name="Option"><file name="Transition.php" hash="4b6a98e1c462dbc2c1faf20c59b13ca7"/></dir></dir><dir name="etc"><file name="config.xml" hash="04284c11f56f34733ded5c98c90c86f2"/><file name="system.xml" hash="6b781efea5516c08013d3e48e0f1965f"/></dir></dir></dir><dir name="Tvmenu"><dir name="Mega"><dir name="Block"><file name="Textfields.php" hash="f96379ce7cd1224faa70c99ee8ea1b0b"/></dir><dir name="Helper"><file name="Data.php" hash="258bb0df17769cc1fa0ed3bec7f5153c"/></dir><dir name="etc"><file name="config.xml" hash="3caa7c13e252179613657db28fe6277b"/><file name="system.xml" hash="277b7af2166e95401b3bf1983785ba19"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tvcom_Page.xml" hash="6eb34161b3a13e001b1af7dea977f484"/><file name="Tvcom_Blockcustom.xml" hash="0402ca4580ba4d89f0b53949af884bcd"/><file name="Tvcom_Catalog.xml" hash="75b972b51f4aade7f27042109f904b9d"/><file name="Tvcom_Checkout.xml" hash="ba2345c0bb1a258ef97e46c6ba64f961"/><file name="Tvcom_Themecustom.xml" hash="742cda5cce51b8cb0cfebfe3075a06d9"/><file name="Tvcom_Wishlist.xml" hash="c77ddf27ba8becaa3054118f32dc4dd7"/><file name="Tvcarousel_Slider.xml" hash="697cfc7f4f3728a03c547d589702b396"/><file name="Tvmenu_Mega.xml" hash="d8f2dbe62bd4e12e99c08f389e917501"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="responsive"><dir name="template"><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><dir name="option"><file name="checkbox.phtml" hash="dee3002492adc119a59e3248c81f51a6"/><file name="radio.phtml" hash="cf4b40506d01376944b37e42ea3bbefc"/></dir></dir></dir></dir></dir></dir></dir><dir name="carousel"><file name="slider.phtml" hash="255a2af67bb2e6b56c2d9c259b25ce7f"/></dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="9e3e85a334e42279bf4bc503c9182737"/></dir><dir name="layer"><file name="state.phtml" hash="a764929ed63dabdecd056d62d2ef41f8"/><file name="view.phtml" hash="d4218df816f267946c2616d81d8bb511"/></dir><dir name="product"><dir name="compare"><file name="sidebar.phtml" hash="9fa36fc18a27a90a3dbf2c989e22dd16"/></dir><dir name="list"><file name="related.phtml" hash="a7adad1c2c2ff7a7fae3c6f321febb5d"/><file name="toolbar.phtml" hash="2524c69b4277d59502ae96e20ff3a63b"/><file name="upsell.phtml" hash="df323961b20a97980e6c68261ec5ee59"/></dir><file name="list.phtml" hash="64b6b253b0559d65d3c30332f4cae45f"/><file name="price.phtml" hash="2f037661f8ad4d282eee8ff30f84f132"/><dir name="view"><file name="addto.phtml" hash="d84144cbb6b1d14c2039c3388ab8d7b8"/><file name="addtocart.phtml" hash="a4e748f4739c9747cb1bfb66760b9b93"/><file name="attributes.phtml" hash="cc32b5d27cd0c8157b7c230acf6c88fa"/><file name="description.phtml" hash="c6cf6cd39407ba3598b55a8eed699060"/><file name="media.phtml" hash="1be8f4ea6e54f9a97e220f28931c4f50"/><dir name="type"><file name="grouped.phtml" hash="baa02e4381ae04840b4881fd2641ffd1"/></dir></dir><file name="view.phtml" hash="7e571e8f402b3f4364759f2e9b34d7dc"/></dir><dir name="seo"><file name="sitemap.phtml" hash="aafaeed2ad8dd15f0c2db6a9f7536f9e"/><file name="tree.phtml" hash="13b39e386284bfc2aa1573ff149ff1e0"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="da5a91141a34f6dab2f60ec72de0cd12"/><file name="result.phtml" hash="a0cfcb92027c23762e8fde3c6a26690c"/></dir><file name="form.mini.phtml" hash="6eeefce4e31ddfd3f3595335985c50c1"/><file name="result.phtml" hash="31c0e932c8a478ac5965805c824366fa"/><file name="term.phtml" hash="7b506db87b5f2dad9dfb2b1ec2e13bd3"/></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="61451c5db774905fbd4a2ee41e567d63"/><file name="crosssell.phtml" hash="cfab2d7c9c54e17074179003cb5f4c18"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="641b0a43d07990f092b9079877e75b43"/></dir><file name="default.phtml" hash="f60935a1c66ab1eb28478c87a1ad5add"/></dir><dir name="render"><file name="default.phtml" hash="da27a08ae8eb284908379d16e33bcf12"/><file name="simple.phtml" hash="9652a9bb794e377b16144a7754f44bd9"/></dir><file name="shipping.phtml" hash="77ed14030f0d96c3969e8b57d4785702"/><dir name="sidebar"><file name="default.phtml" hash="5b64bb75c39984829140dd7265025d75"/></dir><file name="sidebar.phtml" hash="c1efdedbdec48d36fd4d858ca9d10feb"/></dir><file name="cart.phtml" hash="b4d576b3dc1bd2e0623f97d405f75dba"/><dir name="multishipping"><file name="shipping.phtml" hash="633a29e0b6308a2197cadc270fcfdec9"/></dir><dir name="onepage"><file name="link.phtml" hash="5dc65b59514b034c4af5a914134a9485"/><file name="payment.phtml" hash="a5f2cdaa259367214ed3d529be12dff0"/><dir name="progress"><file name="billing.phtml" hash="e0c20674a6831364b055424dac493acb"/></dir><file name="progress.phtml" hash="5488e84e8535a0356d9036243c788d76"/><dir name="review"><file name="button.phtml" hash="08ced3ff77fe2a821291adfbfb550aed"/><file name="info.phtml" hash="77a6d7af2da26472343105ecf8673699"/></dir><file name="shipping.phtml" hash="63d72de4d98f31cb38076ddb2e2880e8"/><dir name="shipping_method"><file name="available.phtml" hash="e8ac2956b7117a55347ce272d7296c9e"/></dir><file name="shipping_method.phtml" hash="3e67e0d5e6a08ed7196aec22a421f536"/></dir><file name="success.phtml" hash="10ac42a5bfc041f65228ea192081b6ab"/></dir><dir name="contacts"><file name="form.phtml" hash="232fc97e58720dd8d871b6047df5b01e"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="d39ddf7d3dea541b3c08bd1717356a9f"/><file name="info.phtml" hash="9a0afc6868754390a9eb66f470ddafc3"/></dir><file name="navigation.phtml" hash="5c2a9b56e6ebc7a1791e77f058e4f758"/></dir><dir name="address"><file name="book.phtml" hash="cb8beb5f539e7b942ee1820a2f800251"/><file name="edit.phtml" hash="745bb83d3ced8fc996231288d1214e53"/></dir><dir name="form"><file name="edit.phtml" hash="dab5bb72d61cdcac15b9354ad54cefd7"/><file name="forgotpassword.phtml" hash="33d71a5f207dd942f14202d4cf915981"/><file name="login.phtml" hash="d4fae1ebc25b0d7bd0aff2adc0289f61"/><file name="newsletter.phtml" hash="6b49b91d1cb6a2182362b137bb00103a"/><file name="resetforgottenpassword.phtml" hash="930929e1d9d4a456a249ff3142386e14"/></dir><dir name="widget"><file name="name.phtml" hash="3aa7a542339bf2d64eddcb382ff85f45"/></dir></dir><dir name="downloadable"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="fa89c8b5771bba0647d1fd5bd2291c8e"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="e01ae453d469e11e6d4888f5cb57d53c"/></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="e0a42ea1f135126d6634539d2bfa4657"/></dir><dir name="page"><file name="1column.phtml" hash="82e8bf8094d5c4b7355f4dc2b2022101"/><file name="2columns-left.phtml" hash="c3f0483def0498487c215fa6de414978"/><file name="2columns-right.phtml" hash="a61a10771e03bfa6e5b232c0844b23f1"/><file name="3columns.phtml" hash="7a918484610038d353528149facdf975"/><dir name="html"><file name="breadcrumbs.phtml" hash="c0cca53ff2cbca0747fd4b4a550767c8"/><file name="footer.phtml" hash="6b3f7e90949db4a6c61b9588fc0fd7ab"/><file name="head.phtml" hash="fc2379ee479f0aa816ce738cfd5db356"/><file name="header.phtml" hash="cf4f9bfb95f6ffe50e3b57ffb5800460"/><file name="pager.phtml" hash="cb5f7d6f220394f2a733fe2ef4da4069"/><file name="topmenu.phtml" hash="8619f23a47a784de2ad846ba5571f453"/><file name=".head.phtml.swp" hash="4541c180d1c5e3d022f45fd9264e264c"/></dir><dir name="switch"><file name="languages.phtml" hash="9a83388f364d2f08165be9a1c5ae2d5f"/></dir><dir name="template"><file name="links.phtml" hash="7a60ff97b7a3b4f233cda603993a9b52"/></dir></dir><dir name="payment"><dir name="form"><file name="ccsave.phtml" hash="a805914290f553f9890295b01a06cb37"/><file name="purchaseorder.phtml" hash="cc6f08fdd01ccf5582cd56a59707fe2b"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="36ce7c97fc6caa9a02ffb3f55a311353"/><file name="login.phtml" hash="cbf7b2739c4ec470c02827d8979756bc"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="1c339729e02c508c58e2024180343dd1"/><file name="register.phtml" hash="4fb1808b870414a32b71b65b83dc5605"/></dir></dir></dir><dir name="poll"><file name="active.phtml" hash="229b3d2336c77114d49a742740926399"/></dir><dir name="reports"><file name="product_compared.phtml" hash="2a121d34a0c448d4d5254c21382e8f7a"/><file name="product_viewed.phtml" hash="51adeff3253617f36316602deaec74cd"/></dir><dir name="review"><file name="form.phtml" hash="edf7680f64c0b545e58a6104a9443eb8"/><dir name="helper"><file name="summary.phtml" hash="ea30e9f48a4fa4643c47e52a2e63881a"/></dir></dir><dir name="sales"><dir name="guest"><file name="form.phtml" hash="3a8f1de79b1e226d8a48d9ea1006625e"/></dir><dir name="order"><file name="history.phtml" hash="4d0f55094c3b6f575e1654c9c61df9bf"/><file name="info.phtml" hash="8dfda74e14c78f05edae029b174aa7b6"/><file name="recent.phtml" hash="43f16dbcfad82ee7ae055a897a277824"/></dir><dir name="reorder"><file name="sidebar.phtml" hash="c6f2527f1c90961798830dda27f69d09"/></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="42577dc659ca1a6cb0b9cf91f82e9e8a"/></dir><dir name="tag"><file name="cloud.phtml" hash="dd9c3f89cf355f9dc5d5ad0bd58ac9e1"/><file name="list.phtml" hash="be31056cc93107949419f984b8b1b8c2"/><file name="popular.phtml" hash="73635fd110b6f0ffea2169417639481a"/></dir><dir name="tvtheme"><file name="best-sale.phtml" hash="4100663bd517b394f88a8b2dd5f909ad"/><file name="cssconfig.phtml" hash="374bf717894f09cb257e571fffa10805"/><file name="networkshare.phtml" hash="a5e00f4600c62be3916f2fbbd56f7b96"/><file name="new-arrival.phtml" hash="d8605c3180fb897ad63b247666315236"/><file name="scroll-up.phtml" hash="e271affba498c05ae7b7e582d4eb5297"/><file name="sectors.phtml" hash="51897913522244e662dc19b05b0cc500"/><file name="yamm.phtml" hash="29c15a84a67d10735f850684a2f5ab70"/></dir><dir name="wishlist"><dir name="button"><file name="share.phtml" hash="cbcdee03ca80bf30c9c281f27c18a705"/><file name="tocart.phtml" hash="c4abc4a86cf3e939b6a6625985b37b32"/><file name="update.phtml" hash="ac22c73383aeebb8ab9621d009b354a1"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="87c3088f6b8a56991a8b5dc97d48d634"/><file name="image.phtml" hash="cc7526a1538bcad1da1b7a237edeb078"/><file name="info.phtml" hash="014767f1334d5d9d73f2afaab104374e"/><file name="remove.phtml" hash="09cbe88cb373ccb9a61a5c76781abfbf"/></dir><file name="list.phtml" hash="55cdcb13a576b84498af79347dffc796"/></dir><file name="sidebar.phtml" hash="2f83818965c914f1cf7feb2218f05d19"/><file name="view.phtml" hash="9bf78d4c0948784507f4a5c8bd33236f"/></dir></dir><dir name="layout"><file name="carousel.xml" hash="49b26fc6711ec93d835e2082730dec2c"/><file name="catalog.xml" hash="0074545535af4b6b3e956b535298d17b"/><file name="catalogsearch.xml" hash="b70b8d0c31c5ef3aafbd8613a099447c"/><file name="checkout.xml" hash="74f7764c6b84d2a3ae6e6b985f9e5b71"/><file name="cms.xml" hash="1ae084813fc9360e860ee2ed57f2e731"/><file name="customer.xml" hash="324d65d83265f8cba0714fa6f3517f9d"/><file name="newsletter.xml" hash="4c650fa3ee0f1f1610504de5fd1ad3b4"/><file name="page.xml" hash="7f0fbf07f5353bd822e6b6c831139979"/><file name="paypal.xml" hash="6a17412a18ec4b860090f8fe31676b58"/><file name="review.xml" hash="f65ede5c45fc20d5b332bb3ee9338dc1"/><file name="yamm.xml" hash="de54905fd6b74da2ebf07ac78a8b495f"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="responsive"><dir name="layout"><file name="colorpicker.xml" hash="a7e0375e1a9c6715ef7955157202a6d3"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="responsive"><dir name="css"><dir name="carousel"><file name="slider.css" hash="08e34e02420c3b81d92b5ce7583af007"/></dir><dir name="jcarousel"><file name="jcarousel.skeleton.css" hash="1cf583ddc6ef310abad6bc4e6f56c2b5"/></dir><file name="responsive.css" hash="8bf518819a846ce676f9d2b1b7d2e7b2"/><file name="styles.css" hash="7955b253373b2731b9527340f63d6588"/><file name="yamm.css" hash="561045402473e544d9dd79a7c9db4f07"/></dir><dir name="images"><file name="bkg_rating.gif" hash="0a8777c815350ddf1e316a537ad0c335"/><file name="free_shipping_callout.jpg" hash="476fc754dbcdd6a4259a885c5fcf307e"/><file name="home_main_callout.jpg" hash="0bb666dad9749423d4e8da6cd46467ac"/><file name="main-banner1.jpg" hash="3856e37696f7d0760bb534bb4585a440"/><file name="main-banner2.jpg" hash="ddb20e81bb2535000684bb6bb6d68e8f"/><file name="paypal-logo-imt.png" hash="4996c174f51668479c5b650310722210"/><file name="ph_callout_left_top.gif" hash="0f459871d68b62dd3252de29188199cf"/></dir><dir name="js"><file name="grids.min.js" hash="a579e8a2c3ff43943fe44b6ba470ecb2"/><file name="jquery.jcarousel.min.js" hash="64bfec874f408b940d321cd32745a112"/><dir name="lazyload"><file name="jquery.lazyload.min.js" hash="89c45121934ed4664ff3ca811a008226"/><file name="load.lazyscript.js" hash="7d9eed85f2422c692e4b39263dd18683"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="prototype"><file name="prototype_bootstrap.js" hash="3fcb2fb515a2b67ee70fe53afbd2775f"/></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|
skin/frontend/default/responsive/css/carousel/slider.css
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Document : slider
|
3 |
+
Created on : 30/01/2014, 12:02:16 PM
|
4 |
+
Author : tony vu
|
5 |
+
Description:
|
6 |
+
Purpose of the stylesheet follows.
|
7 |
+
*/
|
8 |
+
|
9 |
+
.carousel-fade .carousel-inner .item {
|
10 |
+
opacity: 0;
|
11 |
+
-webkit-transition-property: opacity;
|
12 |
+
-moz-transition-property: opacity;
|
13 |
+
-o-transition-property: opacity;
|
14 |
+
transition-property: opacity;
|
15 |
+
}
|
16 |
+
.carousel-fade .carousel-inner .active {
|
17 |
+
opacity: 1;
|
18 |
+
}
|
19 |
+
.carousel-fade .carousel-inner .active.left,
|
20 |
+
.carousel-fade .carousel-inner .active.right {
|
21 |
+
left: 0;
|
22 |
+
opacity: 0;
|
23 |
+
z-index: 1;
|
24 |
+
}
|
25 |
+
.carousel-fade .carousel-inner .next.left,
|
26 |
+
.carousel-fade .carousel-inner .prev.right {
|
27 |
+
opacity: 1;
|
28 |
+
}
|
29 |
+
.carousel-fade .carousel-control {
|
30 |
+
z-index: 2;
|
31 |
+
}
|
32 |
+
|
33 |
+
/* horizontal block on homepage */
|
34 |
+
.horizontalblk h3{text-transform: uppercase; color: #E26703}
|
35 |
+
.horizontalblk a{text-decoration: none;}
|
36 |
+
.horizontalblk a:hover{color:#444}
|
skin/frontend/default/responsive/css/jcarousel/jcarousel.skeleton.css
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.jcarousel, .bestsale-jcarousel {position: relative; overflow: hidden; }
|
2 |
+
.jcarousel ul, .bestsale-jcarousel ul {width: 20000em; position: relative; list-style: none; margin: 0; padding: 0;}
|
3 |
+
.jcarousel li, .bestsale-jcarousel li {float: left; padding-right: 15px; width: 220px;}
|
4 |
+
.jcarousel-prev, .jcarousel-next{padding: 5px 15px; border: 1px solid #ddd; background: #f5f5f5; cursor: pointer; display: inline-block}
|
5 |
+
.bestsale-jcarousel-prev, .bestsale-jcarousel-next{padding: 5px 15px; border: 1px solid #ddd; background: #222; cursor: pointer; display: inline-block; color: #555}
|
6 |
+
.bestsale-jcarousel-prev:hover, .bestsale-jcarousel-next:hover{color: #fff}
|
7 |
+
/* New Arrival */
|
8 |
+
.newarrival {padding-top: 35px;}
|
9 |
+
.newarrival .heading{padding-bottom: 25px}
|
10 |
+
.newarrival h3{text-transform: uppercase; font-weight: normal; color:#1e7ec8 ; border-left: 4px solid #ff0000; padding-left: 5px; font-size: 30px; font-family: 'Francois One', sans-serif;}
|
11 |
+
|
12 |
+
/* Best Sale */
|
13 |
+
.bestsale {padding-top: 50px; clear: both}
|
14 |
+
.bestsale .heading{padding-bottom: 25px;}
|
15 |
+
.bestsale h3{text-transform: uppercase; font-weight: normal; color: #1e7ec8; border-left: 4px solid #000; padding-left: 5px; font-size: 30px; font-family: 'Francois One', sans-serif;}
|
16 |
+
|
17 |
+
/* 3 blocks */
|
18 |
+
.mainblocks{padding: 30px 0 40px 0}
|
19 |
+
|
20 |
+
.jcarousel-vertical{position: relative; overflow: hidden; height: 115px}
|
21 |
+
.jcarousel-vertical ul{position: relative; list-style: none;}
|
22 |
+
.crosssell .jcarousel-prev, .crosssell .jcarousel-next{padding: 2px 9px; border: 1px solid #cec3b6; background: #fafaec;}
|
23 |
+
|
24 |
+
/* bootstrap carousel */
|
25 |
+
.carousel .item {width: 100%; max-height: 600px;}
|
skin/frontend/default/responsive/css/responsive.css
CHANGED
@@ -33,13 +33,17 @@
|
|
33 |
|
34 |
/* custoner login */
|
35 |
.registered-customer{margin-top: 20px}
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
/* Landscape phone to portrait tablet */
|
39 |
@media (min-width:768px){
|
40 |
/* quick access nav */
|
41 |
.quick-access{text-align: right}
|
42 |
-
|
43 |
}
|
44 |
@media (max-width: 767px) {
|
45 |
.col-right{margin-top: 20px;}
|
@@ -55,11 +59,14 @@
|
|
55 |
.registered-customer .required{text-align: left; margin-top: 10px}
|
56 |
|
57 |
/* My Dashboard */
|
58 |
-
|
|
|
|
|
59 |
/*.title-buttons{text-align: left}*/
|
60 |
/* checkout /cart */
|
61 |
.cart .totals{margin-top: 20px}
|
62 |
-
|
|
|
63 |
|
64 |
/* catalog category */
|
65 |
.pager-responsive .amount, .pager-responsive .limiter label{display: none}
|
@@ -73,8 +80,8 @@
|
|
73 |
#product-attribute-specs-table .data{padding-left:0}
|
74 |
|
75 |
/* wishlist */
|
76 |
-
|
77 |
-
|
78 |
/* left bar */
|
79 |
.col-left.sidebar{margin-top: 20px;}
|
80 |
|
@@ -87,12 +94,20 @@
|
|
87 |
|
88 |
#popupcart{left: 15px;}
|
89 |
|
90 |
-
/* My downloadable product
|
91 |
-
#my-downloadable-products-table .orderid, #my-downloadable-products-table .date{display: none}
|
92 |
-
|
93 |
.usp i{font-size: 1.5em}
|
94 |
|
95 |
.block-tags{display: none}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
}
|
97 |
|
98 |
/* Landscape phones and down */
|
@@ -101,7 +116,7 @@
|
|
101 |
/* catalog category */
|
102 |
.block-compare, .block-poll, .block-viewed, .paypal-logo, .block-wishlist{display: none}
|
103 |
.col-main .category-image{display: none}
|
104 |
-
|
105 |
/* catalog product view */
|
106 |
.products-list .product-shop{margin-left: 0}
|
107 |
.sorter .sort-by label{display: none}
|
@@ -120,4 +135,10 @@
|
|
120 |
#product-review-table input[type="radio"]{margin:0; }
|
121 |
|
122 |
.usp .icon{display: none}
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
33 |
|
34 |
/* custoner login */
|
35 |
.registered-customer{margin-top: 20px}
|
36 |
+
/* homepage*/
|
37 |
+
.img-responsive{display: inline-block}
|
38 |
+
.l_block{text-align: center}
|
39 |
+
.r_block, .m_block{text-align: center; padding-top:10px}
|
40 |
}
|
41 |
|
42 |
/* Landscape phone to portrait tablet */
|
43 |
@media (min-width:768px){
|
44 |
/* quick access nav */
|
45 |
.quick-access{text-align: right}
|
46 |
+
.navbar-header .navbar-brand, .navbar-inverse .navbar-brand{display: none;}
|
47 |
}
|
48 |
@media (max-width: 767px) {
|
49 |
.col-right{margin-top: 20px;}
|
59 |
.registered-customer .required{text-align: left; margin-top: 10px}
|
60 |
|
61 |
/* My Dashboard */
|
62 |
+
/* .col-order-date, .col-ship-to, .col-order-total, .col-order-status{display: none !important}*/
|
63 |
+
.order-history-wrapper{width: 100%; overflow-y: hidden; overflow-x: scroll;}
|
64 |
+
.box-account{width: 100%; overflow-y: hidden; overflow-x: scroll; padding: 10px; border: 1px solid #dddddd; display: inline-block}
|
65 |
/*.title-buttons{text-align: left}*/
|
66 |
/* checkout /cart */
|
67 |
.cart .totals{margin-top: 20px}
|
68 |
+
.cart > form {width: 100%; overflow-y: hidden; overflow-x: scroll; padding: 10px; border: 1px solid #dddddd; display: inline-block}
|
69 |
+
/* #shopping-cart-table .item-editable, #shopping-cart-table .item-image, #shopping-cart-table .col-wishlist{display: none}*/
|
70 |
|
71 |
/* catalog category */
|
72 |
.pager-responsive .amount, .pager-responsive .limiter label{display: none}
|
80 |
#product-attribute-specs-table .data{padding-left:0}
|
81 |
|
82 |
/* wishlist */
|
83 |
+
/* #wishlist-table .row0{display: none}*/
|
84 |
+
.my-wishlist #wishlist-view-form {width: 100%; overflow-y: hidden; overflow-x: scroll; padding: 10px; border: 1px solid #dddddd; display: inline-block}
|
85 |
/* left bar */
|
86 |
.col-left.sidebar{margin-top: 20px;}
|
87 |
|
94 |
|
95 |
#popupcart{left: 15px;}
|
96 |
|
97 |
+
/* My downloadable product
|
98 |
+
#my-downloadable-products-table .orderid, #my-downloadable-products-table .date{display: none}*/
|
99 |
+
.downloadable-product-wrapper {width: 100%; overflow-y: hidden; overflow-x: scroll; padding: 10px; border: 1px solid #dddddd; display: inline-block}
|
100 |
.usp i{font-size: 1.5em}
|
101 |
|
102 |
.block-tags{display: none}
|
103 |
+
|
104 |
+
/* new arrival */
|
105 |
+
.jcarousel-prev i, .jcarousel-next i, .bestsale-jcarousel-prev i, .bestsale-jcarousel-next i{font-size: 1em}
|
106 |
+
|
107 |
+
/* homepage */
|
108 |
+
.main-banner1 {text-align: center}
|
109 |
+
.main-banner2 {text-align: center; padding-top: 10px}
|
110 |
+
.header .form-language .input-group{float: left}
|
111 |
}
|
112 |
|
113 |
/* Landscape phones and down */
|
116 |
/* catalog category */
|
117 |
.block-compare, .block-poll, .block-viewed, .paypal-logo, .block-wishlist{display: none}
|
118 |
.col-main .category-image{display: none}
|
119 |
+
.sorter .sort-by{padding-right: 0}
|
120 |
/* catalog product view */
|
121 |
.products-list .product-shop{margin-left: 0}
|
122 |
.sorter .sort-by label{display: none}
|
135 |
#product-review-table input[type="radio"]{margin:0; }
|
136 |
|
137 |
.usp .icon{display: none}
|
138 |
+
.bestsale h3, .newarrival h3{font-size: 20px !important;}
|
139 |
+
|
140 |
+
|
141 |
+
/*homepage*/
|
142 |
+
.mainblocks{display: none}
|
143 |
+
|
144 |
}
|
skin/frontend/default/responsive/css/styles.css
CHANGED
@@ -67,16 +67,16 @@ ul,ol { list-style:none; }
|
|
67 |
.page-print { background:#fff; padding:25px 30px; text-align:left; }
|
68 |
.page-empty { background:#fff; padding:20px; text-align:left; }
|
69 |
.page-popup { background:#fff; padding:25px 30px; text-align:left; }
|
70 |
-
.main { /*width:900px; margin:0 auto; min-height:400px;
|
71 |
|
72 |
/* Base Columns */
|
73 |
.col-left { /*float:left; width:195px; padding:0 0 1px; */}
|
74 |
.col-left.sidebar{padding-left: 0px}
|
75 |
.col-main { /*float:left; width:685px; padding:0 0 1px; */}
|
76 |
-
.col-right {
|
77 |
|
78 |
-
/* 1 Column Layout
|
79 |
-
.col1-layout .col-main { float:none; width:auto; }
|
80 |
|
81 |
/* 2 Columns Layout */
|
82 |
.col2-left-layout .col-main { /*float:right; */}
|
@@ -84,7 +84,7 @@ ul,ol { list-style:none; }
|
|
84 |
|
85 |
/* 3 Columns Layout */
|
86 |
.col3-layout .col-main {/* width:475px; margin-left:17px; */}
|
87 |
-
.col3-layout .col-wrapper {
|
88 |
.col3-layout .col-wrapper .col-main { /*float:right;*/ }
|
89 |
|
90 |
/* Content Columns */
|
@@ -114,9 +114,6 @@ select option { padding-right:10px; }
|
|
114 |
select.multiselect option { border-bottom:1px solid #b6b6b6; padding:2px 5px; }
|
115 |
select.multiselect option:last-child { border-bottom:0; }
|
116 |
textarea { overflow:auto; }
|
117 |
-
input.radio {/* margin-right:3px; */}
|
118 |
-
input.checkbox {/* margin-right:3px; */}
|
119 |
-
input.qty { width:2.5em !important; }
|
120 |
button.button::-moz-focus-inner { /*padding:0; border:0; */} /* FF Fix */
|
121 |
/*button.button { -webkit-border-fit:lines; } *//* <- Safari & Google Chrome Fix */
|
122 |
/*button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }*/
|
@@ -129,8 +126,7 @@ button.btn-checkout span span { background-position:100% 0; padding:0 25px 0 16p
|
|
129 |
button.btn-checkout.no-checkout span { background-position:0 100%; color:#b8baba; }
|
130 |
button.btn-checkout.no-checkout span span { background-position:100% 100%; }
|
131 |
|
132 |
-
p.control input.checkbox,
|
133 |
-
p.control input.radio { margin-right:6px; }
|
134 |
/* Form Highlight */
|
135 |
input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
|
136 |
/*.highlight { background:#efefef; }*/
|
@@ -139,7 +135,7 @@ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
|
|
139 |
/* Grouped fields */
|
140 |
/*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
|
141 |
.form-list li { margin:0 0 8px; }
|
142 |
-
.form-list label { float:left;
|
143 |
.form-list label.required {}
|
144 |
.form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
|
145 |
.form-list li.control label { float:none; }
|
@@ -151,8 +147,8 @@ input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
|
|
151 |
.form-list .field { /*float:left; width:275px; */}
|
152 |
.form-list input.input-text {/* width:254px; */}
|
153 |
.form-list textarea { /*width:254px; */height:10em; }
|
154 |
-
.form-list select {/* width:260px; */}
|
155 |
-
.cart-collaterals .form-list select{width: 80
|
156 |
.form-list li.wide .input-box { /*width:535px; */}
|
157 |
.form-list li.wide input.input-text {/* width:529px; */}
|
158 |
.form-list li.wide textarea { /*width:529px; */}
|
@@ -282,7 +278,7 @@ p.required { font-size:11px; text-align:right; color:#EB340A; }
|
|
282 |
.success { color:#3d6611; font-weight:bold; }
|
283 |
.error { color:#df280a; font-weight:bold; }
|
284 |
.notice { color:#e26703; }
|
285 |
-
|
286 |
.messages,
|
287 |
.messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
|
288 |
.messages { width:100%; overflow:hidden; }
|
@@ -293,12 +289,15 @@ p.required { font-size:11px; text-align:right; color:#EB340A; }
|
|
293 |
.note-msg,
|
294 |
.notice-msg { border-style:solid !important; border-width:1px !important; background-position:10px 9px !important; background-repeat:no-repeat !important; min-height:24px !important; padding:8px 8px 8px 32px !important; font-size:11px !important; font-weight:bold !important; }
|
295 |
.error-msg { border-color:#f16048; background-color:#faebe7; background-image:url(../images/i_msg-error.gif); color:#df280a; }
|
296 |
-
.success-msg { border-color:#446423; background-color:#eff5ea;
|
297 |
.note-msg,
|
298 |
-
.notice-msg { border-color:#fcd344; background-color:#fafaec;
|
299 |
-
|
|
|
|
|
300 |
/* BreadCrumbs */
|
301 |
-
.breadcrumbs { font-size:11px;
|
|
|
302 |
.breadcrumbs li { display:inline; }
|
303 |
.breadcrumbs li strong { font-weight:bold; }
|
304 |
|
@@ -329,6 +328,7 @@ p.required { font-size:11px; text-align:right; color:#EB340A; }
|
|
329 |
/*.pager .pages ol { display:inline; }
|
330 |
.pager .pages li { display:inline; margin:0 2px; }*/
|
331 |
.pager .pages .current {}
|
|
|
332 |
.pager .amount{text-align: left; float:left}
|
333 |
.pager .pages{text-align: right; float:right}
|
334 |
.pager li>a, .pager li>span{border-radius: 0}
|
@@ -446,7 +446,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
446 |
|
447 |
.link-cart { color:#dc6809 !important; font-weight:bold; }
|
448 |
.link-wishlist { color:#dc6809 !important; font-weight:bold; }
|
449 |
-
.link-reorder {
|
450 |
.link-compare { font-weight:bold; }
|
451 |
.link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px;*/ font-weight:bold; color:#dc6809; }
|
452 |
.link-rss {/* background:url(../images/i_rss.gif) 0 2px no-repeat; */ padding-left:18px; line-height:14px; white-space:nowrap; }
|
@@ -485,13 +485,16 @@ tr.summary-details-excluded { font-style:italic; }
|
|
485 |
/* Header ================================================================================ */
|
486 |
.logo { float:left; }
|
487 |
.header-container { /*margin-bottom:10px; border-top:5px solid #0d2131; border-bottom:1px solid #415966; background:url(../images/bkg_header.jpg) 50% 0 repeat; */ }
|
488 |
-
|
489 |
/*.header .logo { float:left; margin:3px 0 10px 12px; text-decoration:none !important; }*/
|
490 |
.header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
|
491 |
/*.header h1.logo { margin:0; }*/
|
492 |
.header .quick-access { /*float:right; width:600px; padding:28px 10px 0 0; */}
|
493 |
-
.header .
|
|
|
494 |
.header .welcome-msg a { color:#ebbc58; }
|
|
|
|
|
495 |
.header .form-search { /*position:absolute; top:0; right:29px; width:315px; height:30px; background:url(../images/bkg_form-search.gif) 0 0 no-repeat; padding:1px 0 0 16px; */}
|
496 |
.header .form-search label { float:left; width:24px; height:21px; text-align:left; text-indent:-999em; overflow:hidden; }
|
497 |
.header .form-search input.input-text {/* float:left; padding: 10px; width: 98%; margin-top: 15px; border-color:#5c7989; width:209px; margin-right:4px; */}
|
@@ -506,12 +509,11 @@ tr.summary-details-excluded { font-style:italic; }
|
|
506 |
.header .form-search .search-autocomplete li.selected { background-color:#f7e8dd; }
|
507 |
.header #search_mini_form .caret{margin-left:7px}
|
508 |
.header #search_mini_form ul li a{text-decoration:none; text-align:left}
|
509 |
-
|
510 |
-
.header .form-language
|
511 |
-
.header .form-language
|
512 |
-
.header .
|
513 |
-
.header .links {
|
514 |
-
.header .links li { font-size:11px;/* float:left; background:url(../images/bkg_pipe1.gif) 100% 60% no-repeat;*/ padding:10px 15px 0 0px; }
|
515 |
.header .links li .item-count{color: #e26703}
|
516 |
.header-container .top-container { clear:both; padding:5px 10px 0 12px; text-align:right; }
|
517 |
.header-container .top-container a { font-size:11px; color:#ebbc58; }
|
@@ -523,6 +525,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
523 |
#nav li ul li a{text-transform: none; text-align: left}
|
524 |
#nav-parentlink{color: #e26703}
|
525 |
.navbar-header .navbar-brand{text-decoration: none;}
|
|
|
526 |
/* All Levels */ /* Style consistent throughout all nav levels */
|
527 |
/*#nav li { position:relative; text-align:left; }
|
528 |
#nav li.over { z-index:998; }
|
@@ -576,24 +579,24 @@ tr.summary-details-excluded { font-style:italic; }
|
|
576 |
|
577 |
/* Sidebar =============================================================================== */
|
578 |
.block { border:1px solid #c4c1bc; margin:0 0 15px; }
|
579 |
-
.block .block-title { /*background:url(../images/bkg_block-title.gif) 0 0 repeat-x
|
580 |
.block .block-title strong { display:block; font:bold 12px/16px Arial, Helvetica, sans-serif; min-height:16px; padding:1px 0 1px; text-transform:uppercase; color:#e26703; }
|
581 |
.block .block-title strong span {}
|
582 |
.block .block-title a { text-decoration:none !important; }
|
583 |
-
.block .block-subtitle { margin:0; padding:5px 9px; font-size:1em; font-weight:bold; color:#0a263c; }
|
584 |
-
.block .block-content { background:#f8f7f5; }
|
585 |
-
.block .block-content li.item { padding:7px
|
586 |
.block .block-content .product-name { color:#1e7ec8; }
|
587 |
.block .btn-remove,
|
588 |
.block .btn-edit { float:right; margin:1px 0 2px 5px; }
|
589 |
-
.block .actions { background:#dee5e8; padding:6px 9px; text-align:right; }
|
590 |
.block .actions a { float:left; }
|
591 |
.block .actions button.button { float:right; }
|
592 |
-
.block .empty { margin:0; padding:5px 9px; }
|
593 |
-
|
594 |
.block li.odd { background-color:#f4f3f3; }
|
595 |
.block li.even { background-color:#fafafa; }
|
596 |
-
|
597 |
/* Mini Blocks */
|
598 |
.block-cart,
|
599 |
.block-wishlist,
|
@@ -606,7 +609,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
606 |
.block-compared,
|
607 |
.block-related,
|
608 |
.block-tags,
|
609 |
-
.block-login { font-size:11px; line-height:1.25; border: 1px solid #c4c6c8; margin-bottom: 20px}
|
610 |
.block-cart .block-title strong,
|
611 |
.block-wishlist .block-title strong,
|
612 |
.block-subscribe .block-title strong,
|
@@ -626,11 +629,11 @@ tr.summary-details-excluded { font-style:italic; }
|
|
626 |
.block-cart .mini-products-list .product-details .nobr small { word-wrap:break-word; }
|
627 |
.block-cart .mini-products-list .product-details .nobr { white-space:normal !important; }
|
628 |
|
629 |
-
/* Block: Account
|
630 |
.block-account { border:1px solid #bbb; margin-bottom:20px}
|
631 |
.block-account .block-title { background:#fc9d36; border:0; padding:3px 10px; }
|
632 |
.block-account .block-title strong { font-size:13px; color:#fff; }
|
633 |
-
.block-account .block-content { background:#fbfaf6; padding:7px 10px 7px; }
|
634 |
.block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
|
635 |
.block-account .block-content li a:hover { color:#ea7900; }
|
636 |
.block-account .block-content li.last a { border-bottom:0; }
|
@@ -647,18 +650,18 @@ tr.summary-details-excluded { font-style:italic; }
|
|
647 |
/* Block: Layered Navigation */
|
648 |
.block-layered-nav { border:0; margin-bottom:20px}
|
649 |
.block-layered-nav .block-title { border:0; padding:0; height:24px; /*background:url(../images/bkg_block-layered-title.gif) 0 0 no-repeat; */ text-indent:-999em; overflow:hidden; display: none}
|
650 |
-
.block-layered-nav .block-subtitle { line-height:1.35; background:#d5e8ff; padding:3px 9px; border:1px solid #b9ccdd; border-width:1px 0; text-transform:uppercase;
|
651 |
-
.block-layered-nav .block-content {
|
652 |
.block-layered-nav dt {/* background:url(../images/bkg_block-layered-dt.gif) 9px 11px no-repeat;*/ padding:7px 10px 0 7px; font-weight:bold; text-transform:uppercase; }
|
653 |
.block-layered-nav dd { padding:0 7px 7px; /*background:url(../images/bkg_block-layered-dd.gif) 0 100% repeat-x; */}
|
654 |
.block-layered-nav dd.last { background:none; }
|
655 |
-
.block-layered-nav .currently li {
|
656 |
.block-layered-nav .currently .label { font-weight:bold; padding-left:15px; /* background:url(../images/bkg_block-layered-label.gif) 0 4px no-repeat;*/ text-transform:uppercase; display:inline-block; vertical-align:top; }
|
657 |
.block-layered-nav .currently .value { display:inline-block; vertical-align:top; color: #e26703 }
|
658 |
.block-layered-nav .currently .btn-previous,
|
659 |
.block-layered-nav .currently .btn-remove {/* position:absolute; right:4px; top:9px; margin:0; */}
|
660 |
.block-layered-nav .currently .btn-previous { right:17px; }
|
661 |
-
.block-layered-nav .actions {
|
662 |
.block-layered-nav .actions a { float:none; }
|
663 |
|
664 |
/* Block: Cart */
|
@@ -667,9 +670,9 @@ tr.summary-details-excluded { font-style:italic; }
|
|
667 |
.block-cart .summary { background:#fff; padding:2px 8px 8px; margin:-1px 0 0; position:relative; z-index:1; }
|
668 |
.block-cart .amount { margin:0; }
|
669 |
.block-cart .amount a { font-weight:bold; }
|
670 |
-
.block-cart .subtotal { margin:5px 0 0; padding:2px 0; background:#
|
671 |
.block-cart .subtotal .price { font-weight:bold; }
|
672 |
-
.block-cart .actions { border-bottom:1px solid #c2c2c2; }
|
673 |
.block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
|
674 |
.block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 8px 0; }
|
675 |
|
@@ -716,10 +719,9 @@ tr.summary-details-excluded { font-style:italic; }
|
|
716 |
/* Block: Poll */
|
717 |
.block-poll .block-title strong {/* background-image:url(../images/i_block-poll.gif); */}
|
718 |
.block-poll .block-subtitle { font-size:14px; }
|
719 |
-
.block-poll
|
720 |
-
.block-poll input.radio {
|
721 |
-
.block-poll
|
722 |
-
.block-poll li { padding:3px 9px; }
|
723 |
.block-poll .actions { margin:5px 0 0; }
|
724 |
.block-poll button.button span { border-color:#406a83; background:#618499; }
|
725 |
.block-poll .answer { font-weight:bold; }
|
@@ -730,15 +732,14 @@ tr.summary-details-excluded { font-style:italic; }
|
|
730 |
.block-gr-search button.button span { border-color:#406a83; background:#618499; }
|
731 |
|
732 |
/* Block: Tags */
|
733 |
-
.block-tags .block-
|
734 |
-
.block-tags .block-content
|
735 |
-
.block-tags .block-content a { color:#1b2d3b; }
|
736 |
.block-tags .actions { text-align:right; }
|
737 |
.block-tags .actions a { float:none; }
|
738 |
|
739 |
/* Block: Subscribe */
|
740 |
.block-subscribe{border:0; text-align:left}
|
741 |
-
.block-subscribe .block-content {
|
742 |
.block-subscribe .block-title {border-bottom:0}
|
743 |
.block-subscribe label { font-weight:bold; color:#666; }
|
744 |
.block-subscribe input.input-text {/* display:block; width:167px; margin:3px 0;*/ }
|
@@ -779,18 +780,17 @@ tr.summary-details-excluded { font-style:italic; }
|
|
779 |
.category-products {}
|
780 |
|
781 |
/* View Type: Grid */
|
782 |
-
/*.products-grid { border-bottom:1px solid #d9ddd3; background:url(../images/bkg_grid.gif) 0 0 repeat; position:relative; }*/
|
783 |
.products-grid.last { border-bottom:0; }
|
784 |
-
.products-grid li.item {/* float:left; width:138px; */padding:12px 10px
|
785 |
.products-grid .product-image { /*display:block; width:135px; height:135px; margin:0 0 10px; */}
|
786 |
-
.products-grid .product-name {
|
787 |
.products-grid .product-name a { color:#203548; }
|
788 |
.products-grid .price-box { margin:5px 0; }
|
789 |
.products-grid .availability { line-height:21px; }
|
790 |
-
|
791 |
.products-grid .add-to-links li{float: left; margin-right: 5px}
|
792 |
.col2-left-layout .products-grid,
|
793 |
-
.col2-right-layout .products-grid {/* width:632px;
|
794 |
.col1-layout .products-grid {/* width:790px; */margin:0 auto; }
|
795 |
|
796 |
/* View Type: List */
|
@@ -798,7 +798,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
798 |
.products-list li.item.last { border-bottom:0; }
|
799 |
.products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
|
800 |
.products-list .product-shop { margin-left:150px; }
|
801 |
-
.products-list .product-name { margin:0 0 5px; font-
|
802 |
.products-list .product-name a { color:#203548; }
|
803 |
.products-list .price-box { float:left; margin:3px 13px 5px 0; }
|
804 |
.products-list .availability { float:left; margin:3px 0 0; }
|
@@ -827,7 +827,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
827 |
|
828 |
.ratings-table th,
|
829 |
.ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
|
830 |
-
.ratings-table th {
|
831 |
|
832 |
/* Availability */
|
833 |
.availability { margin:0; }
|
@@ -861,27 +861,27 @@ tr.summary-details-excluded { font-style:italic; }
|
|
861 |
.price { white-space:nowrap !important; }
|
862 |
|
863 |
.price-box { margin:5px 0; }
|
864 |
-
.price-box .price {
|
865 |
|
866 |
/* Regular price */
|
867 |
.regular-price { color:#c76200; }
|
868 |
-
.regular-price .price {
|
869 |
.block .regular-price,
|
870 |
-
.block .regular-price .price
|
871 |
|
872 |
/* Old price */
|
873 |
.old-price { margin:0; }
|
874 |
-
.old-price .price-label { white-space:nowrap; color:#999; }
|
875 |
.old-price .price { font-weight:bold; color:#c76200; text-decoration:line-through; }
|
876 |
|
877 |
/* Special price */
|
878 |
.special-price { margin:0; padding:3px 0; }
|
879 |
-
.special-price .price-label {
|
880 |
-
.special-price .price { font-size:13px;
|
881 |
|
882 |
/* Minimal price (as low as) */
|
883 |
.minimal-price { margin:0; }
|
884 |
-
|
885 |
|
886 |
.minimal-price-link { display:block; }
|
887 |
.minimal-price-link .label {color:#1e7ec8;}
|
@@ -899,7 +899,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
899 |
|
900 |
/* Configured price */
|
901 |
.configured-price { margin:0; }
|
902 |
-
.configured-price .price-label {
|
903 |
.configured-price .price { font-weight:bold; }
|
904 |
|
905 |
/* FPT */
|
@@ -918,18 +918,18 @@ tr.summary-details-excluded { font-style:italic; }
|
|
918 |
|
919 |
/* Price range */
|
920 |
.price-from { margin:0; }
|
921 |
-
.price-from .price-label {
|
922 |
|
923 |
.price-to { margin:0; }
|
924 |
-
.price-to .price-label {
|
925 |
|
926 |
/* Price notice next to the options */
|
927 |
.price-notice {/* padding-left:10px;*/ color:#999; }
|
928 |
.price-notice .price { color:#ff0000; }
|
929 |
|
930 |
/* Price as configured */
|
931 |
-
.price-as-configured { margin:0; }
|
932 |
-
.price-as-configured .price-label {
|
933 |
|
934 |
.price-box-bundle { padding:0 0 10px 0; }
|
935 |
.price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
|
@@ -951,31 +951,34 @@ tr.summary-details-excluded { font-style:italic; }
|
|
951 |
.add-to-links .separator { display:none; }
|
952 |
|
953 |
/* Add to Cart */
|
954 |
-
.add-to-cart label {
|
955 |
-
|
956 |
-
.add-to-cart button.button { float:left; }
|
957 |
.add-to-cart .paypal-logo { clear:left; margin:0; text-align:right; }
|
958 |
.add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
|
959 |
.product-view .add-to-cart .paypal-logo { margin:0; }
|
960 |
|
961 |
/* Add to Links + Add to Cart */
|
962 |
.add-to-box { margin:10px 0; }
|
963 |
-
.add-to-box .add-to-cart { float:left; }
|
964 |
.add-to-box .or { float:left; font-weight:bold; margin:0 7px; color:#666; }
|
965 |
.add-to-box .add-to-links { float:left; margin:0; font-size:12px !important; line-height:1.25 !important; text-align:left !important; }
|
966 |
.add-to-box .add-to-links li { display:block !important; }
|
967 |
.add-to-box .add-to-links li .separator {/* display:none !important; */}
|
968 |
|
969 |
|
970 |
-
|
971 |
|
972 |
-
|
973 |
.product-essential h2 { font:bold 13px/1.35 Arial, Helvetica, sans-serif; }
|
974 |
-
|
975 |
-
.product-collateral {
|
976 |
-
.product-collateral h2 {
|
977 |
-
|
978 |
-
|
|
|
|
|
|
|
979 |
/* Product Images */
|
980 |
.product-view .product-img-box {/* float:left; width:267px; */}
|
981 |
.col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
|
@@ -1002,12 +1005,13 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1002 |
|
1003 |
/* Product Shop */
|
1004 |
.product-view .product-shop {/* float:right; width:330px; */}
|
1005 |
-
.col1-layout .product-view .product-shop { float:right; width:545px; }
|
1006 |
.col3-layout .product-view .product-shop { float:none; width:auto; }
|
1007 |
.product-view .product-shop .product-name { margin:0 0 5px; }
|
1008 |
.product-view .product-shop .product-name h1 { margin:0; font:bold 15px/1.35 Arial, Helvetica, sans-serif; }
|
1009 |
.product-view .product-shop .availability { margin:10px 0; }
|
1010 |
-
.product-view .product-shop .short-description { margin:10px 0;
|
|
|
1011 |
.product-view .product-shop .price-box { margin:10px 0; }
|
1012 |
.product-view .product-shop .add-to-links { margin:0; }
|
1013 |
.product-view .product-shop .add-to-links { font-size:12px; text-align:right; }
|
@@ -1062,6 +1066,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1062 |
|
1063 |
/* Grouped Product */
|
1064 |
.product-view .grouped-items-table .price-box { margin:0; padding:0; }
|
|
|
1065 |
|
1066 |
/* Block: Description */
|
1067 |
.product-view .box-description {}
|
@@ -1084,18 +1089,20 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1084 |
.box-up-sell .jcarousel-prev, .box-up-sell .jcarousel-next{cursor: pointer; text-decoration: none; color: #203548;}
|
1085 |
.box-up-sell .jcarousel-prev:hover, .box-up-sell .jcarousel-next:hover{color:#c76200}
|
1086 |
/* Block: Tags */
|
1087 |
-
.product-view .box-tags {
|
1088 |
.product-view .box-tags h3 { font-size:13px; }
|
1089 |
.product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
|
1090 |
.product-view .box-tags .product-tags li { display:inline;/* background:url(../images/bkg_pipe3.gif) 100% 4px no-repeat;*/ padding:0 7px 0 4px; }
|
1091 |
.product-view .box-tags .product-tags li.first { padding-left:0; }
|
1092 |
.product-view .box-tags .product-tags li.last { background:none; padding-right:0; }
|
1093 |
-
.product-view .box-tags .form-add label { display:block; font-size:13px; font-weight:bold; margin:0 0 5px; color:#0a263c
|
1094 |
-
.product-view .box-tags .form-add .input-box { float:left;
|
1095 |
.product-view .box-tags .form-add input.input-text { /*width:299px;*/ }
|
1096 |
.product-view .box-tags .form-add button.button span {/* border-color:#406a83; background:#618499; */}
|
1097 |
-
.product-view .box-tags .note { margin:
|
1098 |
|
|
|
|
|
1099 |
/* Block: Reviews
|
1100 |
.product-view .box-reviews dl { margin:15px 0; }
|
1101 |
.product-view .box-reviews dt a,
|
@@ -1114,16 +1121,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1114 |
|
1115 |
*/
|
1116 |
/* Send a Friend */
|
1117 |
-
.send-friend
|
1118 |
-
.send-friend .form-list li { margin-right:-15px; }
|
1119 |
-
.send-friend .form-list li p { margin:0 15px 0 0; }
|
1120 |
-
.send-friend .form-list .field { width:315px; }
|
1121 |
-
.send-friend .form-list .input-box { width:300px; }
|
1122 |
-
.send-friend .form-list input.input-text,
|
1123 |
-
.send-friend .form-list textarea { width:294px; }
|
1124 |
-
.send-friend .form-list li.wide .input-box { width:612px; }
|
1125 |
-
.send-friend .form-list li.wide textarea { width:609px; }
|
1126 |
-
.send-friend .buttons-set .limit { float:right; margin:0 7px 0 0; font-size:11px; line-height:21px; }
|
1127 |
/* ======================================================================================= */
|
1128 |
|
1129 |
|
@@ -1132,14 +1130,14 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1132 |
.product-name a { color:#1e7ec8; text-decoration: none}
|
1133 |
.product-name a:hover{color: #434343}
|
1134 |
/* Product Tags */
|
1135 |
-
.tags-list { display:block;
|
1136 |
.tags-list li { display:inline !important; margin:0 4px 0 0; }
|
1137 |
.tags-list li a { color:#1b2d3b; }
|
1138 |
|
1139 |
/* Advanced Search */
|
1140 |
.advanced-search .form-list label { width:160px; padding-right:10px; }
|
1141 |
.advanced-search .form-list .input-box,
|
1142 |
-
.advanced-search .form-list .input-range { float:left; clear:none; }
|
1143 |
.advanced-search-amount { margin:0 0 10px; }
|
1144 |
.advanced-search-summary { margin:10px 0; border:1px solid #e9d7c9; background:#fff6f1; padding:10px; }
|
1145 |
.advanced-search-summary ul { float:left; width:49%; }
|
@@ -1199,16 +1197,19 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1199 |
.btncartgroup{margin-top:15px;}
|
1200 |
.btncartgroup button{margin-bottom:7px;}
|
1201 |
.cart .crosssell { border:1px solid #cec3b6; background:#fafaec; padding:12px 15px; }
|
1202 |
-
.cart .crosssell h2 { font-size:
|
1203 |
.cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #d0cdc9; }
|
1204 |
.cart .crosssell .product-details { margin-left:90px; }
|
1205 |
.cart .crosssell .product-name { font-weight:bold; }
|
1206 |
-
.cart .crosssell li.item { margin:
|
1207 |
.cart .crosssell .link-compare { font-weight:normal; }
|
|
|
1208 |
|
1209 |
/* Discount Codes & Estimate Shipping and Tax Boxes */
|
1210 |
.cart .discount,
|
1211 |
.cart .shipping { border:1px solid #d0cbc1; background:#fff; padding:12px 15px; margin:0 0 18px; }
|
|
|
|
|
1212 |
.cart .discount h2,
|
1213 |
.cart .shipping h2 { background-position:0 0; background-repeat:no-repeat; font:bold 13px/16px Arial, Helvetica, sans-serif; /*padding:0 0 0 21px; */color:#e26703; text-transform:uppercase; }
|
1214 |
.cart .discount button span,
|
@@ -1260,7 +1261,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1260 |
.sp-methods dt { margin:13px 0 5px; font-weight:bold; }
|
1261 |
.sp-methods dd {}
|
1262 |
.sp-methods dd li { margin:5px 0; }
|
1263 |
-
.sp-methods label { font-weight:
|
1264 |
.sp-methods .price { font-weight:bold; }
|
1265 |
.sp-methods .form-list { padding-left:20px; }
|
1266 |
.sp-methods .form-list li { margin:0 0 8px; }
|
@@ -1323,7 +1324,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1323 |
.opc .checkout-agreements li { margin:20px 0 0; }
|
1324 |
.opc .checkout-agreements .agreement-content { background-color:#fff; border-color:#e4e4e4; padding:5px; }
|
1325 |
.opc .checkout-agreements .agree { padding-left:6px; }
|
1326 |
-
|
1327 |
/* Centinel */
|
1328 |
.centinel {}
|
1329 |
.centinel .authentication { border:1px solid #ddd; background:#fff; }
|
@@ -1350,13 +1351,13 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1350 |
/********** Common Checkout Styles > */
|
1351 |
|
1352 |
/* One Page Checkout */
|
1353 |
-
.block-progress { border:0; margin:0; }
|
1354 |
-
.block-progress .block-title { background:none; border:0; padding:0; margin:0 0 5px; }
|
1355 |
-
.block-progress .block-title strong { font-size:13px; color:#0a263c; }
|
1356 |
-
.block-progress .block-content { background:none; }
|
1357 |
-
.block-progress dt {
|
1358 |
-
.block-progress dd { background:#
|
1359 |
-
.block-progress dt.complete { margin:0; background:#
|
1360 |
.block-progress dd.complete {}
|
1361 |
.block-progress p { margin:0; }
|
1362 |
.block-progress .cards-list dt { background:none; border:0 none; color:inherit; font-size:12px; margin:5px 0; padding:0; }
|
@@ -1383,7 +1384,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1383 |
|
1384 |
.opc .step-title { border-width:0 1px; border-style:solid; border-color:#fff #d9dde3 #d9dde3; background:#eee; padding:4px 8px 6px; text-align:right; }
|
1385 |
.opc .step-title .number { float:left; background:#fff; border:1px solid #fff; padding:0 4px; margin:0 5px 0 0; font:bold 11px/14px arial, helvetica, sans-serif; color:#999; }
|
1386 |
-
.opc .step-title h2 { float:left; margin:0; font:
|
1387 |
.opc .step-title a { display:none; float:right; font-size:11px; line-height:16px; }
|
1388 |
|
1389 |
.opc .allow .step-title { background:#d0dce1; border:1px solid #a3aeb3; border-bottom:0; color:#a4b3b9; cursor:pointer; }
|
@@ -1396,7 +1397,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1396 |
.opc .active .step-title h2 { color:#f18200; }
|
1397 |
/*.opc .active .step-title a { display:none; }*/
|
1398 |
|
1399 |
-
.opc .step { border:1px solid #
|
1400 |
.opc .step .tool-tip { right:30px; }
|
1401 |
#billing-address-select, #shipping-address-select{width:100%}
|
1402 |
|
@@ -1529,7 +1530,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1529 |
|
1530 |
/* General Box */
|
1531 |
.box-account { background:#fff; border:1px solid #ccc; border-color:#ccc #999 #999 #ccc; padding:15px; margin: 0 0 20px; }
|
1532 |
-
.box-account .box-head { border-bottom:1px solid #d9dde3; margin:0 0 10px; text-align:right; }
|
1533 |
.box-account .box-head h2 { float:left; margin:0; font-size:13px; font-weight:bold; text-transform:uppercase; background-position:0 0; background-repeat:no-repeat; /*padding-left:21px;*/ color:#e65505; }
|
1534 |
|
1535 |
.dashboard .box .box-title {/* background:url(../images/bkg_divider1.gif) 0 100% repeat-x; */ padding:0 0 2px; margin:0 0 8px; text-align:right; }
|
@@ -1696,19 +1697,16 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1696 |
|
1697 |
|
1698 |
/* Footer ================================================================================ */
|
1699 |
-
|
1700 |
.footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
|
1701 |
.footer .store-switcher label { font-weight:bold; vertical-align:middle; }
|
1702 |
.footer .store-switcher select { padding:0; vertical-align:middle; }
|
1703 |
.footer a:hover { text-decoration:underline;}
|
1704 |
-
/*.footer .bugs { margin:13px 0 0; color:<?php echo $footer_link_color ?>;}
|
1705 |
-
.footer .bugs a { color:<?php echo $footer_link_color ?>; text-decoration:underline; font-size: <?php echo $footer_link_size ?>}
|
1706 |
-
.footer .bugs a:hover { text-decoration:none; } */
|
1707 |
.footer address { margin:0 0 20px;}
|
1708 |
.footer address a:hover { text-decoration:none; }
|
1709 |
.footer ul { display:inline; }
|
1710 |
.footer ul.links { display:block; }
|
1711 |
-
.footer li { display:inline
|
1712 |
.footer li.last { background:none !important; padding-right:0 !important; }
|
1713 |
.footer-container .bottom-container { margin:0 0 5px; }
|
1714 |
/* ======================================================================================= */
|
@@ -1849,7 +1847,7 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1849 |
#divnetworkshare i{margin-right: 5px}
|
1850 |
|
1851 |
/* popup cart page */
|
1852 |
-
#popupcart{position: absolute; right: 0; z-index:
|
1853 |
|
1854 |
/* pagination catalog / category */
|
1855 |
.pagination{margin: 0}
|
@@ -1863,4 +1861,5 @@ tr.summary-details-excluded { font-style:italic; }
|
|
1863 |
#scroll-div{display: none; position:fixed; bottom:20px; right:5%; z-index: 100}
|
1864 |
#scroll-div a:hover{color: #ccc; cursor:pointer}
|
1865 |
|
1866 |
-
.dropdown-menu.pull-right i{padding-right: 10px;}
|
|
67 |
.page-print { background:#fff; padding:25px 30px; text-align:left; }
|
68 |
.page-empty { background:#fff; padding:20px; text-align:left; }
|
69 |
.page-popup { background:#fff; padding:25px 30px; text-align:left; }
|
70 |
+
.main { /*width:900px; margin:0 auto; min-height:400px; padding:0px 15px 30px; background:#fffff;*/ text-align:left; }
|
71 |
|
72 |
/* Base Columns */
|
73 |
.col-left { /*float:left; width:195px; padding:0 0 1px; */}
|
74 |
.col-left.sidebar{padding-left: 0px}
|
75 |
.col-main { /*float:left; width:685px; padding:0 0 1px; */}
|
76 |
+
.col-right { padding-left:0; padding-right:0}
|
77 |
|
78 |
+
/* 1 Column Layout
|
79 |
+
.col1-layout .col-main { float:none; width:auto; }*/
|
80 |
|
81 |
/* 2 Columns Layout */
|
82 |
.col2-left-layout .col-main { /*float:right; */}
|
84 |
|
85 |
/* 3 Columns Layout */
|
86 |
.col3-layout .col-main {/* width:475px; margin-left:17px; */}
|
87 |
+
.col3-layout .col-wrapper {padding-left:0; padding-right:0 }
|
88 |
.col3-layout .col-wrapper .col-main { /*float:right;*/ }
|
89 |
|
90 |
/* Content Columns */
|
114 |
select.multiselect option { border-bottom:1px solid #b6b6b6; padding:2px 5px; }
|
115 |
select.multiselect option:last-child { border-bottom:0; }
|
116 |
textarea { overflow:auto; }
|
|
|
|
|
|
|
117 |
button.button::-moz-focus-inner { /*padding:0; border:0; */} /* FF Fix */
|
118 |
/*button.button { -webkit-border-fit:lines; } *//* <- Safari & Google Chrome Fix */
|
119 |
/*button.button { overflow:visible; width:auto; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }*/
|
126 |
button.btn-checkout.no-checkout span { background-position:0 100%; color:#b8baba; }
|
127 |
button.btn-checkout.no-checkout span span { background-position:100% 100%; }
|
128 |
|
129 |
+
p.control input.checkbox, p.control input.radio { margin-right:6px; display: inline-block !important}
|
|
|
130 |
/* Form Highlight */
|
131 |
input.input-text:focus,select:focus,textarea:focus { background-color:#edf7fd; }
|
132 |
/*.highlight { background:#efefef; }*/
|
135 |
/* Grouped fields */
|
136 |
/*.form-list { width:535px; margin:0 auto; overflow:hidden; }*/
|
137 |
.form-list li { margin:0 0 8px; }
|
138 |
+
.form-list label { float:left; font-weight:normal; position:relative; z-index:0; }
|
139 |
.form-list label.required {}
|
140 |
.form-list label.required em { float:right; font-style:normal; color:#eb340a; position:absolute; top:0; right:-8px; }
|
141 |
.form-list li.control label { float:none; }
|
147 |
.form-list .field { /*float:left; width:275px; */}
|
148 |
.form-list input.input-text {/* width:254px; */}
|
149 |
.form-list textarea { /*width:254px; */height:10em; }
|
150 |
+
.form-list select {/* width:260px; */ width: 100%}
|
151 |
+
.cart-collaterals .form-list select{/*width: 80%*/}
|
152 |
.form-list li.wide .input-box { /*width:535px; */}
|
153 |
.form-list li.wide input.input-text {/* width:529px; */}
|
154 |
.form-list li.wide textarea { /*width:529px; */}
|
278 |
.success { color:#3d6611; font-weight:bold; }
|
279 |
.error { color:#df280a; font-weight:bold; }
|
280 |
.notice { color:#e26703; }
|
281 |
+
/*
|
282 |
.messages,
|
283 |
.messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
|
284 |
.messages { width:100%; overflow:hidden; }
|
289 |
.note-msg,
|
290 |
.notice-msg { border-style:solid !important; border-width:1px !important; background-position:10px 9px !important; background-repeat:no-repeat !important; min-height:24px !important; padding:8px 8px 8px 32px !important; font-size:11px !important; font-weight:bold !important; }
|
291 |
.error-msg { border-color:#f16048; background-color:#faebe7; background-image:url(../images/i_msg-error.gif); color:#df280a; }
|
292 |
+
.success-msg { border-color:#446423; background-color:#eff5ea; color:#3d6611; }
|
293 |
.note-msg,
|
294 |
+
.notice-msg { border-color:#fcd344; background-color:#fafaec; color:#3d6611; }*/
|
295 |
+
.success-msg{background-color: #dff0d8; border-color: #d6e9c6; color: #3c763d; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;}
|
296 |
+
.error-msg{background-color: #fcf8e3; border-color: #faebcc; color: #8a6d3b; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;}
|
297 |
+
.notice-msg, .note-msg{background-color: #d9edf7; border-color: #bce8f1; color: #31708f; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;}
|
298 |
/* BreadCrumbs */
|
299 |
+
.breadcrumbs { font-size:11px; margin:15px 0px 0 30px; text-align:left; background:none}
|
300 |
+
.breadcrumb{background:none; text-align:left; margin-top:10px; padding:10px 0 0 15px }
|
301 |
.breadcrumbs li { display:inline; }
|
302 |
.breadcrumbs li strong { font-weight:bold; }
|
303 |
|
328 |
/*.pager .pages ol { display:inline; }
|
329 |
.pager .pages li { display:inline; margin:0 2px; }*/
|
330 |
.pager .pages .current {}
|
331 |
+
.pager .limiter{text-align:right}
|
332 |
.pager .amount{text-align: left; float:left}
|
333 |
.pager .pages{text-align: right; float:right}
|
334 |
.pager li>a, .pager li>span{border-radius: 0}
|
446 |
|
447 |
.link-cart { color:#dc6809 !important; font-weight:bold; }
|
448 |
.link-wishlist { color:#dc6809 !important; font-weight:bold; }
|
449 |
+
.link-reorder { color:#dc6809 !important; }
|
450 |
.link-compare { font-weight:bold; }
|
451 |
.link-print { /*background:url(../images/i_print.gif) 0 2px no-repeat; padding:2px 0 2px 25px;*/ font-weight:bold; color:#dc6809; }
|
452 |
.link-rss {/* background:url(../images/i_rss.gif) 0 2px no-repeat; */ padding-left:18px; line-height:14px; white-space:nowrap; }
|
485 |
/* Header ================================================================================ */
|
486 |
.logo { float:left; }
|
487 |
.header-container { /*margin-bottom:10px; border-top:5px solid #0d2131; border-bottom:1px solid #415966; background:url(../images/bkg_header.jpg) 50% 0 repeat; */ }
|
488 |
+
.header {padding:10px 0;}
|
489 |
/*.header .logo { float:left; margin:3px 0 10px 12px; text-decoration:none !important; }*/
|
490 |
.header .logo strong { position:absolute; top:-999em; left:-999em; width:0; height:0; font-size:0; line-height:0; text-indent:-999em; overflow:hidden; }
|
491 |
/*.header h1.logo { margin:0; }*/
|
492 |
.header .quick-access { /*float:right; width:600px; padding:28px 10px 0 0; */}
|
493 |
+
.header .quick-link{margin-top: 15px;}
|
494 |
+
.header .welcome-msg { margin-bottom:0; color:#31708f; }
|
495 |
.header .welcome-msg a { color:#ebbc58; }
|
496 |
+
.header .usp{margin-top: 15px;}
|
497 |
+
.header .usp i{color: #000}
|
498 |
.header .form-search { /*position:absolute; top:0; right:29px; width:315px; height:30px; background:url(../images/bkg_form-search.gif) 0 0 no-repeat; padding:1px 0 0 16px; */}
|
499 |
.header .form-search label { float:left; width:24px; height:21px; text-align:left; text-indent:-999em; overflow:hidden; }
|
500 |
.header .form-search input.input-text {/* float:left; padding: 10px; width: 98%; margin-top: 15px; border-color:#5c7989; width:209px; margin-right:4px; */}
|
509 |
.header .form-search .search-autocomplete li.selected { background-color:#f7e8dd; }
|
510 |
.header #search_mini_form .caret{margin-left:7px}
|
511 |
.header #search_mini_form ul li a{text-decoration:none; text-align:left}
|
512 |
+
.header .form-language{clear:both; text-align: right}
|
513 |
+
.header .form-language select {width: 100px}
|
514 |
+
.header .form-language .input-group{width:180px; float: right; padding: 5px 0}
|
515 |
+
.header .links {margin:6px 0 6px; }
|
516 |
+
.header .links li { font-size:11px; text-transform: uppercase; padding:10px 15px 0 0px; }
|
|
|
517 |
.header .links li .item-count{color: #e26703}
|
518 |
.header-container .top-container { clear:both; padding:5px 10px 0 12px; text-align:right; }
|
519 |
.header-container .top-container a { font-size:11px; color:#ebbc58; }
|
525 |
#nav li ul li a{text-transform: none; text-align: left}
|
526 |
#nav-parentlink{color: #e26703}
|
527 |
.navbar-header .navbar-brand{text-decoration: none;}
|
528 |
+
.navbar{margin-bottom:0}
|
529 |
/* All Levels */ /* Style consistent throughout all nav levels */
|
530 |
/*#nav li { position:relative; text-align:left; }
|
531 |
#nav li.over { z-index:998; }
|
579 |
|
580 |
/* Sidebar =============================================================================== */
|
581 |
.block { border:1px solid #c4c1bc; margin:0 0 15px; }
|
582 |
+
.block .block-title { /*background:url(../images/bkg_block-title.gif) 0 0 repeat-x; border-bottom:1px solid #ddd; padding:2px 9px; */ text-transform: uppercase}
|
583 |
.block .block-title strong { display:block; font:bold 12px/16px Arial, Helvetica, sans-serif; min-height:16px; padding:1px 0 1px; text-transform:uppercase; color:#e26703; }
|
584 |
.block .block-title strong span {}
|
585 |
.block .block-title a { text-decoration:none !important; }
|
586 |
+
.block .block-subtitle {/* margin:0; padding:5px 9px; font-size:1em; font-weight:bold; color:#0a263c; */}
|
587 |
+
.block .block-content {/* background:#f8f7f5; */ }
|
588 |
+
.block .block-content li.item { padding:7px 0px; }
|
589 |
.block .block-content .product-name { color:#1e7ec8; }
|
590 |
.block .btn-remove,
|
591 |
.block .btn-edit { float:right; margin:1px 0 2px 5px; }
|
592 |
+
.block .actions {/* background:#dee5e8; padding:6px 9px; */text-align:right; }
|
593 |
.block .actions a { float:left; }
|
594 |
.block .actions button.button { float:right; }
|
595 |
+
.block .empty {/* margin:0; padding:5px 9px; */}
|
596 |
+
/*
|
597 |
.block li.odd { background-color:#f4f3f3; }
|
598 |
.block li.even { background-color:#fafafa; }
|
599 |
+
*/
|
600 |
/* Mini Blocks */
|
601 |
.block-cart,
|
602 |
.block-wishlist,
|
609 |
.block-compared,
|
610 |
.block-related,
|
611 |
.block-tags,
|
612 |
+
.block-login {/* font-size:11px; line-height:1.25; border: 1px solid #c4c6c8; margin-bottom: 20px*/}
|
613 |
.block-cart .block-title strong,
|
614 |
.block-wishlist .block-title strong,
|
615 |
.block-subscribe .block-title strong,
|
629 |
.block-cart .mini-products-list .product-details .nobr small { word-wrap:break-word; }
|
630 |
.block-cart .mini-products-list .product-details .nobr { white-space:normal !important; }
|
631 |
|
632 |
+
/* Block: Account
|
633 |
.block-account { border:1px solid #bbb; margin-bottom:20px}
|
634 |
.block-account .block-title { background:#fc9d36; border:0; padding:3px 10px; }
|
635 |
.block-account .block-title strong { font-size:13px; color:#fff; }
|
636 |
+
.block-account .block-content { background:#fbfaf6; padding:7px 10px 7px; }*/
|
637 |
.block-account .block-content li a { display:block; border-bottom:1px solid #ddd; padding:3px 0; color:#5f5d5c; text-decoration:none !important; }
|
638 |
.block-account .block-content li a:hover { color:#ea7900; }
|
639 |
.block-account .block-content li.last a { border-bottom:0; }
|
650 |
/* Block: Layered Navigation */
|
651 |
.block-layered-nav { border:0; margin-bottom:20px}
|
652 |
.block-layered-nav .block-title { border:0; padding:0; height:24px; /*background:url(../images/bkg_block-layered-title.gif) 0 0 no-repeat; */ text-indent:-999em; overflow:hidden; display: none}
|
653 |
+
.block-layered-nav .block-subtitle {/* line-height:1.35; background:#d5e8ff; padding:3px 9px; border:1px solid #b9ccdd; border-width:1px 0; color:#1f5070; */ text-transform:uppercase; }
|
654 |
+
.block-layered-nav .block-content {/*border:1px solid #a0b3c3; background:#e7f1f4; */}
|
655 |
.block-layered-nav dt {/* background:url(../images/bkg_block-layered-dt.gif) 9px 11px no-repeat;*/ padding:7px 10px 0 7px; font-weight:bold; text-transform:uppercase; }
|
656 |
.block-layered-nav dd { padding:0 7px 7px; /*background:url(../images/bkg_block-layered-dd.gif) 0 100% repeat-x; */}
|
657 |
.block-layered-nav dd.last { background:none; }
|
658 |
+
.block-layered-nav .currently li {padding:4px 5px 2px 0px;}
|
659 |
.block-layered-nav .currently .label { font-weight:bold; padding-left:15px; /* background:url(../images/bkg_block-layered-label.gif) 0 4px no-repeat;*/ text-transform:uppercase; display:inline-block; vertical-align:top; }
|
660 |
.block-layered-nav .currently .value { display:inline-block; vertical-align:top; color: #e26703 }
|
661 |
.block-layered-nav .currently .btn-previous,
|
662 |
.block-layered-nav .currently .btn-remove {/* position:absolute; right:4px; top:9px; margin:0; */}
|
663 |
.block-layered-nav .currently .btn-previous { right:17px; }
|
664 |
+
.block-layered-nav .actions { margin-bottom: 10px; padding:4px 5px 4px 9px; background:#f5f5f5; border:1px solid #dee5e8; border-width:1px 0; text-align:right; }
|
665 |
.block-layered-nav .actions a { float:none; }
|
666 |
|
667 |
/* Block: Cart */
|
670 |
.block-cart .summary { background:#fff; padding:2px 8px 8px; margin:-1px 0 0; position:relative; z-index:1; }
|
671 |
.block-cart .amount { margin:0; }
|
672 |
.block-cart .amount a { font-weight:bold; }
|
673 |
+
.block-cart .subtotal { margin:5px 0 0; padding:2px 0; background:#f5f5f5; text-align: left}
|
674 |
.block-cart .subtotal .price { font-weight:bold; }
|
675 |
+
.block-cart .actions { border-bottom:1px solid #c2c2c2; padding-bottom: 10px; margin-bottom: 10px;}
|
676 |
.block-cart .actions .paypal-logo { float:left; width:100%; margin:3px 0 0; text-align:right; }
|
677 |
.block-cart .actions .paypal-logo .paypal-or { clear:both; display:block; padding:0 55px 8px 0; }
|
678 |
|
719 |
/* Block: Poll */
|
720 |
.block-poll .block-title strong {/* background-image:url(../images/i_block-poll.gif); */}
|
721 |
.block-poll .block-subtitle { font-size:14px; }
|
722 |
+
.block-poll span { color:#777; font-weight:normal; font-size:11px; }
|
723 |
+
.block-poll input.radio {display: inline-block}
|
724 |
+
.block-poll li { padding:1px 0px; }
|
|
|
725 |
.block-poll .actions { margin:5px 0 0; }
|
726 |
.block-poll button.button span { border-color:#406a83; background:#618499; }
|
727 |
.block-poll .answer { font-weight:bold; }
|
732 |
.block-gr-search button.button span { border-color:#406a83; background:#618499; }
|
733 |
|
734 |
/* Block: Tags */
|
735 |
+
.block-tags .block-content .tags-list { background:none; border:0;}
|
736 |
+
.block-tags .block-content a { /*color:#1b2d3b; */}
|
|
|
737 |
.block-tags .actions { text-align:right; }
|
738 |
.block-tags .actions a { float:none; }
|
739 |
|
740 |
/* Block: Subscribe */
|
741 |
.block-subscribe{border:0; text-align:left}
|
742 |
+
.block-subscribe .block-content {padding:5px 0px;}
|
743 |
.block-subscribe .block-title {border-bottom:0}
|
744 |
.block-subscribe label { font-weight:bold; color:#666; }
|
745 |
.block-subscribe input.input-text {/* display:block; width:167px; margin:3px 0;*/ }
|
780 |
.category-products {}
|
781 |
|
782 |
/* View Type: Grid */
|
|
|
783 |
.products-grid.last { border-bottom:0; }
|
784 |
+
.products-grid li.item {/* float:left; width:138px; */padding:12px 10px 10px; }
|
785 |
.products-grid .product-image { /*display:block; width:135px; height:135px; margin:0 0 10px; */}
|
786 |
+
.products-grid .product-name {margin:0 0 5px; color:#203548; font-size: 13px}
|
787 |
.products-grid .product-name a { color:#203548; }
|
788 |
.products-grid .price-box { margin:5px 0; }
|
789 |
.products-grid .availability { line-height:21px; }
|
790 |
+
/*.products-grid .actions { position:absolute; bottom:12px; }*/
|
791 |
.products-grid .add-to-links li{float: left; margin-right: 5px}
|
792 |
.col2-left-layout .products-grid,
|
793 |
+
.col2-right-layout .products-grid {/* width:632px; margin:0 auto;*/ }
|
794 |
.col1-layout .products-grid {/* width:790px; */margin:0 auto; }
|
795 |
|
796 |
/* View Type: List */
|
798 |
.products-list li.item.last { border-bottom:0; }
|
799 |
.products-list .product-image { float:left; width:135px; height:135px; margin:0 0 10px; }
|
800 |
.products-list .product-shop { margin-left:150px; }
|
801 |
+
.products-list .product-name { margin:0 0 5px; font-size:13px; }
|
802 |
.products-list .product-name a { color:#203548; }
|
803 |
.products-list .price-box { float:left; margin:3px 13px 5px 0; }
|
804 |
.products-list .availability { float:left; margin:3px 0 0; }
|
827 |
|
828 |
.ratings-table th,
|
829 |
.ratings-table td { font-size:11px; line-height:1.15; padding:3px 0; }
|
830 |
+
.ratings-table th {padding-right:10px; }
|
831 |
|
832 |
/* Availability */
|
833 |
.availability { margin:0; }
|
861 |
.price { white-space:nowrap !important; }
|
862 |
|
863 |
.price-box { margin:5px 0; }
|
864 |
+
.price-box .price {color:#c76200; }
|
865 |
|
866 |
/* Regular price */
|
867 |
.regular-price { color:#c76200; }
|
868 |
+
.regular-price .price, .price {font-size:13px; color:#c76200; }
|
869 |
.block .regular-price,
|
870 |
+
.block .regular-price .price{ color:#2f2f2f; }
|
871 |
|
872 |
/* Old price */
|
873 |
.old-price { margin:0; }
|
874 |
+
.old-price .price-label { white-space:nowrap; color:#999; font-size:12px }
|
875 |
.old-price .price { font-weight:bold; color:#c76200; text-decoration:line-through; }
|
876 |
|
877 |
/* Special price */
|
878 |
.special-price { margin:0; padding:3px 0; }
|
879 |
+
.special-price .price-label {font-size:13px; white-space:nowrap; color:#cd5033; }
|
880 |
+
.special-price .price { font-size:13px; color:#c76200; }
|
881 |
|
882 |
/* Minimal price (as low as) */
|
883 |
.minimal-price { margin:0; }
|
884 |
+
/*.minimal-price .price-label { font-weight:bold; white-space:nowrap; }*/
|
885 |
|
886 |
.minimal-price-link { display:block; }
|
887 |
.minimal-price-link .label {color:#1e7ec8;}
|
899 |
|
900 |
/* Configured price */
|
901 |
.configured-price { margin:0; }
|
902 |
+
.configured-price .price-label {white-space:nowrap; }
|
903 |
.configured-price .price { font-weight:bold; }
|
904 |
|
905 |
/* FPT */
|
918 |
|
919 |
/* Price range */
|
920 |
.price-from { margin:0; }
|
921 |
+
.price-from .price-label { white-space:nowrap; }
|
922 |
|
923 |
.price-to { margin:0; }
|
924 |
+
.price-to .price-label {white-space:nowrap; }
|
925 |
|
926 |
/* Price notice next to the options */
|
927 |
.price-notice {/* padding-left:10px;*/ color:#999; }
|
928 |
.price-notice .price { color:#ff0000; }
|
929 |
|
930 |
/* Price as configured */
|
931 |
+
.price-as-configured {/* margin:0; */}
|
932 |
+
.price-as-configured .price-label {white-space:nowrap; }
|
933 |
|
934 |
.price-box-bundle { padding:0 0 10px 0; }
|
935 |
.price-box-bundle .price-box { margin:0 !important; padding:0 !important; }
|
951 |
.add-to-links .separator { display:none; }
|
952 |
|
953 |
/* Add to Cart */
|
954 |
+
.add-to-cart label {font-weight:normal;}
|
955 |
+
/*.add-to-cart .qty { float:left; margin-right:5px; }
|
956 |
+
.add-to-cart button.button { float:left; }*/
|
957 |
.add-to-cart .paypal-logo { clear:left; margin:0; text-align:right; }
|
958 |
.add-to-cart .paypal-logo .paypal-or { clear:both; display:block; margin:5px 60px 5px 0; }
|
959 |
.product-view .add-to-cart .paypal-logo { margin:0; }
|
960 |
|
961 |
/* Add to Links + Add to Cart */
|
962 |
.add-to-box { margin:10px 0; }
|
963 |
+
.add-to-box .add-to-cart { float:left; padding-bottom: 15px;}
|
964 |
.add-to-box .or { float:left; font-weight:bold; margin:0 7px; color:#666; }
|
965 |
.add-to-box .add-to-links { float:left; margin:0; font-size:12px !important; line-height:1.25 !important; text-align:left !important; }
|
966 |
.add-to-box .add-to-links li { display:block !important; }
|
967 |
.add-to-box .add-to-links li .separator {/* display:none !important; */}
|
968 |
|
969 |
|
970 |
+
/*.product-view { border:1px solid #c4c6c8; }*/
|
971 |
|
972 |
+
/*.product-essential { padding:25px 0; background:#fff url(../images/bkg_product-view.gif) 100% 0 no-repeat; }*/
|
973 |
.product-essential h2 { font:bold 13px/1.35 Arial, Helvetica, sans-serif; }
|
974 |
+
.product-essential .product-options .required{margin: 11px 0 0 0; display: inline-block}
|
975 |
+
.product-collateral { padding:25px 15px; }
|
976 |
+
.product-collateral h2 {font-size:13px; color:#e26703;text-transform: uppercase; margin:0 0 15px; }
|
977 |
+
/*.product-collateral .box-collateral { margin:0 0 25px; }*/
|
978 |
+
.box-collateral.box-additional{padding-top: 15px}
|
979 |
+
.product-collateral .nav-tabs>li {text-transform: uppercase}
|
980 |
+
.product-collateral .nav-tabs>li.active a{color: #e26703}
|
981 |
+
.product-collateral .tab-content{padding: 20px 10px;}
|
982 |
/* Product Images */
|
983 |
.product-view .product-img-box {/* float:left; width:267px; */}
|
984 |
.col3-layout .product-view .product-img-box { float:none; margin:0 auto; }
|
1005 |
|
1006 |
/* Product Shop */
|
1007 |
.product-view .product-shop {/* float:right; width:330px; */}
|
1008 |
+
.col1-layout .product-view .product-shop { /*float:right; width:545px; */}
|
1009 |
.col3-layout .product-view .product-shop { float:none; width:auto; }
|
1010 |
.product-view .product-shop .product-name { margin:0 0 5px; }
|
1011 |
.product-view .product-shop .product-name h1 { margin:0; font:bold 15px/1.35 Arial, Helvetica, sans-serif; }
|
1012 |
.product-view .product-shop .availability { margin:10px 0; }
|
1013 |
+
.product-view .product-shop .short-description { margin:10px 0; padding:10px 0 0; }
|
1014 |
+
.product-view .product-shop .short-description h2{ color:#1e7ec8; text-transform:uppercase; font-weight:normal; margin-bottom:10px }
|
1015 |
.product-view .product-shop .price-box { margin:10px 0; }
|
1016 |
.product-view .product-shop .add-to-links { margin:0; }
|
1017 |
.product-view .product-shop .add-to-links { font-size:12px; text-align:right; }
|
1066 |
|
1067 |
/* Grouped Product */
|
1068 |
.product-view .grouped-items-table .price-box { margin:0; padding:0; }
|
1069 |
+
.product-view .grouped-items-table input.qty {width:3.5em !important;}
|
1070 |
|
1071 |
/* Block: Description */
|
1072 |
.product-view .box-description {}
|
1089 |
.box-up-sell .jcarousel-prev, .box-up-sell .jcarousel-next{cursor: pointer; text-decoration: none; color: #203548;}
|
1090 |
.box-up-sell .jcarousel-prev:hover, .box-up-sell .jcarousel-next:hover{color:#c76200}
|
1091 |
/* Block: Tags */
|
1092 |
+
.product-view .box-tags {padding-top: 15px; clear: both}
|
1093 |
.product-view .box-tags h3 { font-size:13px; }
|
1094 |
.product-view .box-tags .product-tags { display:block; margin:0 0 15px; }
|
1095 |
.product-view .box-tags .product-tags li { display:inline;/* background:url(../images/bkg_pipe3.gif) 100% 4px no-repeat;*/ padding:0 7px 0 4px; }
|
1096 |
.product-view .box-tags .product-tags li.first { padding-left:0; }
|
1097 |
.product-view .box-tags .product-tags li.last { background:none; padding-right:0; }
|
1098 |
+
.product-view .box-tags .form-add label { /*display:block; font-size:13px; font-weight:bold; margin:0 0 5px; color:#0a263c;*/}
|
1099 |
+
.product-view .box-tags .form-add .input-box {/* float:left; width:305px; padding:0 0 0 23px; margin:0 5px 0 0; background:url(../images/i_tag_add.gif) 0 2px no-repeat; */}
|
1100 |
.product-view .box-tags .form-add input.input-text { /*width:299px;*/ }
|
1101 |
.product-view .box-tags .form-add button.button span {/* border-color:#406a83; background:#618499; */}
|
1102 |
+
.product-view .box-tags .note { margin:12px 0 0;}
|
1103 |
|
1104 |
+
|
1105 |
+
.product-view .box-reviews .amount { padding-left:0; }
|
1106 |
/* Block: Reviews
|
1107 |
.product-view .box-reviews dl { margin:15px 0; }
|
1108 |
.product-view .box-reviews dt a,
|
1121 |
|
1122 |
*/
|
1123 |
/* Send a Friend */
|
1124 |
+
.send-friend label{margin:10px 0px 0 0;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
/* ======================================================================================= */
|
1126 |
|
1127 |
|
1130 |
.product-name a { color:#1e7ec8; text-decoration: none}
|
1131 |
.product-name a:hover{color: #434343}
|
1132 |
/* Product Tags */
|
1133 |
+
.tags-list { display:block; }
|
1134 |
.tags-list li { display:inline !important; margin:0 4px 0 0; }
|
1135 |
.tags-list li a { color:#1b2d3b; }
|
1136 |
|
1137 |
/* Advanced Search */
|
1138 |
.advanced-search .form-list label { width:160px; padding-right:10px; }
|
1139 |
.advanced-search .form-list .input-box,
|
1140 |
+
.advanced-search .form-list .input-range {/* float:left; clear:none; */}
|
1141 |
.advanced-search-amount { margin:0 0 10px; }
|
1142 |
.advanced-search-summary { margin:10px 0; border:1px solid #e9d7c9; background:#fff6f1; padding:10px; }
|
1143 |
.advanced-search-summary ul { float:left; width:49%; }
|
1197 |
.btncartgroup{margin-top:15px;}
|
1198 |
.btncartgroup button{margin-bottom:7px;}
|
1199 |
.cart .crosssell { border:1px solid #cec3b6; background:#fafaec; padding:12px 15px; }
|
1200 |
+
.cart .crosssell h2 { font-size:14px; text-transform: uppercase; padding-top: 3px}
|
1201 |
.cart .crosssell .product-image { float:left; width:75px; height:75px; border:1px solid #d0cdc9; }
|
1202 |
.cart .crosssell .product-details { margin-left:90px; }
|
1203 |
.cart .crosssell .product-name { font-weight:bold; }
|
1204 |
+
.cart .crosssell li.item { margin:0 0 14px 0; }
|
1205 |
.cart .crosssell .link-compare { font-weight:normal; }
|
1206 |
+
.cart .crosssell .add-to-links li {float: left; margin-right: 5px}
|
1207 |
|
1208 |
/* Discount Codes & Estimate Shipping and Tax Boxes */
|
1209 |
.cart .discount,
|
1210 |
.cart .shipping { border:1px solid #d0cbc1; background:#fff; padding:12px 15px; margin:0 0 18px; }
|
1211 |
+
[title="Country"], [title="State/Province"]{width:100%; font-size: 14px; line-height: 1.428571429; color: #555; vertical-align: middle; border-radius: 0px; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; padding: 6px 12px; background:# fff !important}
|
1212 |
+
.cart .cancel-btn { margin:5px 30px 0 0; clear:left; }
|
1213 |
.cart .discount h2,
|
1214 |
.cart .shipping h2 { background-position:0 0; background-repeat:no-repeat; font:bold 13px/16px Arial, Helvetica, sans-serif; /*padding:0 0 0 21px; */color:#e26703; text-transform:uppercase; }
|
1215 |
.cart .discount button span,
|
1261 |
.sp-methods dt { margin:13px 0 5px; font-weight:bold; }
|
1262 |
.sp-methods dd {}
|
1263 |
.sp-methods dd li { margin:5px 0; }
|
1264 |
+
.sp-methods label { font-weight:normal; color:#666; }
|
1265 |
.sp-methods .price { font-weight:bold; }
|
1266 |
.sp-methods .form-list { padding-left:20px; }
|
1267 |
.sp-methods .form-list li { margin:0 0 8px; }
|
1324 |
.opc .checkout-agreements li { margin:20px 0 0; }
|
1325 |
.opc .checkout-agreements .agreement-content { background-color:#fff; border-color:#e4e4e4; padding:5px; }
|
1326 |
.opc .checkout-agreements .agree { padding-left:6px; }
|
1327 |
+
.opc [id="billing-address-select"]{margin: 10px 0; width: 100%; font-size: 14px; line-height: 1.428571429; color: #555; vertical-align: middle; border-radius: 0px; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; padding: 6px 12px; background: # fff !important; }
|
1328 |
/* Centinel */
|
1329 |
.centinel {}
|
1330 |
.centinel .authentication { border:1px solid #ddd; background:#fff; }
|
1351 |
/********** Common Checkout Styles > */
|
1352 |
|
1353 |
/* One Page Checkout */
|
1354 |
+
.block-progress {/* border:0; margin:0; */}
|
1355 |
+
.block-progress .block-title {/* background:none; border:0; padding:0; margin:0 0 5px; */}
|
1356 |
+
.block-progress .block-title strong { /*font-size:13px; color:#0a263c; */}
|
1357 |
+
.block-progress .block-content { /*background:none; */ padding: 0}
|
1358 |
+
.block-progress dt { background:#f5f5f5; border-bottom:1px solid #ddd; margin:0 0 6px; padding:10px 5px 10px 16px; font-weight: normal}
|
1359 |
+
.block-progress dd { background:#f5f5f5; padding:10px 5px 10px 13px; margin:0 0 6px; }
|
1360 |
+
.block-progress dt.complete { margin:0; background:#eee;}
|
1361 |
.block-progress dd.complete {}
|
1362 |
.block-progress p { margin:0; }
|
1363 |
.block-progress .cards-list dt { background:none; border:0 none; color:inherit; font-size:12px; margin:5px 0; padding:0; }
|
1384 |
|
1385 |
.opc .step-title { border-width:0 1px; border-style:solid; border-color:#fff #d9dde3 #d9dde3; background:#eee; padding:4px 8px 6px; text-align:right; }
|
1386 |
.opc .step-title .number { float:left; background:#fff; border:1px solid #fff; padding:0 4px; margin:0 5px 0 0; font:bold 11px/14px arial, helvetica, sans-serif; color:#999; }
|
1387 |
+
.opc .step-title h2 { float:left; margin:0; font:normal 13px/16px Arial, Helvetica, sans-serif; }
|
1388 |
.opc .step-title a { display:none; float:right; font-size:11px; line-height:16px; }
|
1389 |
|
1390 |
.opc .allow .step-title { background:#d0dce1; border:1px solid #a3aeb3; border-bottom:0; color:#a4b3b9; cursor:pointer; }
|
1397 |
.opc .active .step-title h2 { color:#f18200; }
|
1398 |
/*.opc .active .step-title a { display:none; }*/
|
1399 |
|
1400 |
+
.opc .step { border:1px solid #c4c1bc; border-top:0; background:#f5f5f5; padding:10px; position:relative; }
|
1401 |
.opc .step .tool-tip { right:30px; }
|
1402 |
#billing-address-select, #shipping-address-select{width:100%}
|
1403 |
|
1530 |
|
1531 |
/* General Box */
|
1532 |
.box-account { background:#fff; border:1px solid #ccc; border-color:#ccc #999 #999 #ccc; padding:15px; margin: 0 0 20px; }
|
1533 |
+
.box-account .box-head {/* border-bottom:1px solid #d9dde3; */margin:0 0 10px; text-align:right; }
|
1534 |
.box-account .box-head h2 { float:left; margin:0; font-size:13px; font-weight:bold; text-transform:uppercase; background-position:0 0; background-repeat:no-repeat; /*padding-left:21px;*/ color:#e65505; }
|
1535 |
|
1536 |
.dashboard .box .box-title {/* background:url(../images/bkg_divider1.gif) 0 100% repeat-x; */ padding:0 0 2px; margin:0 0 8px; text-align:right; }
|
1697 |
|
1698 |
|
1699 |
/* Footer ================================================================================ */
|
1700 |
+
.footer-container {padding: 30px 0 0 0}
|
1701 |
.footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
|
1702 |
.footer .store-switcher label { font-weight:bold; vertical-align:middle; }
|
1703 |
.footer .store-switcher select { padding:0; vertical-align:middle; }
|
1704 |
.footer a:hover { text-decoration:underline;}
|
|
|
|
|
|
|
1705 |
.footer address { margin:0 0 20px;}
|
1706 |
.footer address a:hover { text-decoration:none; }
|
1707 |
.footer ul { display:inline; }
|
1708 |
.footer ul.links { display:block; }
|
1709 |
+
.footer li { display:inline; padding:0 10px 0 0px; }
|
1710 |
.footer li.last { background:none !important; padding-right:0 !important; }
|
1711 |
.footer-container .bottom-container { margin:0 0 5px; }
|
1712 |
/* ======================================================================================= */
|
1847 |
#divnetworkshare i{margin-right: 5px}
|
1848 |
|
1849 |
/* popup cart page */
|
1850 |
+
#popupcart{position: absolute; right: 0; z-index: 10; margin: 25px 14px 0px 0px; text-align: left; display: none; width: 250px}
|
1851 |
|
1852 |
/* pagination catalog / category */
|
1853 |
.pagination{margin: 0}
|
1861 |
#scroll-div{display: none; position:fixed; bottom:20px; right:5%; z-index: 100}
|
1862 |
#scroll-div a:hover{color: #ccc; cursor:pointer}
|
1863 |
|
1864 |
+
.dropdown-menu.pull-right i{padding-right: 10px;}
|
1865 |
+
.usp .table td{border-top: 0}
|
skin/frontend/default/responsive/css/yamm.css
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Document : yamm
|
3 |
+
Created on : 24/02/2014, 4:47:00 PM
|
4 |
+
Author : tony vu
|
5 |
+
Description: Mega menu
|
6 |
+
*/
|
7 |
+
.yamm .nav, .yamm .collapse, .yamm .dropup, .yamm .dropdown{position: static; text-align: left}
|
8 |
+
.yamm .container{position: relative;}
|
9 |
+
.yamm .dropdown-menu{left: auto;}
|
10 |
+
.yamm .nav.navbar-right .dropdown-menu {left: auto;right: 0;}
|
11 |
+
.yamm .yamm-content {padding: 20px 30px;}
|
12 |
+
.yamm .dropdown.yamm-fw .dropdown-menu {left: 0;right: 0;}
|
13 |
+
|
14 |
+
|
15 |
+
.yamm .navbar-nav li .dropdown-toggle{text-transform: uppercase}
|
16 |
+
|
17 |
+
.yamm .navbar-nav li .title{text-transform: uppercase; color: #1e7ec8; border-bottom: 1px dashed #ccc; width: 100%; display: inline-block; padding: 10px 0; margin-bottom: 10px}
|
18 |
+
|
19 |
+
.yamm .navbar-nav li ul{padding-left: 7px; }
|
20 |
+
.yamm .navbar-nav li ul li a{color: #777 }
|
21 |
+
.yamm .navbar-nav .showall{text-align: right; border-top: 1px dashed #ccc; margin-top: 10px}
|
22 |
+
.yamm .navbar-nav .showall .btnviewall{margin-top: 20px; text-transform: uppercase}
|
23 |
+
.yamm .price{color: #1e7ec8}
|
24 |
+
.yamm .special-price .price{color: #cd5033}
|
25 |
+
.yamm .description{font-size: 12px;}
|
26 |
+
.yamm .salelists{text-transform: uppercase; color: #1e7ec8;}
|
27 |
+
.yamm .tblsale strike{font-size:10px}
|
28 |
+
.yamm .tblsale .price-box{margin:0}
|
29 |
+
@media (min-width:768px){
|
30 |
+
.yamm-categories{width: 700px;}
|
31 |
+
}
|
32 |
+
|
33 |
+
@media (max-width: 767px) and (min-width: 480px){
|
34 |
+
.yamm-categories{width: 550px;}
|
35 |
+
}
|
36 |
+
|
37 |
+
@media (max-width:990px){
|
38 |
+
/* .yamm .megamenu_cat_3 .banner{display: none}*/
|
39 |
+
}
|
skin/frontend/default/responsive/images/main-banner1.jpg
ADDED
Binary file
|
skin/frontend/default/responsive/images/main-banner2.jpg
ADDED
Binary file
|
skin/frontend/default/responsive/images/paypal-logo-imt.png
ADDED
Binary file
|
skin/frontend/default/responsive/js/grids.min.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Javascript-Equal-Height-Responsive-Rows
|
3 |
+
* https://github.com/Sam152/Javascript-Equal-Height-Responsive-Rows
|
4 |
+
*/
|
5 |
+
(function($){$.fn.equalHeight=function(){var heights=[];$.each(this,function(i,element){$element=$(element);var element_height;var includePadding=($element.css('box-sizing')=='border-box')||($element.css('-moz-box-sizing')=='border-box');if(includePadding){element_height=$element.innerHeight();}else{element_height=$element.height();}
|
6 |
+
heights.push(element_height);});this.height(Math.max.apply(window,heights));return this;};$.fn.equalHeightGrid=function(columns){var $tiles=this;$tiles.css('height','auto');for(var i=0;i<$tiles.length;i++){if(i%columns===0){var row=$($tiles[i]);for(var n=1;n<columns;n++){row=row.add($tiles[i+n]);}
|
7 |
+
row.equalHeight();}}
|
8 |
+
return this;};$.fn.detectGridColumns=function(){var offset=0,cols=0;this.each(function(i,elem){var elem_offset=$(elem).offset().top;if(offset===0||elem_offset==offset){cols++;offset=elem_offset;}else{return false;}});return cols;};$.fn.responsiveEqualHeightGrid=function(){var _this=this;function syncHeights(){var cols=_this.detectGridColumns();_this.equalHeightGrid(cols);}
|
9 |
+
$(window).bind('resize load',syncHeights);syncHeights();return this;};})(jQuery);
|
skin/frontend/default/responsive/js/jquery.jcarousel.min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*! jCarousel - v0.3.1 - 2014-04-26
|
2 |
+
* http://sorgalla.com/jcarousel
|
3 |
+
* Copyright (c) 2014 Jan Sorgalla; Licensed MIT */
|
4 |
+
(function(t){"use strict";var i=t.jCarousel={};i.version="0.3.1";var s=/^([+\-]=)?(.+)$/;i.parseTarget=function(t){var i=!1,e="object"!=typeof t?s.exec(t):null;return e?(t=parseInt(e[2],10)||0,e[1]&&(i=!0,"-="===e[1]&&(t*=-1))):"object"!=typeof t&&(t=parseInt(t,10)||0),{target:t,relative:i}},i.detectCarousel=function(t){for(var i;t.length>0;){if(i=t.filter("[data-jcarousel]"),i.length>0)return i;if(i=t.find("[data-jcarousel]"),i.length>0)return i;t=t.parent()}return null},i.base=function(s){return{version:i.version,_options:{},_element:null,_carousel:null,_init:t.noop,_create:t.noop,_destroy:t.noop,_reload:t.noop,create:function(){return this._element.attr("data-"+s.toLowerCase(),!0).data(s,this),!1===this._trigger("create")?this:(this._create(),this._trigger("createend"),this)},destroy:function(){return!1===this._trigger("destroy")?this:(this._destroy(),this._trigger("destroyend"),this._element.removeData(s).removeAttr("data-"+s.toLowerCase()),this)},reload:function(t){return!1===this._trigger("reload")?this:(t&&this.options(t),this._reload(),this._trigger("reloadend"),this)},element:function(){return this._element},options:function(i,s){if(0===arguments.length)return t.extend({},this._options);if("string"==typeof i){if(s===void 0)return this._options[i]===void 0?null:this._options[i];this._options[i]=s}else this._options=t.extend({},this._options,i);return this},carousel:function(){return this._carousel||(this._carousel=i.detectCarousel(this.options("carousel")||this._element),this._carousel||t.error('Could not detect carousel for plugin "'+s+'"')),this._carousel},_trigger:function(i,e,r){var n,o=!1;return r=[this].concat(r||[]),(e||this._element).each(function(){n=t.Event((s+":"+i).toLowerCase()),t(this).trigger(n,r),n.isDefaultPrevented()&&(o=!0)}),!o}}},i.plugin=function(s,e){var r=t[s]=function(i,s){this._element=t(i),this.options(s),this._init(),this.create()};return r.fn=r.prototype=t.extend({},i.base(s),e),t.fn[s]=function(i){var e=Array.prototype.slice.call(arguments,1),n=this;return"string"==typeof i?this.each(function(){var r=t(this).data(s);if(!r)return t.error("Cannot call methods on "+s+" prior to initialization; "+'attempted to call method "'+i+'"');if(!t.isFunction(r[i])||"_"===i.charAt(0))return t.error('No such method "'+i+'" for '+s+" instance");var o=r[i].apply(r,e);return o!==r&&o!==void 0?(n=o,!1):void 0}):this.each(function(){var e=t(this).data(s);e instanceof r?e.reload(i):new r(this,i)}),n},r}})(jQuery),function(t,i){"use strict";var s=function(t){return parseFloat(t)||0};t.jCarousel.plugin("jcarousel",{animating:!1,tail:0,inTail:!1,resizeTimer:null,lt:null,vertical:!1,rtl:!1,circular:!1,underflow:!1,relative:!1,_options:{list:function(){return this.element().children().eq(0)},items:function(){return this.list().children()},animation:400,transitions:!1,wrap:null,vertical:null,rtl:null,center:!1},_list:null,_items:null,_target:null,_first:null,_last:null,_visible:null,_fullyvisible:null,_init:function(){var t=this;return this.onWindowResize=function(){t.resizeTimer&&clearTimeout(t.resizeTimer),t.resizeTimer=setTimeout(function(){t.reload()},100)},this},_create:function(){this._reload(),t(i).on("resize.jcarousel",this.onWindowResize)},_destroy:function(){t(i).off("resize.jcarousel",this.onWindowResize)},_reload:function(){this.vertical=this.options("vertical"),null==this.vertical&&(this.vertical=this.list().height()>this.list().width()),this.rtl=this.options("rtl"),null==this.rtl&&(this.rtl=function(i){if("rtl"===(""+i.attr("dir")).toLowerCase())return!0;var s=!1;return i.parents("[dir]").each(function(){return/rtl/i.test(t(this).attr("dir"))?(s=!0,!1):void 0}),s}(this._element)),this.lt=this.vertical?"top":"left",this.relative="relative"===this.list().css("position"),this._list=null,this._items=null;var i=this._target&&this.index(this._target)>=0?this._target:this.closest();this.circular="circular"===this.options("wrap"),this.underflow=!1;var s={left:0,top:0};return i.length>0&&(this._prepare(i),this.list().find("[data-jcarousel-clone]").remove(),this._items=null,this.underflow=this._fullyvisible.length>=this.items().length,this.circular=this.circular&&!this.underflow,s[this.lt]=this._position(i)+"px"),this.move(s),this},list:function(){if(null===this._list){var i=this.options("list");this._list=t.isFunction(i)?i.call(this):this._element.find(i)}return this._list},items:function(){if(null===this._items){var i=this.options("items");this._items=(t.isFunction(i)?i.call(this):this.list().find(i)).not("[data-jcarousel-clone]")}return this._items},index:function(t){return this.items().index(t)},closest:function(){var i,e=this,r=this.list().position()[this.lt],n=t(),o=!1,l=this.vertical?"bottom":this.rtl&&!this.relative?"left":"right";return this.rtl&&this.relative&&!this.vertical&&(r+=this.list().width()-this.clipping()),this.items().each(function(){if(n=t(this),o)return!1;var a=e.dimension(n);if(r+=a,r>=0){if(i=a-s(n.css("margin-"+l)),!(0>=Math.abs(r)-a+i/2))return!1;o=!0}}),n},target:function(){return this._target},first:function(){return this._first},last:function(){return this._last},visible:function(){return this._visible},fullyvisible:function(){return this._fullyvisible},hasNext:function(){if(!1===this._trigger("hasnext"))return!0;var t=this.options("wrap"),i=this.items().length-1;return i>=0&&!this.underflow&&(t&&"first"!==t||i>this.index(this._last)||this.tail&&!this.inTail)?!0:!1},hasPrev:function(){if(!1===this._trigger("hasprev"))return!0;var t=this.options("wrap");return this.items().length>0&&!this.underflow&&(t&&"last"!==t||this.index(this._first)>0||this.tail&&this.inTail)?!0:!1},clipping:function(){return this._element["inner"+(this.vertical?"Height":"Width")]()},dimension:function(t){return t["outer"+(this.vertical?"Height":"Width")](!0)},scroll:function(i,s,e){if(this.animating)return this;if(!1===this._trigger("scroll",null,[i,s]))return this;t.isFunction(s)&&(e=s,s=!0);var r=t.jCarousel.parseTarget(i);if(r.relative){var n,o,l,a,h,u,c,f,d=this.items().length-1,_=Math.abs(r.target),p=this.options("wrap");if(r.target>0){var g=this.index(this._last);if(g>=d&&this.tail)this.inTail?"both"===p||"last"===p?this._scroll(0,s,e):t.isFunction(e)&&e.call(this,!1):this._scrollTail(s,e);else if(n=this.index(this._target),this.underflow&&n===d&&("circular"===p||"both"===p||"last"===p)||!this.underflow&&g===d&&("both"===p||"last"===p))this._scroll(0,s,e);else if(l=n+_,this.circular&&l>d){for(f=d,h=this.items().get(-1);l>f++;)h=this.items().eq(0),u=this._visible.index(h)>=0,u&&h.after(h.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(h),u||(c={},c[this.lt]=this.dimension(h),this.moveBy(c)),this._items=null;this._scroll(h,s,e)}else this._scroll(Math.min(l,d),s,e)}else if(this.inTail)this._scroll(Math.max(this.index(this._first)-_+1,0),s,e);else if(o=this.index(this._first),n=this.index(this._target),a=this.underflow?n:o,l=a-_,0>=a&&(this.underflow&&"circular"===p||"both"===p||"first"===p))this._scroll(d,s,e);else if(this.circular&&0>l){for(f=l,h=this.items().get(0);0>f++;){h=this.items().eq(-1),u=this._visible.index(h)>=0,u&&h.after(h.clone(!0).attr("data-jcarousel-clone",!0)),this.list().prepend(h),this._items=null;var v=this.dimension(h);c={},c[this.lt]=-v,this.moveBy(c)}this._scroll(h,s,e)}else this._scroll(Math.max(l,0),s,e)}else this._scroll(r.target,s,e);return this._trigger("scrollend"),this},moveBy:function(t,i){var e=this.list().position(),r=1,n=0;return this.rtl&&!this.vertical&&(r=-1,this.relative&&(n=this.list().width()-this.clipping())),t.left&&(t.left=e.left+n+s(t.left)*r+"px"),t.top&&(t.top=e.top+n+s(t.top)*r+"px"),this.move(t,i)},move:function(i,s){s=s||{};var e=this.options("transitions"),r=!!e,n=!!e.transforms,o=!!e.transforms3d,l=s.duration||0,a=this.list();if(!r&&l>0)return a.animate(i,s),void 0;var h=s.complete||t.noop,u={};if(r){var c=a.css(["transitionDuration","transitionTimingFunction","transitionProperty"]),f=h;h=function(){t(this).css(c),f.call(this)},u={transitionDuration:(l>0?l/1e3:0)+"s",transitionTimingFunction:e.easing||s.easing,transitionProperty:l>0?function(){return n||o?"all":i.left?"left":"top"}():"none",transform:"none"}}o?u.transform="translate3d("+(i.left||0)+","+(i.top||0)+",0)":n?u.transform="translate("+(i.left||0)+","+(i.top||0)+")":t.extend(u,i),r&&l>0&&a.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",h),a.css(u),0>=l&&a.each(function(){h.call(this)})},_scroll:function(i,s,e){if(this.animating)return t.isFunction(e)&&e.call(this,!1),this;if("object"!=typeof i?i=this.items().eq(i):i.jquery===void 0&&(i=t(i)),0===i.length)return t.isFunction(e)&&e.call(this,!1),this;this.inTail=!1,this._prepare(i);var r=this._position(i),n=this.list().position()[this.lt];if(r===n)return t.isFunction(e)&&e.call(this,!1),this;var o={};return o[this.lt]=r+"px",this._animate(o,s,e),this},_scrollTail:function(i,s){if(this.animating||!this.tail)return t.isFunction(s)&&s.call(this,!1),this;var e=this.list().position()[this.lt];this.rtl&&this.relative&&!this.vertical&&(e+=this.list().width()-this.clipping()),this.rtl&&!this.vertical?e+=this.tail:e-=this.tail,this.inTail=!0;var r={};return r[this.lt]=e+"px",this._update({target:this._target.next(),fullyvisible:this._fullyvisible.slice(1).add(this._visible.last())}),this._animate(r,i,s),this},_animate:function(i,s,e){if(e=e||t.noop,!1===this._trigger("animate"))return e.call(this,!1),this;this.animating=!0;var r=this.options("animation"),n=t.proxy(function(){this.animating=!1;var t=this.list().find("[data-jcarousel-clone]");t.length>0&&(t.remove(),this._reload()),this._trigger("animateend"),e.call(this,!0)},this),o="object"==typeof r?t.extend({},r):{duration:r},l=o.complete||t.noop;return s===!1?o.duration=0:t.fx.speeds[o.duration]!==void 0&&(o.duration=t.fx.speeds[o.duration]),o.complete=function(){n(),l.call(this)},this.move(i,o),this},_prepare:function(i){var e,r,n,o,l=this.index(i),a=l,h=this.dimension(i),u=this.clipping(),c=this.vertical?"bottom":this.rtl?"left":"right",f=this.options("center"),d={target:i,first:i,last:i,visible:i,fullyvisible:u>=h?i:t()};if(f&&(h/=2,u/=2),u>h)for(;;){if(e=this.items().eq(++a),0===e.length){if(!this.circular)break;if(e=this.items().eq(0),i.get(0)===e.get(0))break;if(r=this._visible.index(e)>=0,r&&e.after(e.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(e),!r){var _={};_[this.lt]=this.dimension(e),this.moveBy(_)}this._items=null}if(o=this.dimension(e),0===o)break;if(h+=o,d.last=e,d.visible=d.visible.add(e),n=s(e.css("margin-"+c)),u>=h-n&&(d.fullyvisible=d.fullyvisible.add(e)),h>=u)break}if(!this.circular&&!f&&u>h)for(a=l;;){if(0>--a)break;if(e=this.items().eq(a),0===e.length)break;if(o=this.dimension(e),0===o)break;if(h+=o,d.first=e,d.visible=d.visible.add(e),n=s(e.css("margin-"+c)),u>=h-n&&(d.fullyvisible=d.fullyvisible.add(e)),h>=u)break}return this._update(d),this.tail=0,f||"circular"===this.options("wrap")||"custom"===this.options("wrap")||this.index(d.last)!==this.items().length-1||(h-=s(d.last.css("margin-"+c)),h>u&&(this.tail=h-u)),this},_position:function(t){var i=this._first,s=i.position()[this.lt],e=this.options("center"),r=e?this.clipping()/2-this.dimension(i)/2:0;return this.rtl&&!this.vertical?(s-=this.relative?this.list().width()-this.dimension(i):this.clipping()-this.dimension(i),s+=r):s-=r,!e&&(this.index(t)>this.index(i)||this.inTail)&&this.tail?(s=this.rtl&&!this.vertical?s-this.tail:s+this.tail,this.inTail=!0):this.inTail=!1,-s},_update:function(i){var s,e=this,r={target:this._target||t(),first:this._first||t(),last:this._last||t(),visible:this._visible||t(),fullyvisible:this._fullyvisible||t()},n=this.index(i.first||r.first)<this.index(r.first),o=function(s){var o=[],l=[];i[s].each(function(){0>r[s].index(this)&&o.push(this)}),r[s].each(function(){0>i[s].index(this)&&l.push(this)}),n?o=o.reverse():l=l.reverse(),e._trigger(s+"in",t(o)),e._trigger(s+"out",t(l)),e["_"+s]=i[s]};for(s in i)o(s);return this}})}(jQuery,window),function(t){"use strict";t.jcarousel.fn.scrollIntoView=function(i,s,e){var r,n=t.jCarousel.parseTarget(i),o=this.index(this._fullyvisible.first()),l=this.index(this._fullyvisible.last());if(r=n.relative?0>n.target?Math.max(0,o+n.target):l+n.target:"object"!=typeof n.target?n.target:this.index(n.target),o>r)return this.scroll(r,s,e);if(r>=o&&l>=r)return t.isFunction(e)&&e.call(this,!1),this;for(var a,h=this.items(),u=this.clipping(),c=this.vertical?"bottom":this.rtl?"left":"right",f=0;;){if(a=h.eq(r),0===a.length)break;if(f+=this.dimension(a),f>=u){var d=parseFloat(a.css("margin-"+c))||0;f-d!==u&&r++;break}if(0>=r)break;r--}return this.scroll(r,s,e)}}(jQuery),function(t){"use strict";t.jCarousel.plugin("jcarouselControl",{_options:{target:"+=1",event:"click",method:"scroll"},_active:null,_init:function(){this.onDestroy=t.proxy(function(){this._destroy(),this.carousel().one("jcarousel:createend",t.proxy(this._create,this))},this),this.onReload=t.proxy(this._reload,this),this.onEvent=t.proxy(function(i){i.preventDefault();var s=this.options("method");t.isFunction(s)?s.call(this):this.carousel().jcarousel(this.options("method"),this.options("target"))},this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy).on("jcarousel:reloadend jcarousel:scrollend",this.onReload),this._element.on(this.options("event")+".jcarouselcontrol",this.onEvent),this._reload()},_destroy:function(){this._element.off(".jcarouselcontrol",this.onEvent),this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend jcarousel:scrollend",this.onReload)},_reload:function(){var i,s=t.jCarousel.parseTarget(this.options("target")),e=this.carousel();if(s.relative)i=e.jcarousel(s.target>0?"hasNext":"hasPrev");else{var r="object"!=typeof s.target?e.jcarousel("items").eq(s.target):s.target;i=e.jcarousel("target").index(r)>=0}return this._active!==i&&(this._trigger(i?"active":"inactive"),this._active=i),this}})}(jQuery),function(t){"use strict";t.jCarousel.plugin("jcarouselPagination",{_options:{perPage:null,item:function(t){return'<a href="#'+t+'">'+t+"</a>"},event:"click",method:"scroll"},_carouselItems:null,_pages:{},_items:{},_currentPage:null,_init:function(){this.onDestroy=t.proxy(function(){this._destroy(),this.carousel().one("jcarousel:createend",t.proxy(this._create,this))},this),this.onReload=t.proxy(this._reload,this),this.onScroll=t.proxy(this._update,this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy).on("jcarousel:reloadend",this.onReload).on("jcarousel:scrollend",this.onScroll),this._reload()},_destroy:function(){this._clear(),this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend",this.onReload).off("jcarousel:scrollend",this.onScroll),this._carouselItems=null},_reload:function(){var i=this.options("perPage");if(this._pages={},this._items={},t.isFunction(i)&&(i=i.call(this)),null==i)this._pages=this._calculatePages();else for(var s,e=parseInt(i,10)||0,r=this._getCarouselItems(),n=1,o=0;;){if(s=r.eq(o++),0===s.length)break;this._pages[n]=this._pages[n]?this._pages[n].add(s):s,0===o%e&&n++}this._clear();var l=this,a=this.carousel().data("jcarousel"),h=this._element,u=this.options("item"),c=this._getCarouselItems().length;t.each(this._pages,function(i,s){var e=l._items[i]=t(u.call(l,i,s));e.on(l.options("event")+".jcarouselpagination",t.proxy(function(){var t=s.eq(0);if(a.circular){var e=a.index(a.target()),r=a.index(t);parseFloat(i)>parseFloat(l._currentPage)?e>r&&(t="+="+(c-e+r)):r>e&&(t="-="+(e+(c-r)))}a[this.options("method")](t)},l)),h.append(e)}),this._update()},_update:function(){var i,s=this.carousel().jcarousel("target");t.each(this._pages,function(t,e){return e.each(function(){return s.is(this)?(i=t,!1):void 0}),i?!1:void 0}),this._currentPage!==i&&(this._trigger("inactive",this._items[this._currentPage]),this._trigger("active",this._items[i])),this._currentPage=i},items:function(){return this._items},reloadCarouselItems:function(){return this._carouselItems=null,this},_clear:function(){this._element.empty(),this._currentPage=null},_calculatePages:function(){for(var t,i=this.carousel().data("jcarousel"),s=this._getCarouselItems(),e=i.clipping(),r=0,n=0,o=1,l={};;){if(t=s.eq(n++),0===t.length)break;l[o]=l[o]?l[o].add(t):t,r+=i.dimension(t),r>=e&&(o++,r=0)}return l},_getCarouselItems:function(){return this._carouselItems||(this._carouselItems=this.carousel().jcarousel("items")),this._carouselItems}})}(jQuery),function(t){"use strict";t.jCarousel.plugin("jcarouselAutoscroll",{_options:{target:"+=1",interval:3e3,autostart:!0},_timer:null,_init:function(){this.onDestroy=t.proxy(function(){this._destroy(),this.carousel().one("jcarousel:createend",t.proxy(this._create,this))},this),this.onAnimateEnd=t.proxy(this.start,this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy),this.options("autostart")&&this.start()},_destroy:function(){this.stop(),this.carousel().off("jcarousel:destroy",this.onDestroy)},start:function(){return this.stop(),this.carousel().one("jcarousel:animateend",this.onAnimateEnd),this._timer=setTimeout(t.proxy(function(){this.carousel().jcarousel("scroll",this.options("target"))},this),this.options("interval")),this},stop:function(){return this._timer&&(this._timer=clearTimeout(this._timer)),this.carousel().off("jcarousel:animateend",this.onAnimateEnd),this}})}(jQuery);
|