Jump to content

Search the Community

Showing results for tags 'hooks'.

  • Search By Tags

    • hooks ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. Bonjour à tous, Je rencontre un souci avec la position des modules, impossible de les déplacer correctement. J'ai essayé plusieurs solutions, mais aucune ne fonctionne. Même en vidant le cache, Prestashop ne prend pas en compte mes modifications. Quelqu'un aurait une idée d'où cela pourrai...
  2. Buen día para todos. Actualmente me encuentro en un desarrollo en la versión 1.7.5.2 de PrestaShop, y necesito obtener el evento cada vez que se realiza una adición, una edición o una eliminación de un producto dentro de la plataforma (en el BackOffice de la tienda). Inicialmente necesito que...
  3. Is there a hook triggered on duplicate product? I found hookActionAdminProductsControllerDuplicateAfter or hookActionAdminControllerDuplicateAfter described on the Internet but they don't work.
  4. Is there a hook triggered when saving/updating a combination in the product administration form? Something similar to hookActionObjectProductUpdateBefore? I would like to dynamically change some combination values as I save them I tried hookActionObjectProductAttributeUpdateBefore but it is n...
  5. How to access id_order in hook hookDisplayOrderPreview (order preview on orders list in BO) I see that it is not available from $params public function hookDisplayOrderPreview(array $params) { $id_cart = $params['id_cart']; $orderID = (int)$params['id_order']; /* $or...
  6. Hola, estoy intentando insertar valores al dataLayer de Google Tag Manager (GTM) cuando el usuario hace login a mi tienda. Para ello, he pensado en crear un modulo y llamar al hook actionAuthentication (After successful customer authentication) por facilidad y por no complicarme la vida con override...
  7. Hola, estoy intentando usar el hook actionEmailAddBeforeContent en un módulo para agregar variables a las plantillas de correos, pero no produce efecto alguno. Este es el código de ejemplo de mi módulo: public function hookActionEmailAddBeforeContent($params) {...
  8. I have created a new module with template. I call my module and my template in my custom hook. It work fine. But I want to call another existing module in my custom hook and I don't want to override this module because if it's deleted my module will certainly crash. So there is a solution to call th...
  9. Hi, I'm not a prestashop developer but have been tasked with adding a new functionality to one of my employer's client prestashop websites, I want to get the reference from both the product and all of its possible (only if it has) combinations and then do something with them after I update or create...
  10. Hi, I'm fetching some data from an external API for the product page. I'd like to display HTML from a tpl just before the add to cart button. I've used dispalyProductPriceBlock but the theme my client uses has that block disabled. So I've tried the hook displayProductDescriptionAfter but t...
  11. Hi, I was hoping someone might be able to help. I am trying to update a product using the actionProductSave hook, for a module that does additional validation to products when they are saved. At the moment I am just trying to read values from the product, change them and save the changes bac...
  12. Hi, I'm currently trying insert a couple of divs between the price and the add to cart button on the product page (example page below). I'd be fine with adding it before the price block as well. I've tried out using displayProductPriceBlock but it repeats multiple times across the differe...
  13. Hello, I'm trying to modify the layout of the frontpage and have for example two columns (hooks) inside the main container where I could attach modules. On the footer or the header it's easy because there are .tpl files (footer.tpl, product.tpl,...) I can edit and change the layout with bo...
  14. Hi there, I'm kind of new to Prestashop module development, but I have some solid background with PHP and also with symphony. I'm currently facing a strange issue that I just can't explain to myself. Here's the thing: I need to link my module to the hook for customer creation and update,...
  15. Hi Team, Can anyone please help me with this case, where `OrderConfirmation` hook is not working when the order total is ZERO (product with zero values). And Order is being placed successfully, but `hookOrderConfirmation` didn't triggered. Is there any other hook I can use or is there any oth...
  16. Hello, I'm in Prestashop 1.6.1.4. I need to hook the module "Manufacturers Image Block" to the hook displayFooterProduct, but it's not showing in the "Transplant to" list. What do I need to do for it to appear? I've been doing some research, but I don't fully understand what I'm reading (I don't cod...
  17. I have a problem regarding a module that's been bought which is Advanced Pack 5 On 1.6 the module worked fine but when I did the migration/installed the module it lacks the configure pack option although the hook responsible for it is called What do I do Im stuck and don't know what to ch...
  18. ¿Se puede utilizar la API para crear webhooks y que se envie la información a una URL? La cuestión es no usar el panel de administración y que sea a través de la API, como este caso de WooCommerce.
  19. Hooks are one of the main lifelines of PrestaShop. Developer, freelancers or even for end users everyone need to register, unregister hooks to modules while PrestaShop customization. They need to check if the most necessary hooks for the module is registered or not. Then comes the hard...
  20. Hi How can i display something in the Admin Orders page list before the list? i already tried displayAdminAfterHeader hook but this hooks shows the content in all pages to show in only Orders List page i could do if condition to check the $class_name of the controller calling, but still...
  21. Hi I have a custom module that has popup with a custom hook in it. When I try hooking for example search bar it displays it perfectly, but when I try to hook faceted search it just displays comment like this (I am refering to image). I have no idea what is going on and why, here is the template...
  22. Buenas, he desplegado mi tienda de prestashop a producción y estoy experimentando este problema: No controlo mucho sobre prestashop, es la primera vez que lo uso. Os puedo decir que es la versión 1.7.5.1 y el tema es Everprest. He podido acceder al backend poniendolo en modo depuración y ex...
  23. I'm tryng to display small icon with this hook, but it's displaying icon many time instead of spaces.Maybe someone knows what the problem?
  24. Hola amigos, Necesito ayuda antes de que me encierren en un manicomio. Pues que he actualizado el viejo prestashop del 1.6 al 1.7 con el MigrationPro y hay algunas cosas del diseño de página que no las respeta y han desaparecido, en la página de inicio teníamos un hook que en la versión 1...
  25. Hola, Necesitaba desenganchar el módulo de de paypal, que incorpora un botón de la zona que está justo debajo del desglose total del carrito en la forma de pago One Page Checkout. Solo desengancharlo de ese hook. Como se llama el hook que corresponde a esa zona? Adjunto una captura de...
×
×
  • Create New...