Buscape_Ebit - Version 0.1.2

Version Notes

Buscapé e-bit é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.

Download this release

Release Info

Developer Magento Core Team
Extension Buscape_Ebit
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/community/Buscape/Ebit/Block/Checkout/Success.php CHANGED
@@ -27,11 +27,10 @@ class Buscape_Ebit_Block_Checkout_Success extends Mage_Core_Block_Text
27
  }
28
 
29
  return '
30
- <!-- BEGIN EBIT CODE -->
31
- <form name="formebit" method="get" target="_blank" action="' . $this->getUrlAction() . '">
32
- <input type="hidden" name="empresa" value="' . $this->getAccount() . '" />
33
- <input type="image" border="0" name="banner" src="' . $this->getSrc() . '" alt="O que você achou desta loja?" width="468" height="60" />
34
- </form>
35
- <!-- END EBIT CODE -->';
36
  }
37
  }
27
  }
28
 
29
  return '
30
+ <!-- BEGIN EBIT CODE -->
31
+ <a id="bannerEbit"></a>
32
+ <script type="text/javascript" id="getSelo" src="https://a248.e.akamai.net/f/248/52872/0s/img.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?'.$this->getAccount().'"></script>
33
+ <!-- END EBIT CODE -->';
34
+
 
35
  }
36
  }
app/code/community/Buscape/Ebit/Block/Template/Seal.php CHANGED
@@ -33,9 +33,10 @@ class Buscape_Ebit_Block_Template_Seal extends Mage_Core_Block_Template
33
  }
34
 
35
  return '
36
- <!-- BEGIN EBIT SEAL CODE -->
37
- <a id="seloEbit" style="float: right;" href="http://www.ebit.com.br/#' . $this->_getConfig()->getStore() . '" target="_blank" onclick="redir(this.href);">Avaliação de Lojas e-bit</a>
38
- <script type="text/javascript" id="getSelo" src="https://a248.e.akamai.net/f/248/52872/0s/img.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?' . $this->_getConfig()->getAccount() . '"></script>
39
- <!-- END EBIT SEAL CODE -->';
 
40
  }
41
  }
33
  }
34
 
35
  return '
36
+ <!-- BEGIN EBIT SEAL CODE -->
37
+ <a id="seloEbit" style="float: right;" href="http://www.ebit.com.br/#id_url_ebit" target="_blank" onclick="redir(this.href);">Avaliação de Lojas e-bit</a>
38
+ <script type="text/javascript" id="getSelo" src="https://a248.e.akamai.net/f/248/52872/0s/img.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?'.$this->_getConfig()->getAccount().'"></script>
39
+ <!-- END EBIT SEAL CODE -->';
40
+
41
  }
42
  }
app/code/community/Buscape/Ebit/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <config>
23
  <modules>
24
  <Buscape_Ebit>
25
- <version>0.1.1</version>
26
  </Buscape_Ebit>
27
  </modules>
28
  <global>
@@ -42,6 +42,17 @@
42
  </ebit>
43
  </helpers>
44
  </global>
 
 
 
 
 
 
 
 
 
 
 
45
  <frontend>
46
  <events>
47
  <checkout_onepage_controller_success_action>
22
  <config>
23
  <modules>
24
  <Buscape_Ebit>
25
+ <version>0.1.2</version>
26
  </Buscape_Ebit>
27
  </modules>
28
  <global>
42
  </ebit>
43
  </helpers>
44
  </global>
45
+ <adminhtml>
46
+ <translate>
47
+ <modules>
48
+ <Buscape_Ebit>
49
+ <files>
50
+ <default>Buscape_Ebit.csv</default>
51
+ </files>
52
+ </Buscape_Ebit>
53
+ </modules>
54
+ </translate>
55
+ </adminhtml>
56
  <frontend>
57
  <events>
58
  <checkout_onepage_controller_success_action>
app/code/community/Buscape/Ebit/etc/system.xml CHANGED
@@ -29,17 +29,10 @@
29
  <show_in_default>1</show_in_default>
30
  <show_in_website>1</show_in_website>
31
  <show_in_store>1</show_in_store>
32
- <comment>
33
- <![CDATA[
34
- <div style="padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;">
35
- Este módulo foi desenvolvido pelo <a href="http://developer.buscape.com" target="_blank">BuscaPé Developer</a>.
36
- Por favor reportar bugs para <a href="mailto:suporte.developer@buscape-inc.com">suporte.developer@buscape-inc.com</a>.
37
- </div>
38
- ]]>
39
- </comment>
40
  <fields>
41
  <active translate="label">
42
- <label>Enable</label>
43
  <frontend_type>select</frontend_type>
44
  <source_model>adminhtml/system_config_source_yesno</source_model>
45
  <sort_order>1</sort_order>
@@ -48,7 +41,7 @@
48
  <show_in_store>0</show_in_store>
49
  </active>
50
  <account translate="label">
51
- <label>Código da Loja na e-bit</label>
52
  <frontend_type>text</frontend_type>
53
  <sort_order>67</sort_order>
54
  <show_in_default>1</show_in_default>
@@ -56,13 +49,13 @@
56
  <show_in_store>0</show_in_store>
57
  </account>
58
  <store translate="label">
59
- <label>Nome da Loja na e-bit</label>
60
  <frontend_type>text</frontend_type>
61
  <sort_order>67</sort_order>
62
  <show_in_default>1</show_in_default>
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>0</show_in_store>
65
- <comment><![CDATA[Para saber o nome da loja na e-bit, basta digitar WWW.ebit.com.br/nome <b>de fantasia da loja</b>. Caso o nome seja composto, separar por "–". Ex.: WWW.ebit.com.br/universidade-buscape]]></comment>
66
  </store>
67
  </fields>
68
  </ebit>
29
  <show_in_default>1</show_in_default>
30
  <show_in_website>1</show_in_website>
31
  <show_in_store>1</show_in_store>
32
+ <comment><![CDATA[<div style="padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;">This module was created by <a href="http://developer.buscape.com" target="_blank">BuscaPé Developer</a>. Please report bugs for <a href="mailto:suporte.developer@buscape-inc.com">suporte.developer@buscape-inc.com</a>.</div>]]></comment>
 
 
 
 
 
 
 
33
  <fields>
34
  <active translate="label">
35
+ <label>Extension active</label>
36
  <frontend_type>select</frontend_type>
37
  <source_model>adminhtml/system_config_source_yesno</source_model>
38
  <sort_order>1</sort_order>
41
  <show_in_store>0</show_in_store>
42
  </active>
43
  <account translate="label">
44
+ <label>Key of your store</label>
45
  <frontend_type>text</frontend_type>
46
  <sort_order>67</sort_order>
47
  <show_in_default>1</show_in_default>
49
  <show_in_store>0</show_in_store>
50
  </account>
51
  <store translate="label">
52
+ <label>Name of your store</label>
53
  <frontend_type>text</frontend_type>
54
  <sort_order>67</sort_order>
55
  <show_in_default>1</show_in_default>
56
  <show_in_website>1</show_in_website>
57
  <show_in_store>0</show_in_store>
58
+ <comment><![CDATA[For you know the name of your store in e-bit, just type WWW.ebit.com.br/<b>trade name</b> of store. If this name is composed, separated with '-'. Ex.: WWW.ebit.com.br/<b>universidade-buscape</b>]]></comment>
59
  </store>
60
  </fields>
61
  </ebit>
app/design/frontend/base/default/layout/buscape_ebit.xml DELETED
@@ -1,28 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to suporte.developer@buscape-inc.com so we can send you a copy immediately.
15
- *
16
- * @category Buscape
17
- * @package Buscape_Ebit
18
- * @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <layout version="0.1.0">
23
- <default>
24
- <reference name="footer">
25
- <block type="ebit/template_seal" name="selo_ebit" as="selo_ebit" before="-" />
26
- </reference>
27
- </default>
28
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/layout/buscape_ebit.xml DELETED
@@ -1,28 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to suporte.developer@buscape-inc.com so we can send you a copy immediately.
15
- *
16
- * @category Buscape
17
- * @package Buscape_Ebit
18
- * @copyright Copyright (c) 2010 Buscapé Company (http://www.buscapecompany.com)
19
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
- */
21
- -->
22
- <layout version="0.1.0">
23
- <default>
24
- <reference name="footer">
25
- <block type="ebit/template_seal" name="selo_ebit" as="selo_ebit" before="-" />
26
- </reference>
27
- </default>
28
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/locale/en_US/Buscape_Ebit.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ "Yes","Yes"
2
+ "yes","yes"
3
+ "No","No"
4
+ "no","no"
5
+ "Extension active","Extension active"
6
+ "Key of your store","Key of your store"
7
+ "Name of your store","Name of your store"
8
+ "<div style=""padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;"">This module was created by <a href=""http://developer.buscape.com"" target=""_blank"">BuscaPé Developer</a>. Please report bugs for <a href=""mailto:suporte.developer@buscape-inc.com"">suporte.developer@buscape-inc.com</a>.</div>","<div style=""padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;"">This module was created by <a href=""http://developer.buscape.com"" target=""_blank"">BuscaPé Developer</a>. Please report bugs for <a href=""mailto:suporte.developer@buscape-inc.com"">suporte.developer@buscape-inc.com</a>.</div>"
9
+ "For you know the name of your store in e-bit, just type WWW.ebit.com.br/<b>trade name</b> of store. If this name is composed, separated with '-'. Ex.: WWW.ebit.com.br/<b>universidade-buscape</b>","For you know the name of your store in e-bit, just type WWW.ebit.com.br/<b>trade name</b> of store. If this name is composed, separated with '-'. Ex.: WWW.ebit.com.br/<b>universidade-buscape</b>"
app/locale/pt_BR/Buscape_Ebit.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ "Yes","Sim"
2
+ "yes","sim"
3
+ "No","Não"
4
+ "no","não"
5
+ "Extension active","Extensão ativa"
6
+ "Key of your store","Código da Loja na e-bit"
7
+ "Name of your store","Nome da Loja na e-bit"
8
+ "<div style=""padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;"">This module was created by <a href=""http://developer.buscape.com"" target=""_blank"">BuscaPé Developer</a>. Please report bugs for <a href=""mailto:suporte.developer@buscape-inc.com"">suporte.developer@buscape-inc.com</a>.</div>","<div style=""padding:10px;background-color:#fff;border:1px solid #ddd;margin-bottom:7px;"">Este módulo foi desenvolvido pelo <a href=""http://developer.buscape.com"" target=""_blank"">BuscaPé Developer</a>. Por favor, reportar bugs para <a href=""mailto:suporte.developer@buscape-inc.com"">suporte.developer@buscape-inc.com</a>.</div>"
9
+ "For you know the name of your store in e-bit, just type WWW.ebit.com.br/<b>trade name</b> of store. If this name is composed, separated with '-'. Ex.: WWW.ebit.com.br/<b>universidade-buscape</b>","Para saber o nome da loja no e-bit, basta digitar WWW.ebit.com.br/<b>nome fantasia</b> da loja. Caso o nome seja composto, separar por '–'. Ex.: WWW.ebit.com.br/<b>universidade-buscape</b>"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Buscape_Ebit</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -9,10 +9,10 @@
9
  <summary>Extens&#xE3;o Buscap&#xE9; e-bit para Magento</summary>
10
  <description>A e-bit possui um sistema de avalia&#xE7;&#xE3;o que re&#xFA;ne informa&#xE7;&#xF5;es sobre com&#xE9;rcio eletr&#xF4;nico coletadas junto a consumidores ap&#xF3;s realizarem compras em aproximadamente 2.000 lojas virtuais.</description>
11
  <notes>Buscap&#xE9; e-bit &#xE9; compat&#xED;vel com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
12
- <authors><author><name>Adriano Aguiar</name><user>auto-converted</user><email>adrianoaguiaralves@gmail.com</email></author></authors>
13
- <date>2011-12-07</date>
14
- <time>14:35:27</time>
15
- <contents><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="buscape_ebit.xml" hash="7224da03520512e1aa9229f6154249bb"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="buscape_ebit.xml" hash="7224da03520512e1aa9229f6154249bb"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Buscape_Ebit.xml" hash="3a4f1faefee4fd109d6f9512527b7eb3"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Ebit"><dir name="Block"><dir name="Checkout"><file name="Success.php" hash="bfa41306d3929b5a916dd0c62969a74a"/></dir><dir name="Template"><file name="Seal.php" hash="42af8d09437a3c643e8638563af5529a"/></dir></dir><dir name="Helper"><file name="Data.php" hash="df31daa2f2dcf4139787c3c61664bb85"/></dir><dir name="Model"><file name="Config.php" hash="8f7ca12dc1d3453622fab3471a1d6e6c"/><file name="Observer.php" hash="97db11e2e3a123f0c8691be1c4f0de70"/></dir><dir name="etc"><file name="config.xml" hash="4b82355bfbfb7d4d167c25371d0d348f"/><file name="system.xml" hash="4e85e53d3f94d1c22a99bab856edd004"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Buscape_Ebit</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
9
  <summary>Extens&#xE3;o Buscap&#xE9; e-bit para Magento</summary>
10
  <description>A e-bit possui um sistema de avalia&#xE7;&#xE3;o que re&#xFA;ne informa&#xE7;&#xF5;es sobre com&#xE9;rcio eletr&#xF4;nico coletadas junto a consumidores ap&#xF3;s realizarem compras em aproximadamente 2.000 lojas virtuais.</description>
11
  <notes>Buscap&#xE9; e-bit &#xE9; compat&#xED;vel com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
12
+ <authors><author><name>BuscaP&#xE9; Developer</name><user>auto-converted</user><email>suporte.developer@buscape-inc.com</email></author></authors>
13
+ <date>2012-03-26</date>
14
+ <time>17:00:58</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Buscape_Ebit.xml" hash="3a4f1faefee4fd109d6f9512527b7eb3"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Ebit"><dir name="Block"><dir name="Checkout"><file name="Success.php" hash="1f6a9ac31497aa705b12158c7da2eaf8"/></dir><dir name="Template"><file name="Seal.php" hash="db7867d88e3868e8d0efe4e15a364ccc"/></dir></dir><dir name="Helper"><file name="Data.php" hash="df31daa2f2dcf4139787c3c61664bb85"/></dir><dir name="Model"><file name="Config.php" hash="8f7ca12dc1d3453622fab3471a1d6e6c"/><file name="Observer.php" hash="97db11e2e3a123f0c8691be1c4f0de70"/></dir><dir name="etc"><file name="config.xml" hash="f27d9563018444aeff09315cb2e70c4b"/><file name="system.xml" hash="13fab7166ee3cf9cbb1615fe3d8e850f"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Buscape_Ebit.csv" hash="df4aeb8566989162e6c5e4044dd6e830"/></dir><dir name="pt_BR"><file name="Buscape_Ebit.csv" hash="b8b7da56edb7e54336123aa9f798895c"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>