Version Notes
v1.1.1 - This version has removed some common product code into the community package 1.2.0
v.1.1.2 - Improved performance when no remote results available
v.1.1.3 - minor bug fix
v1.2.0 - Compatibility with Community version 1.3.0 and above
Download this release
Release Info
Developer | Michael |
Extension | AdvertiseRelatedProducts |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.2.0
- Adverti.se Module Docs/Advertise Related Products.html +71 -0
- README-Advertise-Related-Products.txt +0 -19
- app/code/community/Advertise/RelatedProducts/Block/Related.php +1 -1
- app/code/community/Advertise/RelatedProducts/Model/Config.php +1 -2
- app/code/community/Advertise/RelatedProducts/data/relatedproducts_setup/data-upgrade-1.0.1-1.0.2.php +18 -0
- app/code/community/Advertise/RelatedProducts/etc/config.xml +11 -23
- app/code/community/Advertise/RelatedProducts/etc/system.xml +15 -122
- app/design/frontend/base/default/layout/advertiserelatedproducts.xml +2 -2
- app/etc/modules/Advertise_RelatedProducts.xml +1 -3
- package.xml +6 -6
Adverti.se Module Docs/Advertise Related Products.html
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Adverti.se Related Products</title>
|
5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
6 |
+
<link type="text/css" rel="stylesheet" href="./resources/install.css" media="all" />
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<div id="content">
|
10 |
+
<img class="adv_logo" src="./resources/backend-advertise-logo.png" alt="Adverti.se" height="45" width="220" />
|
11 |
+
<h1>Activating Adverti.se Related Products</h1>
|
12 |
+
<p>Thank you for installing our Related Products module. <br /><br />
|
13 |
+
Before related products will appear in the front end of your site you
|
14 |
+
need to complete the following simple modifications to your current theme's
|
15 |
+
template files. Once you have completed the steps below you will see our
|
16 |
+
related product suggestions appear on your product pages:</p>
|
17 |
+
<h2>Step 1</h2>
|
18 |
+
<p>Find the template file <span class="filename">related.phtml</span>
|
19 |
+
used by your theme. You should find it here:<br />
|
20 |
+
<br />
|
21 |
+
<span class="filepath"><Magento-root-folder>/app/design/frontend/<theme-package>/<theme-name>/template/catalog/product/list/related.phtml</span><br />
|
22 |
+
<br />
|
23 |
+
Copy and paste these lines at the top of the file:
|
24 |
+
</p>
|
25 |
+
<pre>
|
26 |
+
<code>
|
27 |
+
<div id="advrelated">
|
28 |
+
<script type="text/javascript">
|
29 |
+
if(adv_reload){
|
30 |
+
loadAdvertiseRelatedProducts();
|
31 |
+
adv_reload=false;
|
32 |
+
}
|
33 |
+
</script>
|
34 |
+
</code>
|
35 |
+
</pre>
|
36 |
+
<p>And add this line at the end of the file:</p>
|
37 |
+
<pre>
|
38 |
+
<code>
|
39 |
+
</div>
|
40 |
+
</code>
|
41 |
+
</pre>
|
42 |
+
|
43 |
+
<h2>Step 2</h2>
|
44 |
+
<p>Find the template file <span class="filename">head.phtml</span> used by your theme. You should find it here:<br />
|
45 |
+
<br />
|
46 |
+
<span class="filepath"><Magento-root-folder>/app/design/frontend/<theme-package>/<theme-name>/template/page/html/head.phtml</span><br />
|
47 |
+
<br />
|
48 |
+
Copy and paste this script tag somewhere within the <head> element in that file:
|
49 |
+
</p>
|
50 |
+
<pre>
|
51 |
+
<code>
|
52 |
+
<script type="text/javascript">
|
53 |
+
<?php
|
54 |
+
echo Mage::helper('advertise_retailintelligence')->getAdvertiseHeaderScript();
|
55 |
+
?>
|
56 |
+
</script>
|
57 |
+
</code>
|
58 |
+
</pre>
|
59 |
+
|
60 |
+
<h2>Step 3</h2>
|
61 |
+
<p>If you have not done so already, register your Adverti.se account by saving your details in the Magento Admin panel at:<br />
|
62 |
+
<br />
|
63 |
+
<span class="filepath">System → Configuration → Adverti.se → Account Settings</span><br />
|
64 |
+
<br />
|
65 |
+
At the same time your product data will be sent to us for processing, to enable us to suggest relevant products from your store.
|
66 |
+
</p>
|
67 |
+
<hr />
|
68 |
+
<p class="footer">© Adverti.se 2013</p>
|
69 |
+
</div>
|
70 |
+
</body>
|
71 |
+
</html>
|
README-Advertise-Related-Products.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
Step 1
|
2 |
-
======
|
3 |
-
Find the template file related.phtml used by your theme. You should find it in:
|
4 |
-
app/design/frontend/<theme-package>/<theme-name>/template/catalog/product/list
|
5 |
-
|
6 |
-
Add these lines at the top of the file:
|
7 |
-
<div id="advrelated">
|
8 |
-
<script type="text/javascript">if(adv_reload){loadAdvertiseRelatedProducts();adv_reload=false;}</script>
|
9 |
-
|
10 |
-
And add this line at the end of the file:
|
11 |
-
</div>
|
12 |
-
|
13 |
-
Step 2
|
14 |
-
======
|
15 |
-
Find the template file head.phtml used by your theme. You should find it in:
|
16 |
-
app/design/frontend/<theme-package>/<theme-name>/template/page/html
|
17 |
-
|
18 |
-
Add this script tag within the head:
|
19 |
-
<script type="text/javascript"><?php echo Mage::helper('advertise_retailintelligence')->getAdvertiseHeaderScript(); ?></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Advertise/RelatedProducts/Block/Related.php
CHANGED
@@ -32,7 +32,7 @@ class Advertise_RelatedProducts_Block_Related extends Mage_Catalog_Block_Product
|
|
32 |
array_push($ids, '0');
|
33 |
|
34 |
// Get count of related products required
|
35 |
-
$relatedCount = Mage::getStoreConfig('
|
36 |
|
37 |
// Get collection of products
|
38 |
$relateds = Mage::getResourceModel('catalog/product_collection');
|
32 |
array_push($ids, '0');
|
33 |
|
34 |
// Get count of related products required
|
35 |
+
$relatedCount = Mage::getStoreConfig('advertise_suggestedproducts_options/advertise_suggested_products/advertise_related_prod_count');
|
36 |
|
37 |
// Get collection of products
|
38 |
$relateds = Mage::getResourceModel('catalog/product_collection');
|
app/code/community/Advertise/RelatedProducts/Model/Config.php
CHANGED
@@ -10,8 +10,7 @@ class Advertise_RelatedProducts_Model_Config extends Varien_Object
|
|
10 |
* Config keys
|
11 |
*/
|
12 |
const ENABLED = 'importer/importer_group/enabled';
|
13 |
-
const PRODUCT_COUNT = '
|
14 |
-
const UPSELL_HEADING = 'advertise_relatedproducts_options/advertise_related_products/advertise_upsell_text';
|
15 |
const ADVERTISE_EMAIL = 'advertise_settings/settings/settings_email';
|
16 |
|
17 |
/**
|
10 |
* Config keys
|
11 |
*/
|
12 |
const ENABLED = 'importer/importer_group/enabled';
|
13 |
+
const PRODUCT_COUNT = 'advertise_suggestedproducts_options/advertise_suggested_products/advertise_related_prod_count';
|
|
|
14 |
const ADVERTISE_EMAIL = 'advertise_settings/settings/settings_email';
|
15 |
|
16 |
/**
|
app/code/community/Advertise/RelatedProducts/data/relatedproducts_setup/data-upgrade-1.0.1-1.0.2.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Upgrade db
|
4 |
+
*
|
5 |
+
* @package Advertise_RelatedProducts
|
6 |
+
*/
|
7 |
+
|
8 |
+
$installer = $this;
|
9 |
+
$installer->startSetup();
|
10 |
+
$relatedCount = Mage::getStoreConfig('advertise_relatedproducts_options/advertise_related_products/advertise_prod_count');
|
11 |
+
if ($relatedCount) {
|
12 |
+
// Copy old setting to new path
|
13 |
+
Mage::getModel('core/config')->saveConfig('advertise_suggestedproducts_options/advertise_suggested_products/advertise_related_prod_count', $relatedCount );
|
14 |
+
// Delete old path
|
15 |
+
Mage::getModel('core/config')->deleteConfig('advertise_relatedproducts_options/advertise_related_products/advertise_prod_count');
|
16 |
+
}
|
17 |
+
$installer->endSetup();
|
18 |
+
?>
|
app/code/community/Advertise/RelatedProducts/etc/config.xml
CHANGED
@@ -3,18 +3,17 @@
|
|
3 |
<!-- Define module and version number-->
|
4 |
<modules>
|
5 |
<Advertise_RelatedProducts>
|
6 |
-
<version>1.0.
|
7 |
</Advertise_RelatedProducts>
|
8 |
</modules>
|
9 |
|
10 |
<!-- Default values for Module Configuration -->
|
11 |
<default>
|
12 |
-
<
|
13 |
-
<
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
</advertise_relatedproducts_options>
|
18 |
</default>
|
19 |
|
20 |
<admin>
|
@@ -53,21 +52,12 @@
|
|
53 |
<children>
|
54 |
<config>
|
55 |
<children>
|
56 |
-
<!-- Specific to this Adverti.se module -->
|
57 |
-
<
|
58 |
-
<title>Adverti.se
|
59 |
-
<sort_order>
|
60 |
-
</
|
61 |
|
62 |
-
<!-- These two are for the general Adverti.se settings & license -->
|
63 |
-
<advertise_settings translate="title">
|
64 |
-
<title>Advertise Section</title>
|
65 |
-
<sort_order>1</sort_order>
|
66 |
-
</advertise_settings>
|
67 |
-
<advertise translate="title">
|
68 |
-
<title>Advertise</title>
|
69 |
-
<sort_order>2</sort_order>
|
70 |
-
</advertise>
|
71 |
</children>
|
72 |
</config>
|
73 |
</children>
|
@@ -136,6 +126,4 @@
|
|
136 |
</layout>
|
137 |
|
138 |
</frontend>
|
139 |
-
|
140 |
</config>
|
141 |
-
|
3 |
<!-- Define module and version number-->
|
4 |
<modules>
|
5 |
<Advertise_RelatedProducts>
|
6 |
+
<version>1.0.2</version>
|
7 |
</Advertise_RelatedProducts>
|
8 |
</modules>
|
9 |
|
10 |
<!-- Default values for Module Configuration -->
|
11 |
<default>
|
12 |
+
<advertise_suggestedproducts_options>
|
13 |
+
<advertise_suggested_products>
|
14 |
+
<advertise_related_prod_count>4</advertise_related_prod_count>
|
15 |
+
</advertise_suggested_products>
|
16 |
+
</advertise_suggestedproducts_options>
|
|
|
17 |
</default>
|
18 |
|
19 |
<admin>
|
52 |
<children>
|
53 |
<config>
|
54 |
<children>
|
55 |
+
<!-- Specific to this Adverti.se module (others in Community package are added there) -->
|
56 |
+
<advertise_suggestedproducts_options>
|
57 |
+
<title>Adverti.se Suggested Products Module Section</title>
|
58 |
+
<sort_order>6</sort_order>
|
59 |
+
</advertise_suggestedproducts_options>
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</children>
|
62 |
</config>
|
63 |
</children>
|
126 |
</layout>
|
127 |
|
128 |
</frontend>
|
|
|
129 |
</config>
|
|
app/code/community/Advertise/RelatedProducts/etc/system.xml
CHANGED
@@ -1,151 +1,44 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<config>
|
3 |
-
<!--
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
<tabs>
|
8 |
-
<Advertise translate="label">
|
9 |
-
<label>Advertise</label>
|
10 |
-
<sort_order>405</sort_order>
|
11 |
-
</Advertise>
|
12 |
-
</tabs>
|
13 |
|
14 |
<!-- Sections under Adverti.se tab -->
|
15 |
<sections>
|
16 |
<!-- Adds config settings input boxes in the Advertise config section -->
|
17 |
<!-- Access these settings using, e.g.:
|
18 |
-
Mage::getStoreConfig('
|
19 |
ANY CHANGES TO THESE KEYS NEEDS TO BE REFLECTED IN Config.php -->
|
20 |
-
<
|
21 |
<tab>Advertise</tab>
|
22 |
-
<label>
|
23 |
<frontend_type>text</frontend_type>
|
24 |
-
<sort_order>
|
25 |
<show_in_default>1</show_in_default>
|
26 |
<show_in_website>1</show_in_website>
|
27 |
<show_in_store>1</show_in_store>
|
28 |
<groups>
|
29 |
-
<
|
30 |
-
<label>Adverti.se
|
31 |
<frontend_type>text</frontend_type>
|
32 |
<!--sort_order>1</sort_order-->
|
33 |
<show_in_default>1</show_in_default>
|
34 |
<show_in_website>1</show_in_website>
|
35 |
<show_in_store>1</show_in_store>
|
36 |
<fields>
|
37 |
-
<
|
38 |
-
<label>Number of products to
|
39 |
<frontend_type>text</frontend_type>
|
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 |
-
</
|
45 |
-
|
46 |
-
<advertise_upsell_text translate="label">
|
47 |
-
<label>Upsell heading text</label>
|
48 |
-
<frontend_type>text</frontend_type>
|
49 |
-
<sort_order>2</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 |
-
</advertise_upsell_text>
|
54 |
-
</fields>
|
55 |
-
</advertise_related_products>
|
56 |
-
</groups>
|
57 |
-
</advertise_relatedproducts_options>
|
58 |
-
|
59 |
-
<!-- This 'advertise' node is for the Adverti.se license and should be the same in all extensions -->
|
60 |
-
<advertise translate="label">
|
61 |
-
<label>License</label>
|
62 |
-
<tab>Advertise</tab>
|
63 |
-
<frontend_type>text</frontend_type>
|
64 |
-
<sort_order>900</sort_order>
|
65 |
-
<show_in_default>1</show_in_default>
|
66 |
-
<show_in_website>1</show_in_website>
|
67 |
-
<show_in_store>1</show_in_store>
|
68 |
-
<groups>
|
69 |
-
<advertise translate="label">
|
70 |
-
<label>Adverti.se License</label>
|
71 |
-
<frontend_type>text</frontend_type>
|
72 |
-
<sort_order>1</sort_order>
|
73 |
-
<show_in_default>1</show_in_default>
|
74 |
-
<show_in_website>1</show_in_website>
|
75 |
-
<show_in_store>1</show_in_store>
|
76 |
-
<fields>
|
77 |
-
<version translate="label comment">
|
78 |
-
<label>Extension version</label>
|
79 |
-
<frontend_type>Link</frontend_type>
|
80 |
-
<sort_order>0</sort_order>
|
81 |
-
<show_in_default>1</show_in_default>
|
82 |
-
<show_in_website>0</show_in_website>
|
83 |
-
<show_in_store>0</show_in_store>
|
84 |
-
</version>
|
85 |
-
|
86 |
-
<get_online_license translate="label comment">
|
87 |
-
<label>Get online license :</label>
|
88 |
-
<frontend_type>select</frontend_type>
|
89 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
90 |
-
<sort_order>1</sort_order>
|
91 |
-
<show_in_default>1</show_in_default>
|
92 |
-
<show_in_website>0</show_in_website>
|
93 |
-
<show_in_store>0</show_in_store>
|
94 |
-
</get_online_license>
|
95 |
-
|
96 |
-
<license translate="label comment">
|
97 |
-
<label>License</label>
|
98 |
-
<frontend_type>Advertiselicense</frontend_type>
|
99 |
-
<sort_order>2</sort_order>
|
100 |
-
<show_in_default>1</show_in_default>
|
101 |
-
<show_in_website>0</show_in_website>
|
102 |
-
<show_in_store>0</show_in_store>
|
103 |
-
</license>
|
104 |
-
|
105 |
-
<activated translate="label comment">
|
106 |
-
<label>Activate this store :</label>
|
107 |
-
<frontend_type>select</frontend_type>
|
108 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
109 |
-
<sort_order>1</sort_order>
|
110 |
-
<show_in_default>0</show_in_default>
|
111 |
-
<show_in_website>0</show_in_website>
|
112 |
-
<show_in_store>1</show_in_store>
|
113 |
-
</activated>
|
114 |
-
</fields>
|
115 |
-
</advertise>
|
116 |
-
</groups>
|
117 |
-
</advertise>
|
118 |
-
|
119 |
-
<!-- This 'advertise_settings' node is for the general Adverti.se settings (e.g. email) and should be the same in all extensions -->
|
120 |
-
<advertise_settings translate="label">
|
121 |
-
<class>separator-top</class>
|
122 |
-
<label>Settings</label>
|
123 |
-
<tab>Advertise</tab>
|
124 |
-
<sort_order>130</sort_order>
|
125 |
-
<show_in_default>1</show_in_default>
|
126 |
-
<show_in_website>1</show_in_website>
|
127 |
-
<show_in_store>1</show_in_store>
|
128 |
-
<groups>
|
129 |
-
<settings translate="label">
|
130 |
-
<label>Settings</label>
|
131 |
-
<frontend_type>text</frontend_type>
|
132 |
-
<sort_order>5</sort_order>
|
133 |
-
<show_in_default>1</show_in_default>
|
134 |
-
<show_in_website>1</show_in_website>
|
135 |
-
<show_in_store>1</show_in_store>
|
136 |
-
<fields>
|
137 |
-
<settings_email translate="label">
|
138 |
-
<label>Email</label>
|
139 |
-
<frontend_type>text</frontend_type>
|
140 |
-
<backend_model>account/config</backend_model>
|
141 |
-
<sort_order>30</sort_order>
|
142 |
-
<show_in_default>1</show_in_default>
|
143 |
-
<show_in_website>1</show_in_website>
|
144 |
-
<show_in_store>1</show_in_store>
|
145 |
-
</settings_email>
|
146 |
</fields>
|
147 |
-
</
|
148 |
</groups>
|
149 |
-
</
|
150 |
</sections>
|
151 |
</config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<config>
|
3 |
+
<!--
|
4 |
+
The top-level "Adverti.se" tab is defined in our Advertise_Account module,
|
5 |
+
a pre-requisite for all other Adverti.se modules
|
6 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
<!-- Sections under Adverti.se tab -->
|
9 |
<sections>
|
10 |
<!-- Adds config settings input boxes in the Advertise config section -->
|
11 |
<!-- Access these settings using, e.g.:
|
12 |
+
Mage::getStoreConfig('advertise_suggestedproducts_options/advertise_suggested_products/advertise_related_prod_count');
|
13 |
ANY CHANGES TO THESE KEYS NEEDS TO BE REFLECTED IN Config.php -->
|
14 |
+
<advertise_suggestedproducts_options translate="label">
|
15 |
<tab>Advertise</tab>
|
16 |
+
<label>Suggested Products</label>
|
17 |
<frontend_type>text</frontend_type>
|
18 |
+
<sort_order>430</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 |
<groups>
|
23 |
+
<advertise_suggested_products translate="label">
|
24 |
+
<label>Adverti.se Suggested Products Options</label>
|
25 |
<frontend_type>text</frontend_type>
|
26 |
<!--sort_order>1</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 |
<fields>
|
31 |
+
<advertise_related_prod_count translate="label">
|
32 |
+
<label>Number of Related products to show</label>
|
33 |
<frontend_type>text</frontend_type>
|
34 |
<sort_order>1</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 |
+
</advertise_related_prod_count>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
</fields>
|
40 |
+
</advertise_suggested_products>
|
41 |
</groups>
|
42 |
+
</advertise_suggestedproducts_options>
|
43 |
</sections>
|
44 |
</config>
|
app/design/frontend/base/default/layout/advertiserelatedproducts.xml
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
<!-- Add Adverti.se scripts and css to head of product pages (handle for product pages is 'catalog_product_view') -->
|
5 |
<catalog_product_view>
|
6 |
<reference name="head">
|
7 |
-
<!-- jQuery from Google
|
8 |
<block type="core/text" name="google.cdn.jquery">
|
9 |
<action method="setText">
|
10 |
<text><![CDATA[<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script><script type="text/javascript">jQuery.noConflict();</script>]]></text>
|
11 |
</action>
|
12 |
-
</block
|
13 |
|
14 |
<!-- Adverti.se JavaScript for related products -->
|
15 |
<block type="core/text" name="adverti.se.retailintelligence.js">
|
4 |
<!-- Add Adverti.se scripts and css to head of product pages (handle for product pages is 'catalog_product_view') -->
|
5 |
<catalog_product_view>
|
6 |
<reference name="head">
|
7 |
+
<!-- jQuery from Google now loaded by Community extension
|
8 |
<block type="core/text" name="google.cdn.jquery">
|
9 |
<action method="setText">
|
10 |
<text><![CDATA[<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script><script type="text/javascript">jQuery.noConflict();</script>]]></text>
|
11 |
</action>
|
12 |
+
</block>-->
|
13 |
|
14 |
<!-- Adverti.se JavaScript for related products -->
|
15 |
<block type="core/text" name="adverti.se.retailintelligence.js">
|
app/etc/modules/Advertise_RelatedProducts.xml
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
|
3 |
<!--
|
4 |
/**
|
5 |
* @category Advertise
|
6 |
* @package Advertise_RelatedProducts
|
7 |
*/
|
8 |
-->
|
9 |
-
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Advertise_RelatedProducts>
|
13 |
<active>true</active>
|
14 |
<codePool>community</codePool>
|
15 |
-
<version>1.0
|
16 |
</Advertise_RelatedProducts>
|
17 |
</modules>
|
18 |
</config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<!--
|
3 |
/**
|
4 |
* @category Advertise
|
5 |
* @package Advertise_RelatedProducts
|
6 |
*/
|
7 |
-->
|
|
|
8 |
<config>
|
9 |
<modules>
|
10 |
<Advertise_RelatedProducts>
|
11 |
<active>true</active>
|
12 |
<codePool>community</codePool>
|
13 |
+
<version>1.2.0</version>
|
14 |
</Advertise_RelatedProducts>
|
15 |
</modules>
|
16 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AdvertiseRelatedProducts</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
@@ -14,11 +14,11 @@ v.1.1.2 - Improved performance when no remote results available
|
|
14 |

|
15 |
v.1.1.3 - minor bug fix
|
16 |

|
17 |
-
</notes>
|
18 |
<authors><author><name>Michael</name><user>Oxley</user><email>mike@adverti.se</email></author></authors>
|
19 |
-
<date>
|
20 |
-
<time>
|
21 |
-
<contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Advertise_RelatedProducts.xml" hash="
|
22 |
<compatible/>
|
23 |
-
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>AdvertiseCommunity</name><channel>community</channel><min>1.
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AdvertiseRelatedProducts</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
14 |

|
15 |
v.1.1.3 - minor bug fix
|
16 |

|
17 |
+
v1.2.0 - Compatibility with Community version 1.3.0 and above</notes>
|
18 |
<authors><author><name>Michael</name><user>Oxley</user><email>mike@adverti.se</email></author></authors>
|
19 |
+
<date>2013-03-05</date>
|
20 |
+
<time>14:20:19</time>
|
21 |
+
<contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Advertise_RelatedProducts.xml" hash="28fe027fc8b151bae6366b77d4402a8f"/></dir></dir><dir name="code"><dir name="community"><dir name="Advertise"><dir name="RelatedProducts"><dir name="Block"><dir name="Adminhtml"><file name="RelatedProducts.php" hash="bf83e04772f63d840d5240109b7f0ddb"/></dir><file name="Index.php" hash="1a29b9a0cefc7ee40f0c1f4f0d1737a4"/><file name="Related.php" hash="4993d71c7b1e2362c00cddd1e7693745"/></dir><dir name="Helper"><file name="Data.php" hash="b94a3f896b1dc7ea574bf287e852257a"/></dir><dir name="Model"><file name="Config.php" hash="7733a5e5fa1511563546b577ec5a6f29"/><dir name="Resource"><file name="Setup.php" hash="27ecf3f264e8617c8d204ffdbd85eaee"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RelatedProductsController.php" hash="b0f198b978db71f4d33e68830684b46f"/></dir><file name="IndexController.php" hash="b7e7f7cbdf6c7f37aa8f543897be592a"/><file name="RelatedProductsController.php" hash="987796c54d8a94f206862cbcd959b8e7"/></dir><dir name="data"><dir name="relatedproducts_setup"><file name="data-install-1.0.1.php" hash="9c7b575ef4e16e61a6491ae6b3c9f64f"/><file name="data-upgrade-1.0.0-1.0.1.php" hash="ff4c3d76476d9fbabdc5e02b9f3413b1"/><file name="data-upgrade-1.0.1-1.0.2.php" hash="c3424117161a60b9d9e6b6f8de0ae879"/></dir></dir><dir name="etc"><file name="config.xml" hash="e01a40fda3fbd50de4f45a009ff39e59"/><file name="system.xml" hash="499740f3d8e46a778b49431959d2e8ab"/></dir><dir name="sql"><dir name="relatedproducts_setup"><file name="install-1.0.1.php" hash="8c2149f87b02b37efc2a755705f24a61"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="advertiserelatedproducts.xml" hash="c3025fdbd2e0443da29c960a74e08905"/></dir></dir></dir></dir></dir></dir><dir name="Adverti.se Module Docs"><file name="Advertise Related Products.html" hash="b4ff8498cc7c195f6cf84a0b145d311f"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>AdvertiseCommunity</name><channel>community</channel><min>1.3.0</min><max>1.3.9</max></package></required></dependencies>
|
24 |
</package>
|