Skip to content

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

  1. Install the Shopify App
  2. Authorize your store
  3. Start creating rules from the dashboard

WooCommerce

  1. Download the RuleHook WooCommerce plugin
  2. Install and activate it via your WP admin
  3. Go to WooCommerce > Settings > Shipping > RuleHook
  4. Connect your RuleHook account

Custom Stores

  1. Sign up at https://rulehook.com
  2. Generate an API token
  3. Use our REST API to fetch shipping rates and define rules