Troubleshooting
Notices Are Not Displaying
Section titled “Notices Are Not Displaying”Wrong Position
Section titled “Wrong Position”Verify that the selected position exists on the page:
- Some positions are only in checkout
- Some are only in cart
- Block checkout may not support all hooks
Theme Conflict
Section titled “Theme Conflict”Some themes may override WooCommerce templates. Check:
your-theme/woocommerce/checkout/form-checkout.phpyour-theme/woocommerce/cart/cart.php
If changes are not appearing:
- Clear browser cache
- Clear server cache (if using a cache plugin)
- Try incognito window
Button Text Is Not Changing
Section titled “Button Text Is Not Changing”Field Is Empty
Section titled “Field Is Empty”Check that you have filled in the Order button text field in the module settings.
Conflict with Other Plugins
Section titled “Conflict with Other Plugins”Other plugins may change the button text with higher priority:
// WPify Woo uses default priority 10add_filter( 'woocommerce_order_button_text', ... );HTML in Button Is Not Working
Section titled “HTML in Button Is Not Working”Option Is Not Enabled
Section titled “Option Is Not Enabled”To use HTML entities in the button text you must:
- Enable the Change order button HTML option
- Save changes
Notice Is Displaying in Wrong Location
Section titled “Notice Is Displaying in Wrong Location”Custom Hook
Section titled “Custom Hook”If using Custom position, make sure that:
- The hook exists in your theme
- The hook is called on the correct page
- The priority is not conflicting with other actions
Block vs Classic Checkout
Section titled “Block vs Classic Checkout”Some positions only work with classic checkout. Block checkout has a different structure.
Notice Style Is Not Working
Section titled “Notice Style Is Not Working”Missing CSS
Section titled “Missing CSS”WooCommerce styles require:
- Active WooCommerce CSS
- A theme supporting WooCommerce
Custom Class
Section titled “Custom Class”If using a custom CSS class, make sure that:
- The class is defined in your CSS
- The CSS file is loaded
/* Example custom class */.my-custom-notice { background: #f7f7f7; padding: 15px; border-left: 4px solid #0073aa;}Diagnostics
Section titled “Diagnostics”Checking Hooks
Section titled “Checking Hooks”// Checking if hook existsadd_action( 'woocommerce_before_checkout_form', function() { echo '<!-- Hook is working -->';} );Checking Module Settings
Section titled “Checking Module Settings”$module = wpify_woo_container()->get( \WpifyWoo\Modules\Template\TemplateModule::class);
var_dump( $module->get_setting( 'place_order_button_text' ) );var_dump( $module->get_setting( 'checkout_texts' ) );Testing Positions
Section titled “Testing Positions”To test all positions you can temporarily add:
$positions = [ 'woocommerce_before_checkout_form', 'woocommerce_review_order_before_submit', // ... other positions];
foreach ( $positions as $position ) { add_action( $position, function() use ( $position ) { echo '<div style="background:yellow">Position: ' . $position . '</div>'; } );}Compatibility
Section titled “Compatibility”Block Checkout
Section titled “Block Checkout”WooCommerce block checkout (Gutenberg) has limited support for some hooks. We recommend using classic checkout for full compatibility.
Page Builders
Section titled “Page Builders”Some page builders (Elementor, Divi) may have their own checkout templates that do not support WooCommerce hooks.