Jump to content

FranciscoVillen

Members
  • Posts

    219
  • Joined

  • Last visited

Profile Information

  • Location
    Sevilla
  • Activity
    Agency

Recent Profile Visitors

5,300,457 profile views

FranciscoVillen's Achievements

Newbie

Newbie (1/14)

23

Reputation

1

Community Answers

  1. Hi Simone Salerno, Thanks for this post. It worked fine. Best regards.
  2. Buenas, Este problema ya lo he solucionado con la ayuda del soporte técnico de nuestro hosting. Finalmente no he necesitado un SSL multidominio, ha bastado con un SSL para cada tienda de la multitienda. El problema estaba en que el documentroot de dominio2.com era el de dominio1.com para http, y esta configuración tenía que ser realizada tambien para https. Un saludo.
  3. Me contesto yo mismo. Esta opción es necesaria tenerla en SI para que el stock de las diferentes tiendas estén sincronizados. Tened en cuenta que cuando se activa todo el stock de las tiendas se reinicia a cero.
  4. Buenas compañeros, me ha surgido la siguiente duda: Tengo una multitienda con dos tiendas y acabo de comprobar que si compro un producto en tienda1 solo resta el stock en tienda1 y no en tienda2, es decir, el stock de productos entre ambas tiendas no está sincronizado. Daba por hecho que el mismo producto en dos tiendas de una multitienda compartian el stock. He visto que en las configuraciones de grupo de multitienda hay una opción: ¿Compartir cantidades disponibles para vender. Compartir las cantidades disponibles para la venta entre las tiendas de este grupo. Al habilitar esta opción, todas las cantidades de productos disponibles para este grupo se iniciarán a 0 (cero). Esta opción la tengo en NO. ¿Es necesario activarla para que sincronice el stock de las dos tiendas?, me suena raro eso de que si la activo las cantidades de productos se resetearan a cero. No estoy seguro de si esta opción es lo que estoy buscando o si sirve para otra cosa como por ejemplo que si tienes 4 de un producto, te ponga 2 en cada tienda. ¿Alguien tiene alguna idea al respecto?. Gracias.
  5. Buenas compañeros, Estoy en la siguiente situación: - Una multitienda prestashop 1.6 con dos tiendas, cada una con un dominio diferente. - Tengo un certificado SSL para la tienda dominio1.com y funciona bien. - Tengo otro certificado SSL para dominio2.com (la segunda tienda) y no funciona. Parece que hay un bucle de redirección y el navegador muestra el mensaje de "La página no está redirigiendo adecuadamente". Me da la impresión de que es una redirección interna de prestasop que redirige desde el dominio con https al dominio con http pero no estoy seguro. ¿Alguien se ha visto en esta situación o tiene alguna idea de que puede estar pasando?. He estado mirando en la documentación de Prestashop y en foros y no he encontrado nada al respecto, tan solo un post en inglés en este mismo foro comentando que es necesario un SSL multidominio para estos casos, pero es un post muy antiguo, de 2012 y puede no ser valido actualmente. Gracias de antemano.
  6. Lo he conseguido solucionar, cambiando la linea de código que comento arriba por: include_once(dirname(__FILE__).'/redsys.php'); Con include_once te aseguras que solo lo cargue una vez... pero es que no lo está cargando en ningún otro sitio, no debería ser necesario, en cualquier caso funciona. Espero que le sirva de ayuda si alguien se encuentra en la misma situación. Un saludo.
  7. Hola compañeros, Llevo instalando el módulo de Redsys un montón de tiempo y es la primera vez que me veo con este problema: Básicamente el pago se realiza pero la notificación de redsys a prestashop no funciona (esto si es común). En las notificaciones de panel de redsys queda registrado: -1 Server returned HTTP response code: 500 for URL: http://dominio.com/modules/redsys/validation.php Lo he estado mirando en detalle y probando cosas, y si entro en la url: /modules/redsys/validation.php en firefox me muestra lo siguiente: Error de códificación de contenido. La página que está intentando visualizar no puede mostrarse porque utiliza un formato de compresión no válido o no admitido. La linea de código que provoca esto es: include(dirname(__FILE__).'/redsys.php'); He probado a desactivar la compresión gzip, a guardar el archivo en UTF8, a sustituir los ficheros del módulo con una instalación limpia, nada, tengo otro prestashop en el mismo servidor y Redsys funciona correctamente. ¿A algún forero le ha pasado algo parecido?
  8. Buenas, creo recordar (fue en 2014) que no encontré solución para ello. De todas formas, te aconsejo que mires en el addons de prestashop haber si en este tiempo han desarrollado algun módulo que cumpla esta funcionalidad. Saludos.
  9. Hi Mdekker, thanks for the answer. There isn't an override of that controller. There are override of AdminOrdersController.php and AdminTranslationController.php. I have renamed these files adding the character "2" and removed clas_index.php in cache folder and the problem persists, so I think the problem isn't caused by any admin controller override. I have tried too changing the AdminCmsController.php and AdminCmsContentController.php by the files of the original prestashop1.6.0.14 package and nothing. SOLVED: if I add a new cms page, it appear correctly in the back office. It only occurs with the cms pages that are currently created. I have searched in the database, and the cms pages that doesn't appear, have duplicated null entries in the table ps_cms_lang (attach screenshot). Removing that duplicated null entries the problem is solved.
  10. Hi mates, I have never seen this error: In the cms admin panel, the list of cms pages appear but there aren't the name and url of each cms page. When I edit each individual cms page, the info is there. I attach an screenshot. It is in a Prestashop 1.6.0.14 working as a multi shop. Does someone know about this error? Thanks. Best regards.
  11. Es una regla de estilo, tienes que guardarla en el global.css o en el product.css de tu tema
  12. I have reached a way to do this, I would like to know if it is the best way to do this in Prestashop: public function hookAdminCustomers($params){ ... $this->processModifyPoints(); ... } public function processModifyPoints(){ if(Tools::isSubmit('submitmodifypoints')){ /* Do something */ } } And in the form shown in the hook AdminCustomers I put name=submitmodifypoints. in the input type submit
  13. Hi developers, I'm doing a modification in the loyalty basic module and I need to add a form in the hookAdminCustomers, so the admin can add points to a determined customer. I know there is a function renderForm but it is always used when you have an admin page and is used in a ModuleAdminController. I'm not sure if I should use it in my case. Basically I want to add a form in the hookAdminCustomers in a module and add a php function as an action to the form submit. I would like to know which is the standar in prestashop and the functions I should use to set the form and the action. I have searched in the prestashop documentation and google but I haven't found anything. Maybe I'm not searching for the right words. I would be grateful if someone could clarify what I have to use.
  14. Thanks Tuk, I didn't know that. I have reached the code where the tags are stripped. It is in /controllers/admin/AdminRequestSqlController.php in the function generateExport it have inside a fputs call: strip_tags($result[$name]) Changing for: $result[$name] It will avoid that html tags in description to be stripped. I have done the change in the folder override, so it won't be removed if prestashop is updated.
  15. Hi Took if I put <br> the sql manager doesn't remove it. But should it work as the <br> tag?, and there is another problem with < you are using the character ; which is problematic in a CSV file with fields separated by ; Is it possible that SQL manager generate a CSV with a distinct character to separate fields?
×
×
  • Create New...