Version Notes
v1.0.0 - This is the first release of upsell products.
v1.0.1 - improved performance when no remote results available
v1.0.2 - minor bug fix
v1.2.0 - Compatibility with Community version 1.3.0 and above
Download this release
Release Info
Developer | Michael |
Extension | AdvertiseUpsellProducts |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.2.0
- Adverti.se Module Docs/Advertise Upsell Products.html +71 -0
- README-Advertise-Up-Sell.txt +0 -19
- app/code/community/Advertise/UpsellProducts/Block/Upsell.php +1 -1
- app/code/community/Advertise/UpsellProducts/Model/Config.php +1 -2
- app/code/community/Advertise/UpsellProducts/data/upsellproducts_setup/data-upgrade-1.0.0-1.0.1.php +18 -0
- app/code/community/Advertise/UpsellProducts/etc/config.xml +11 -23
- app/code/community/Advertise/UpsellProducts/etc/system.xml +15 -122
- app/design/frontend/base/default/layout/advertiseupsellproducts.xml +2 -2
- app/etc/modules/Advertise_UpsellProducts.xml +1 -3
- package.xml +8 -6
Adverti.se Module Docs/Advertise Upsell Products.html
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<title>Adverti.se Upsell 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 Upsell Products</h1>
|
12 |
+
<p>Thank you for installing our Upsell Products module. <br /><br />
|
13 |
+
Before upsell 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 |
+
upsell product suggestions appear on your product pages:</p>
|
17 |
+
<h2>Step 1</h2>
|
18 |
+
<p>Find the template file <span class="filename">upsell.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/upsell.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="advupsell">
|
28 |
+
<script type="text/javascript">
|
29 |
+
if(adv_upsell_reload){
|
30 |
+
loadAdvertiseUpsellProducts();
|
31 |
+
adv_upsell_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-Up-Sell.txt
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
Step 1
|
2 |
-
======
|
3 |
-
Find the template file upsell.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="advupsell">
|
8 |
-
<script type="text/javascript">if(adv_upsell_reload){loadAdvertiseUpsellProducts();adv_upsell_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/UpsellProducts/Block/Upsell.php
CHANGED
@@ -32,7 +32,7 @@ class Advertise_UpsellProducts_Block_Upsell extends Mage_Catalog_Block_Product_L
|
|
32 |
array_push($ids, '0');
|
33 |
|
34 |
// Get count of upsell products required
|
35 |
-
$upsellCount = Mage::getStoreConfig('
|
36 |
|
37 |
// Get collection of products
|
38 |
$upsells = Mage::getResourceModel('catalog/product_collection');
|
32 |
array_push($ids, '0');
|
33 |
|
34 |
// Get count of upsell products required
|
35 |
+
$upsellCount = Mage::getStoreConfig('advertise_suggestedproducts_options/advertise_suggested_products/advertise_upsell_prod_count');
|
36 |
|
37 |
// Get collection of products
|
38 |
$upsells = Mage::getResourceModel('catalog/product_collection');
|
app/code/community/Advertise/UpsellProducts/Model/Config.php
CHANGED
@@ -10,8 +10,7 @@ class Advertise_UpsellProducts_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_upsellproducts_options/advertise_upsell_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_upsell_prod_count';
|
|
|
14 |
const ADVERTISE_EMAIL = 'advertise_settings/settings/settings_email';
|
15 |
|
16 |
/**
|
app/code/community/Advertise/UpsellProducts/data/upsellproducts_setup/data-upgrade-1.0.0-1.0.1.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Upgrade db
|
4 |
+
*
|
5 |
+
* @package Advertise_UpsellProducts
|
6 |
+
*/
|
7 |
+
|
8 |
+
$installer = $this;
|
9 |
+
$installer->startSetup();
|
10 |
+
$upsellCount = Mage::getStoreConfig('advertise_upsellproducts_options/advertise_upsell_products/advertise_prod_count');
|
11 |
+
if ($upsellCount) {
|
12 |
+
// Copy old setting to new path
|
13 |
+
Mage::getModel('core/config')->saveConfig('advertise_suggestedproducts_options/advertise_suggested_products/advertise_upsell_prod_count', $upsellCount );
|
14 |
+
// Delete old path
|
15 |
+
Mage::getModel('core/config')->deleteConfig('advertise_upsellproducts_options/advertise_upsell_products/advertise_prod_count');
|
16 |
+
}
|
17 |
+
$installer->endSetup();
|
18 |
+
?>
|
app/code/community/Advertise/UpsellProducts/etc/config.xml
CHANGED
@@ -3,18 +3,17 @@
|
|
3 |
<!-- Define module and version number-->
|
4 |
<modules>
|
5 |
<Advertise_UpsellProducts>
|
6 |
-
<version>1.0.
|
7 |
</Advertise_UpsellProducts>
|
8 |
</modules>
|
9 |
|
10 |
<!-- Default values for Module Configuration -->
|
11 |
<default>
|
12 |
-
<
|
13 |
-
<
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
</advertise_upsellproducts_options>
|
18 |
</default>
|
19 |
|
20 |
<admin>
|
@@ -39,21 +38,12 @@
|
|
39 |
<children>
|
40 |
<config>
|
41 |
<children>
|
42 |
-
<!-- Specific to this Adverti.se module -->
|
43 |
-
<
|
44 |
-
<title>Adverti.se
|
45 |
-
<sort_order>
|
46 |
-
</
|
47 |
|
48 |
-
<!-- These two are for the general Adverti.se settings & license -->
|
49 |
-
<advertise_settings translate="title">
|
50 |
-
<title>Advertise Section</title>
|
51 |
-
<sort_order>1</sort_order>
|
52 |
-
</advertise_settings>
|
53 |
-
<advertise translate="title">
|
54 |
-
<title>Advertise</title>
|
55 |
-
<sort_order>2</sort_order>
|
56 |
-
</advertise>
|
57 |
</children>
|
58 |
</config>
|
59 |
</children>
|
@@ -122,6 +112,4 @@
|
|
122 |
</layout>
|
123 |
|
124 |
</frontend>
|
125 |
-
|
126 |
</config>
|
127 |
-
|
3 |
<!-- Define module and version number-->
|
4 |
<modules>
|
5 |
<Advertise_UpsellProducts>
|
6 |
+
<version>1.0.1</version>
|
7 |
</Advertise_UpsellProducts>
|
8 |
</modules>
|
9 |
|
10 |
<!-- Default values for Module Configuration -->
|
11 |
<default>
|
12 |
+
<advertise_suggestedproducts_options>
|
13 |
+
<advertise_suggested_products>
|
14 |
+
<advertise_upsell_prod_count>4</advertise_upsell_prod_count>
|
15 |
+
</advertise_suggested_products>
|
16 |
+
</advertise_suggestedproducts_options>
|
|
|
17 |
</default>
|
18 |
|
19 |
<admin>
|
38 |
<children>
|
39 |
<config>
|
40 |
<children>
|
41 |
+
<!-- Specific to this Adverti.se module (others in Community package are added there) -->
|
42 |
+
<advertise_suggestedproducts_options>
|
43 |
+
<title>Adverti.se Suggested Products Module Section</title>
|
44 |
+
<sort_order>6</sort_order>
|
45 |
+
</advertise_suggestedproducts_options>
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
</children>
|
48 |
</config>
|
49 |
</children>
|
112 |
</layout>
|
113 |
|
114 |
</frontend>
|
|
|
115 |
</config>
|
|
app/code/community/Advertise/UpsellProducts/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 |
-
</advertise_prod_count>
|
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 |
-
</
|
54 |
-
</fields>
|
55 |
-
</advertise_upsell_products>
|
56 |
-
</groups>
|
57 |
-
</advertise_upsellproducts_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_upsell_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_upsell_prod_count translate="label">
|
32 |
+
<label>Number of Upsell products to show</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
<frontend_type>text</frontend_type>
|
34 |
<sort_order>2</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_upsell_prod_count>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
</fields>
|
40 |
+
</advertise_suggested_products>
|
41 |
</groups>
|
42 |
+
</advertise_suggestedproducts_options>
|
43 |
</sections>
|
44 |
</config>
|
app/design/frontend/base/default/layout/advertiseupsellproducts.xml
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
<!-- Add Adverti.se scripts and css to head of product pages (handle for product pages is 'catalog_product_view') -->
|
4 |
<catalog_product_view>
|
5 |
<reference name="head">
|
6 |
-
<!-- jQuery from Google
|
7 |
<block type="core/text" name="google.cdn.jquery">
|
8 |
<action method="setText">
|
9 |
<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>
|
10 |
</action>
|
11 |
-
</block
|
12 |
|
13 |
<!-- Adverti.se JavaScript for upsell products -->
|
14 |
<block type="core/text" name="adverti.se.retailintelligence.js">
|
3 |
<!-- Add Adverti.se scripts and css to head of product pages (handle for product pages is 'catalog_product_view') -->
|
4 |
<catalog_product_view>
|
5 |
<reference name="head">
|
6 |
+
<!-- jQuery from Google now loaded by Community extension
|
7 |
<block type="core/text" name="google.cdn.jquery">
|
8 |
<action method="setText">
|
9 |
<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>
|
10 |
</action>
|
11 |
+
</block>-->
|
12 |
|
13 |
<!-- Adverti.se JavaScript for upsell products -->
|
14 |
<block type="core/text" name="adverti.se.retailintelligence.js">
|
app/etc/modules/Advertise_UpsellProducts.xml
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
|
3 |
<!--
|
4 |
/**
|
5 |
* @category Advertise
|
6 |
* @package Advertise_UpsellProducts
|
7 |
*/
|
8 |
-->
|
9 |
-
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Advertise_UpsellProducts>
|
13 |
<active>true</active>
|
14 |
<codePool>community</codePool>
|
15 |
-
<version>1.
|
16 |
</Advertise_UpsellProducts>
|
17 |
</modules>
|
18 |
</config>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<!--
|
3 |
/**
|
4 |
* @category Advertise
|
5 |
* @package Advertise_UpsellProducts
|
6 |
*/
|
7 |
-->
|
|
|
8 |
<config>
|
9 |
<modules>
|
10 |
<Advertise_UpsellProducts>
|
11 |
<active>true</active>
|
12 |
<codePool>community</codePool>
|
13 |
+
<version>1.2.0</version>
|
14 |
</Advertise_UpsellProducts>
|
15 |
</modules>
|
16 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AdvertiseUpsellProducts</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>
|
@@ -12,11 +12,13 @@
|
|
12 |

|
13 |
v1.0.1 - improved performance when no remote results available
|
14 |

|
15 |
-
v1.0.2 - minor bug fix
|
|
|
|
|
16 |
<authors><author><name>Michael</name><user>Oxley</user><email>mike@adverti.se</email></author></authors>
|
17 |
-
<date>
|
18 |
-
<time>
|
19 |
-
<contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Advertise_UpsellProducts.xml" hash="
|
20 |
<compatible/>
|
21 |
-
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>AdvertiseCommunity</name><channel>community</channel><min>1.
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AdvertiseUpsellProducts</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>
|
12 |

|
13 |
v1.0.1 - improved performance when no remote results available
|
14 |

|
15 |
+
v1.0.2 - 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:48:34</time>
|
21 |
+
<contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Advertise_UpsellProducts.xml" hash="2c60ba8f2e2a7a032a90871672d07bb0"/></dir></dir><dir name="code"><dir name="community"><dir name="Advertise"><dir name="UpsellProducts"><dir name="Block"><dir name="Adminhtml"><file name="UpsellProducts.php" hash="c9ff33f8fd41206e64941f735edc9a74"/></dir><file name="Index.php" hash="2bf716a0737f38427248232c20ffc462"/><file name="Upsell.php" hash="24b48ee284f6a9c91447b5dfa43ef6fd"/></dir><dir name="Helper"><file name="Data.php" hash="ca0dfcb6234afd34267bc25bcf3b2d2f"/></dir><dir name="Model"><file name="Config.php" hash="f786028065cc94e107b31ea20228035f"/><dir name="Resource"><file name="Setup.php" hash="2ad4d65b99c5dc2974f09d8899839e45"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="UpsellProductsController.php" hash="0255e1d1a6237b3dfcb4efe9bea3aaf2"/></dir><file name="IndexController.php" hash="185cbe7a584c5ce5e7809c1896f7c763"/><file name="UpsellProductsController.php" hash="803c2f83aed7a2d7dc47f1cce5ab0a0a"/></dir><dir name="data"><dir name="upsellproducts_setup"><file name="data-install-1.0.0.php" hash="7c1d96df30727dd985ada4d2bd8f37e1"/><file name="data-upgrade-1.0.0-1.0.1.php" hash="2ffe4e2710adfd2d881ee0ee295891db"/></dir></dir><dir name="etc"><file name="config.xml" hash="fff88b025f7a29ee82fb2eba5b175baa"/><file name="system.xml" hash="9f5dd8f1c783b42089bf2c64b92d44ad"/></dir><dir name="sql"><dir name="relatedproducts_setup"><file name="install-1.0.0.php" hash="13d5e308c0b9f639c757961191840c32"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="advertiseupsellproducts.xml" hash="bc081df21a8374fa47cf684adbae56e7"/></dir></dir></dir></dir></dir></dir><dir name="Adverti.se Module Docs"><file name="Advertise Upsell Products.html" hash="d5608efb1bdb8d0aa83a652e40daf574"/></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>
|