Version Notes
- Minor bugfixes
- Added 1.4 compatibility
Download this release
Release Info
Developer | Magento Core Team |
Extension | epoqRS |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.5
- app/code/community/Flagbit/EpoqInterface/Block/Abstract.php +5 -1
- app/code/community/Flagbit/EpoqInterface/Block/Export/Productlist.php +5 -22
- app/code/community/Flagbit/EpoqInterface/Block/Recommentation/Abstract.php +10 -0
- app/code/community/Flagbit/EpoqInterface/Block/Track/Cart.php +3 -3
- app/code/community/Flagbit/EpoqInterface/controllers/IndexController.php +5 -6
- app/code/community/Flagbit/EpoqInterface/etc/config.xml +2 -2
- app/design/frontend/default/default/template/epoqinterface/recommendation/cart.phtml +17 -2
- app/design/frontend/default/default/template/epoqinterface/recommendation/product.phtml +18 -3
- app/design/frontend/default/default/template/epoqinterface/recommendation/user.phtml +17 -2
- package.xml +4 -4
app/code/community/Flagbit/EpoqInterface/Block/Abstract.php
CHANGED
@@ -46,9 +46,13 @@ class Flagbit_EpoqInterface_Block_Abstract extends Mage_Core_Block_Abstract
|
|
46 |
$variables['epoq_customerId'] = $customerId;
|
47 |
}
|
48 |
|
|
|
|
|
|
|
|
|
49 |
if($this->_lastRecommentationId !== null){
|
50 |
$variables['epoq_recommendationId'] = $this->_lastRecommentationId;
|
51 |
-
}
|
52 |
|
53 |
return $variables;
|
54 |
}
|
46 |
$variables['epoq_customerId'] = $customerId;
|
47 |
}
|
48 |
|
49 |
+
if($this->getRequest()->getParam('recommentation_id')){
|
50 |
+
$variables['epoq_recommendationId'] = $this->getRequest()->getParam('recommentation_id');
|
51 |
+
}
|
52 |
+
/*
|
53 |
if($this->_lastRecommentationId !== null){
|
54 |
$variables['epoq_recommendationId'] = $this->_lastRecommentationId;
|
55 |
+
}*/
|
56 |
|
57 |
return $variables;
|
58 |
}
|
app/code/community/Flagbit/EpoqInterface/Block/Export/Productlist.php
CHANGED
@@ -11,31 +11,13 @@
|
|
11 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
12 |
* Public License for more details. *
|
13 |
* *
|
14 |
-
* @version $Id: Productlist.php
|
15 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
16 |
*/
|
17 |
|
18 |
class Flagbit_EpoqInterface_Block_Export_Productlist extends Flagbit_EpoqInterface_Block_Abstract
|
19 |
{
|
20 |
|
21 |
-
/**
|
22 |
-
* Class Constuctor
|
23 |
-
* Cache Settings
|
24 |
-
*/
|
25 |
-
public function __construct(){
|
26 |
-
|
27 |
-
// set Cache to one Hour
|
28 |
-
$this->setCacheLifetime(3600);
|
29 |
-
$this->setCacheKey(
|
30 |
-
$this->getNameInLayout().
|
31 |
-
Mage::app()->getStore()->getId().
|
32 |
-
$this->getRequest()->getParam('part', 1).
|
33 |
-
$this->getRequest()->getParam('limit', 1000)
|
34 |
-
);
|
35 |
-
|
36 |
-
parent::__construct();
|
37 |
-
}
|
38 |
-
|
39 |
/**
|
40 |
* generates the Output
|
41 |
*
|
@@ -73,9 +55,9 @@ class Flagbit_EpoqInterface_Block_Export_Productlist extends Flagbit_EpoqInterfa
|
|
73 |
if($this->getRequest()->getParam('part')){
|
74 |
$products->getSelect()->limitPage($this->getRequest()->getParam('part', 1), $this->getRequest()->getParam('limit', 1000));
|
75 |
}
|
76 |
-
|
77 |
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($products);
|
78 |
-
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products);
|
79 |
|
80 |
/*
|
81 |
using resource iterator to load the data one by one
|
@@ -134,13 +116,14 @@ class Flagbit_EpoqInterface_Block_Export_Productlist extends Flagbit_EpoqInterfa
|
|
134 |
'e:locakey' => substr(Mage::getSingleton('core/locale')->getLocale(), 0, 2),
|
135 |
|
136 |
// c Namespace
|
137 |
-
'c:mgtproducttype' => $product->getTypeId(),
|
138 |
|
139 |
);
|
140 |
|
141 |
// set Product variant
|
142 |
if(isset($parentProduct[0])){
|
143 |
$data['e:variant_of'] = $parentProduct[0];
|
|
|
144 |
}
|
145 |
|
146 |
// add Product Attributes
|
11 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
12 |
* Public License for more details. *
|
13 |
* *
|
14 |
+
* @version $Id: Productlist.php 471 2010-07-09 13:51:44Z weller $
|
15 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
16 |
*/
|
17 |
|
18 |
class Flagbit_EpoqInterface_Block_Export_Productlist extends Flagbit_EpoqInterface_Block_Abstract
|
19 |
{
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
/**
|
22 |
* generates the Output
|
23 |
*
|
55 |
if($this->getRequest()->getParam('part')){
|
56 |
$products->getSelect()->limitPage($this->getRequest()->getParam('part', 1), $this->getRequest()->getParam('limit', 1000));
|
57 |
}
|
58 |
+
|
59 |
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($products);
|
60 |
+
//Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($products);
|
61 |
|
62 |
/*
|
63 |
using resource iterator to load the data one by one
|
116 |
'e:locakey' => substr(Mage::getSingleton('core/locale')->getLocale(), 0, 2),
|
117 |
|
118 |
// c Namespace
|
119 |
+
'c:mgtproducttype' => $product->getTypeId(),
|
120 |
|
121 |
);
|
122 |
|
123 |
// set Product variant
|
124 |
if(isset($parentProduct[0])){
|
125 |
$data['e:variant_of'] = $parentProduct[0];
|
126 |
+
$data['c:mgt_parents'] = implode(',', $parentProduct);
|
127 |
}
|
128 |
|
129 |
// add Product Attributes
|
app/code/community/Flagbit/EpoqInterface/Block/Recommentation/Abstract.php
CHANGED
@@ -51,6 +51,16 @@ class Flagbit_EpoqInterface_Block_Recommentation_Abstract extends Mage_Catalog_B
|
|
51 |
return $this;
|
52 |
}
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
protected function _beforeToHtml()
|
55 |
{
|
56 |
$this->_prepareData();
|
51 |
return $this;
|
52 |
}
|
53 |
|
54 |
+
/**
|
55 |
+
* get Session
|
56 |
+
*
|
57 |
+
* @return Flagbit_EpoqInterface_Model_Session
|
58 |
+
*/
|
59 |
+
protected function getSession(){
|
60 |
+
|
61 |
+
return Mage::getSingleton('epoqinterface/session');
|
62 |
+
}
|
63 |
+
|
64 |
protected function _beforeToHtml()
|
65 |
{
|
66 |
$this->_prepareData();
|
app/code/community/Flagbit/EpoqInterface/Block/Track/Cart.php
CHANGED
@@ -24,7 +24,7 @@ class Flagbit_EpoqInterface_Block_Track_Cart extends Flagbit_EpoqInterface_Block
|
|
24 |
{
|
25 |
|
26 |
if (!$this->_beforeToHtml()
|
27 |
-
or !$this->getSession()->getCartUpdate()
|
28 |
&& !$this->getSession()->getBlockTrackCartOutput()) {
|
29 |
return '';
|
30 |
}
|
@@ -67,9 +67,9 @@ class Flagbit_EpoqInterface_Block_Track_Cart extends Flagbit_EpoqInterface_Block
|
|
67 |
if ($option = $item->getOptionByCode('simple_product')) {
|
68 |
|
69 |
$product = $option->getProduct();
|
70 |
-
$variables['
|
71 |
}else{
|
72 |
-
$product = $item->getProduct();
|
73 |
}
|
74 |
|
75 |
$variables['epoq_productIds'][$key] = $product->getId();
|
24 |
{
|
25 |
|
26 |
if (!$this->_beforeToHtml()
|
27 |
+
or (!$this->getSession()->getCartUpdate() && $this->getRequest()->getControllerName() == 'cart')
|
28 |
&& !$this->getSession()->getBlockTrackCartOutput()) {
|
29 |
return '';
|
30 |
}
|
67 |
if ($option = $item->getOptionByCode('simple_product')) {
|
68 |
|
69 |
$product = $option->getProduct();
|
70 |
+
$variables['epoq_variantOfList'][$key] = $item->getProduct()->getId();
|
71 |
}else{
|
72 |
+
$product = $item->getProduct();
|
73 |
}
|
74 |
|
75 |
$variables['epoq_productIds'][$key] = $product->getId();
|
app/code/community/Flagbit/EpoqInterface/controllers/IndexController.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
12 |
* Public License for more details. *
|
13 |
* *
|
14 |
-
* @version $Id: IndexController.php
|
15 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
16 |
*/
|
17 |
|
@@ -23,7 +23,7 @@ class Flagbit_EpoqInterface_IndexController extends Mage_Core_Controller_Front_A
|
|
23 |
|
24 |
public function preDispatch()
|
25 |
{
|
26 |
-
|
27 |
// check if export is enabled
|
28 |
if(!Mage::getStoreConfig(self::XML_STATUS_PATH)){
|
29 |
$this->setFlag('', self::FLAG_NO_DISPATCH, true);
|
@@ -61,14 +61,13 @@ class Flagbit_EpoqInterface_IndexController extends Mage_Core_Controller_Front_A
|
|
61 |
|
62 |
|
63 |
public function productlistAction(){
|
64 |
-
|
65 |
$this->getResponse()->setHeader('Content-type', 'text/plain; charset=UTF-8');
|
66 |
//$this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8');
|
67 |
-
|
68 |
-
|
69 |
}
|
70 |
|
71 |
-
|
72 |
/**
|
73 |
* The main function for converting to an XML document.
|
74 |
* Pass in a multi dimensional array and this recrusively loops through and builds up an XML document.
|
11 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
12 |
* Public License for more details. *
|
13 |
* *
|
14 |
+
* @version $Id: IndexController.php 471 2010-07-09 13:51:44Z weller $
|
15 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
16 |
*/
|
17 |
|
23 |
|
24 |
public function preDispatch()
|
25 |
{
|
26 |
+
|
27 |
// check if export is enabled
|
28 |
if(!Mage::getStoreConfig(self::XML_STATUS_PATH)){
|
29 |
$this->setFlag('', self::FLAG_NO_DISPATCH, true);
|
61 |
|
62 |
|
63 |
public function productlistAction(){
|
|
|
64 |
$this->getResponse()->setHeader('Content-type', 'text/plain; charset=UTF-8');
|
65 |
//$this->getResponse()->setHeader('Content-type', 'text/xml; charset=UTF-8');
|
66 |
+
|
67 |
+
$this->getResponse()->setBody($this->getLayout()->createBlock('epoqinterface/export_productlist')->toHtml());
|
68 |
}
|
69 |
|
70 |
+
|
71 |
/**
|
72 |
* The main function for converting to an XML document.
|
73 |
* Pass in a multi dimensional array and this recrusively loops through and builds up an XML document.
|
app/code/community/Flagbit/EpoqInterface/etc/config.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
13 |
* Public License for more details. *
|
14 |
* *
|
15 |
-
* @version $Id: config.xml
|
16 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
17 |
*/
|
18 |
-->
|
@@ -20,7 +20,7 @@
|
|
20 |
<modules>
|
21 |
<Flagbit_EpoqInterface>
|
22 |
<active>true</active>
|
23 |
-
<version>1.0.
|
24 |
</Flagbit_EpoqInterface>
|
25 |
</modules>
|
26 |
|
12 |
* TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
|
13 |
* Public License for more details. *
|
14 |
* *
|
15 |
+
* @version $Id: config.xml 471 2010-07-09 13:51:44Z weller $
|
16 |
* @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
|
17 |
*/
|
18 |
-->
|
20 |
<modules>
|
21 |
<Flagbit_EpoqInterface>
|
22 |
<active>true</active>
|
23 |
+
<version>1.0.5</version>
|
24 |
</Flagbit_EpoqInterface>
|
25 |
</modules>
|
26 |
|
app/design/frontend/default/default/template/epoqinterface/recommendation/cart.phtml
CHANGED
@@ -27,8 +27,8 @@
|
|
27 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
28 |
<?php if($_link=$this->getIterableItem()): ?>
|
29 |
<td>
|
30 |
-
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
31 |
-
<h5><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
32 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
33 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
34 |
</td>
|
@@ -41,4 +41,19 @@
|
|
41 |
</table>
|
42 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
43 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
<?php endif ?>
|
27 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
28 |
<?php if($_link=$this->getIterableItem()): ?>
|
29 |
<td>
|
30 |
+
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
31 |
+
<h5><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
32 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
33 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
34 |
</td>
|
41 |
</table>
|
42 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
43 |
</div>
|
44 |
+
<script type="text/javascript">
|
45 |
+
$$('a.epoq-recommentation-link').each(function(elem, index){
|
46 |
+
var newParam = 'recommentation_id=<?php echo $this->getSession()->getLastRecommentationId();?>',
|
47 |
+
params = '?' + newParam;
|
48 |
+
params = elem.href.replace(new RegExp('[\?&]' + 'recommentation_id' + '[^&]*'), '$1' + newParam);
|
49 |
+
if (params === elem.href) {
|
50 |
+
if(elem.href.indexOf('?') == '-1'){
|
51 |
+
params += '?' + newParam;
|
52 |
+
}else{
|
53 |
+
params += '&' + newParam;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
elem.href = params;
|
57 |
+
});
|
58 |
+
</script>
|
59 |
<?php endif ?>
|
app/design/frontend/default/default/template/epoqinterface/recommendation/product.phtml
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
<?php if(count($this->getItemCollection()->getItems())): ?>
|
20 |
<div class="collateral-box up-sell">
|
21 |
<div class="head"><h4><?php echo $this->__('epoq: You may also be interested in the following product(s)') ?></h4></div>
|
22 |
-
<table cellspacing="0" class="generic-product-grid catalog-listing" id="
|
23 |
<?php // $this->setColumnCount(4); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
24 |
<?php $this->resetItemsIterator() ?>
|
25 |
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
@@ -27,8 +27,8 @@
|
|
27 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
28 |
<?php if($_link=$this->getIterableItem()): ?>
|
29 |
<td>
|
30 |
-
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
31 |
-
<h5><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
32 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
33 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
34 |
</td>
|
@@ -41,4 +41,19 @@
|
|
41 |
</table>
|
42 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
43 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
<?php endif ?>
|
19 |
<?php if(count($this->getItemCollection()->getItems())): ?>
|
20 |
<div class="collateral-box up-sell">
|
21 |
<div class="head"><h4><?php echo $this->__('epoq: You may also be interested in the following product(s)') ?></h4></div>
|
22 |
+
<table cellspacing="0" class="generic-product-grid catalog-listing" id="epoq-product-table">
|
23 |
<?php // $this->setColumnCount(4); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
24 |
<?php $this->resetItemsIterator() ?>
|
25 |
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
27 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
28 |
<?php if($_link=$this->getIterableItem()): ?>
|
29 |
<td>
|
30 |
+
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
31 |
+
<h5><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
32 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
33 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
34 |
</td>
|
41 |
</table>
|
42 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
43 |
</div>
|
44 |
+
<script type="text/javascript">
|
45 |
+
$$('a.epoq-recommentation-link').each(function(elem, index){
|
46 |
+
var newParam = 'recommentation_id=<?php echo $this->getSession()->getLastRecommentationId();?>',
|
47 |
+
params = '?' + newParam;
|
48 |
+
params = elem.href.replace(new RegExp('[\?&]' + 'recommentation_id' + '[^&]*'), '$1' + newParam);
|
49 |
+
if (params === elem.href) {
|
50 |
+
if(elem.href.indexOf('?') == '-1'){
|
51 |
+
params += '?' + newParam;
|
52 |
+
}else{
|
53 |
+
params += '&' + newParam;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
elem.href = params;
|
57 |
+
});
|
58 |
+
</script>
|
59 |
<?php endif ?>
|
app/design/frontend/default/default/template/epoqinterface/recommendation/user.phtml
CHANGED
@@ -28,8 +28,8 @@
|
|
28 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
29 |
<?php if($_link=$this->getIterableItem()): ?>
|
30 |
<td>
|
31 |
-
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
32 |
-
<h5><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
33 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
34 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
35 |
</td>
|
@@ -42,4 +42,19 @@
|
|
42 |
</table>
|
43 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
44 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
<?php endif ?>
|
28 |
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
29 |
<?php if($_link=$this->getIterableItem()): ?>
|
30 |
<td>
|
31 |
+
<p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
|
32 |
+
<h5><a href="<?php echo $_link->getProductUrl() ?>" class="epoq-recommentation-link"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
|
33 |
<?php echo $this->getPriceHtml($_link, true) ?>
|
34 |
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
35 |
</td>
|
42 |
</table>
|
43 |
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
44 |
</div>
|
45 |
+
<script type="text/javascript">
|
46 |
+
$$('a.epoq-recommentation-link').each(function(elem, index){
|
47 |
+
var newParam = 'recommentation_id=<?php echo $this->getSession()->getLastRecommentationId();?>',
|
48 |
+
params = '?' + newParam;
|
49 |
+
params = elem.href.replace(new RegExp('[\?&]' + 'recommentation_id' + '[^&]*'), '$1' + newParam);
|
50 |
+
if (params === elem.href) {
|
51 |
+
if(elem.href.indexOf('?') == '-1'){
|
52 |
+
params += '?' + newParam;
|
53 |
+
}else{
|
54 |
+
params += '&' + newParam;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
elem.href = params;
|
58 |
+
});
|
59 |
+
</script>
|
60 |
<?php endif ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>epoqRS</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -15,9 +15,9 @@
|
|
15 |
<notes>- Minor bugfixes
|
16 |
- Added 1.4 compatibility</notes>
|
17 |
<authors><author><name>Flagbit GmbH </name><user>auto-converted</user><email>magento@flagbit.de</email></author></authors>
|
18 |
-
<date>2010-
|
19 |
-
<time>
|
20 |
-
<contents><target name="magelocale"><dir name="de_DE"><file name="Flagbit_EpoqInterface.csv" hash="b49a8dca7e1a97c94ce4afb70840a4de"/></dir></target><target name="magecommunity"><dir name="Flagbit"><dir name="EpoqInterface"><dir name="Block"><dir name="Export"><file name="Productlist.php" hash="
|
21 |
<compatible/>
|
22 |
<dependencies/>
|
23 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>epoqRS</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
15 |
<notes>- Minor bugfixes
|
16 |
- Added 1.4 compatibility</notes>
|
17 |
<authors><author><name>Flagbit GmbH </name><user>auto-converted</user><email>magento@flagbit.de</email></author></authors>
|
18 |
+
<date>2010-08-05</date>
|
19 |
+
<time>11:18:39</time>
|
20 |
+
<contents><target name="magelocale"><dir name="de_DE"><file name="Flagbit_EpoqInterface.csv" hash="b49a8dca7e1a97c94ce4afb70840a4de"/></dir></target><target name="magecommunity"><dir name="Flagbit"><dir name="EpoqInterface"><dir name="Block"><dir name="Export"><file name="Productlist.php" hash="e2e55e1e01de424333561c44761842e5"/></dir><dir name="Recommentation"><file name="Abstract.php" hash="0d45c0cfcbabdf270f1e7a3a20977586"/><file name="Cart.php" hash="a5c689e8cfcf9f3c8f07b88d07003684"/><file name="Product.php" hash="8552f551ad33c2f28e0b80834fbaf8d9"/><file name="User.php" hash="1e8b594b8c54fb475e4595dbe39059fc"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Version.php" hash="71e3964c13333a57929221aa8e2edf07"/></dir></dir></dir></dir><dir name="Track"><file name="Cart.php" hash="cb9da5cbb1a6d2dc41ef792d3c553658"/><file name="Product.php" hash="22e36d5c180ba8a96f0d36ab5747c485"/></dir><file name="Abstract.php" hash="4007e9625a91ac07d42e58a4917492ea"/><file name="Head.php" hash="b6844d21b14dc9ebb1697be9e12a57f9"/></dir><dir name="controllers"><file name="IndexController.php" hash="6a5dbe8275701af11cd07b59ff57f4a8"/></dir><dir name="documentation"><file name="Installation_Guide_Magento_epoq_RS_1.0.0.pdf" hash="0227444742853b68a6f600404dc0a92d"/></dir><dir name="etc"><file name="config.xml" hash="82110c2990d850381ab2356746511482"/><file name="system.xml" hash="be045020f604fcb0fe73c086cea8d3f2"/></dir><dir name="Helper"><file name="Data.php" hash="2ea5098c3816538c0bf9de85677ac808"/></dir><dir name="Model"><dir name="Customer"><file name="Profiles.php" hash="fbedb6a3259a29db05b2c8783d02957b"/></dir><dir name="Recommendation"><file name="Abstract.php" hash="8ab50a9132dd79ecc0e216ccb326a5c2"/><file name="Cart.php" hash="fb66d1db5a156e7a89de52c4cfbc30ce"/><file name="Product.php" hash="81f3f8f7a59c1b72dc2526d768494bb9"/><file name="User.php" hash="549e3ba3efe4035c47a7a6c8b13eb39f"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attemps.php" hash="c01ebd5c76fd4d51305ed7111326d57d"/><file name="Idletime.php" hash="957ec9d0c4af2d52add60a9765c4e573"/><file name="Timeout.php" hash="95c38625ad50dc44ba2b2d371de1db65"/></dir></dir></dir><file name="Abstract.php" hash="5f6a2508e34f9ae0a7f8f7aff2e67510"/><file name="Observer.php" hash="6a8bfa71b605dcf37874542e1d721a87"/><file name="Session.php" hash="413f7d31ad2d5878f20a7db7adf5d207"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="epoqinterface.xml" hash="41bcb5bd071cde519b317aad3d8df8fb"/></dir><dir name="template"><dir name="epoqinterface"><dir name="recommendation"><file name="cart.phtml" hash="fd26f6ab54ad5948e034a0bde4cd24c5"/><file name="product.phtml" hash="742c19812ac43a6df5061ad59549ce38"/><file name="user.phtml" hash="232688250d420c858fe20deb2f603fdd"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Flagbit_EpoqInterface.xml" hash="8ada99bfdbcc7727ad36339bc11da6ec"/></dir></target></contents>
|
21 |
<compatible/>
|
22 |
<dependencies/>
|
23 |
</package>
|