Version Notes
This extension provides integration with SMARTASSISTANT Platform and gives you access to the WYSIWYG SMARTASSISTANT product advisor configurator.
SMARTASSISTANT Platform is a SaaS-solution that facilitates the fast setup and integration of interactive product advisors. The extension improves the customer experience and purchase decision journey on Magento e-commerce sites as it enables merchants to help their customers with the selection of products or services that fits their individual needs best.
The extension is free to download and install.
Download this release
Release Info
Developer | SMARTASSISTANT |
Extension | Smartassistant_Integration_Tool |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
app/code/community/Smartassistant/Smartassistant/Block/Widget.php
CHANGED
@@ -31,20 +31,35 @@ class Smartassistant_Smartassistant_Block_Widget extends Mage_Core_Block_Abstrac
|
|
31 |
return $this->_containerId;
|
32 |
}
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
public function getJs()
|
35 |
{
|
36 |
-
$js =
|
|
|
|
|
|
|
37 |
if(SmartAssistant){
|
38 |
smrt42_jquery(function() {
|
39 |
SmartAssistant.integrate({
|
40 |
-
"divId" : "
|
41 |
-
"advisorContextPath" : "
|
42 |
-
"advisorCode" : "
|
43 |
"disableTracking" : false
|
44 |
});
|
45 |
});
|
46 |
}
|
47 |
-
</script>
|
|
|
48 |
return $js;
|
49 |
}
|
50 |
|
@@ -56,7 +71,11 @@ if(SmartAssistant){
|
|
56 |
|
57 |
$layout = $this->getLayout();
|
58 |
$body = $layout->getBlock('before_body_end');
|
59 |
-
$body->append($layout->createBlock(
|
|
|
|
|
|
|
|
|
60 |
return '<div id="' . $this->getContainerId() . '"></div>';
|
61 |
}
|
62 |
}
|
31 |
return $this->_containerId;
|
32 |
}
|
33 |
|
34 |
+
/**
|
35 |
+
* @return string
|
36 |
+
*/
|
37 |
+
public function getCss()
|
38 |
+
{
|
39 |
+
$css = <<<CSS
|
40 |
+
<link rel="stylesheet" type="text/css" href="//st.smartassistant.com/advisor-fe-web/css-design?advisorCode={$this->getCode()}" media="all" />
|
41 |
+
CSS;
|
42 |
+
return $css;
|
43 |
+
}
|
44 |
+
|
45 |
public function getJs()
|
46 |
{
|
47 |
+
$js = <<<JS
|
48 |
+
<script src="//st.smartassistant.com/advisor-fe-web/assets/js-nwd/smartassistant.nwd.all.js"></script>
|
49 |
+
<script src="//st.smartassistant.com/advisor-fe-web/custom-javascript?advisorCode={$this->getCode()}"></script>
|
50 |
+
<script type="text/javascript">
|
51 |
if(SmartAssistant){
|
52 |
smrt42_jquery(function() {
|
53 |
SmartAssistant.integrate({
|
54 |
+
"divId" : "{$this->getContainerId()}",
|
55 |
+
"advisorContextPath" : "{$this->getContextPath()}",
|
56 |
+
"advisorCode" : "{$this->getCode()}",
|
57 |
"disableTracking" : false
|
58 |
});
|
59 |
});
|
60 |
}
|
61 |
+
</script>
|
62 |
+
JS;
|
63 |
return $js;
|
64 |
}
|
65 |
|
71 |
|
72 |
$layout = $this->getLayout();
|
73 |
$body = $layout->getBlock('before_body_end');
|
74 |
+
$body->append($layout->createBlock(
|
75 |
+
'core/text',
|
76 |
+
$this->getContainerId())->setText($this->getCss() . $this->getJs())
|
77 |
+
);
|
78 |
+
|
79 |
return '<div id="' . $this->getContainerId() . '"></div>';
|
80 |
}
|
81 |
}
|
app/code/community/Smartassistant/Smartassistant/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Smartassistant_Smartassistant>
|
5 |
-
<version>1.0.
|
6 |
</Smartassistant_Smartassistant>
|
7 |
</modules>
|
8 |
<global>
|
@@ -75,13 +75,6 @@
|
|
75 |
</routers>
|
76 |
</admin>
|
77 |
<frontend>
|
78 |
-
<layout>
|
79 |
-
<updates>
|
80 |
-
<smartassistant>
|
81 |
-
<file>smartassistant.xml</file>
|
82 |
-
</smartassistant>
|
83 |
-
</updates>
|
84 |
-
</layout>
|
85 |
<routers>
|
86 |
<smartassistant>
|
87 |
<use>standard</use>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Smartassistant_Smartassistant>
|
5 |
+
<version>1.0.2</version>
|
6 |
</Smartassistant_Smartassistant>
|
7 |
</modules>
|
8 |
<global>
|
75 |
</routers>
|
76 |
</admin>
|
77 |
<frontend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
<routers>
|
79 |
<smartassistant>
|
80 |
<use>standard</use>
|
app/design/adminhtml/default/default/layout/smartassistant.xml
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout>
|
3 |
-
<adminhtml_smartassistant_export_edit>
|
4 |
-
<reference name="head">
|
5 |
-
<action method="addItem">
|
6 |
-
<type>skin_js</type>
|
7 |
-
<name>smartassistant/smartassistant.js</name>
|
8 |
-
</action>
|
9 |
-
<action method="addItem">
|
10 |
-
<type>skin_css</type>
|
11 |
-
<name>smartassistant/smartassistant.css</name>
|
12 |
-
</action>
|
13 |
-
</reference>
|
14 |
-
</adminhtml_smartassistant_export_edit>
|
15 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/layout/smartassistant.xml
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<default>
|
4 |
-
<reference name="before_body_end">
|
5 |
-
<block type="core/text" name="smartassistant_js_all">
|
6 |
-
<action method="setText"><text><![CDATA[<script src="//st.smartassistant.com/advisor-fe-web/assets/js-nwd/smartassistant.nwd.all.js"></script>]]></text></action>
|
7 |
-
</block>
|
8 |
-
<block type="core/text" name="smartassistant_js_advisor">
|
9 |
-
<action method="setText"><text><![CDATA[<script src="//st.smartassistant.com/advisor-fe-web/custom-javascript?advisorCode=DD1KF7Rb"></script>]]></text></action>
|
10 |
-
</block>
|
11 |
-
<block type="core/text" name="smartassistant_css_advisor">
|
12 |
-
<action method="setText"><text><![CDATA[<link rel="stylesheet" type="text/css" href="//st.smartassistant.com/advisor-fe-web/css-design?advisorCode=DD1KF7Rb" media="all" />]]></text></action>
|
13 |
-
</block>
|
14 |
-
</reference>
|
15 |
-
</default>
|
16 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,24 +1,24 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Smartassistant_Integration_Tool</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://opensource.org/
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This Module provide synchronization with SMARTASSISTANT product advisor configurator.</summary>
|
10 |
<description>This extension provides integration with SMARTASSISTANT Platform and gives you access to the WYSIWYG SMARTASSISTANT product advisor configurator. 
|
11 |
-
SMARTASSISTANT Platform is a SaaS-solution that facilitates the fast setup and integration of interactive product advisors. The extension improves the customer experience and purchase decision journey on Magento e-commerce sites as it enables merchants to help their customers with the selection of products or services that fits their individual needs best.
|
12 |
-

|
13 |
-
The extension is free to download and install.</description>
|
14 |
<notes>This extension provides integration with SMARTASSISTANT Platform and gives you access to the WYSIWYG SMARTASSISTANT product advisor configurator. 
|
15 |
-
SMARTASSISTANT Platform is a SaaS-solution that facilitates the fast setup and integration of interactive product advisors. The extension improves the customer experience and purchase decision journey on Magento e-commerce sites as it enables merchants to help their customers with the selection of products or services that fits their individual needs best.
|
16 |
-

|
17 |
-
The extension is free to download and install.</notes>
|
18 |
<authors><author><name>SMARTASSISTANT</name><user>jwojciechowski</user><email>j.wojciechowski@smartassistant.com</email></author></authors>
|
19 |
-
<date>2016-
|
20 |
-
<time>
|
21 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Smartassistant_Smartassistant.xml" hash="3ab8eedf451de42032aa228aad546d8e"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Smartassistant_Smartassistant.csv" hash="9368cdd744d6025074ff6a02d1b8fee0"/></dir></target><target name="magecommunity"><dir name="Smartassistant"><dir
|
22 |
<compatible/>
|
23 |
-
<dependencies><required><php><min>5.2.0</min><max>5.
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Smartassistant_Integration_Tool</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licences/osl-3.0.php">Open Software License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This Module provide synchronization with SMARTASSISTANT product advisor configurator.</summary>
|
10 |
<description>This extension provides integration with SMARTASSISTANT Platform and gives you access to the WYSIWYG SMARTASSISTANT product advisor configurator. 
|
11 |
+
SMARTASSISTANT Platform is a SaaS-solution that facilitates the fast setup and integration of interactive product advisors. The extension improves the customer experience and purchase decision journey on Magento e-commerce sites as it enables merchants to help their customers with the selection of products or services that fits their individual needs best.
|
12 |
+

|
13 |
+
The extension is free to download and install.</description>
|
14 |
<notes>This extension provides integration with SMARTASSISTANT Platform and gives you access to the WYSIWYG SMARTASSISTANT product advisor configurator. 
|
15 |
+
SMARTASSISTANT Platform is a SaaS-solution that facilitates the fast setup and integration of interactive product advisors. The extension improves the customer experience and purchase decision journey on Magento e-commerce sites as it enables merchants to help their customers with the selection of products or services that fits their individual needs best.
|
16 |
+

|
17 |
+
The extension is free to download and install.</notes>
|
18 |
<authors><author><name>SMARTASSISTANT</name><user>jwojciechowski</user><email>j.wojciechowski@smartassistant.com</email></author></authors>
|
19 |
+
<date>2016-08-10</date>
|
20 |
+
<time>11:19:06</time>
|
21 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Smartassistant_Smartassistant.xml" hash="3ab8eedf451de42032aa228aad546d8e"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Smartassistant_Smartassistant.csv" hash="9368cdd744d6025074ff6a02d1b8fee0"/></dir></target><target name="magecommunity"><dir name="Smartassistant"><dir name="Smartassistant"><dir name="Block"><dir name="Adminhtml"><dir name="Export"><dir name="Edit"><file name="BaseTab.php" hash="b47e7d827f0c34428a2ed632f398f7cc"/><file name="Form.php" hash="fa8c975ae30fc6dabb8a1fbc0a9292eb"/><dir name="Tab"><file name="Fields.php" hash="c351bc6a9a2b034679946cd4ec74f2ce"/><file name="General.php" hash="64b6823c5b593ba4a18eab66d496e8e2"/><file name="Info.php" hash="081597a358376bf4bb254da6227c6d12"/><file name="Rules.php" hash="c474252bc165bab8902775018966d39e"/><file name="ScheduledTasks.php" hash="7a87c02b5af1025fa0fc563434ce0b7b"/><file name="Synchronization.php" hash="ef9fc31ae1ae6560e41188e18d9ca1d5"/></dir><file name="Tabs.php" hash="9b9094777040cfb1e907edbeab7a4f24"/></dir><file name="Edit.php" hash="9039c886ea7059aaf2e047968bdc46f0"/><file name="Grid.php" hash="9736cf59eafa2540641fca0af5663d8a"/></dir><file name="Export.php" hash="cee0b7ecca4756ee25e9df6d3505b3ac"/><dir name="Renderer"><file name="Fieldsmap.php" hash="1b308557cf6c43bdc649d5278f572d0e"/><file name="Widget.php" hash="9a0dfc4f94b4cccba4fec9dc8e389af9"/></dir><file name="TaskStats.php" hash="0fe2e0637880f58d716eb1641ec476aa"/><dir name="Tasks"><file name="Grid.php" hash="70e704efafbc03172001e14b45ad961e"/><file name="Preview.php" hash="0fe364a2c3a80890ca314d26d377ccbc"/></dir><file name="Tasks.php" hash="dbd796a366d3ed7795826758e22a360f"/></dir><file name="Widget.php" hash="e6c4ac47d9d0ae6777786cbb83ac435d"/></dir><dir name="Helper"><file name="Attribute.php" hash="573988816f54cb0ffb17198779117fe9"/><file name="CliRunner.php" hash="ea0d8a0d159d14d996d7e8a0b5eba18f"/><file name="Data.php" hash="5795c3c69e603fd8847725dcbf8251a7"/><file name="Exception.php" hash="c62e505d67c795e4741b2a2e0292a7ed"/><file name="Filesystem.php" hash="912f21bfeffdbaa8ebbeb7b0586254b3"/><file name="FtpConnector.php" hash="15a9577606344a76690c399e9662754a"/></dir><dir name="Model"><dir name="Core"><file name="CollectionIterator.php" hash="95474a76a136907b311562797f81a2d0"/></dir><file name="Export.php" hash="0be7a8823789eb94b7f01fbf60821003"/><file name="Exportfield.php" hash="2c82c671237b46e99f65df6e1117498f"/><file name="Generator.php" hash="55b769739184caccfea681ddcd1bdcfa"/><dir name="Mysql4"><dir name="Export"><file name="Collection.php" hash="2240c9c4c4638a4e5c27f0c8c52b03df"/></dir><file name="Export.php" hash="e1e53d188b28da990d5977e725aea0d8"/><dir name="Exportfield"><file name="Collection.php" hash="8d18e714eb133b03a335b1c63b284f28"/></dir><file name="Exportfield.php" hash="99a096772205370584e6b2d88d06619a"/><dir name="Rule"><file name="Collection.php" hash="6153c378b073674b0a78293ce49a9491"/></dir><file name="Rule.php" hash="eb36f6fe2923e290c483d04864758ec9"/><dir name="Task"><file name="Collection.php" hash="0a0863e25a5c009f8d7a215a5310f243"/><dir name="Config"><file name="Collection.php" hash="35cc2c312e01f49b3e98ceafdf6bb920"/></dir><file name="Config.php" hash="cbfa8240ab04e050fa18c7ac2b7bc7b6"/><dir name="Log"><file name="Collection.php" hash="bb1e7881eb18aac170a5cee0870f5c26"/></dir><file name="Log.php" hash="5faa71492885ec49e73e34b63ba04791"/><dir name="Status"><file name="Collection.php" hash="c239bf7b486ca663749920fdaf893688"/></dir><file name="Status.php" hash="6f13e0178e4e36772bbc72669e081d92"/></dir><file name="Task.php" hash="531df348de86f16fd6b9124c4b87b802"/></dir><dir name="Rule"><dir name="Condition"><file name="Combine.php" hash="6106bd24d9c58938a2a7136eced6f6c7"/><file name="Product.php" hash="650ad4fc505d0faeee1c1037469560ce"/></dir></dir><file name="Rule.php" hash="47661cf6d0e62122145cfd105d59648f"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Day.php" hash="0038b20ab1281a4b696041eace0bc9e3"/><file name="Ftpmodes.php" hash="9e4a1cb11228cfaedaf7e10a137d956a"/><file name="Time.php" hash="af7917b0f9211931ca6f6f2b32ec0f0d"/></dir></dir></dir><dir name="Task"><file name="Config.php" hash="5f80bbd454c4eeabce24761f46d99da7"/><file name="Log.php" hash="5481159dcd2a64441027da19e61f2f59"/><dir name="Mysql4"><dir name="Config"><file name="Collection.php" hash="d2740fcf0231410ba25c595aaff948db"/></dir><file name="Config.php" hash="1d8f0daeffc99a55c53cf604809af873"/><dir name="Status"><file name="Collection.php" hash="490c58e802ffc5560d4243c1fc9b8dbc"/></dir><file name="Status.php" hash="826189724f1240dceffa709eaf534106"/></dir><file name="Status.php" hash="4c2b7616be8cf824b8fffe6f2d102369"/></dir><file name="Task.php" hash="677998382de93ed9c89632ad452d4411"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Smartassistant"><file name="ExportController.php" hash="7cba38d62d24b25cc9aa9d2087e1dbe4"/><file name="PanelController.php" hash="bc05b0effb1f0e00d76d1f1dba475c56"/><file name="TasksController.php" hash="04671fc83b7d748effa3f6956bfaabd5"/></dir></dir><file name="SmartassistantController.php" hash="e9de3170be3117cd62a65c5dbca01820"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4a9423a5ef8dad70fc2e6d5d6e523d48"/><file name="config.xml" hash="d12cc3e3f99bbe9b21374c5ba4e73e52"/><file name="system.xml" hash="3f3536cca89ba0763eedb40447cfccdc"/><file name="widget.xml" hash="e53e1aec564f1c72bbee805e0cd0abf7"/></dir><dir name="secret"><file name="oem.public.key" hash="b2f935735822acf93a7c6a6275fb01e1"/></dir><dir name="sql"><dir name="smartassistant_setup"><file name="mysql4-install-1.0.0.php" hash="d4169a4b997bede2814cf1e2db68f6b0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="smartassistant"><dir name="export"><file name="loader.phtml" hash="5cccee6adc4aef4c0f41cd78ec133b41"/><file name="mapping.phtml" hash="ea425a43f0c2e00969f1ac13158a943a"/></dir><dir name="tasks"><file name="preview.phtml" hash="cf581aeb15840a68d94f22d7a8ff4887"/><file name="stats.phtml" hash="b194fed7025fa3b83efa8551bff929f9"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="smartassistant"><file name="smartassistant.css" hash="d4de11279f7971ce73e64b072fd625b3"/><file name="smartassistant.js" hash="d0c1131a43250fe11d2c015a20b50550"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="smartassistant"><file name="logo.png" hash="8621ebe301af8f40df71fd14b34fd825"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="shell"><file name="smartassistant.php" hash="5bd7cf374bc62086491381d4ddd49347"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.2.0</min><max>5.7.0</max></php></required></dependencies>
|
24 |
</package>
|