Commit 4d93fdeec61a4dbee45f130cbdb49935be80aa12

Authored by Adrian
1 parent 18479c48

Solucionado error en la ficha de producto de prestashop 8.

config.xml
... ... @@ -2,7 +2,7 @@
2 2 <module>
3 3 <name>imaxmultiean</name>
4 4 <displayName><![CDATA[Gestor de EANs Múltiples]]></displayName>
5   - <version><![CDATA[1.4]]></version>
  5 + <version><![CDATA[1.5]]></version>
6 6 <description><![CDATA[Permite añadir y gestionar múltiples códigos EAN para cada producto y combinación.]]></description>
7 7 <author><![CDATA[Informax]]></author>
8 8 <tab><![CDATA[administration]]></tab>
... ...
imaxmultiean.php
... ... @@ -22,7 +22,7 @@ class ImaxMultiEAN extends Module {
22 22 $this->name = 'imaxmultiean';
23 23 $this->tab = 'administration';
24 24 $this->path = _PS_MODULE_DIR_ . $this->name . '/';
25   - $this->version = '1.4';
  25 + $this->version = '1.5';
26 26 $this->author = 'Informax';
27 27 $this->need_instance = 0;
28 28 $this->idManual = '';
... ...
templates/hook/admin_products_extra.tpl
... ... @@ -93,7 +93,8 @@
93 93  
94 94 <script>
95 95 $(function(){
96   - $('.guardarEAN').click(function(){
  96 + $('.guardarEAN').click(function(ev){
  97 + ev.preventDefault();
97 98 let data = {
98 99 accion: 'storeEAN',
99 100 productId: "{$product_id}",
... ...