Version Notes
StrApp Multitab Product View Community Module
Download this release
Release Info
Developer | StrApp |
Extension | strapp_multitab_product_view |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- app/code/local/Strapp/Multitab/Helper/Data.php +1 -0
- app/code/local/Strapp/Multitab/Helper/Data.php~ +1 -0
- app/code/local/Strapp/Multitab/etc/config.xml +1 -1
- app/code/local/Strapp/Multitab/etc/config.xml~ +1 -1
- app/code/local/Strapp/Multitab/etc/system.xml +1 -1
- app/code/local/Strapp/Multitab/etc/system.xml~ +1 -1
- app/design/frontend/{default → base}/default/layout/strapp_multitabdisplay.xml +1 -1
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributescontent.phtml +0 -0
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributescontent.phtml~ +0 -0
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributesheader.phtml +0 -0
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributesheader.phtml~ +0 -0
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/tabs.phtml +1 -1
- app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/tabs.phtml~ +1 -1
- app/design/frontend/default/default/template/strapp/attributescontent.phtml~ +0 -68
- app/design/frontend/default/default/template/strapp/attributesheader.phtml~ +0 -42
- app/design/frontend/default/default/template/strapp/multitab/list.phtml~ +0 -220
- package.xml +6 -6
- skin/frontend/{default → base}/default/css/strapp-multitab.css +0 -0
app/code/local/Strapp/Multitab/Helper/Data.php
CHANGED
@@ -9,5 +9,6 @@
|
|
9 |
<?php
|
10 |
class Strapp_Multitab_Helper_Data extends Mage_Core_Helper_Abstract
|
11 |
{
|
|
|
12 |
}
|
13 |
?>
|
9 |
<?php
|
10 |
class Strapp_Multitab_Helper_Data extends Mage_Core_Helper_Abstract
|
11 |
{
|
12 |
+
|
13 |
}
|
14 |
?>
|
app/code/local/Strapp/Multitab/Helper/Data.php~
CHANGED
@@ -9,5 +9,6 @@
|
|
9 |
<?php
|
10 |
class Strapp_Multitab_Helper_Data extends Mage_Core_Helper_Abstract
|
11 |
{
|
|
|
12 |
}
|
13 |
?>
|
9 |
<?php
|
10 |
class Strapp_Multitab_Helper_Data extends Mage_Core_Helper_Abstract
|
11 |
{
|
12 |
+
|
13 |
}
|
14 |
?>
|
app/code/local/Strapp/Multitab/etc/config.xml
CHANGED
@@ -47,4 +47,4 @@
|
|
47 |
</additionalinfo>
|
48 |
</multitab>
|
49 |
</default>
|
50 |
-
</config>
|
47 |
</additionalinfo>
|
48 |
</multitab>
|
49 |
</default>
|
50 |
+
</config>
|
app/code/local/Strapp/Multitab/etc/config.xml~
CHANGED
@@ -47,4 +47,4 @@
|
|
47 |
</additionalinfo>
|
48 |
</multitab>
|
49 |
</default>
|
50 |
-
</config>
|
47 |
</additionalinfo>
|
48 |
</multitab>
|
49 |
</default>
|
50 |
+
</config>
|
app/code/local/Strapp/Multitab/etc/system.xml
CHANGED
@@ -41,4 +41,4 @@
|
|
41 |
</sections>
|
42 |
</config>
|
43 |
|
44 |
-
|
41 |
</sections>
|
42 |
</config>
|
43 |
|
44 |
+
|
app/code/local/Strapp/Multitab/etc/system.xml~
CHANGED
@@ -41,4 +41,4 @@
|
|
41 |
</sections>
|
42 |
</config>
|
43 |
|
44 |
-
|
41 |
</sections>
|
42 |
</config>
|
43 |
|
44 |
+
|
app/design/frontend/{default → base}/default/layout/strapp_multitabdisplay.xml
RENAMED
@@ -5,4 +5,4 @@
|
|
5 |
<template>strapp/multitab/product/view/tabs.phtml</template>
|
6 |
</action>
|
7 |
</catalog_product_view>
|
8 |
-
</layout>
|
5 |
<template>strapp/multitab/product/view/tabs.phtml</template>
|
6 |
</action>
|
7 |
</catalog_product_view>
|
8 |
+
</layout>
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributescontent.phtml
RENAMED
File without changes
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributescontent.phtml~
RENAMED
File without changes
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributesheader.phtml
RENAMED
File without changes
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/attributesheader.phtml~
RENAMED
File without changes
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/tabs.phtml
RENAMED
@@ -6,7 +6,7 @@
|
|
6 |
* @package Strapp_Multitab
|
7 |
*/
|
8 |
?>
|
9 |
-
<link media="all" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)?>skin/frontend/
|
10 |
<?php
|
11 |
$_helper = $this->helper('catalog/output');
|
12 |
$_product= Mage::registry('current_product');
|
6 |
* @package Strapp_Multitab
|
7 |
*/
|
8 |
?>
|
9 |
+
<link media="all" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)?>skin/frontend/base/default/css/strapp-multitab.css" type="text/css" rel="stylesheet" />
|
10 |
<?php
|
11 |
$_helper = $this->helper('catalog/output');
|
12 |
$_product= Mage::registry('current_product');
|
app/design/frontend/{default → base}/default/template/strapp/multitab/product/view/tabs.phtml~
RENAMED
@@ -6,7 +6,7 @@
|
|
6 |
* @package Strapp_Multitab
|
7 |
*/
|
8 |
?>
|
9 |
-
<link media="all" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)?>skin/frontend/
|
10 |
<?php
|
11 |
$_helper = $this->helper('catalog/output');
|
12 |
$_product= Mage::registry('current_product');
|
6 |
* @package Strapp_Multitab
|
7 |
*/
|
8 |
?>
|
9 |
+
<link media="all" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)?>skin/frontend/base/default/css/strapp-multitab.css" type="text/css" rel="stylesheet" />
|
10 |
<?php
|
11 |
$_helper = $this->helper('catalog/output');
|
12 |
$_product= Mage::registry('current_product');
|
app/design/frontend/default/default/template/strapp/attributescontent.phtml~
DELETED
@@ -1,68 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$_helper = $this->helper('catalog/output');
|
3 |
-
$_product = $this->getProduct()
|
4 |
-
?>
|
5 |
-
<?php
|
6 |
-
$attributes_by_groups = array();
|
7 |
-
$group_names = array();
|
8 |
-
$group_ids = array();
|
9 |
-
|
10 |
-
$attributes = $_product->getAttributes();
|
11 |
-
$attribute_set = Mage::getModel('eav/entity_attribute_set')->load( $_product->getAttributeSetId() );
|
12 |
-
$attribute_set_Id = $attribute_set->getAttributeSetId();
|
13 |
-
$attribute_set_Name = $attribute_set->getAttributeSetName();
|
14 |
-
|
15 |
-
foreach ($attributes as $attribute)
|
16 |
-
{
|
17 |
-
if ($attribute->getIsVisibleOnFront() && $attribute->getIsUserDefined()) {
|
18 |
-
$group_id = $attribute->getData('attribute_set_info/' . $_product->getAttributeSetId() . '/group_id');
|
19 |
-
|
20 |
-
if (!in_array($group_id, $group_ids))
|
21 |
-
{
|
22 |
-
array_push($group_ids, $group_id);
|
23 |
-
}
|
24 |
-
|
25 |
-
if ( !isset($group_names[$group_id]) )
|
26 |
-
{
|
27 |
-
$group_model = Mage::getModel('eav/entity_attribute_group');
|
28 |
-
$group_model->load($group_id);
|
29 |
-
|
30 |
-
$group_names[$group_id] = $group_model->getAttributeGroupName();
|
31 |
-
}
|
32 |
-
}
|
33 |
-
}
|
34 |
-
?>
|
35 |
-
<?php if($_additional = $this->getAdditionalData()): ?>
|
36 |
-
<?php foreach ($group_ids as $group_id): ?>
|
37 |
-
|
38 |
-
<?php
|
39 |
-
$group_name = $group_names[$group_id];
|
40 |
-
$exclAttr_Arr = array();
|
41 |
-
foreach ($attributes as $attribute)
|
42 |
-
{
|
43 |
-
if (!(($attribute->getAttributeGroupId()) == $group_id))
|
44 |
-
{
|
45 |
-
array_push($exclAttr_Arr, ($attribute->getAttributeCode()));
|
46 |
-
}
|
47 |
-
}
|
48 |
-
?>
|
49 |
-
<div class="product-tabs-content" id="product_tabs_<?php echo $group_name;?>_contents">
|
50 |
-
<?php $_additional = $this->getAdditionalData($exclAttr_Arr);?>
|
51 |
-
|
52 |
-
<table cellspacing="0" class="data-table" id="product-attribute-specs-table">
|
53 |
-
|
54 |
-
<?php foreach ($_additional as $_data): ?>
|
55 |
-
<tr>
|
56 |
-
<td class="label"><?php echo $this->htmlEscape($this->__($_data['label'])) ?></td>
|
57 |
-
<td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
|
58 |
-
</tr>
|
59 |
-
|
60 |
-
<?php endforeach; ?>
|
61 |
-
|
62 |
-
</table>
|
63 |
-
|
64 |
-
<script type="text/javascript\">decorateTable(’product-attribute-specs-table’)</script>
|
65 |
-
</div>
|
66 |
-
<?php endforeach; ?>
|
67 |
-
<?php endif;?>
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/strapp/attributesheader.phtml~
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$_helper = $this->helper('catalog/output');
|
3 |
-
$_product = $this->getProduct()
|
4 |
-
?>
|
5 |
-
<?php
|
6 |
-
$attributes_by_groups = array();
|
7 |
-
$group_names = array();
|
8 |
-
$group_ids = array();
|
9 |
-
|
10 |
-
$attributes = $_product->getAttributes();
|
11 |
-
$attribute_set = Mage::getModel('eav/entity_attribute_set')->load( $_product->getAttributeSetId() );
|
12 |
-
$attribute_set_Id = $attribute_set->getAttributeSetId();
|
13 |
-
$attribute_set_Name = $attribute_set->getAttributeSetName();
|
14 |
-
|
15 |
-
foreach ($attributes as $attribute)
|
16 |
-
{
|
17 |
-
if ($attribute->getIsVisibleOnFront() && $attribute->getIsUserDefined()) {
|
18 |
-
$group_id = $attribute->getData('attribute_set_info/' . $_product->getAttributeSetId() . '/group_id');
|
19 |
-
|
20 |
-
if (!in_array($group_id, $group_ids))
|
21 |
-
{
|
22 |
-
array_push($group_ids, $group_id);
|
23 |
-
}
|
24 |
-
|
25 |
-
if ( !isset($group_names[$group_id]) )
|
26 |
-
{
|
27 |
-
$group_model = Mage::getModel('eav/entity_attribute_group');
|
28 |
-
$group_model->load($group_id);
|
29 |
-
|
30 |
-
$group_names[$group_id] = $group_model->getAttributeGroupName();
|
31 |
-
}
|
32 |
-
}
|
33 |
-
}
|
34 |
-
?>
|
35 |
-
<?php if($_additional = $this->getAdditionalData()): ?>
|
36 |
-
<?php foreach ($group_ids as $group_id): ?>
|
37 |
-
<?php $group_name = $group_names[$group_id];?>
|
38 |
-
<li id="product_tabs_<?php echo $group_name?>">
|
39 |
-
<a href="#"><?php echo $group_name?></a>
|
40 |
-
</li>
|
41 |
-
<?php endforeach; ?>
|
42 |
-
<?php endif;?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/default/template/strapp/multitab/list.phtml~
DELETED
@@ -1,220 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Strapp Multitabcompare Module
|
4 |
-
*
|
5 |
-
* @category Strapp
|
6 |
-
* @package Strapp_Multitabcompare
|
7 |
-
*/
|
8 |
-
?>
|
9 |
-
<div class="page-title title-buttons">
|
10 |
-
<h1><?php echo $this->__('Compare Products') ?></h1>
|
11 |
-
<a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
|
12 |
-
</div>
|
13 |
-
<?php $_totalItems=$this->getItems()->getSize(); ?>
|
14 |
-
<?php
|
15 |
-
$itemsArray =array();
|
16 |
-
foreach($this->getItems() as $_item):
|
17 |
-
$attributeSetId = Mage::getModel('catalog/product')->loadByAttribute('sku',$_item->getSku())->getAttributeSetId();
|
18 |
-
$itemsArray[$attributeSetId][] = $_item;
|
19 |
-
endforeach;
|
20 |
-
?>
|
21 |
-
<?php
|
22 |
-
foreach($itemsArray as $key => $items): ?>
|
23 |
-
<?php $_total = count($items); ?>
|
24 |
-
<?php if($_total): ?>
|
25 |
-
<table class="data-table compare-table" id="product_comparison<?php echo $key; ?>">
|
26 |
-
<?php $_i=0 ?>
|
27 |
-
<?php foreach($items as $_item): ?>
|
28 |
-
<?php if($_i++%10==0): ?>
|
29 |
-
<col width="1" />
|
30 |
-
<?php endif; ?>
|
31 |
-
<col width="<?php echo floor(100/$_total); ?>%" />
|
32 |
-
<?php endforeach; ?>
|
33 |
-
<?php if ($_total>1): ?>
|
34 |
-
<thead>
|
35 |
-
<tr>
|
36 |
-
<?php $_i=0 ?>
|
37 |
-
<?php foreach($items as $_item): ?>
|
38 |
-
<?php if($_i++%10==0): ?>
|
39 |
-
<th> </th>
|
40 |
-
<?php endif; ?>
|
41 |
-
<td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
42 |
-
<?php endforeach; ?>
|
43 |
-
</tr>
|
44 |
-
</thead>
|
45 |
-
<?php endif ?>
|
46 |
-
<tbody>
|
47 |
-
<tr class="product-shop-row">
|
48 |
-
<?php $_i=0 ?>
|
49 |
-
<?php foreach($items as $_item): ?>
|
50 |
-
<?php if($_i++%10==0): ?>
|
51 |
-
<th> </th>
|
52 |
-
<?php endif; ?>
|
53 |
-
<td>
|
54 |
-
<a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
|
55 |
-
<h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h2>
|
56 |
-
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
57 |
-
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
58 |
-
<?php if($_item->isSaleable()): ?>
|
59 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
60 |
-
<?php else: ?>
|
61 |
-
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
62 |
-
<?php endif; ?>
|
63 |
-
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
64 |
-
<ul class="add-to-links">
|
65 |
-
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist" onclick="setPLocation(this.href, true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
66 |
-
</ul>
|
67 |
-
<?php endif; ?>
|
68 |
-
</td>
|
69 |
-
<?php endforeach; ?>
|
70 |
-
</tr>
|
71 |
-
</tbody>
|
72 |
-
<tbody>
|
73 |
-
<?php foreach ($this->getAttributes() as $_attribute): ?>
|
74 |
-
<tr>
|
75 |
-
<?php $_i=0 ?>
|
76 |
-
<?php foreach($items as $_item): ?>
|
77 |
-
<?php if($_i++%10==0): ?>
|
78 |
-
<th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
|
79 |
-
<?php endif; ?>
|
80 |
-
<td>
|
81 |
-
<?php switch ($_attribute->getAttributeCode())
|
82 |
-
{
|
83 |
-
case "price": ?>
|
84 |
-
<?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
|
85 |
-
<?php break;
|
86 |
-
case "small_image": ?>
|
87 |
-
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" />
|
88 |
-
<?php break;
|
89 |
-
case "date":
|
90 |
-
echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
|
91 |
-
break;
|
92 |
-
default: ?>
|
93 |
-
<div class="std">
|
94 |
-
<?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
|
95 |
-
</div>
|
96 |
-
<?php break;
|
97 |
-
} ?>
|
98 |
-
</td>
|
99 |
-
<?php endforeach; ?>
|
100 |
-
</tr>
|
101 |
-
<?php endforeach; ?>
|
102 |
-
</tbody>
|
103 |
-
<tbody>
|
104 |
-
<?php $_referproduct = Mage::getModel('catalog/product')->loadByAttribute('sku',reset($items)->getSku()); ?>
|
105 |
-
<?php
|
106 |
-
$attributes_by_groups = array();
|
107 |
-
$group_names = array();
|
108 |
-
$group_ids = array();
|
109 |
-
$attributes = $_referproduct->getAttributes();
|
110 |
-
$attribute_set = Mage::getModel('eav/entity_attribute_set')->load( $_referproduct->getAttributeSetId() );
|
111 |
-
$attribute_set_Id = $attribute_set->getAttributeSetId();
|
112 |
-
$attribute_set_Name = $attribute_set->getAttributeSetName();
|
113 |
-
foreach ($attributes as $attribute)
|
114 |
-
{
|
115 |
-
if ($attribute->getIsVisibleOnFront() && $attribute->getIsUserDefined())
|
116 |
-
{
|
117 |
-
$group_id = $attribute->getData('attribute_set_info/' . $_referproduct->getAttributeSetId() . '/group_id');
|
118 |
-
|
119 |
-
if (!in_array($group_id, $group_ids))
|
120 |
-
{
|
121 |
-
array_push($group_ids, $group_id);
|
122 |
-
}
|
123 |
-
|
124 |
-
if ( !isset($group_names[$group_id]) )
|
125 |
-
{
|
126 |
-
$group_model = Mage::getModel('eav/entity_attribute_group');
|
127 |
-
$group_model->load($group_id);
|
128 |
-
|
129 |
-
$group_names[$group_id] = $group_model->getAttributeGroupName();
|
130 |
-
}
|
131 |
-
}
|
132 |
-
}
|
133 |
-
?>
|
134 |
-
<?php foreach ($group_ids as $group_id): ?>
|
135 |
-
<?php
|
136 |
-
$group_name = $group_names[$group_id];
|
137 |
-
?>
|
138 |
-
<tr>
|
139 |
-
<th><?php echo $group_name;?></th>
|
140 |
-
<?php foreach($items as $_item): ?>
|
141 |
-
<?php $_product =Mage::getModel('catalog/product')->loadByAttribute('sku',$_item->getSku())?>
|
142 |
-
<td>
|
143 |
-
<?php $attributesCollection = Mage::getResourceModel('catalog/product_attribute_collection');
|
144 |
-
$attributesCollection->setAttributeGroupFilter($group_id);
|
145 |
-
foreach ($attributesCollection as $attribute)
|
146 |
-
{?>
|
147 |
-
<p>
|
148 |
-
<b><?php echo $attribute->getFrontendLabel();?>:
|
149 |
-
</b>
|
150 |
-
<?php
|
151 |
-
echo
|
152 |
-
$attribute->getFrontend()->getValue($_product);
|
153 |
-
?>
|
154 |
-
</p>
|
155 |
-
<?php
|
156 |
-
}
|
157 |
-
?>
|
158 |
-
</td>
|
159 |
-
|
160 |
-
<?php endforeach; ?>
|
161 |
-
</tr>
|
162 |
-
<?php endforeach; ?>
|
163 |
-
</tbody>
|
164 |
-
<tbody>
|
165 |
-
<tr class="add-to-row">
|
166 |
-
<?php $_i=0 ?>
|
167 |
-
<?php foreach($items as $_item): ?>
|
168 |
-
<?php if($_i++%10==0): ?>
|
169 |
-
<th> </th>
|
170 |
-
<?php endif; ?>
|
171 |
-
<td>
|
172 |
-
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
173 |
-
<?php if($_item->isSaleable()): ?>
|
174 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
175 |
-
<?php else: ?>
|
176 |
-
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
177 |
-
<?php endif; ?>
|
178 |
-
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
179 |
-
<ul class="add-to-links">
|
180 |
-
<li><a href="<?php echo $this->getAddToWishlistUrl($_item);?>" class="link-wishlist" onclick="setPLocation(this.href, true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
181 |
-
</ul>
|
182 |
-
<?php endif; ?>
|
183 |
-
</td>
|
184 |
-
<?php endforeach; ?>
|
185 |
-
</tr>
|
186 |
-
</tbody>
|
187 |
-
</table>
|
188 |
-
<script type="text/javascript">
|
189 |
-
decorateTable('product_comparison<?php echo $key; ?>');
|
190 |
-
</script>
|
191 |
-
<br />
|
192 |
-
<?php endif; ?>
|
193 |
-
<?php endforeach;?>
|
194 |
-
<div class="buttons-set">
|
195 |
-
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
196 |
-
<span class="please-wait" id="compare-list-please-wait" style="display:none;">
|
197 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
|
198 |
-
</span>
|
199 |
-
</div>
|
200 |
-
<script type="text/javascript">
|
201 |
-
decorateTable('product_comparison');
|
202 |
-
|
203 |
-
/**
|
204 |
-
* Send remove item request, after that reload windows
|
205 |
-
*/
|
206 |
-
function removeItem(url)
|
207 |
-
{
|
208 |
-
new Ajax.Request(url, {
|
209 |
-
parameters: {isAjax: 1, method: 'POST'},
|
210 |
-
onLoading: function(){$('compare-list-please-wait').show();},
|
211 |
-
onSuccess: function(transport) {
|
212 |
-
$('compare-list-please-wait').hide();
|
213 |
-
window.location.reload();
|
214 |
-
window.opener.location.reload();
|
215 |
-
}
|
216 |
-
});
|
217 |
-
}
|
218 |
-
</script>
|
219 |
-
|
220 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>strapp_multitab_product_view</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>StrApp Multitab Product View Community Module</summary>
|
10 |
<description>A lot of products have a lot of information that needs to be displayed for e.g. a smart phone would have information about the features, battery, OS, processor, maintenance, etc. And each of these would have a lot of details. For a good user experience, having this information in tabs would be very helpful.Magento doesn't provide information to be displayed as tabs by default, in the product description page. With the Multi tab extension, you can very easily have any number of tabs for your product.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>StrApp</name><user>strviv</user><email>strappvivek@gmail.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Strapp"><dir name="Multitab"><dir name="Helper"><file name="Data.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.2.0</min><max>5.
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>strapp_multitab_product_view</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>StrApp Multitab Product View Community Module</summary>
|
10 |
<description>A lot of products have a lot of information that needs to be displayed for e.g. a smart phone would have information about the features, battery, OS, processor, maintenance, etc. And each of these would have a lot of details. For a good user experience, having this information in tabs would be very helpful.Magento doesn't provide information to be displayed as tabs by default, in the product description page. With the Multi tab extension, you can very easily have any number of tabs for your product.</description>
|
11 |
+
<notes>StrApp Multitab Product View Community Module</notes>
|
12 |
<authors><author><name>StrApp</name><user>strviv</user><email>strappvivek@gmail.com</email></author></authors>
|
13 |
+
<date>2014-09-08</date>
|
14 |
+
<time>04:36:15</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Strapp"><dir name="Multitab"><dir name="Helper"><file name="Data.php" hash="3a5faff7c833ff5e2284a38297353c46"/><file name="Data.php~" hash="3a5faff7c833ff5e2284a38297353c46"/></dir><dir name="etc"><file name="adminhtml.xml" hash="70169be8e9c2b26abafea29a89d7a572"/><file name="adminhtml.xml~" hash="70169be8e9c2b26abafea29a89d7a572"/><file name="config.xml" hash="66343a07b258a2381f58b7df37d57c54"/><file name="config.xml~" hash="66343a07b258a2381f58b7df37d57c54"/><file name="system.xml" hash="fd14fafa5ebc4a61f9140de839a03761"/><file name="system.xml~" hash="fd14fafa5ebc4a61f9140de839a03761"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="strapp_multitabdisplay.xml" hash="b405b197b2493265ef675c04161fc86d"/></dir><dir name="template"><dir name="strapp"><dir name="multitab"><dir name="product"><dir name="view"><file name="attributescontent.phtml" hash="bf3ff8de97071af2b3b553e23c9c1d1e"/><file name="attributescontent.phtml~" hash="bf3ff8de97071af2b3b553e23c9c1d1e"/><file name="attributesheader.phtml" hash="819cd9a9e6a8756bd76c7ece7fd9b40a"/><file name="attributesheader.phtml~" hash="819cd9a9e6a8756bd76c7ece7fd9b40a"/><file name="tabs.phtml" hash="6b1d461901468f43657479afe9b16fc8"/><file name="tabs.phtml~" hash="6b1d461901468f43657479afe9b16fc8"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Strapp_Multitab.xml" hash="c90c6162d4830da765df915f753dd2c6"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="strapp-multitab.css" hash="0f7b91cdadcf10392d4c8f196ee653a9"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|
skin/frontend/{default → base}/default/css/strapp-multitab.css
RENAMED
File without changes
|