Dolphin_QuickWatch - Version 1.0.0

Version Notes

This extension is compatible with magento CE 1.4 to 1.7

Download this release

Release Info

Developer Magento Core Team
Extension Dolphin_QuickWatch
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Dolphin/QuickWatch/Helper/Data.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Dolphin_QuickWatch_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ public function loadUrl($urlpath)
5
+ {
6
+ return ($urlpath == null)? null : Mage::getModel('core/url_rewrite')->setStoreId(Mage::app()->getStore()->getId())->loadByRequestPath($urlpath);
7
+ }
8
+ public function getConfig($path = "catalog/quickwatch")
9
+ {
10
+ $store = Mage::app()->getStore()->getId();
11
+ return Mage::getStoreConfig($path,$store);
12
+ }
13
+ public function isActive()
14
+ {
15
+ return $this->getConfig("catalog/quickwatch/enabled");
16
+ }
17
+ }
18
+ ?>
app/code/community/Dolphin/QuickWatch/controllers/Product/CompareController.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ include_once 'Mage/Catalog/controller/Product/CompareController.php';
3
+ class Dolphin_QuickWatch_Product_CompareController extends Mage_Catalog_Product_CompareController
4
+ {
5
+ public function navigationmethodAction()
6
+ {
7
+ parent::addAction();
8
+ $this->_redirectUrl($this->getRequest()->getParam('refererurl'));
9
+ }
10
+ }
app/code/community/Dolphin/QuickWatch/controllers/ProductController.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ include_once 'Mage/Catalog/controllers/ProductController.php';
3
+ class Dolphin_QuickWatch_ProductController extends Mage_Catalog_ProductController
4
+ {
5
+ public function dqwatchAction()
6
+ {
7
+ if(($url = $this->getRequest()->getParam('url')) != null){
8
+ $loadUrl = str_replace($_SERVER['HTTP_HOST']."/","",$url);
9
+ Mage::unregister('currentrefererurl');
10
+ Mage::register('currentrefererurl',"/".$loadUrl);
11
+ $pid = Mage::helper('dqwatch')->loadUrl($loadUrl);
12
+ $product = Mage::getSingleton('catalog/product')->load($pid->getProductId());
13
+ Mage::register('current_product', $product);
14
+ Mage::register('product', $product);
15
+ $this->loadLayout();
16
+ $this->renderLayout();
17
+ }
18
+ else{
19
+ $this->_forward('noRoute');
20
+ }
21
+ }
22
+ }
23
+ ?>
app/code/community/Dolphin/QuickWatch/etc/adminhtml.xml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <catalog>
12
+ <children>
13
+ <quickwatch translate="title" module="dqwatch">
14
+ <title>Quick View Section</title>
15
+ <sort_order>0</sort_order>
16
+ </quickwatch>
17
+ </children>
18
+ </catalog>
19
+ </children>
20
+ </config>
21
+ </children>
22
+ </system>
23
+ </children>
24
+ </admin>
25
+ </resources>
26
+ </acl>
27
+ </config>
app/code/community/Dolphin/QuickWatch/etc/config.xml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Dolphin_QuickWatch>
5
+ <version>1.0.0</version>
6
+ </Dolphin_QuickWatch>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <dqwatch>
11
+ <class>Dolphin_QuickWatch_Block</class>
12
+ </dqwatch>
13
+ </blocks>
14
+ <helpers>
15
+ <dqwatch>
16
+ <class>Dolphin_QuickWatch_Helper</class>
17
+ </dqwatch>
18
+ </helpers>
19
+ </global>
20
+ <frontend>
21
+ <routers>
22
+ <catalog>
23
+ <args>
24
+ <modules>
25
+ <Dolphin_QuickWatch after="Mage_Catalog">Dolphin_QuickWatch</Dolphin_QuickWatch>
26
+ </modules>
27
+ </args>
28
+ </catalog>
29
+ </routers>
30
+ <layout>
31
+ <updates>
32
+ <dqwatch>
33
+ <file>dqwatch.xml</file>
34
+ </dqwatch>
35
+ </updates>
36
+ </layout>
37
+ </frontend>
38
+ <default>
39
+ <catalog>
40
+ <quickwatch>
41
+ <enabled>0</enabled>
42
+ <width>800</width>
43
+ <height>600</height>
44
+ </quickwatch>
45
+ </catalog>
46
+ </default>
47
+ </config>
app/code/community/Dolphin/QuickWatch/etc/system.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <sections>
4
+ <catalog translate="label" module="dqwatch">
5
+ <groups>
6
+ <quickwatch translate="label">
7
+ <label>Product Quick View</label>
8
+ <frontend_type>text</frontend_type>
9
+ <sort_order>900</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
+ <fields>
14
+ <enabled translate="label">
15
+ <label>Enabled</label>
16
+ <frontend_type>select</frontend_type>
17
+ <source_model>adminhtml/system_config_source_yesno</source_model>
18
+ <sort_order>1</sort_order>
19
+ <show_in_default>1</show_in_default>
20
+ <show_in_website>1</show_in_website>
21
+ <show_in_store>1</show_in_store>
22
+ </enabled>
23
+ <width translate="label">
24
+ <label>Popup Width</label>
25
+ <frontend_type>text</frontend_type>
26
+ <sort_order>10</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>Value in px. Example: 800. Do not include px.</comment>
31
+ </width>
32
+ <height translate="label">
33
+ <label>Popup Height</label>
34
+ <frontend_type>text</frontend_type>
35
+ <sort_order>20</sort_order>
36
+ <show_in_default>1</show_in_default>
37
+ <show_in_website>1</show_in_website>
38
+ <show_in_store>1</show_in_store>
39
+ <comment>Value in px. Example: 600. Do not include px.</comment>
40
+ </height>
41
+ </fields>
42
+ </quickwatch>
43
+ </groups>
44
+ </catalog>
45
+ </sections>
46
+ </config>
app/design/frontend/default/default/layout/dqwatch.xml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout version="1.0.1">
3
+ <catalog_category_default>
4
+ <reference name="head">
5
+ <action method="addJs" ifconfig="catalog/quickwatch/enabled">
6
+ <script>prototype/window.js</script>
7
+ </action>
8
+ <action method="addItem" ifconfig="catalog/quickwatch/enabled">
9
+ <type>js_css</type>
10
+ <name>prototype/windows/themes/default.css</name>
11
+ </action>
12
+ <action method="addCss" ifconfig="catalog/quickwatch/enabled">
13
+ <stylesheet>lib/prototype/windows/themes/ewthemes/style2/default.css</stylesheet>
14
+ </action>
15
+ <action method="addJs" ifconfig="catalog/quickwatch/enabled">
16
+ <script>dqwatch/DQWATCH.js</script>
17
+ </action>
18
+ <action method="addCss" ifconfig="catalog/quickwatch/enabled">
19
+ <stylesheet>dolphin/quickwatch/style.css</stylesheet>
20
+ </action>
21
+ </reference>
22
+ <reference name="before_body_end">
23
+ <block type="core/template" name="init.dqwatch">
24
+ <action method="setTemplate" ifconfig="catalog/quickwatch/enabled">
25
+ <template>dqwatch/init.phtml</template>
26
+ </action>
27
+ </block>
28
+ </reference>
29
+ </catalog_category_default>
30
+ <catalog_category_layered>
31
+ <reference name="head">
32
+ <action method="addJs" ifconfig="catalog/quickwatch/enabled">
33
+ <script>prototype/window.js</script>
34
+ </action>
35
+ <action method="addItem" ifconfig="catalog/quickwatch/enabled">
36
+ <type>js_css</type>
37
+ <name>prototype/windows/themes/default.css</name>
38
+ </action>
39
+ <action method="addCss" ifconfig="catalog/quickwatch/enabled">
40
+ <stylesheet>lib/prototype/windows/themes/ewthemes/style2/default.css</stylesheet>
41
+ </action>
42
+ <action method="addJs" ifconfig="catalog/quickwatch/enabled">
43
+ <script>dqwatch/DQWATCH.js</script>
44
+ </action>
45
+ <action method="addCss" ifconfig="catalog/quickwatch/enabled">
46
+ <stylesheet>dolphin/quickwatch/style.css</stylesheet>
47
+ </action>
48
+ </reference>
49
+ <reference name="before_body_end">
50
+ <block type="core/template" name="init.dqwatch">
51
+ <action method="setTemplate" ifconfig="catalog/quickwatch/enabled">
52
+ <template>dqwatch/init.phtml</template>
53
+ </action>
54
+ </block>
55
+ </reference>
56
+ </catalog_category_layered>
57
+ <catalog_product_dqwatch>
58
+ <update handle="catalog_product_view"/>
59
+ <reference name="root">
60
+ <action method="setTemplate">
61
+ <template>page/empty.phtml</template>
62
+ </action>
63
+ </reference>
64
+ <reference name="head">
65
+ <action method="addCss" ifconfig="catalog/quickwatch/enabled">
66
+ <stylesheet>dolphin/quickwatch/style.css</stylesheet>
67
+ </action>
68
+ </reference>
69
+ <reference name="content">
70
+ <block type="core/template" name="proccess.output" template="dqwatch/proccessoutput.phtml"/>
71
+ </reference>
72
+ <remove name="product.attributes"/>
73
+ <remove name="product.info.upsell"/>
74
+ <remove name="product_tag_list"/>
75
+ </catalog_product_dqwatch>
76
+ </layout>
app/design/frontend/default/default/template/dqwatch/init.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ var DQWATCHOBJ = new DQWATCH({
3
+ productanchore: '.products-grid li.item, .products-list li.item',
4
+ qwUrl: "<?php echo $this->getUrl('*/product/dqwatch/') ?>?url=",
5
+ qwImg: "<?php echo $this->getSkinUrl('dolphin/quickwatch/images/button.png') ?>",
6
+ width: "<?php echo $this->helper('dqwatch')->getConfig("catalog/quickwatch/width")?>",
7
+ height: "<?php echo $this->helper('dqwatch')->getConfig("catalog/quickwatch/height")?>",
8
+ });
9
+ </script>
app/design/frontend/default/default/template/dqwatch/proccessoutput.phtml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ $$("body a").each(function(elem){
3
+ elem.setAttribute('target','_parent');
4
+ if(elem.hasClassName('link-compare')){
5
+ changedUrl = elem.href+'?refererurl=<?php echo Mage::registry('currentrefererurl')?>';
6
+ elem.href = changedUrl.replace('/add/','/navigationmethod/');
7
+ }
8
+ });
9
+ $$("body form").each(function(elem){
10
+ elem.setAttribute('target','_parent');
11
+ });
12
+ </script>
app/etc/modules/Dolphin_QuickWatch.xml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Dolphin_QuickWatch>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <depends>
8
+ <Mage_Catalog/>
9
+ </depends>
10
+ </Dolphin_QuickWatch>
11
+ </modules>
12
+ </config>
js/dqwatch/DQWATCH.js ADDED
@@ -0,0 +1 @@
 
1
+ var DQWATCH=Class.create();DQWATCH.prototype={initialize:function(e){mergeoptions=new Object(this.defaults.merge(e));this.config=mergeoptions.toObject();this.prepareElements()},defaults:$H({productanchore:".products-grid li.item, .products-list li.item",qwUrl:"/catalog/product/dqwatch?url=",width:"600px",height:"600px"}),prepareElements:function(){$$(this.config.productanchore).each(function(e){aelem=e.down("a");var t=new Element("span",{"class":"dqwatchContainer"});t.setStyle({display:"none"});var n=new Element("a",{"class":"dqwatchAnchore"});var r=new Element("img",{"class":"dqwatchImg",alt:"Quick Watch",src:this.config.qwImg});n.insert(r);t.insert(n);e.insert(t);if(aelem.hasClassName("link-wishlist")==false&&aelem.hasClassName("link-compare")==false){var i=aelem.href.replace("http://","").replace("https://","");n.href=this.config.qwUrl+encodeURIComponent(i);n.title=aelem.title}n.observe("click",function(e){Event.stop(e);var t=Event.element(e).up("a");this.showWindow(t.href,t.title)}.bind(this));e.observe("mouseenter",function(e){Effect.SlideDown(this.down(".dqwatchContainer"),{duration:.1})});e.observe("mouseleave",function(e){Effect.SlideUp(this.down(".dqwatchContainer"),{duration:.1})})}.bind(this))},showWindow:function(e,t){var n=new Window("dlqwid",{className:"overlay_magento",title:t,draggable:false,resizable:false,closable:true,destroyOnClose:true,showEffect:Effect.Grow,showEffectOptions:{duration:.5},hideEffect:Effect.DropOut,hideEffectOptions:{duration:.5}});n.setURL(e);n.setZIndex(100);n.showCenter(true);n.setSize(this.config.width,this.config.height)}}
package.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Dolphin_QuickWatch</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This extension allow your customers to view product quickly on product listing page.</summary>
10
+ <description>This extension allow your customers to view product quickly on product listing page.&#xD;
11
+ &#xD;
12
+ On category or product listing page customer will find quick view button on product mouse over. By clicking this button it will show popup containing product information without navigating to product detail page.&#xD;
13
+ &#xD;
14
+ Extension Features:&#xD;
15
+ &#xD;
16
+ No change in theme template files.&#xD;
17
+ &#xD;
18
+ No change in core files.&#xD;
19
+ &#xD;
20
+ Using prototype o avoid javascript conflict and errors.</description>
21
+ <notes>This extension is compatible with magento CE 1.4 to 1.7</notes>
22
+ <authors><author><name>ankitdolphin</name><user>auto-converted</user><email>ankit@dolphinwebsolution.com</email></author></authors>
23
+ <date>2013-05-08</date>
24
+ <time>08:33:44</time>
25
+ <contents><target name="magecommunity"><dir name="Dolphin"><dir name="QuickWatch"><dir name="Helper"><file name="Data.php" hash="03201ad617d23c03b335321c897014ac"/></dir><dir name="controllers"><dir name="Product"><file name="CompareController.php" hash="cf8ca765f8ef3fe33ee9781554e40c83"/></dir><file name="ProductController.php" hash="d6183c2df6610d6c5166a7bd33f87488"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3a5d3e52ee95fc524fee26098179f6c"/><file name="config.xml" hash="301e9cb015130a00d657a23976c5fc00"/><file name="system.xml" hash="6928ad06a9944dfc81fbfd4eddd1341f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Dolphin_QuickWatch.xml" hash="d18575c5234a02995466569649852b2c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="dqwatch.xml" hash="636d7e4e179f415b39712f5bf8a45b01"/></dir><dir name="template"><dir name="dqwatch"><file name="init.phtml" hash="21ae2da9ce41fd57029f206afcadaa9f"/><file name="proccessoutput.phtml" hash="e70f3d779e991ff16480563691639143"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="dqwatch"><file name="DQWATCH.js" hash="cd05241849fdce56acb7fb47459284fe"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="dolphin"><dir name="quickwatch"><dir name="images"><file name="button.png" hash="eac974e3768fef61fc96976ffc5c9bb7"/></dir><file name="style.css" hash="40d134de7f1f23e24a7bcb16cf338bd4"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="lib"><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="ewthemes"><dir name="style2"><dir name="images"><file name="content_bg.gif" hash="f7090a07b6ac7dab50b167358d63c611"/><file name="window_close.png" hash="8373f064167681436658b16921953211"/></dir><file name="default.css" hash="f9fe4040b6990d038aa4f3c6ab532873"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
26
+ <compatible/>
27
+ <dependencies/>
28
+ </package>
skin/frontend/base/default/lib/prototype/windows/themes/ewthemes/style2/default.css ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dialog { height: auto !important; border: 5px solid #333;}
2
+ .overlay_overlay_magento { background-color:#000; filter:alpha(opacity=40); -moz-opacity:.4; opacity:.4; -webkit-opacity:.4; }
3
+ .top.table_window { }
4
+
5
+ .overlay_magento_nw { width:10px; height:10px; background: #FFF;}
6
+ .overlay_magento_n { height:28px; background: #FFF;}
7
+ .overlay_magento_ne {background: #FFF; height: 10px;width: 10px;}
8
+
9
+ .overlay_magento_w {background: #FFF;width: 10px;}
10
+ .overlay_magento_e {background: #FFF;width: 10px;}
11
+ .magento_w,
12
+ .magento_e,
13
+ .magento_content { background: #fafafa url(images/content_bg.gif) 0 0 repeat-x; }
14
+ .overlay_magento_content{background: #fafafa url(images/content_bg.gif) 0 0 repeat-x; }
15
+ .overlay_magento_sw {background: #FFF;height: 10px;width: 10px;}
16
+ .overlay_magento_s {background: #FFF;height: 10px;}
17
+ .overlay_magento_se{background: #FFF;height: 10px;width: 10px;}
18
+
19
+ .magento_sizer { background:#deebf0; width:5px; height:3px; }
20
+ .magento_sizer { cursor:se-resize; }
21
+
22
+ .overlay_magento_close { width:16px; height:16px; background:url(images/window_close.png) no-repeat 0 0; position:absolute; top:8px; right:10px; cursor:pointer; z-index:1000; }
23
+ .magento_minimize { width:16px; height:16px; background:url(images/window_minimize.png) 0 0 no-repeat; position:absolute; top:5px; right:28px; cursor:pointer; z-index:1000; }
24
+ .magento_maximize { width:16px; height:16px; background:url(images/window_maximize.png)0 0 no-repeat; position:absolute; top:5px; right:49px; cursor:pointer; z-index:1000; }
25
+
26
+ .overlay_magento_title{color: #000000;float: left;font: bold 12px/34px Arial,Helvetica,sans-serif;height: 28px;text-align: left;width: 100%;padding-left: 5px;}
27
+
28
+ .magento_content { overflow:auto; font-size:12px; }
29
+ .magento_content,
30
+ .magento_content label { color:#333; font-family:Arial, sans-serif; }
31
+
32
+ .magento_buttons { padding:10px; text-align:right; }
33
+ .magento_buttons input.button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502; background:#ffac47 url(magento/btn_bg.gif) 0 100% repeat-x; padding:0 7px 1px 7px; font:bold 12px/18px Arial, Helvetica, sans-serif; color:#fff; cursor:pointer; text-align:center; white-space:nowrap; }
34
+
35
+ #my-orders-table td, #my-orders-table th{padding: 5px 10px;}
36
+ #my-orders-table .product-image{float: left; width: 140px;}
37
+ #my-orders-table .product-image{float: left; margin-right: 10px; width: auto;}
38
+ #my-orders-table .product-details{float: left; width: auto;}
39
+ .addallbasket-btn{float: right;}
40
+ .purchasehistory-index-history{ background: none repeat scroll 0 0 transparent !important; padding: 0 !important;}
41
+ .historycontainer{padding: 10px;}
42
+ .historycontainer .success{color: green;}
43
+ .historycontainer .error{color: red;}
44
+ /* FOR IE */
45
+ * html .magento_close { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/window_maximize.png", sizingMethod="crop"); }
46
+ * html .magento_minimize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/window_close.png", sizingMethod="crop");}
47
+ * html .magento_maximize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/window_minimize.png", sizingMethod="crop"); }
skin/frontend/base/default/lib/prototype/windows/themes/ewthemes/style2/images/content_bg.gif ADDED
Binary file
skin/frontend/base/default/lib/prototype/windows/themes/ewthemes/style2/images/window_close.png ADDED
Binary file
skin/frontend/default/default/dolphin/quickwatch/images/button.png ADDED
Binary file
skin/frontend/default/default/dolphin/quickwatch/style.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ @CHARSET "UTF-8";
2
+ .dqwatchContainer{position: absolute; top: 10px; width: 94%; text-align: center; height: 35px;}
3
+ .products-grid li.item, .products-list li.item {overflow: hidden;position: relative;}
4
+ .page-empty{padding: 5px;}
5
+ .product-view .product-shop{width: 540px;}