Skip to content

Errors and Solutions

This guide contains the most common errors when using the WPify Woo Conditional Shipping and Payment plugin and steps to resolve them.

Rules are not applied — shipping price doesn't change

Cause: The rule conditions are not met, the rule is disabled, or shipping caching is interfering.

Solution:

  1. Check that the rule group is enabled (toggle is on)
  2. Verify that the correct shipping method is selected in the rule
  3. Review all conditions — all conditions must be met simultaneously (AND logic)
  4. Enable Don’t cache shipping in the plugin settings to rule out caching issues
  5. Test with a simple single-condition rule to isolate the problem
Rule applies to wrong shipping method

Cause: The wrong shipping method is selected in the rule group, or multiple rules conflict.

Solution:

  1. Verify the Delivery method selection in the rule group
  2. Check rule ordering — rules are evaluated top to bottom and earlier rules take priority
  3. Look for other rule groups that may affect the same shipping method
Free shipping condition doesn't work

Cause: Cart subtotal calculation may include or exclude VAT differently than expected.

Solution:

  1. Check whether your cart subtotal condition uses the correct threshold (with or without VAT)
  2. By default, cart subtotal includes VAT. Use the wpify_woo_conditional_shipping_cart_amount_include_tax filter to change this behavior
  3. See the developer hooks section for the code snippet
Payment fee is not added

Cause: The payment rule conditions are not met or the fee configuration is incorrect.

Solution:

  1. Check that the rule group is enabled
  2. Verify the correct payment gateway is selected
  3. Check the fee value — it should be a positive number with decimal point
  4. Verify the fee label is set (it’s required for the fee to display)
  5. Check the fee tax setting — select the correct tax class or “Non-taxable”
Payment method is not hidden

Cause: The rule conditions are not met or there’s a conflict with another plugin.

Solution:

  1. Verify all conditions in the rule group are met
  2. Check if another plugin is also managing payment gateway visibility
  3. Test with a simple rule that has no conditions to verify the action works
VAT is incorrectly calculated on negative fees

Cause: WooCommerce recalculates VAT on negative fees (discounts), which can cause rounding issues.

Solution:

  1. Enable Disable VAT recalculation for negative fees in the plugin settings
  2. Alternatively, use the wpify_woo_conditional_shipping_enable_negative_fee_fix filter
Rules don't work with block checkout

Cause: Block checkout support is not enabled in the plugin settings.

Solution:

  1. Go to WooCommerce → Settings → Wpify Woo → Conditional Shipping and Payment
  2. Enable Enable blocks checkout
  3. Save changes
Shipping methods don't update dynamically in checkout

Cause: WooCommerce caching of shipping packages prevents live updates.

Solution:

  1. Enable Don’t cache shipping in the plugin settings
  2. This forces WooCommerce to recalculate shipping methods on every checkout update
Can I combine multiple conditions in one rule?

Yes, you can add unlimited conditions to a single rule group. All conditions use AND logic — they must all be met for the actions to apply. There is no limit to the number of conditions or actions per rule.

Can I create rules for both shipping and payment methods?

Yes, the plugin has two separate rule sections: Shipping Rules for controlling shipping methods and Payment Rules for controlling payment gateways. Each section has its own set of conditions and actions.

How does cart value calculation work with VAT?

By default, cart subtotal conditions include VAT. To calculate without VAT, add the following filter to your theme’s functions.php or via the Code Snippets plugin:

add_filter( 'wpify_woo_conditional_shipping_cart_amount_include_tax', '__return_false' );
Can I hide a shipping method for specific user roles?

Yes, combine a User conditions (User has role / User does not have role) with a Hide shipping method action. For example, create a rule that hides “Cash on delivery” when the user does not have the “Wholesale” role.

Can I add a fee to a payment method based on the selected shipping?

Yes, use Payment Rules with a Shipping method conditions (available only in payment rules) to check which shipping method is selected, then add an Add fee action.

How do I set different shipping prices based on cart weight?

Create multiple shipping rule groups for the same shipping method, each with a different Cart weight condition range and a Set shipping price action with the appropriate price.