FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Building a Chat Module for PrestaShop: Hooks, Deferred Sending, and Combination Sync
How-ToWeb Development

Building a Chat Module for PrestaShop: Hooks, Deferred Sending, and Combination Sync

via Dev.to WebdevRosen Hristov3w ago

I already had webhook sync modules for Drupal Commerce and Sylius . Each platform handles entity events differently. PrestaShop has its own approach: hooks, no message queue, and a combination system that doesn't map cleanly to variants. PrestaShop's Hook System PrestaShop uses hooks instead of event subscribers. For products, the key hooks are: public function install () { return parent :: install () && $this -> registerHook ( 'actionProductSave' ) && $this -> registerHook ( 'actionProductDelete' ) && $this -> registerHook ( 'actionUpdateQuantity' ) && $this -> registerHook ( 'actionObjectCombinationAddAfter' ) && $this -> registerHook ( 'actionObjectCombinationUpdateAfter' ) && $this -> registerHook ( 'actionObjectCombinationDeleteAfter' ) && $this -> registerHook ( 'actionObjectCmsAddAfter' ) && $this -> registerHook ( 'actionObjectCmsUpdateAfter' ) && $this -> registerHook ( 'actionObjectCmsDeleteAfter' ) && $this -> registerHook ( 'displayHeader' ) && $this -> registerHook ( 'acti

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
6 views

Related Articles

How-To

# 5 JSON Mistakes Developers Make (And How to Fix Them Fast)

Medium Programming • 2d ago

10 subtle go mistakes that only show up in production
How-To

10 subtle go mistakes that only show up in production

Medium Programming • 2d ago

Stop Configuring Third-Party Libraries by Hand — Let Your Agent Handle It!
How-To

Stop Configuring Third-Party Libraries by Hand — Let Your Agent Handle It!

Medium Programming • 2d ago

How-To

How I Stay Consistent While Learning Coding

Medium Programming • 2d ago

T-Mobile Business Promo Codes and Deals
How-To

T-Mobile Business Promo Codes and Deals

Wired • 2d ago

Discover More Articles