Configuration Guide
This guide covers all configuration options available in **Shipping Insurance for WooCommerce Pro**. Learn how to customize the plugin to meet your specific business needs.
Accessing Settings
Navigate to the plugin settings:
Scroll down to find the Insurance Rate Type and related settings.
Core Insurance Settings
Insurance Rate Configuration
Insurance Rate Type
Location: woocommerce_shipping_insurance_rate_type
Choose how insurance fees are calculated:
- Fixed Amount: Charge a flat fee regardless of order value
- Example: $2.99 for all orders
- Best for: Consistent insurance costs
- Percentage of Order Value: Charge based on order subtotal
- Example: 2% of order value
- Best for: Value-based insurance
Insurance Rate Value
Location: woocommerce_shipping_insurance_rate_value
Set the insurance fee amount:
- Fixed Amount: Enter dollar amount (e.g., 2.99)
- Percentage: Enter percentage value (e.g., 2.5 for 2.5%)
Examples:
Minimum Insurance Amount
Location: woocommerce_shipping_insurance_min_amount
Purpose: Ensures insurance fee never goes below this amount Default: 1.00 Example: If percentage calculation gives $0.50 but minimum is $1.00, charge $1.00
Maximum Insurance Amount
Location: woocommerce_shipping_insurance_max_amount
Purpose: Caps insurance fee at this amount Default: 10.00 Example: If percentage calculation gives $15.00 but maximum is $10.00, charge $10.00
Display Settings
Default State
Location: woocommerce_shipping_insurance_default_state
Controls whether insurance checkbox is checked by default:
- Yes: Insurance pre-selected (recommended for higher conversion)
- No: Customer must actively select insurance
Label Text
Location: woocommerce_shipping_insurance_label_text
Customize the insurance option text: Default: "Yes, I would like to protect my package with shipping insurance"
Examples:
Insurance Keys
Location: woocommerce_shipping_insurance_keys
Purpose: Internal identification for insurance fees Default: "Shipping Insurance" Note: This appears in order items and should remain consistent
Display Position
Location: woocommerce_shipping_insurance_display_position
Choose where insurance option appears on checkout:
- After Order Notes: Below order notes field (default)
- Before Order Notes: Above order notes field
- After Customer Details: Below billing/shipping forms
- After Terms & Conditions: Near submit button
Advanced Features
Country Exclusions
Excluded Countries
Location: woocommerce_shipping_insurance_excluded_countries
Purpose: Hide insurance option for specific countries Format: Comma-separated 2-letter country codes
Examples:
Use Cases:
- Countries with different insurance providers
- Regions with legal restrictions
- Areas with included shipping insurance
Shipping Integration
Include Shipping in Calculation
Location: woocommerce_shipping_insurance_include_shipping
When using percentage-based insurance:
- Yes: Calculate on subtotal + shipping cost
- No: Calculate on subtotal only
Example:
Weight-Based Conditions
Enable Weight Conditions
Location: insurance_enable_weight
Purpose: Show/hide insurance based on package weight Options: Yes/No
Weight Condition
Location: insurance_weight_condition
Set the weight comparison logic:
- Greater Than: Show if total weight > threshold
- Less Than: Show if total weight < threshold
- Equal To: Show if total weight = threshold
- Greater Than or Equal To: Show if total weight ≥ threshold
- Less Than or Equal To: Show if total weight ≤ threshold
Weight Threshold
Location: insurance_weight_threshold
Purpose: Weight value for comparison Unit: Uses WooCommerce weight unit setting Example: 100 (grams/pounds depending on WooCommerce setting)
Complete Example:
Customization Options
Title and Appearance
Insurance Title Text
Location: insurance_title_text
Purpose: Section heading on checkout page Default: "Shipping Insurance" Example: "Package Protection Options"
View Terms Text
Location: insurance_view_terms_text
Purpose: Link text for terms and conditions Default: "View Terms" Examples: "Read Policy", "Insurance Details", "Terms & Conditions"
Link Color
Location: insurance_link_color
Purpose: Color for terms link Format: Hex color code Default: #000000 (black) Examples: #0073aa (blue), #d63638 (red)
Terms and Conditions
Terms Link
Location: woocommerce_shipping_insurance_terms_link
Purpose: URL to insurance policy page Examples:
Hide Terms Link
Location: insurance_hide_terms_link
Purpose: Remove terms link completely Options: Yes/No
Link Open Method
Location: insurance_link_open_method
Purpose: How terms link opens
- Current Window: Replace current page
- New Window: Open in new tab/window
Price Display
Display Price
Location: insurance_display_price
Purpose: Show insurance cost to customer Options: Yes/No
Terms Part Text
Location: insurance_terms_part_text
Purpose: Text before price display Default: "Estimated Insurance Cost: " Example: "Protection Fee: ", "Insurance: "
Complete Example:
Multi-Currency Settings
Enable Multi-Currency Auto Detection
Location: insurance_enable_multicurrency
Purpose: Automatically integrate with currency plugins Default: Yes Recommendation: Keep enabled for seamless integration
Currency Conversion Method
Location: insurance_currency_conversion_method
Choose conversion approach:
- Use Multi-Currency Plugin Rates: Automatic conversion (recommended)
- Fixed Rate Per Currency: Manual rate setting
Configuration Examples
Basic E-commerce Store
High-Value Items Store
International Store with Exclusions
Weight-Based Insurance
Testing Your Configuration
Test Checklist
-
Basic Functionality:
- ✅ Insurance option appears on checkout
- ✅ Correct price calculation
- ✅ Fee added to order total
-
Country Exclusions:
- ✅ Hidden for excluded countries
- ✅ Visible for allowed countries
-
Weight Conditions:
- ✅ Correct visibility based on cart weight
- ✅ Proper condition evaluation
-
Multi-Currency:
- ✅ Correct currency display
- ✅ Proper rate conversion
Test Scenarios
Scenario 1: Basic Order
Scenario 2: Weight Condition
Scenario 3: Country Exclusion
Best Practices
Rate Setting
- Research Competition: Check competitor insurance rates
- Consider Profit Margins: Balance customer value and profit
- Test Conversion: Monitor checkout completion rates
User Experience
- Clear Language: Use simple, understandable terms
- Visible Pricing: Show costs upfront
- Default Selection: Consider pre-selecting for higher adoption
International Considerations
- Local Regulations: Check insurance requirements by country
- Currency Conversion: Ensure accurate rate conversion
- Language Support: Consider translations for international stores
Troubleshooting Configuration
Common Issues
Insurance Not Appearing
Check:
- WooCommerce is active and updated
- Plugin is properly activated
- No country exclusions blocking display
- Weight conditions are met
Incorrect Pricing
Check:
- Rate type matches intended calculation
- Min/max amounts are appropriate
- Currency conversion is working
- Percentage calculations include/exclude shipping as intended
Terms Link Not Working
Check:
- URL is valid and accessible
- Link color contrasts with background
- Link text is visible and clickable
Next Steps
After configuration:
- Features Documentation: Learn about all available features
Need Help? Contact support for configuration assistance.