Bridge Pattern
Integrating third-party plugins with WooNooW
Philosophy
WooNooW Core = Zero Addon Dependencies
We don't integrate specific plugins into WooNooW core. Instead, we provide:
- Hook system for addons to extend functionality
- Bridge snippets for compatibility with existing plugins
- Addon development guide for building proper WooNooW addons
The Problem
Example: Rajaongkir (Indonesian Shipping Plugin). It removes standard fields and adds custom dropdowns, storing data in WooCommerce sessions. It doesn't work with WooNooW OrderForm out of the box because the OrderForm uses standard fields and API-based validation.
Solution: Bridge Snippet
Option A: Standalone Bridge Plugin
Create a tiny bridge plugin that makes the third-party plugin work with WooNooW.
Option B: Frontend Injection
Inject script to handle UI changes.
Last updated Jan 31, 2024
