---
title: Plugin and Theme Conflicts with Conditional Shipping
description: Shipping conditions correct but methods still misbehave? How to find a plugin or theme conflict with Conditional Shipping.
url: "https://wpfactory.com/docs/plugin-theme-conflicts-conditional-shipping/"
updated: "2026-09-25"
category: Troubleshooting
tags:
  - Conditional Shipping for WooCommerce
---

# Plugin and Theme Conflicts with Conditional Shipping

## Problem description

Your shipping conditions are correct, but shipping methods still behave incorrectly. They are sometimes visible when they should be hidden, or hidden unpredictably. This often points to a conflict with another plugin or the theme. [Conditional Shipping for WooCommerce: Restrict Shipping Options by Anything](https://wpfactory.com/item/conditional-shipping-for-woocommerce/) filters shipping methods in PHP and relies on WooCommerce checkout JavaScript to refresh them, so anything that interferes with either can cause trouble.

**Common symptoms:**

- Conditions work sometimes and not others.
- The checkout does not refresh the shipping method list after an address or product change.
- JavaScript errors appear in the browser console, or shipping options disappear once caching or optimization is enabled.

**Cause:** shipping method visibility is updated through the PHP backend and recalculated on checkout with JavaScript. Caching plugins, JavaScript minifiers, checkout optimizers, and themes with a custom checkout can all interfere with that process.

## Solution, step by step

1. **Switch to a default theme and disable non-essential plugins.** Use a standard theme such as Storefront or Twenty Twenty-Four, and disable caching, optimization, and checkout modification plugins. Test shipping with a simple condition. If it works, a conflict is confirmed.
2. **Re-enable plugins one at a time and test after each.** This isolates which plugin causes the issue, whether it is a caching, performance, shipping-class, or custom checkout plugin.
3. **Exclude cart and checkout from caching and minification.** If you use a cache, CDN, or minifier, configure it so the cart, checkout, and shipping-method fragments are never cached or minified.
4. **Check the checkout JavaScript for errors.** Open your browser DevTools and look at the Console for JavaScript errors that could block shipping method updates. Resolve or disable the conflicting script.
5. **Clear all caches after changes.** Purge server, object, page, and CDN caches, since some caching persists across sessions, then retest.
6. **If a conflict is unavoidable, weigh your options.** If you depend heavily on a plugin that conflicts, such as a custom checkout or optimization tool, check with its author for a compatible configuration before deciding how to proceed.

## Prerequisites

- Admin access, and ideally developer access, to enable or disable plugins and switch themes.

## Additional notes and prevention

- Keep a note of any plugins that modify the cart, checkout, or shipping, and record compatibility notes whenever you update WordPress or WooCommerce.
- For production stores, test plugin and theme updates on staging first.

Need a hand? Our team answers every ticket on the [Conditional Shipping support forum](https://wpfactory.com/support/).

Related articles

- [Enable Debug Logging for Conditional Shipping](https://wpfactory.com/docs/conditional-shipping-debug-logging/)
- [Fix Conditional Shipping After Site Migration](https://wpfactory.com/docs/fix-conditional-shipping-after-site-migration/)
- [Conditional Shipping: Developer Hooks and Filters Reference](https://wpfactory.com/docs/woocommerce-conditional-shipping-hooks-filters/)
- [Reset a Conditional Shipping Settings Section](https://wpfactory.com/docs/reset-conditional-shipping-settings/)
- [Getting Started with Conditional Shipping for WooCommerce](https://wpfactory.com/docs/how-to-use-conditional-shipping/)

 

[![Conditional Shipping for WooCommerce](https://wpfactory.com/wp-content/uploads/Conditional-Shipping-for-WooCommerce.webp)](https://wpfactory.com/item/conditional-shipping-for-woocommerce/)
