Getting Started with RuleHook
Welcome to RuleHook — the most flexible way to build and control your shipping logic. Whether you're running a Shopify, WooCommerce, or custom storefront, RuleHook lets you create powerful, rule-based shipping experiences without code.
🚀 What is RuleHook?
RuleHook is a shipping logic engine that integrates with your store and gives you full control over:
- Which shipping methods are shown
- What they cost
- Estimated delivery time
- Method names and visibility
All driven by rules you define, based on cart weight, location, value, product tags, and more.
⚙️ Platforms We Support
- Shopify – Seamless app install and carrier service integration
- WooCommerce – Native plugin with advanced shipping rules
- Custom Stores – Use our REST API to integrate into any backend
✨ Key Concepts
✅ Conditions
Decide when a rule should trigger.
Examples:
- Destination country is
US - Cart weight is over
10kg - Any product has tag
fragile
⚡ Actions
Define what happens when the rule is triggered.
Examples:
- Set shipping cost to
$12 - Rename the shipping method to
"Priority Courier" - Hide all other methods
🛠️ Installation
Shopify
- Install the Shopify App
- Authorize your store
- Start creating rules from the dashboard
WooCommerce
- Download the RuleHook WooCommerce plugin
- Install and activate it via your WP admin
- Go to WooCommerce > Settings > Shipping > RuleHook
- Connect your RuleHook account
Custom Stores
- Sign up at https://rulehook.com
- Generate an API token
- Use our REST API to fetch shipping rates and define rules