Version Notes
Fourth Release
Download this release
Release Info
Developer | Daffodil Software |
Extension | Daffodil_Isfeatured |
Version | 1.0.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.3 to 1.0.0.4
- app/code/local/Daffodil/Isfeatured/Block/Isfeatured.php +31 -30
- app/code/local/Daffodil/Isfeatured/controllers/IndexController.php +14 -14
- app/code/local/Daffodil/Isfeatured/etc/config.xml +8 -7
- app/code/local/Daffodil/Isfeatured/etc/config.xml~ +0 -83
- app/code/local/Daffodil/Isfeatured/etc/system.xml +56 -46
- app/code/local/Daffodil/Isfeatured/etc/system.xml~ +0 -66
- app/code/local/Daffodil/Isfeatured/sql/categoryattribute1350295220_setup/mysql4-install-0.1.0.php~ +0 -31
- app/code/local/Daffodil/Isfeatured/sql/categoryattribute1350295220_setup/{mysql4-install-0.1.0.php → mysql4-install-1.0.0.4.php} +1 -1
- app/design/frontend/default/default/layout/isfeatured.xml +39 -42
- app/design/frontend/default/default/template/catalog/product/price.phtml +0 -474
- app/design/frontend/default/default/template/isfeatured/featureblock.phtml +1 -3
- app/design/frontend/rwd/default/layout/isfeatured.xml +39 -42
- app/design/frontend/rwd/default/template/isfeatured/featureblock.phtml +1 -3
- package.xml +7 -7
- skin/frontend/default/default/css/featured/jquery.bxslider.css +244 -225
- skin/frontend/default/default/css/images/featured/left.png +0 -0
- skin/frontend/default/default/css/images/featured/right.png +0 -0
- skin/frontend/rwd/default/css/featured/jquery.bxslider.css +247 -224
- skin/frontend/rwd/default/css/images/featured/left.png +0 -0
- skin/frontend/rwd/default/css/images/featured/right.png +0 -0
app/code/local/Daffodil/Isfeatured/Block/Isfeatured.php
CHANGED
@@ -1,30 +1,31 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/*
|
4 |
-
* Featured product Extension Developed by Daffodil S/w Ltd.
|
5 |
-
*/
|
6 |
-
?>
|
7 |
-
<?php
|
8 |
-
|
9 |
-
class Daffodil_Isfeatured_Block_Isfeatured extends Mage_Core_Block_Template {
|
10 |
-
|
11 |
-
public function ftotalProduct() {
|
12 |
-
$collection = Mage::getModel('catalog/product');
|
13 |
-
$products = $collection->getCollection()
|
14 |
-
->addAttributeToSelect('*')
|
15 |
-
->addAttributeToFilter('is_featured', 1)
|
16 |
-
->
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
$
|
23 |
-
$
|
24 |
-
$
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* Featured product Extension Developed by Daffodil S/w Ltd.
|
5 |
+
*/
|
6 |
+
?>
|
7 |
+
<?php
|
8 |
+
|
9 |
+
class Daffodil_Isfeatured_Block_Isfeatured extends Mage_Core_Block_Template {
|
10 |
+
|
11 |
+
public function ftotalProduct() {
|
12 |
+
$collection = Mage::getModel('catalog/product');
|
13 |
+
$products = $collection->getCollection()
|
14 |
+
->addAttributeToSelect('*')
|
15 |
+
->addAttributeToFilter('is_featured', 1)
|
16 |
+
->addAttributeToFilter('status', 1)
|
17 |
+
->load();
|
18 |
+
return $products;
|
19 |
+
}
|
20 |
+
|
21 |
+
public function getStoreconfig() {
|
22 |
+
$enable = Mage::getStoreConfig('isfeatured/all_settings/enabled');
|
23 |
+
$title = Mage::getStoreConfig('isfeatured/all_settings/title');
|
24 |
+
$limit = Mage::getStoreConfig('isfeatured/all_settings/product_no');
|
25 |
+
$featuredValues = array('enabled' => $enable, 'title' => $title, 'limit' => $limit);
|
26 |
+
return $featuredValues;
|
27 |
+
}
|
28 |
+
|
29 |
+
}
|
30 |
+
|
31 |
+
?>
|
app/code/local/Daffodil/Isfeatured/controllers/IndexController.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* Featured product Extension Developed by Daffodil S/w Ltd.
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<?php
|
7 |
-
class Daffodil_Isfeatured_IndexController extends Mage_Core_Controller_Front_Action{
|
8 |
-
public function indexAction()
|
9 |
-
{
|
10 |
-
$this->loadLayout();
|
11 |
-
$this->renderLayout();
|
12 |
-
}
|
13 |
-
}
|
14 |
-
?>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Featured product Extension Developed by Daffodil S/w Ltd.
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<?php
|
7 |
+
class Daffodil_Isfeatured_IndexController extends Mage_Core_Controller_Front_Action{
|
8 |
+
public function indexAction()
|
9 |
+
{
|
10 |
+
$this->loadLayout();
|
11 |
+
$this->renderLayout();
|
12 |
+
}
|
13 |
+
}
|
14 |
+
?>
|
app/code/local/Daffodil/Isfeatured/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Daffodil_Isfeatured>
|
5 |
-
<version>0.
|
6 |
</Daffodil_Isfeatured>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -41,7 +41,7 @@
|
|
41 |
</isfeatured>
|
42 |
</models>
|
43 |
<resources>
|
44 |
-
<
|
45 |
<setup>
|
46 |
<module>Daffodil_Isfeatured</module>
|
47 |
<class>Mage_Catalog_Model_Resource_Eav_Mysql4_Setup</class>
|
@@ -49,17 +49,17 @@
|
|
49 |
<connection>
|
50 |
<use>core_setup</use>
|
51 |
</connection>
|
52 |
-
</
|
53 |
-
<
|
54 |
<connection>
|
55 |
<use>core_write</use>
|
56 |
</connection>
|
57 |
-
</
|
58 |
-
<
|
59 |
<connection>
|
60 |
<use>core_read</use>
|
61 |
</connection>
|
62 |
-
</
|
63 |
</resources>
|
64 |
</global>
|
65 |
<adminhtml>
|
@@ -89,6 +89,7 @@
|
|
89 |
<enabled>1</enabled>
|
90 |
<title>Feature Products</title>
|
91 |
<product_no>8</product_no>
|
|
|
92 |
</all_settings>
|
93 |
</isfeatured>
|
94 |
</default>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Daffodil_Isfeatured>
|
5 |
+
<version>1.0.0.4</version>
|
6 |
</Daffodil_Isfeatured>
|
7 |
</modules>
|
8 |
<frontend>
|
41 |
</isfeatured>
|
42 |
</models>
|
43 |
<resources>
|
44 |
+
<isfeatured_setup>
|
45 |
<setup>
|
46 |
<module>Daffodil_Isfeatured</module>
|
47 |
<class>Mage_Catalog_Model_Resource_Eav_Mysql4_Setup</class>
|
49 |
<connection>
|
50 |
<use>core_setup</use>
|
51 |
</connection>
|
52 |
+
</isfeatured_setup>
|
53 |
+
<isfeatured_write>
|
54 |
<connection>
|
55 |
<use>core_write</use>
|
56 |
</connection>
|
57 |
+
</isfeatured_write>
|
58 |
+
<isfeatured_read>
|
59 |
<connection>
|
60 |
<use>core_read</use>
|
61 |
</connection>
|
62 |
+
</isfeatured_read>
|
63 |
</resources>
|
64 |
</global>
|
65 |
<adminhtml>
|
89 |
<enabled>1</enabled>
|
90 |
<title>Feature Products</title>
|
91 |
<product_no>8</product_no>
|
92 |
+
<jqueryinclude>1</jqueryinclude>
|
93 |
</all_settings>
|
94 |
</isfeatured>
|
95 |
</default>
|
app/code/local/Daffodil/Isfeatured/etc/config.xml~
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Daffodil_Isfeatured>
|
5 |
-
<version>0.1.0</version>
|
6 |
-
</Daffodil_Isfeatured>
|
7 |
-
</modules>
|
8 |
-
<frontend>
|
9 |
-
<routers>
|
10 |
-
<isfeatured>
|
11 |
-
<use>standard</use>
|
12 |
-
<args>
|
13 |
-
<module>Daffodil_Isfeatured</module>
|
14 |
-
<frontName>isfeatured</frontName>
|
15 |
-
</args>
|
16 |
-
</isfeatured>
|
17 |
-
</routers>
|
18 |
-
<layout>
|
19 |
-
<updates>
|
20 |
-
<festock>
|
21 |
-
<file>isfeatured.xml</file>
|
22 |
-
</festock>
|
23 |
-
</updates>
|
24 |
-
</layout>
|
25 |
-
</frontend>
|
26 |
-
<global>
|
27 |
-
<helpers>
|
28 |
-
<isfeatured>
|
29 |
-
<class>Daffodil_Isfeatured_Helper</class>
|
30 |
-
</isfeatured>
|
31 |
-
|
32 |
-
</helpers>
|
33 |
-
|
34 |
-
<models>
|
35 |
-
<isfeatured>
|
36 |
-
<class>Daffodil_Isfeatured_Model</class>
|
37 |
-
<resourceModel>isfeatured_mysql4</resourceModel>
|
38 |
-
</isfeatured>
|
39 |
-
</models>
|
40 |
-
<resources>
|
41 |
-
<categoryattribute1350295220_setup>
|
42 |
-
<setup>
|
43 |
-
<module>Daffodil_Isfeatured</module>
|
44 |
-
<class>Mage_Catalog_Model_Resource_Eav_Mysql4_Setup</class>
|
45 |
-
</setup>
|
46 |
-
<connection>
|
47 |
-
<use>core_setup</use>
|
48 |
-
</connection>
|
49 |
-
</categoryattribute1350295220_setup>
|
50 |
-
<categoryattribute1350295220_write>
|
51 |
-
<connection>
|
52 |
-
<use>core_write</use>
|
53 |
-
</connection>
|
54 |
-
</categoryattribute1350295220_write>
|
55 |
-
<categoryattribute1350295220_read>
|
56 |
-
<connection>
|
57 |
-
<use>core_read</use>
|
58 |
-
</connection>
|
59 |
-
</categoryattribute1350295220_read>
|
60 |
-
</resources>
|
61 |
-
</global>
|
62 |
-
<adminhtml>
|
63 |
-
<acl>
|
64 |
-
<resources>
|
65 |
-
<admin>
|
66 |
-
<children>
|
67 |
-
<system>
|
68 |
-
<children>
|
69 |
-
<config>
|
70 |
-
<children>
|
71 |
-
<isfeatured>
|
72 |
-
<title>Store Is featured option</title>
|
73 |
-
</isfeatured>
|
74 |
-
</children>
|
75 |
-
</config>
|
76 |
-
</children>
|
77 |
-
</system>
|
78 |
-
</children>
|
79 |
-
</admin>
|
80 |
-
</resources>
|
81 |
-
</acl>
|
82 |
-
</adminhtml>
|
83 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Daffodil/Isfeatured/etc/system.xml
CHANGED
@@ -1,59 +1,69 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
-
|
4 |
<isfeatured translate="label" module="isfeatured">
|
5 |
<label>Featured Products</label>
|
6 |
-
<sort_order>
|
7 |
</isfeatured>
|
8 |
</tabs>
|
9 |
-
|
10 |
-
|
11 |
<tab>isfeatured</tab>
|
12 |
<label>Featured Product settings</label>
|
13 |
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>
|
15 |
<show_in_default>1</show_in_default>
|
16 |
<show_in_website>1</show_in_website>
|
17 |
<show_in_store>1</show_in_store>
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
</config>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
+
<tabs>
|
4 |
<isfeatured translate="label" module="isfeatured">
|
5 |
<label>Featured Products</label>
|
6 |
+
<sort_order>99</sort_order>
|
7 |
</isfeatured>
|
8 |
</tabs>
|
9 |
+
<sections>
|
10 |
+
<isfeatured translate="label" module="isfeatured">
|
11 |
<tab>isfeatured</tab>
|
12 |
<label>Featured Product settings</label>
|
13 |
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>100</sort_order>
|
15 |
<show_in_default>1</show_in_default>
|
16 |
<show_in_website>1</show_in_website>
|
17 |
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<all_settings translate="label">
|
20 |
+
<label>Featured Product</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>0</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<enabled translate="label">
|
28 |
+
<label>Enable Feature Product</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>1</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
</enabled>
|
36 |
+
<title translate="label comment">
|
37 |
+
<label>Title </label>
|
38 |
+
<comment>Show your title here</comment>
|
39 |
+
<frontend_type>text</frontend_type>
|
40 |
+
<sort_order>5</sort_order>
|
41 |
+
<show_in_default>1</show_in_default>
|
42 |
+
<show_in_website>1</show_in_website>
|
43 |
+
<show_in_store>1</show_in_store>
|
44 |
+
</title>
|
45 |
+
<product_no translate="label comment">
|
46 |
+
<label>Set number of featured products to show on </label>
|
47 |
+
<comment>Show 8 Products by default</comment>
|
48 |
+
<frontend_type>text</frontend_type>
|
49 |
+
<sort_order>6</sort_order>
|
50 |
+
<show_in_default>1</show_in_default>
|
51 |
+
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
+
</product_no>
|
54 |
+
<jqueryinclude translate="label">
|
55 |
+
<label>Include Jquery Library</label>
|
56 |
+
<comment>Example:jquery-1.10.2.min.js(false for disable)</comment>
|
57 |
+
<frontend_type>select</frontend_type>
|
58 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
59 |
+
<sort_order>9</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 |
+
</jqueryinclude >
|
64 |
+
</fields>
|
65 |
+
</all_settings>
|
66 |
+
</groups>
|
67 |
+
</isfeatured>
|
68 |
+
</sections>
|
69 |
</config>
|
app/code/local/Daffodil/Isfeatured/etc/system.xml~
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<isfeatured translate="label" module="isfeatured">
|
5 |
-
<label>stock counter</label>
|
6 |
-
<sort_order>700</sort_order>
|
7 |
-
</isfeatured>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<isfeatured translate="label" module="isfeatured">
|
11 |
-
|
12 |
-
<tab>isfeatured</tab>
|
13 |
-
<label>stock message settings</label>
|
14 |
-
<frontend_type>text</frontend_type>
|
15 |
-
<sort_order>1000</sort_order>
|
16 |
-
<show_in_default>1</show_in_default>
|
17 |
-
<show_in_website>1</show_in_website>
|
18 |
-
<show_in_store>1</show_in_store>
|
19 |
-
<groups>
|
20 |
-
|
21 |
-
|
22 |
-
<all_settings translate="label">
|
23 |
-
<label>stock message settings</label>
|
24 |
-
<frontend_type>text</frontend_type>
|
25 |
-
<sort_order>10</sort_order>
|
26 |
-
<show_in_default>1</show_in_default>
|
27 |
-
<show_in_website>1</show_in_website>
|
28 |
-
<show_in_store>0</show_in_store>
|
29 |
-
<fields>
|
30 |
-
<!-- <featured_items translate="label comment">
|
31 |
-
<label>Set number of featured products to show on </label>
|
32 |
-
<comment>Set the limt</comment>
|
33 |
-
<frontend_type>text</frontend_type>
|
34 |
-
<sort_order>5</sort_order>
|
35 |
-
<show_in_default>1</show_in_default>
|
36 |
-
<show_in_website>1</show_in_website>
|
37 |
-
<show_in_store>1</show_in_store>
|
38 |
-
</featured_items>-->
|
39 |
-
<stock_items translate="label comment">
|
40 |
-
<label>Minimum no of product</label>
|
41 |
-
<comment>Set the limt after that product stock will show low </comment>
|
42 |
-
<frontend_type>text</frontend_type>
|
43 |
-
<sort_order>6</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 |
-
</stock_items>
|
48 |
-
<stock_msg translate="label comment">
|
49 |
-
<label>Set your message</label>
|
50 |
-
<comment>You can set your custom message for low stock </comment>
|
51 |
-
<frontend_type>text</frontend_type>
|
52 |
-
<sort_order>7</sort_order>
|
53 |
-
<show_in_default>1</show_in_default>
|
54 |
-
<show_in_website>1</show_in_website>
|
55 |
-
<show_in_store>1</show_in_store>
|
56 |
-
</stock_msg>
|
57 |
-
|
58 |
-
</fields>
|
59 |
-
</all_settings>
|
60 |
-
</groups>
|
61 |
-
</isfeatured>
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
</sections>
|
66 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Daffodil/Isfeatured/sql/categoryattribute1350295220_setup/mysql4-install-0.1.0.php~
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$installer = $this;
|
3 |
-
/* @var $installer Mage_Eav_Model_Entity_Setup */
|
4 |
-
|
5 |
-
$installer->startSetup();
|
6 |
-
|
7 |
-
$installer->addAttribute('catalog_product', 'is_featured', array(
|
8 |
-
'group' => 'General',
|
9 |
-
'type' => 'int',
|
10 |
-
'backend' => '',
|
11 |
-
'frontend' => '',
|
12 |
-
'label' => 'Select Featured ',
|
13 |
-
'input' => 'boolean',
|
14 |
-
'class' => '',
|
15 |
-
'source' => '',
|
16 |
-
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
|
17 |
-
'visible' => true,
|
18 |
-
'required' => false,
|
19 |
-
'user_defined' => true,
|
20 |
-
'default' => '0',
|
21 |
-
'searchable' => false,
|
22 |
-
'filterable' => false,
|
23 |
-
'comparable' => false,
|
24 |
-
'visible_on_front' => false,
|
25 |
-
'unique' => false,
|
26 |
-
'apply_to' => 'simple,configurable,virtual,bundle,downloadable',
|
27 |
-
'is_configurable' => false
|
28 |
-
));
|
29 |
-
|
30 |
-
$installer->endSetup();
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Daffodil/Isfeatured/sql/categoryattribute1350295220_setup/{mysql4-install-0.1.0.php → mysql4-install-1.0.0.4.php}
RENAMED
@@ -23,7 +23,7 @@ $installer->addAttribute('catalog_product', 'is_featured', array(
|
|
23 |
'comparable' => false,
|
24 |
'visible_on_front' => false,
|
25 |
'unique' => false,
|
26 |
-
'apply_to' => 'simple,configurable,virtual,bundle,downloadable',
|
27 |
'is_configurable' => false
|
28 |
));
|
29 |
|
23 |
'comparable' => false,
|
24 |
'visible_on_front' => false,
|
25 |
'unique' => false,
|
26 |
+
'apply_to' => 'simple,configurable,virtual,bundle,downloadable,grouped',
|
27 |
'is_configurable' => false
|
28 |
));
|
29 |
|
app/design/frontend/default/default/layout/isfeatured.xml
CHANGED
@@ -1,42 +1,39 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<default>
|
4 |
-
<reference name="head">
|
5 |
-
<action method="addCss">
|
6 |
-
<stylesheet>css/featured/jquery.bxslider.css</stylesheet>
|
7 |
-
</action>
|
8 |
-
</reference>
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
<
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
<
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
</reference>
|
41 |
-
</cms_index_index>
|
42 |
-
</layout>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss">
|
6 |
+
<stylesheet>css/featured/jquery.bxslider.css</stylesheet>
|
7 |
+
</action>
|
8 |
+
</reference>
|
9 |
+
<reference name="head">
|
10 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
11 |
+
<type>skin_js</type>
|
12 |
+
<name>js/featured/jquery-1.10.2.min.js</name>
|
13 |
+
<params/>
|
14 |
+
<if/>
|
15 |
+
</action>
|
16 |
+
</reference>
|
17 |
+
<reference name="head">
|
18 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
19 |
+
<type>skin_js</type>
|
20 |
+
<name>js/featured/noconflict.js</name>
|
21 |
+
<params/>
|
22 |
+
<if/>
|
23 |
+
</action>
|
24 |
+
</reference>
|
25 |
+
<reference name="head">
|
26 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
27 |
+
<type>skin_js</type>
|
28 |
+
<name>js/featured/jquery.bxslider.min.js</name>
|
29 |
+
<params/>
|
30 |
+
<if/>
|
31 |
+
</action>
|
32 |
+
</reference>
|
33 |
+
</default>
|
34 |
+
<cms_index_index>
|
35 |
+
<reference name="content">
|
36 |
+
<block type="isfeatured/isfeatured" name="isfeatured" as="isfeatured" template="isfeatured/featureblock.phtml" />
|
37 |
+
</reference>
|
38 |
+
</cms_index_index>
|
39 |
+
</layout>
|
|
|
|
|
|
app/design/frontend/default/default/template/catalog/product/price.phtml
DELETED
@@ -1,474 +0,0 @@
|
|
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) 2014 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 |
-
$_store = $_product->getStore();
|
46 |
-
$_id = $_product->getId();
|
47 |
-
$_weeeSeparator = '';
|
48 |
-
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
49 |
-
$_minimalPriceValue = $_product->getMinimalPrice();
|
50 |
-
$_minimalPriceValue = $_store->roundPrice($_store->convertPrice($_minimalPriceValue));
|
51 |
-
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
52 |
-
$_convertedFinalPrice = $_store->roundPrice($_store->convertPrice($_product->getFinalPrice()));
|
53 |
-
$_specialPriceStoreLabel = '';
|
54 |
-
if ($this->getProductAttribute('special_price')) {
|
55 |
-
$_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
|
56 |
-
}
|
57 |
-
?>
|
58 |
-
|
59 |
-
<?php if (!$_product->isGrouped()): ?>
|
60 |
-
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
61 |
-
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
|
62 |
-
<?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
|
63 |
-
<?php if ($_weeeHelper->isTaxable()): ?>
|
64 |
-
<?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_weeeTaxAttributes); ?>
|
65 |
-
<?php endif; ?>
|
66 |
-
<?php $_weeeTaxAmount = $_store->roundPrice($_store->convertPrice($_weeeTaxAmount)); ?>
|
67 |
-
<?php $_weeeTaxAmountInclTaxes = $_store->roundPrice($_store->convertPrice($_weeeTaxAmountInclTaxes)); ?>
|
68 |
-
|
69 |
-
<div class="price-box">
|
70 |
-
<?php $_convertedPrice = $_store->roundPrice($_store->convertPrice($_product->getPrice())); ?>
|
71 |
-
<?php $_price = $_taxHelper->getPrice($_product, $_convertedPrice); ?>
|
72 |
-
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_convertedPrice, $_simplePricesTax); ?>
|
73 |
-
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_convertedFinalPrice) ?>
|
74 |
-
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_convertedFinalPrice, true) ?>
|
75 |
-
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
76 |
-
<?php if ($_finalPrice >= $_price): ?>
|
77 |
-
<?php if ($_taxHelper->displayBothPrices()): ?>
|
78 |
-
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
79 |
-
<span class="price-excluding-tax">
|
80 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
81 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
82 |
-
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
83 |
-
</span>
|
84 |
-
</span>
|
85 |
-
<span class="price-including-tax">
|
86 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
87 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
88 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
89 |
-
</span>
|
90 |
-
</span>
|
91 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
92 |
-
<span class="price-excluding-tax">
|
93 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
94 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
95 |
-
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
96 |
-
</span>
|
97 |
-
</span>
|
98 |
-
<span class="weee">(
|
99 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
100 |
-
<?php echo $_weeeSeparator; ?>
|
101 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
102 |
-
<?php $_weeeSeparator = ' + '; ?>
|
103 |
-
<?php endforeach; ?>
|
104 |
-
)</span>
|
105 |
-
<span class="price-including-tax">
|
106 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
107 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
108 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
109 |
-
</span>
|
110 |
-
</span>
|
111 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
112 |
-
<span class="price-excluding-tax">
|
113 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
114 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
115 |
-
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
116 |
-
</span>
|
117 |
-
</span>
|
118 |
-
<span class="price-including-tax">
|
119 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
120 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
121 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
122 |
-
</span>
|
123 |
-
<span class="weee">(
|
124 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
125 |
-
<?php echo $_weeeSeparator; ?>
|
126 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
127 |
-
<?php $_weeeSeparator = ' + '; ?>
|
128 |
-
<?php endforeach; ?>
|
129 |
-
)</span>
|
130 |
-
</span>
|
131 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
132 |
-
<span class="price-excluding-tax">
|
133 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
134 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
135 |
-
<?php echo $_coreHelper->formatPrice($_price, false) ?>
|
136 |
-
</span>
|
137 |
-
</span>
|
138 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
139 |
-
<span class="weee">
|
140 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
141 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
142 |
-
</span>
|
143 |
-
<?php endforeach; ?>
|
144 |
-
<span class="price-including-tax">
|
145 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
146 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
147 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
148 |
-
</span>
|
149 |
-
</span>
|
150 |
-
<?php else: ?>
|
151 |
-
<span class="price-excluding-tax">
|
152 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
153 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
154 |
-
<?php if ($_finalPrice == $_price): ?>
|
155 |
-
<?php echo $_coreHelper->formatPrice($_price, false) ?>
|
156 |
-
<?php else: ?>
|
157 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
158 |
-
<?php endif; ?>
|
159 |
-
</span>
|
160 |
-
</span>
|
161 |
-
<span class="price-including-tax">
|
162 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
163 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
164 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
|
165 |
-
</span>
|
166 |
-
</span>
|
167 |
-
<?php endif; ?>
|
168 |
-
<?php else: ?>
|
169 |
-
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1))): // including ?>
|
170 |
-
<?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
|
171 |
-
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
172 |
-
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
|
173 |
-
</span>
|
174 |
-
|
175 |
-
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // show description ?>
|
176 |
-
<span class="weee">(
|
177 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
178 |
-
<?php echo $_weeeSeparator; ?>
|
179 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
180 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
|
181 |
-
<?php $_weeeSeparator = ' + '; ?>
|
182 |
-
<?php endforeach; ?>
|
183 |
-
)</span>
|
184 |
-
<?php endif; ?>
|
185 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
186 |
-
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
187 |
-
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, true) ?>
|
188 |
-
</span>
|
189 |
-
<span class="weee">(
|
190 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
191 |
-
<?php echo $_weeeSeparator; ?>
|
192 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
193 |
-
<?php $_weeeSeparator = ' + '; ?>
|
194 |
-
<?php endforeach; ?>
|
195 |
-
)</span>
|
196 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
197 |
-
<span class="regular-price"><?php echo $_coreHelper->formatPrice($_price, true) ?></span><br/>
|
198 |
-
<?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
|
199 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
200 |
-
<span class="weee">
|
201 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
202 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
|
203 |
-
</span>
|
204 |
-
<?php endforeach; ?>
|
205 |
-
<span class="regular-price"
|
206 |
-
id="product-price-weee-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
207 |
-
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
|
208 |
-
</span>
|
209 |
-
<?php else: ?>
|
210 |
-
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
211 |
-
<?php if ($_finalPrice == $_price): ?>
|
212 |
-
<?php echo $_coreHelper->formatPrice($_price, true) ?>
|
213 |
-
<?php else: ?>
|
214 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice, true) ?>
|
215 |
-
<?php endif; ?>
|
216 |
-
</span>
|
217 |
-
<?php endif; ?>
|
218 |
-
<?php endif; ?>
|
219 |
-
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
220 |
-
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
221 |
-
<?php $_originalWeeeTaxAmount = $_store->roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?>
|
222 |
-
|
223 |
-
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
224 |
-
<p class="old-price">
|
225 |
-
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
226 |
-
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
227 |
-
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
228 |
-
</span>
|
229 |
-
</p>
|
230 |
-
|
231 |
-
<?php if ($_taxHelper->displayBothPrices()): ?>
|
232 |
-
<p class="special-price">
|
233 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
234 |
-
<span class="price-excluding-tax">
|
235 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
236 |
-
<span class="price"
|
237 |
-
id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
238 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
239 |
-
</span>
|
240 |
-
</span>
|
241 |
-
<span class="price-including-tax">
|
242 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
243 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
244 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
245 |
-
</span>
|
246 |
-
</span>
|
247 |
-
</p>
|
248 |
-
<?php else: ?>
|
249 |
-
<p class="special-price">
|
250 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
251 |
-
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
252 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
|
253 |
-
</span>
|
254 |
-
</p>
|
255 |
-
<?php endif; ?>
|
256 |
-
|
257 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
258 |
-
<p class="old-price">
|
259 |
-
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
260 |
-
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
261 |
-
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
262 |
-
</span>
|
263 |
-
</p>
|
264 |
-
|
265 |
-
<p class="special-price">
|
266 |
-
<?php if ($_taxHelper->displayBothPrices()): ?>
|
267 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
268 |
-
<span class="price-excluding-tax">
|
269 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
270 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
271 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
272 |
-
</span>
|
273 |
-
</span>
|
274 |
-
<span class="weee">(
|
275 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
276 |
-
<?php echo $_weeeSeparator; ?>
|
277 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
278 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
279 |
-
<?php $_weeeSeparator = ' + '; ?>
|
280 |
-
<?php endforeach; ?>
|
281 |
-
)</span>
|
282 |
-
<span class="price-including-tax">
|
283 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
284 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
285 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
286 |
-
</span>
|
287 |
-
</span>
|
288 |
-
<?php else: ?>
|
289 |
-
<p class="special-price">
|
290 |
-
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
291 |
-
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
292 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
|
293 |
-
</span>
|
294 |
-
</p>
|
295 |
-
<span class="weee">(
|
296 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
297 |
-
<?php echo $_weeeSeparator; ?>
|
298 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
299 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
300 |
-
<?php $_weeeSeparator = ' + '; ?>
|
301 |
-
<?php endforeach; ?>
|
302 |
-
)</span>
|
303 |
-
<?php endif; ?>
|
304 |
-
</p>
|
305 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
306 |
-
<p class="old-price">
|
307 |
-
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
308 |
-
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
309 |
-
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
310 |
-
</span>
|
311 |
-
</p>
|
312 |
-
|
313 |
-
<p class="special-price">
|
314 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
315 |
-
<span class="price-excluding-tax">
|
316 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
317 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
318 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
319 |
-
</span>
|
320 |
-
</span>
|
321 |
-
<span class="weee">(
|
322 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
323 |
-
<?php echo $_weeeSeparator; ?>
|
324 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
325 |
-
<?php $_weeeSeparator = ' + '; ?>
|
326 |
-
<?php endforeach; ?>
|
327 |
-
)</span>
|
328 |
-
<span class="price-including-tax">
|
329 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
330 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
331 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
332 |
-
</span>
|
333 |
-
</span>
|
334 |
-
</p>
|
335 |
-
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
336 |
-
<p class="old-price">
|
337 |
-
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
338 |
-
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
339 |
-
<?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
|
340 |
-
</span>
|
341 |
-
</p>
|
342 |
-
|
343 |
-
<p class="special-price">
|
344 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
345 |
-
<span class="price-excluding-tax">
|
346 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
347 |
-
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
348 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
349 |
-
</span>
|
350 |
-
</span>
|
351 |
-
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
352 |
-
<span class="weee">
|
353 |
-
<?php echo $_weeeTaxAttribute->getName(); ?>
|
354 |
-
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
355 |
-
</span>
|
356 |
-
<?php endforeach; ?>
|
357 |
-
<span class="price-including-tax">
|
358 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
359 |
-
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
360 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
361 |
-
</span>
|
362 |
-
</span>
|
363 |
-
</p>
|
364 |
-
<?php else: // excl. ?>
|
365 |
-
<p class="old-price">
|
366 |
-
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
367 |
-
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
368 |
-
<?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
|
369 |
-
</span>
|
370 |
-
</p>
|
371 |
-
|
372 |
-
<?php if ($_taxHelper->displayBothPrices()): ?>
|
373 |
-
<p class="special-price">
|
374 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
375 |
-
<span class="price-excluding-tax">
|
376 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
377 |
-
<span class="price"
|
378 |
-
id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
379 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
380 |
-
</span>
|
381 |
-
</span>
|
382 |
-
<span class="price-including-tax">
|
383 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
384 |
-
<span class="price"
|
385 |
-
id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
386 |
-
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
|
387 |
-
</span>
|
388 |
-
</span>
|
389 |
-
</p>
|
390 |
-
<?php else: ?>
|
391 |
-
<p class="special-price">
|
392 |
-
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
393 |
-
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
394 |
-
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
395 |
-
</span>
|
396 |
-
</p>
|
397 |
-
<?php endif; ?>
|
398 |
-
<?php endif; ?>
|
399 |
-
|
400 |
-
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
401 |
-
|
402 |
-
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?>
|
403 |
-
|
404 |
-
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
405 |
-
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
406 |
-
<?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
|
407 |
-
<?php endif; ?>
|
408 |
-
|
409 |
-
<?php if ($this->getUseLinkForAsLowAs()): ?>
|
410 |
-
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
411 |
-
<?php else: ?>
|
412 |
-
<span class="minimal-price-link">
|
413 |
-
<?php endif ?>
|
414 |
-
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
415 |
-
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
416 |
-
<?php echo $_coreHelper->formatPrice($_minimalPriceDisplayValue, false) ?>
|
417 |
-
</span>
|
418 |
-
<?php if ($this->getUseLinkForAsLowAs()): ?>
|
419 |
-
</a>
|
420 |
-
<?php else: ?>
|
421 |
-
</span>
|
422 |
-
<?php endif ?>
|
423 |
-
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
424 |
-
</div>
|
425 |
-
|
426 |
-
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
427 |
-
<?php
|
428 |
-
$showMinPrice = $this->getDisplayMinimalPrice();
|
429 |
-
if ($showMinPrice && $_minimalPriceValue) {
|
430 |
-
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
|
431 |
-
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
|
432 |
-
$price = $showMinPrice ? $_minimalPriceValue : 0;
|
433 |
-
} else {
|
434 |
-
$price = $_convertedFinalPrice;
|
435 |
-
$_exclTax = $_taxHelper->getPrice($_product, $price);
|
436 |
-
$_inclTax = $_taxHelper->getPrice($_product, $price, true);
|
437 |
-
}
|
438 |
-
?>
|
439 |
-
<?php if ($price): ?>
|
440 |
-
<div class="price-box">
|
441 |
-
<p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
|
442 |
-
<?php if ($showMinPrice): ?>
|
443 |
-
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
444 |
-
<?php endif ?>
|
445 |
-
<?php if ($_taxHelper->displayBothPrices()): ?>
|
446 |
-
<span class="price-excluding-tax">
|
447 |
-
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
448 |
-
<span class="price"
|
449 |
-
id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
450 |
-
<?php echo $_coreHelper->formatPrice($_exclTax, false) ?>
|
451 |
-
</span>
|
452 |
-
</span>
|
453 |
-
<span class="price-including-tax">
|
454 |
-
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
455 |
-
<span class="price"
|
456 |
-
id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
457 |
-
<?php echo $_coreHelper->formatPrice($_inclTax, false) ?>
|
458 |
-
</span>
|
459 |
-
</span>
|
460 |
-
<?php else: ?>
|
461 |
-
<?php
|
462 |
-
$_showPrice = $_inclTax;
|
463 |
-
if (!$_taxHelper->displayPriceIncludingTax()) {
|
464 |
-
$_showPrice = $_exclTax;
|
465 |
-
}
|
466 |
-
?>
|
467 |
-
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
468 |
-
<?php echo $_coreHelper->formatPrice($_showPrice, false) ?>
|
469 |
-
</span>
|
470 |
-
<?php endif; ?>
|
471 |
-
</p>
|
472 |
-
</div>
|
473 |
-
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
474 |
-
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/isfeatured/featureblock.phtml
CHANGED
@@ -12,7 +12,6 @@ $enable = $_item['enabled'];
|
|
12 |
$title = $_item['title'];
|
13 |
$limit = $_item['limit'];
|
14 |
?>
|
15 |
-
|
16 |
<?php if ($enable): ?>
|
17 |
<div class="featured">
|
18 |
<div class="fhead">
|
@@ -31,7 +30,7 @@ $limit = $_item['limit'];
|
|
31 |
<li class="productdiv">
|
32 |
<a href="<?php echo $this->getUrl($_product->getUrlPath()) ?>" >
|
33 |
<span>
|
34 |
-
<img src="<? echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
35 |
</span>
|
36 |
</a>
|
37 |
<span class="productname">
|
@@ -56,7 +55,6 @@ $limit = $_item['limit'];
|
|
56 |
<?php echo $this->__("There are no feature products."); ?>
|
57 |
</div>
|
58 |
<?php endif; ?>
|
59 |
-
</div>
|
60 |
<?php endif; ?>
|
61 |
<script type="text/javascript">
|
62 |
jQuery(document).ready(function() {
|
12 |
$title = $_item['title'];
|
13 |
$limit = $_item['limit'];
|
14 |
?>
|
|
|
15 |
<?php if ($enable): ?>
|
16 |
<div class="featured">
|
17 |
<div class="fhead">
|
30 |
<li class="productdiv">
|
31 |
<a href="<?php echo $this->getUrl($_product->getUrlPath()) ?>" >
|
32 |
<span>
|
33 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
34 |
</span>
|
35 |
</a>
|
36 |
<span class="productname">
|
55 |
<?php echo $this->__("There are no feature products."); ?>
|
56 |
</div>
|
57 |
<?php endif; ?>
|
|
|
58 |
<?php endif; ?>
|
59 |
<script type="text/javascript">
|
60 |
jQuery(document).ready(function() {
|
app/design/frontend/rwd/default/layout/isfeatured.xml
CHANGED
@@ -1,42 +1,39 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<default>
|
4 |
-
<reference name="head">
|
5 |
-
<action method="addCss">
|
6 |
-
<stylesheet>css/featured/jquery.bxslider.css</stylesheet>
|
7 |
-
</action>
|
8 |
-
</reference>
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
<
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
<
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
</reference>
|
41 |
-
</cms_index_index>
|
42 |
-
</layout>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss">
|
6 |
+
<stylesheet>css/featured/jquery.bxslider.css</stylesheet>
|
7 |
+
</action>
|
8 |
+
</reference>
|
9 |
+
<reference name="head">
|
10 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
11 |
+
<type>skin_js</type>
|
12 |
+
<name>js/featured/jquery-1.10.2.min.js</name>
|
13 |
+
<params/>
|
14 |
+
<if/>
|
15 |
+
</action>
|
16 |
+
</reference>
|
17 |
+
<reference name="head">
|
18 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
19 |
+
<type>skin_js</type>
|
20 |
+
<name>js/featured/noconflict.js</name>
|
21 |
+
<params/>
|
22 |
+
<if/>
|
23 |
+
</action>
|
24 |
+
</reference>
|
25 |
+
<reference name="head">
|
26 |
+
<action method="addItem" ifconfig="isfeatured/all_settings/jqueryinclude">
|
27 |
+
<type>skin_js</type>
|
28 |
+
<name>js/featured/jquery.bxslider.min.js</name>
|
29 |
+
<params/>
|
30 |
+
<if/>
|
31 |
+
</action>
|
32 |
+
</reference>
|
33 |
+
</default>
|
34 |
+
<cms_index_index>
|
35 |
+
<reference name="content">
|
36 |
+
<block type="isfeatured/isfeatured" name="isfeatured" as="isfeatured" template="isfeatured/featureblock.phtml" />
|
37 |
+
</reference>
|
38 |
+
</cms_index_index>
|
39 |
+
</layout>
|
|
|
|
|
|
app/design/frontend/rwd/default/template/isfeatured/featureblock.phtml
CHANGED
@@ -12,7 +12,6 @@ $enable = $_item['enabled'];
|
|
12 |
$title = $_item['title'];
|
13 |
$limit = $_item['limit'];
|
14 |
?>
|
15 |
-
|
16 |
<?php if ($enable): ?>
|
17 |
<div class="featured">
|
18 |
<div class="fhead">
|
@@ -31,7 +30,7 @@ $limit = $_item['limit'];
|
|
31 |
<li class="productdiv">
|
32 |
<a href="<?php echo $this->getUrl($_product->getUrlPath()) ?>" >
|
33 |
<span>
|
34 |
-
<img src="<? echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
35 |
</span>
|
36 |
</a>
|
37 |
<span class="productname">
|
@@ -56,7 +55,6 @@ $limit = $_item['limit'];
|
|
56 |
<?php echo $this->__("There are no feature products."); ?>
|
57 |
</div>
|
58 |
<?php endif; ?>
|
59 |
-
</div>
|
60 |
<?php endif; ?>
|
61 |
<script type="text/javascript">
|
62 |
jQuery(document).ready(function() {
|
12 |
$title = $_item['title'];
|
13 |
$limit = $_item['limit'];
|
14 |
?>
|
|
|
15 |
<?php if ($enable): ?>
|
16 |
<div class="featured">
|
17 |
<div class="fhead">
|
30 |
<li class="productdiv">
|
31 |
<a href="<?php echo $this->getUrl($_product->getUrlPath()) ?>" >
|
32 |
<span>
|
33 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(170) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
|
34 |
</span>
|
35 |
</a>
|
36 |
<span class="productname">
|
55 |
<?php echo $this->__("There are no feature products."); ?>
|
56 |
</div>
|
57 |
<?php endif; ?>
|
|
|
58 |
<?php endif; ?>
|
59 |
<script type="text/javascript">
|
60 |
jQuery(document).ready(function() {
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Daffodil_Isfeatured</name>
|
4 |
-
<version>1.0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Manage featured product with scroller</summary>
|
10 |
-
<description>Extension
|
11 |
-
<notes>
|
12 |
<authors><author><name>Daffodil Software</name><user>daffodilsw</user><email>ashish.mittal@daffodilsw.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Daffodil"><dir name="Isfeatured"><dir name="Block"><file name="Isfeatured.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.9</max></package></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Daffodil_Isfeatured</name>
|
4 |
+
<version>1.0.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Manage featured product with scroller</summary>
|
10 |
+
<description>Extension show feature products having scroller functionality</description>
|
11 |
+
<notes>Fourth Release</notes>
|
12 |
<authors><author><name>Daffodil Software</name><user>daffodilsw</user><email>ashish.mittal@daffodilsw.com</email></author></authors>
|
13 |
+
<date>2014-10-01</date>
|
14 |
+
<time>09:46:04</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Daffodil"><dir name="Isfeatured"><dir name="Block"><file name="Isfeatured.php" hash="fba282bc61ef640759d82ea509542079"/><file name="Isfeatured.php~" hash="0299aaf2ad93270ccad9630d74595ff5"/></dir><dir name="Helper"><file name="Data.php" hash="befc784cc8edcef2ed31c67792d5d352"/></dir><dir name="controllers"><file name="IndexController.php" hash="979e3876dce485d62f6403c8a2060e18"/><file name="IndexController.php~" hash="a4050b59f980792884a310a67b93d8d8"/><file name="IsfeaturedController.php~" hash="853add497a1a7e27bc66341650acc82f"/></dir><dir name="etc"><file name="config.xml" hash="41241d1819b8a475e6b6570f6de5fd56"/><file name="system.xml" hash="9c24e58786a3581fa4774fb10ce1c27a"/></dir><dir name="sql"><dir name="categoryattribute1350295220_setup"><file name="mysql4-install-1.0.0.4.php" hash="fa7b3f195f11590a3653225ea3aeb03e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="isfeatured"><file name="featureblock.phtml" hash="7bbe59850cbfa26b06555deaf7f73425"/></dir><dir name="catalog"><dir name="product"><file name="price.phtml" hash="e507bc02200ea115e3fc6add456ec89a"/></dir></dir></dir><dir name="layout"><file name="isfeatured.xml" hash="2ca263bcd6904f2b17ca9e30b0aa3281"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="isfeatured"><file name="featureblock.phtml" hash="7bbe59850cbfa26b06555deaf7f73425"/></dir></dir><dir name="layout"><file name="isfeatured.xml" hash="2ca263bcd6904f2b17ca9e30b0aa3281"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="js"><dir name="featured"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery.bxslider.min.js" hash="697d69a48e5356f7106e38c09f7f19e0"/><file name="noconflict.js" hash="aec10679a7650d537d78e9faebf29463"/></dir></dir><dir name="css"><dir name="images"><dir name="featured"><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="left.png" hash="705f2c9abea3a46825c5c18120b95e38"/><file name="right.png" hash="5efde270ef27bc3929383501d52601c3"/></dir></dir><dir name="featured"><file name="jquery.bxslider.css" hash="4bc3f6126cd8070a186486095b850d31"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="js"><dir name="featured"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery.bxslider.min.js" hash="697d69a48e5356f7106e38c09f7f19e0"/><file name="noconflict.js" hash="aec10679a7650d537d78e9faebf29463"/></dir></dir><dir name="css"><dir name="images"><dir name="featured"><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="left.png" hash="705f2c9abea3a46825c5c18120b95e38"/><file name="right.png" hash="5efde270ef27bc3929383501d52601c3"/></dir></dir><dir name="featured"><file name="jquery.bxslider.css" hash="653f04f54a450c4cb4349bc42d4fd737"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Daffodil_Isfeatured.xml" hash="4e219ed1cd4a6eb9ef98a40631e09bd0"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.9.0.0</max></package></required></dependencies>
|
18 |
</package>
|
skin/frontend/default/default/css/featured/jquery.bxslider.css
CHANGED
@@ -1,225 +1,244 @@
|
|
1 |
-
/**
|
2 |
-
* BxSlider v4.1.2 - Fully loaded, responsive content slider
|
3 |
-
* http://bxslider.com
|
4 |
-
*
|
5 |
-
* Written by: Steven Wanderski, 2014
|
6 |
-
* http://stevenwanderski.com
|
7 |
-
* (while drinking Belgian ales and listening to jazz)
|
8 |
-
*
|
9 |
-
* CEO and founder of bxCreative, LTD
|
10 |
-
* http://bxcreative.com
|
11 |
-
*/
|
12 |
-
|
13 |
-
|
14 |
-
/** RESET AND LAYOUT
|
15 |
-
===================================*/
|
16 |
-
.
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
.
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
.
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
.bx-wrapper .bx-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
.bx-wrapper .bx-
|
142 |
-
|
143 |
-
|
144 |
-
margin-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
.bx-wrapper .bx-controls-auto
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
.bx-wrapper .bx-controls-auto .bx-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* BxSlider v4.1.2 - Fully loaded, responsive content slider
|
3 |
+
* http://bxslider.com
|
4 |
+
*
|
5 |
+
* Written by: Steven Wanderski, 2014
|
6 |
+
* http://stevenwanderski.com
|
7 |
+
* (while drinking Belgian ales and listening to jazz)
|
8 |
+
*
|
9 |
+
* CEO and founder of bxCreative, LTD
|
10 |
+
* http://bxcreative.com
|
11 |
+
*/
|
12 |
+
|
13 |
+
|
14 |
+
/** RESET AND LAYOUT
|
15 |
+
===================================*/
|
16 |
+
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
|
17 |
+
*{ouline:0 none;}
|
18 |
+
:focus, a:focus{outline:0 none !important;}
|
19 |
+
.fhead span {
|
20 |
+
background:#fff;
|
21 |
+
display: block;
|
22 |
+
margin: 0 0 0 10px;
|
23 |
+
padding: 7px 5px;
|
24 |
+
width: 95.6%;
|
25 |
+
/* box-shadow: 0 0 5px #CCCCCC;*/
|
26 |
+
}
|
27 |
+
.productname a {
|
28 |
+
color: #000000;
|
29 |
+
display: block;
|
30 |
+
margin: 9px 0 0;
|
31 |
+
text-decoration: none;
|
32 |
+
text-transform: uppercase;
|
33 |
+
}
|
34 |
+
.bx-wrapper {
|
35 |
+
position: relative;
|
36 |
+
margin: 0 auto 60px;
|
37 |
+
padding: 0;
|
38 |
+
*zoom: 1;
|
39 |
+
}
|
40 |
+
|
41 |
+
.bx-wrapper img {
|
42 |
+
background: none repeat scroll 0 0 #FFFFFF;
|
43 |
+
border: 1px solid #DDDDDD;
|
44 |
+
height: auto;
|
45 |
+
padding: 4px;
|
46 |
+
position: relative;
|
47 |
+
z-index: 50;
|
48 |
+
max-width:100%;
|
49 |
+
display:block;
|
50 |
+
}
|
51 |
+
|
52 |
+
/** THEME
|
53 |
+
===================================*/
|
54 |
+
|
55 |
+
.bx-wrapper .bx-viewport {
|
56 |
+
-moz-box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
57 |
+
-webkit-box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
58 |
+
box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
59 |
+
border: 5px solid #fff;
|
60 |
+
left: -5px;
|
61 |
+
background: #fff;
|
62 |
+
height:auto !important;
|
63 |
+
|
64 |
+
/*fix other elements on the page moving (on Chrome)*/
|
65 |
+
-webkit-transform: translatez(0);
|
66 |
+
-moz-transform: translatez(0);
|
67 |
+
-ms-transform: translatez(0);
|
68 |
+
-o-transform: translatez(0);
|
69 |
+
transform: translatez(0);
|
70 |
+
}
|
71 |
+
.bx-wrapper .bx-viewport ul.bxslider li {
|
72 |
+
text-align: left;
|
73 |
+
font-family: 'PT Sans', sans-serif;
|
74 |
+
min-height:261px;
|
75 |
+
}
|
76 |
+
.bx-wrapper .bx-pager,
|
77 |
+
.bx-wrapper .bx-controls-auto {
|
78 |
+
position: absolute;
|
79 |
+
bottom: -30px;
|
80 |
+
width: 100%;
|
81 |
+
}
|
82 |
+
|
83 |
+
/* LOADER */
|
84 |
+
|
85 |
+
.bx-wrapper .bx-loading {
|
86 |
+
min-height: 50px;
|
87 |
+
background: url(../images/featured/bx_loader.gif) center center no-repeat #fff;
|
88 |
+
height: 100%;
|
89 |
+
width: 100%;
|
90 |
+
position: absolute;
|
91 |
+
top: 0;
|
92 |
+
left: 0;
|
93 |
+
z-index: 2000;
|
94 |
+
}
|
95 |
+
|
96 |
+
/* PAGER */
|
97 |
+
|
98 |
+
.bx-wrapper .bx-pager {
|
99 |
+
text-align: center;
|
100 |
+
font-size: .85em;
|
101 |
+
font-family: Arial;
|
102 |
+
font-weight: bold;
|
103 |
+
color: #666;
|
104 |
+
padding-top: 20px;
|
105 |
+
}
|
106 |
+
|
107 |
+
.bx-wrapper .bx-pager .bx-pager-item,
|
108 |
+
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
|
109 |
+
display: inline-block;
|
110 |
+
*zoom: 1;
|
111 |
+
*display: inline;
|
112 |
+
}
|
113 |
+
|
114 |
+
.bx-wrapper .bx-pager.bx-default-pager a {
|
115 |
+
background: #666;
|
116 |
+
text-indent: -9999px;
|
117 |
+
display: block;
|
118 |
+
width: 25px;
|
119 |
+
height: 3px;
|
120 |
+
margin: 0 5px;
|
121 |
+
outline: 0;
|
122 |
+
-moz-border-radius: 5px;
|
123 |
+
-webkit-border-radius: 5px;
|
124 |
+
border-radius: 5px;
|
125 |
+
}
|
126 |
+
|
127 |
+
.bx-wrapper .bx-pager.bx-default-pager a:hover,
|
128 |
+
.bx-wrapper .bx-pager.bx-default-pager a.active {
|
129 |
+
background: #000;
|
130 |
+
}
|
131 |
+
|
132 |
+
/* DIRECTION CONTROLS (NEXT / PREV) */
|
133 |
+
|
134 |
+
.bx-wrapper .bx-prev {
|
135 |
+
background:url(../images/featured/left.png) no-repeat top;
|
136 |
+
left:0px;
|
137 |
+
margin-left:-29px;
|
138 |
+
}
|
139 |
+
|
140 |
+
|
141 |
+
.bx-wrapper .bx-next {
|
142 |
+
right: 0px;
|
143 |
+
background: url("../images/featured/right.png") no-repeat scroll center top rgba(0, 0, 0, 0);
|
144 |
+
margin-right:-29px;
|
145 |
+
}
|
146 |
+
|
147 |
+
.bx-wrapper .bx-prev:hover {
|
148 |
+
background-position: center bottom;
|
149 |
+
}
|
150 |
+
|
151 |
+
.bx-wrapper .bx-next:hover {
|
152 |
+
background-position: center bottom;
|
153 |
+
}
|
154 |
+
|
155 |
+
.bx-wrapper .bx-controls-direction a {
|
156 |
+
|
157 |
+
width:30px;
|
158 |
+
height:45px;
|
159 |
+
position:absolute;
|
160 |
+
top:60px;
|
161 |
+
z-index:100;
|
162 |
+
cursor:pointer;
|
163 |
+
text-indent:-99999em
|
164 |
+
}
|
165 |
+
|
166 |
+
.bx-wrapper .bx-controls-direction a.disabled {
|
167 |
+
display: none;
|
168 |
+
}
|
169 |
+
|
170 |
+
/* AUTO CONTROLS (START / STOP) */
|
171 |
+
|
172 |
+
.bx-wrapper .bx-controls-auto {
|
173 |
+
text-align: center;
|
174 |
+
}
|
175 |
+
|
176 |
+
.bx-wrapper .bx-controls-auto .bx-start {
|
177 |
+
display: block;
|
178 |
+
text-indent: -9999px;
|
179 |
+
width: 10px;
|
180 |
+
height: 11px;
|
181 |
+
outline: 0;
|
182 |
+
background: url(../images/featured/controls.png) -86px -11px no-repeat;
|
183 |
+
margin: 0 3px;
|
184 |
+
}
|
185 |
+
|
186 |
+
.bx-wrapper .bx-controls-auto .bx-start:hover,
|
187 |
+
.bx-wrapper .bx-controls-auto .bx-start.active {
|
188 |
+
background-position: -86px 0;
|
189 |
+
}
|
190 |
+
|
191 |
+
.bx-wrapper .bx-controls-auto .bx-stop {
|
192 |
+
display: block;
|
193 |
+
text-indent: -9999px;
|
194 |
+
width: 9px;
|
195 |
+
height: 11px;
|
196 |
+
outline: 0;
|
197 |
+
background: url(../images/featured/controls.png) -86px -44px no-repeat;
|
198 |
+
margin: 0 3px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.bx-wrapper .bx-controls-auto .bx-stop:hover,
|
202 |
+
.bx-wrapper .bx-controls-auto .bx-stop.active {
|
203 |
+
background-position: -86px -33px;
|
204 |
+
}
|
205 |
+
|
206 |
+
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
|
207 |
+
|
208 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
|
209 |
+
text-align: left;
|
210 |
+
width: 80%;
|
211 |
+
}
|
212 |
+
|
213 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
|
214 |
+
right: 0;
|
215 |
+
width: 35px;
|
216 |
+
}
|
217 |
+
|
218 |
+
/* IMAGE CAPTIONS */
|
219 |
+
|
220 |
+
.bx-wrapper .bx-caption {
|
221 |
+
position: absolute;
|
222 |
+
bottom: 0;
|
223 |
+
left: 0;
|
224 |
+
background: #666\9;
|
225 |
+
background: rgba(80, 80, 80, 0.75);
|
226 |
+
width: 100%;
|
227 |
+
}
|
228 |
+
|
229 |
+
.bx-wrapper .bx-caption span {
|
230 |
+
color: #fff;
|
231 |
+
font-family: Arial;
|
232 |
+
display: block;
|
233 |
+
font-size: .85em;
|
234 |
+
padding: 10px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.featured{
|
238 |
+
max-width:685px;
|
239 |
+
}
|
240 |
+
.fadd {
|
241 |
+
bottom: 0;
|
242 |
+
position: absolute;
|
243 |
+
}
|
244 |
+
.regular-price .price { font-weight:bold; font-size:13px; color:#c76200; font-family: 'PT Sans', sans-serif !important; }
|
skin/frontend/default/default/css/images/featured/left.png
ADDED
Binary file
|
skin/frontend/default/default/css/images/featured/right.png
ADDED
Binary file
|
skin/frontend/rwd/default/css/featured/jquery.bxslider.css
CHANGED
@@ -1,225 +1,248 @@
|
|
1 |
-
/**
|
2 |
-
* BxSlider v4.1.2 - Fully loaded, responsive content slider
|
3 |
-
* http://bxslider.com
|
4 |
-
*
|
5 |
-
* Written by: Steven Wanderski, 2014
|
6 |
-
* http://stevenwanderski.com
|
7 |
-
* (while drinking Belgian ales and listening to jazz)
|
8 |
-
*
|
9 |
-
* CEO and founder of bxCreative, LTD
|
10 |
-
* http://bxcreative.com
|
11 |
-
*/
|
12 |
-
|
13 |
-
|
14 |
-
/** RESET AND LAYOUT
|
15 |
-
===================================*/
|
16 |
-
.
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
.
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
.
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
.bx-wrapper .bx-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
.bx-wrapper .bx-
|
142 |
-
|
143 |
-
|
144 |
-
margin-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
.bx-wrapper .bx-controls-auto
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
.bx-wrapper .bx-controls-auto .bx-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
}
|
1 |
+
/**
|
2 |
+
* BxSlider v4.1.2 - Fully loaded, responsive content slider
|
3 |
+
* http://bxslider.com
|
4 |
+
*
|
5 |
+
* Written by: Steven Wanderski, 2014
|
6 |
+
* http://stevenwanderski.com
|
7 |
+
* (while drinking Belgian ales and listening to jazz)
|
8 |
+
*
|
9 |
+
* CEO and founder of bxCreative, LTD
|
10 |
+
* http://bxcreative.com
|
11 |
+
*/
|
12 |
+
|
13 |
+
|
14 |
+
/** RESET AND LAYOUT
|
15 |
+
===================================*/
|
16 |
+
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700);
|
17 |
+
*{ouline:0 none;}
|
18 |
+
:focus, a:focus{outline:0 none !important;}
|
19 |
+
.fhead span {
|
20 |
+
background:#fff;
|
21 |
+
display: block;
|
22 |
+
margin: 0 0 0 10px;
|
23 |
+
padding: 7px 5px;
|
24 |
+
width: 95.6%;
|
25 |
+
/* box-shadow: 0 0 5px #CCCCCC;*/
|
26 |
+
}
|
27 |
+
.productname a {
|
28 |
+
color: #000000;
|
29 |
+
display: block;
|
30 |
+
margin: 9px 0 0;
|
31 |
+
text-decoration: none;
|
32 |
+
text-transform: uppercase;
|
33 |
+
}
|
34 |
+
.bx-wrapper {
|
35 |
+
position: relative;
|
36 |
+
margin: 0 auto 60px;
|
37 |
+
padding: 0;
|
38 |
+
*zoom: 1;
|
39 |
+
}
|
40 |
+
|
41 |
+
.bx-wrapper img {
|
42 |
+
background: none repeat scroll 0 0 #FFFFFF;
|
43 |
+
border: 1px solid #DDDDDD;
|
44 |
+
height: auto;
|
45 |
+
padding: 4px;
|
46 |
+
position: relative;
|
47 |
+
z-index: 50;
|
48 |
+
max-width:100%;
|
49 |
+
display:block;
|
50 |
+
}
|
51 |
+
|
52 |
+
/** THEME
|
53 |
+
===================================*/
|
54 |
+
|
55 |
+
.bx-wrapper .bx-viewport {
|
56 |
+
-moz-box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
57 |
+
-webkit-box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
58 |
+
box-shadow: 0 0 5px 1px rgba(100, 100, 100, 0.1);
|
59 |
+
border: 5px solid #fff;
|
60 |
+
left: -5px;
|
61 |
+
background: #fff;
|
62 |
+
height:auto !important;
|
63 |
+
|
64 |
+
/*fix other elements on the page moving (on Chrome)*/
|
65 |
+
-webkit-transform: translatez(0);
|
66 |
+
-moz-transform: translatez(0);
|
67 |
+
-ms-transform: translatez(0);
|
68 |
+
-o-transform: translatez(0);
|
69 |
+
transform: translatez(0);
|
70 |
+
}
|
71 |
+
.bx-wrapper .bx-viewport ul.bxslider li {
|
72 |
+
text-align: left;
|
73 |
+
font-family: 'PT Sans', sans-serif;
|
74 |
+
min-height:261px;
|
75 |
+
}
|
76 |
+
.bx-wrapper .bx-pager,
|
77 |
+
.bx-wrapper .bx-controls-auto {
|
78 |
+
position: absolute;
|
79 |
+
bottom: -30px;
|
80 |
+
width: 100%;
|
81 |
+
}
|
82 |
+
|
83 |
+
/* LOADER */
|
84 |
+
|
85 |
+
.bx-wrapper .bx-loading {
|
86 |
+
min-height: 50px;
|
87 |
+
background: url(../images/featured/bx_loader.gif) center center no-repeat #fff;
|
88 |
+
height: 100%;
|
89 |
+
width: 100%;
|
90 |
+
position: absolute;
|
91 |
+
top: 0;
|
92 |
+
left: 0;
|
93 |
+
z-index: 2000;
|
94 |
+
}
|
95 |
+
|
96 |
+
/* PAGER */
|
97 |
+
|
98 |
+
.bx-wrapper .bx-pager {
|
99 |
+
text-align: center;
|
100 |
+
font-size: .85em;
|
101 |
+
font-family: Arial;
|
102 |
+
font-weight: bold;
|
103 |
+
color: #666;
|
104 |
+
padding-top: 20px;
|
105 |
+
}
|
106 |
+
|
107 |
+
.bx-wrapper .bx-pager .bx-pager-item,
|
108 |
+
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
|
109 |
+
display: inline-block;
|
110 |
+
*zoom: 1;
|
111 |
+
*display: inline;
|
112 |
+
}
|
113 |
+
|
114 |
+
.bx-wrapper .bx-pager.bx-default-pager a {
|
115 |
+
background: #666;
|
116 |
+
text-indent: -9999px;
|
117 |
+
display: block;
|
118 |
+
width: 25px;
|
119 |
+
height: 3px;
|
120 |
+
margin: 0 5px;
|
121 |
+
outline: 0;
|
122 |
+
-moz-border-radius: 5px;
|
123 |
+
-webkit-border-radius: 5px;
|
124 |
+
border-radius: 5px;
|
125 |
+
}
|
126 |
+
|
127 |
+
.bx-wrapper .bx-pager.bx-default-pager a:hover,
|
128 |
+
.bx-wrapper .bx-pager.bx-default-pager a.active {
|
129 |
+
background: #000;
|
130 |
+
}
|
131 |
+
|
132 |
+
/* DIRECTION CONTROLS (NEXT / PREV) */
|
133 |
+
|
134 |
+
.bx-wrapper .bx-prev {
|
135 |
+
background:url(../images/featured/left.png) no-repeat top;
|
136 |
+
left:0px;
|
137 |
+
margin-left:-29px;
|
138 |
+
}
|
139 |
+
|
140 |
+
|
141 |
+
.bx-wrapper .bx-next {
|
142 |
+
right: 0px;
|
143 |
+
background: url("../images/featured/right.png") no-repeat scroll center top rgba(0, 0, 0, 0);
|
144 |
+
margin-right:-29px;
|
145 |
+
}
|
146 |
+
|
147 |
+
.bx-wrapper .bx-prev:hover {
|
148 |
+
background-position: center bottom;
|
149 |
+
}
|
150 |
+
|
151 |
+
.bx-wrapper .bx-next:hover {
|
152 |
+
background-position: center bottom;
|
153 |
+
}
|
154 |
+
|
155 |
+
.bx-wrapper .bx-controls-direction a {
|
156 |
+
|
157 |
+
width:30px;
|
158 |
+
height:45px;
|
159 |
+
position:absolute;
|
160 |
+
top:60px;
|
161 |
+
z-index:100;
|
162 |
+
cursor:pointer;
|
163 |
+
text-indent:-99999em
|
164 |
+
}
|
165 |
+
|
166 |
+
.bx-wrapper .bx-controls-direction a.disabled {
|
167 |
+
display: none;
|
168 |
+
}
|
169 |
+
|
170 |
+
/* AUTO CONTROLS (START / STOP) */
|
171 |
+
|
172 |
+
.bx-wrapper .bx-controls-auto {
|
173 |
+
text-align: center;
|
174 |
+
}
|
175 |
+
|
176 |
+
.bx-wrapper .bx-controls-auto .bx-start {
|
177 |
+
display: block;
|
178 |
+
text-indent: -9999px;
|
179 |
+
width: 10px;
|
180 |
+
height: 11px;
|
181 |
+
outline: 0;
|
182 |
+
background: url(../images/featured/controls.png) -86px -11px no-repeat;
|
183 |
+
margin: 0 3px;
|
184 |
+
}
|
185 |
+
|
186 |
+
.bx-wrapper .bx-controls-auto .bx-start:hover,
|
187 |
+
.bx-wrapper .bx-controls-auto .bx-start.active {
|
188 |
+
background-position: -86px 0;
|
189 |
+
}
|
190 |
+
|
191 |
+
.bx-wrapper .bx-controls-auto .bx-stop {
|
192 |
+
display: block;
|
193 |
+
text-indent: -9999px;
|
194 |
+
width: 9px;
|
195 |
+
height: 11px;
|
196 |
+
outline: 0;
|
197 |
+
background: url(../images/featured/controls.png) -86px -44px no-repeat;
|
198 |
+
margin: 0 3px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.bx-wrapper .bx-controls-auto .bx-stop:hover,
|
202 |
+
.bx-wrapper .bx-controls-auto .bx-stop.active {
|
203 |
+
background-position: -86px -33px;
|
204 |
+
}
|
205 |
+
|
206 |
+
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
|
207 |
+
|
208 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
|
209 |
+
text-align: left;
|
210 |
+
width: 80%;
|
211 |
+
}
|
212 |
+
|
213 |
+
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
|
214 |
+
right: 0;
|
215 |
+
width: 35px;
|
216 |
+
}
|
217 |
+
|
218 |
+
/* IMAGE CAPTIONS */
|
219 |
+
|
220 |
+
.bx-wrapper .bx-caption {
|
221 |
+
position: absolute;
|
222 |
+
bottom: 0;
|
223 |
+
left: 0;
|
224 |
+
background: #666\9;
|
225 |
+
background: rgba(80, 80, 80, 0.75);
|
226 |
+
width: 100%;
|
227 |
+
}
|
228 |
+
|
229 |
+
.bx-wrapper .bx-caption span {
|
230 |
+
color: #fff;
|
231 |
+
font-family: Arial;
|
232 |
+
display: block;
|
233 |
+
font-size: .85em;
|
234 |
+
padding: 10px;
|
235 |
+
}
|
236 |
+
|
237 |
+
.featured{
|
238 |
+
max-width:685px;
|
239 |
+
}
|
240 |
+
.price-box .price,
|
241 |
+
.price {
|
242 |
+
white-space: nowrap;
|
243 |
+
font-family: 'PT Sans', sans-serif;
|
244 |
+
}
|
245 |
+
.fadd {
|
246 |
+
bottom: 0;
|
247 |
+
position: absolute;
|
248 |
}
|
skin/frontend/rwd/default/css/images/featured/left.png
ADDED
Binary file
|
skin/frontend/rwd/default/css/images/featured/right.png
ADDED
Binary file
|