Imedia_Quickview - Version 1.0.0.1

Version Notes

First Preview release

Download this release

Release Info

Developer iMedia inc.
Extension Imedia_Quickview
Version 1.0.0.1
Comparing to
See all releases


Version 1.0.0.1

app/code/community/Imedia/Quickview/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Imedia_Quickview_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+ ?>
app/code/community/Imedia/Quickview/controllers/IndexController.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Imedia_Quickview_IndexController extends Mage_Core_Controller_Front_Action{
3
+
4
+ public function indexAction(){
5
+
6
+ echo $this->getLayout()->createBlock('core/template')->setTemplate('imedia/quickview/view.phtml')->toHtml();
7
+
8
+ }
9
+
10
+ }
11
+ ?>
app/code/community/Imedia/Quickview/etc/adminhtml.xml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <quickview translate="title" module="quickview">
12
+ <title>quickview</title>
13
+ <sort_order>0</sort_order>
14
+ </quickview>
15
+ </children>
16
+ </config>
17
+ </children>
18
+ </system>
19
+ </children>
20
+ </admin>
21
+ </resources>
22
+ </acl>
23
+ </config>
app/code/community/Imedia/Quickview/etc/config.xml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <modules>
3
+ <Imedia_Quickview>
4
+ <version>0.1.0</version>
5
+ </Imedia_Quickview>
6
+ </modules>
7
+ <frontend>
8
+ <routers>
9
+ <quickview>
10
+ <use>standard</use>
11
+ <args>
12
+ <module>Imedia_Quickview</module>
13
+ <frontName>quickview</frontName>
14
+ </args>
15
+ </quickview>
16
+ </routers>
17
+ <layout>
18
+ <updates>
19
+ <quickview>
20
+ <file>imedia/quickview.xml</file>
21
+ </quickview>
22
+ </updates>
23
+ </layout>
24
+ </frontend>
25
+ <global>
26
+ <helpers>
27
+ <quickview>
28
+ <class>Imedia_Quickview_Helper</class>
29
+ </quickview>
30
+ </helpers>
31
+ </global>
32
+ </config>
app/code/community/Imedia/Quickview/etc/system.xml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" ?>
2
+ <!--
3
+ /**
4
+ * System configuration file
5
+ */
6
+ -->
7
+ <config>
8
+
9
+ <tabs>
10
+ <imedia translate="label" module="quickview">
11
+ <label>Imedia Extentions</label>
12
+ <sort_order>12</sort_order>
13
+ </imedia>
14
+ </tabs>
15
+
16
+ <sections>
17
+ <quickview translate="label" module="quickview">
18
+ <class>separator-top</class>
19
+ <label>Quickview</label>
20
+ <tab>imedia</tab>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>13</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+
27
+ <groups>
28
+ <quickview translate="label">
29
+ <label>Quickview</label>
30
+ <frontend_type>text</frontend_type>
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
+ <fields>
36
+ <enable_jquery translate="label">
37
+ <label>Enable Jquery</label>
38
+ <frontend_type>select</frontend_type>
39
+ <source_model>adminhtml/system_config_source_yesno</source_model>
40
+ <sort_order>1</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
+ </enable_jquery>
45
+ </fields>
46
+ </quickview>
47
+
48
+ </groups>
49
+
50
+ </quickview>
51
+ </sections>
52
+ </config>
app/design/frontend/base/default/layout/imedia/quickview.xml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.1">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addCss"><stylesheet>css/imedia/quickview.css</stylesheet></action>
6
+ </reference>
7
+ </default>
8
+ <catalog_category_default translate="label">
9
+ <reference name="content">
10
+ <remove name="product_list" />
11
+ <block type="catalog/product_list" name="imedia_quickview_list">
12
+ <action method="setTemplate">
13
+ <template>imedia/quickview/catalog/product/list.phtml</template>
14
+ </action>
15
+ </block>
16
+ </reference>
17
+ </catalog_category_default>
18
+ <!-- if category is anchor yes -->
19
+ <catalog_category_layered translate="label">
20
+ <reference name="content">
21
+ <remove name="product_list" />
22
+ <block type="catalog/product_list" name="imedia_quickview_list">
23
+ <action method="setTemplate">
24
+ <template>imedia/quickview/catalog/product/list.phtml</template>
25
+ </action>
26
+ </block>
27
+ </reference>
28
+ </catalog_category_layered>
29
+ <!-- if category is anchor yes -->
30
+ </layout>
app/design/frontend/base/default/template/imedia/quickview/catalog/product/list.phtml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package base_default
23
+ * @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+ <?php
35
+ $_productCollection=$this->getLoadedProductCollection();
36
+ $_helper = $this->helper('catalog/output');
37
+ ?>
38
+ <?php $enablejQuery = Mage::getStoreConfig('quickview/quickview/enable_jquery'); ?>
39
+ <?php if($enablejQuery == 1): ?>
40
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
41
+ <?php endif; ?>
42
+ <script type="text/javascript">
43
+ jQuery(document).ready(function($){
44
+ var baseUrl = '<?php echo Mage::getBaseUrl(); ?>';
45
+ var containerClass = 'category-products';
46
+ $('.'+containerClass+' li').each(function(e){
47
+ var productId = $(this).find('.quick_view_btn').attr('id');
48
+ $(this).find('.quick_view_btn').click(function(){
49
+ $(this).html('Loading..');
50
+ $.ajax({
51
+ type: "POST",
52
+ url: baseUrl+"quickview",
53
+ data: "id="+productId,
54
+ success: function(msg){
55
+ $("html, body").animate({ scrollTop: 0 }, "slow");
56
+ $('.'+containerClass+' li .quick_view_btn').html('Quickview');
57
+ $('#modal .main-content').empty().append(msg);
58
+ $('#modal').css({'top':'50%','visibility':'visible','opacity':'1'});
59
+ // popup submit validation
60
+ $('#modal .main-content form').submit(function(e){
61
+ var valSelect = $('.validate-quickview-select').val();
62
+ if(valSelect == ''){
63
+ alert('please select option values');
64
+ return false;
65
+ }else{
66
+ return true;
67
+ }
68
+ });
69
+ }
70
+ });
71
+ });
72
+ });
73
+ $('.btn_close').click(function(){
74
+ $('#modal').css({'top':'-50%','visibility':'hidden','opacity':'0'});
75
+ });
76
+ });
77
+ </script>
78
+ <?php if(!$_productCollection->count()): ?>
79
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
80
+ <?php else: ?>
81
+ <div class="category-products">
82
+ <?php echo $this->getToolbarHtml() ?>
83
+ <?php // List mode ?>
84
+ <?php if($this->getMode()!='grid'): ?>
85
+ <?php $_iterator = 0; ?>
86
+ <ol class="products-list" id="products-list">
87
+ <?php foreach ($_productCollection as $_product): ?>
88
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
89
+ <?php // Product Image ?>
90
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
91
+ <?php // Product description ?>
92
+ <div class="product-shop">
93
+ <div class="f-fix">
94
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
95
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
96
+ <?php if($_product->getRatingSummary()): ?>
97
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
98
+ <?php endif; ?>
99
+ <?php echo $this->getPriceHtml($_product, true) ?>
100
+ <?php if($_product->isSaleable()): ?>
101
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
102
+ <?php else: ?>
103
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
104
+ <?php endif; ?>
105
+ <div class="desc std">
106
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
107
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
108
+ </div>
109
+ <ul class="add-to-links">
110
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
111
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
112
+ <?php endif; ?>
113
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
114
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
115
+ <?php endif; ?>
116
+ </ul>
117
+ <a href="javascript:void(0)" id="<?php echo $_product->getId() ?>" class="quick_view_btn"><?php echo $this->__('Quickview') ?></a>
118
+ </div>
119
+ </div>
120
+ </li>
121
+ <?php endforeach; ?>
122
+ </ol>
123
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
124
+
125
+ <?php else: ?>
126
+
127
+ <?php // Grid Mode ?>
128
+
129
+ <?php $_collectionSize = $_productCollection->count() ?>
130
+ <?php $_columnCount = $this->getColumnCount(); ?>
131
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
132
+ <?php if ($i++%$_columnCount==0): ?>
133
+ <ul class="products-grid">
134
+ <?php endif ?>
135
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
136
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
137
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
138
+ <?php if($_product->getRatingSummary()): ?>
139
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
140
+ <?php endif; ?>
141
+ <?php echo $this->getPriceHtml($_product, true) ?>
142
+ <div class="actions">
143
+ <?php if($_product->isSaleable()): ?>
144
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
145
+ <?php else: ?>
146
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
147
+ <?php endif; ?>
148
+ <ul class="add-to-links">
149
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
150
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
151
+ <?php endif; ?>
152
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
153
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
154
+ <?php endif; ?>
155
+ </ul>
156
+ <a href="javascript:void(0)" id="<?php echo $_product->getId() ?>" class="quick_view_btn"><?php echo $this->__('Quickview') ?></a>
157
+ </div>
158
+ </li>
159
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
160
+ </ul>
161
+ <?php endif ?>
162
+ <?php endforeach ?>
163
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
164
+ <?php endif; ?>
165
+ <div id="modal" class="modal">
166
+ <div class="modal-content">
167
+ <a href="javascript:void(0)" class="btn_close"><img src="<?php echo $this->getSkinUrl('css/imedia/images/pop-up-close.png'); ?>" /></a>
168
+ <div class="main-content"></div>
169
+ </div>
170
+ <div class="overlay"></div>
171
+ </div>
172
+ <div class="toolbar-bottom">
173
+ <?php echo $this->getToolbarHtml() ?>
174
+ </div>
175
+ </div>
176
+ <?php endif; ?>
app/design/frontend/base/default/template/imedia/quickview/view.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $productid = Mage::app()->getRequest()->getParam('id');
3
+ $_product = Mage::getModel('catalog/product')->load($productid);
4
+ ?>
5
+ <div class="product-popup-left">
6
+ <div class="product-img-box" >
7
+ <p class="product-image">
8
+ <img title="<?php echo $_product->getName() ?>" alt="<?php echo $_product->getName() ?>" src="<?php echo $_product->getImageUrl() ?>"></p>
9
+ </div>
10
+ </div>
11
+ <div class="product-popup-right">
12
+ <form action="<?php echo Mage::helper('checkout/cart')->getAddUrl($_product); ?>" method="post" id="product_addtocart_form_popup" <?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
13
+ <div class="product-shop">
14
+ <div class="product-name">
15
+ <h1><?php echo $_product->getName() ?></h1>
16
+ </div>
17
+
18
+ <?php
19
+ if($_product->isSaleable()){
20
+ if($_product->stock_item->is_in_stock == 1){
21
+ echo '<p class="availability in-stock"><span>'.$this->__('Availability: In stock.').'</span></p>';
22
+ }else{
23
+ echo '<p class="availability in-stock"><span>'.$this->__('Availability: Temporarily out of stock.').'</span></p>';
24
+ }
25
+ }
26
+ ?>
27
+
28
+ <div class="price-box">
29
+ <span class="regular-price">
30
+ <span class="price"><?php echo $this->helper('checkout')->formatPrice($_product->getPrice()); ?></span>
31
+ </span>
32
+ </div>
33
+ <?php
34
+ if ($_product->getData('type_id') == "configurable"):
35
+ $config = $_product->getTypeInstance(true);
36
+ foreach($config->getConfigurableAttributesAsArray($_product) as $attributes):
37
+ ?>
38
+ <div class="product-options">
39
+ <div><label class="required"><?php echo $attributes["label"]; ?><em>*</em></label></div>
40
+ <div>
41
+ <div class="input-box">
42
+ <select name="super_attribute[<?php echo $attributes['attribute_id'] ?>]" id="attribute<?php echo $attributes['attribute_id'] ?>" class="validate-quickview-select" style="width:200px;">
43
+ <option value=""><?php echo $this->__('Select'); ?></option>
44
+ <?php
45
+ foreach($attributes["values"] as $values)
46
+ {
47
+ echo "<option value='".$values["value_index"]."'>".$values["label"]."</option>";
48
+ }
49
+ ?>
50
+ </select>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <?php
55
+ endforeach;
56
+ endif;
57
+ ?>
58
+ <?php if($_product->isSaleable()): ?>
59
+ <?php if(!$_product->isGrouped()): ?>
60
+ <div class="product_quantity">
61
+ <label for="qty"><?php echo $this->__('Qty') ?>:</label>
62
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo ($this->getMinimalQty($_product)?$this->getMinimalQty($_product):1) ?>" />
63
+ </div>
64
+ <?php endif; ?>
65
+ <div class="add-to-box">
66
+ <button class="button btn-cart btn-quickview" type="submit">
67
+ <span><span><span><?php echo $this->__('Add to Cart') ?></span></span></span>
68
+ </button>
69
+ </div>
70
+ <?php endif; ?>
71
+ <div class="view_full"><a href="<?php echo $_product->getProductUrl() ?>" target="_blank"><?php echo $this->__('View More Details'); ?></a></div>
72
+ </div>
73
+ </form>
74
+ </div>
app/etc/modules/Imedia_Quickview.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Imedia_Quickview>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Imedia_Quickview>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Imedia_Quickview</name>
4
+ <version>1.0.0.1</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">OSLv3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Product Quick View on category page</summary>
10
+ <description>Customer can quickly view and add to cart the product on category page.</description>
11
+ <notes>First Preview release</notes>
12
+ <authors><author><name>iMedia inc.</name><user>imedia</user><email>info@imediadesigns.org</email></author></authors>
13
+ <date>2015-07-09</date>
14
+ <time>14:28:34</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Imedia_Quickview.xml" hash="d63d93c317e98733d1377951558bfbef"/></dir></target><target name="magecommunity"><dir name="Imedia"><dir name="Quickview"><dir name="Helper"><file name="Data.php" hash="2ea129e9fe1d6b3d6f9ab32df180119b"/></dir><dir name="controllers"><file name="IndexController.php" hash="edc7320414b335fd049ce6e770cf223f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="32175e30db398f39ec3d4863cbc67dd1"/><file name="config.xml" hash="7a7fe81377e154a1bc2eae773a0d5eb2"/><file name="system.xml" hash="cedb54a2c8c26b5c7e2b41bc3281b930"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="imedia"><file name="quickview.xml" hash="9863cb91aaac6763d1a16cb46c0afd6a"/></dir></dir><dir name="template"><dir name="imedia"><dir name="quickview"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="85fe2d39c46d4bed2b1156669fa3db0d"/></dir></dir><file name="view.phtml" hash="f17faf7f6616e86c3b6e147492330f22"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="imedia"><file name="quickview.css" hash="9513803b46c336ac18b4eec90c0a5d18"/><dir name="images"><file name="pop-up-close.png" hash="c6187020c04f4b60ab74fd3bf40fabd4"/></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/frontend/base/default/css/imedia/images/pop-up-close.png ADDED
Binary file
skin/frontend/base/default/css/imedia/quickview.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #modal {
2
+ margin: 0 auto;
3
+ z-index: 10000;
4
+ visibility:hidden;
5
+ position:absolute;
6
+ opacity:0;
7
+ top:25%!important;
8
+ left:30%;
9
+ }
10
+ #modal .modal-content {
11
+ background: #f7f7f7;
12
+ position: absolute;
13
+ z-index:10000;
14
+ padding:15px;
15
+ border-radius:5px;
16
+ border-bottom: 1px solid #e7e7e7;
17
+ transition: all 0.4s ease-in-out;
18
+ -moz-transition: all 0.4s ease-in-out;
19
+ -webkit-transition: all 0.4s ease-in-out;
20
+ width:700px;
21
+ }
22
+
23
+ .product-popup-left{
24
+ margin-left: 1%;
25
+ margin-right: 1%;
26
+ width: 48%;
27
+ float:left;
28
+ }
29
+ .product-popup-left img{ width:100%;}
30
+ .product-popup-right{
31
+ width: 48%;
32
+ margin-left: 1%;
33
+ margin-right: 1%;
34
+ float:left;
35
+ }
36
+ #modal .overlay {
37
+ background-color: #000;
38
+ background: rgba(0,0,0,.5);
39
+ height: 100%;
40
+ left: 0;
41
+ position: fixed;
42
+ top: 0;
43
+ width: 100%;
44
+ z-index: 10;
45
+ }
46
+ #modal .btn_close{ float:right;}
47
+ .quick_view_btn{
48
+ background: #000 none repeat scroll 0 0;
49
+ clear: both;
50
+ color: #fff;
51
+ font-size: 12px;
52
+ font-weight: bold;
53
+ margin-top: 66px;
54
+ padding: 4px;
55
+ text-decoration: none;
56
+ }