Skip to content

Troubleshooting

Verify that the selected position exists on the page:

  1. Some positions are only in checkout
  2. Some are only in cart
  3. Block checkout may not support all hooks

Some themes may override WooCommerce templates. Check:

  • your-theme/woocommerce/checkout/form-checkout.php
  • your-theme/woocommerce/cart/cart.php

If changes are not appearing:

  1. Clear browser cache
  2. Clear server cache (if using a cache plugin)
  3. Try incognito window

Check that you have filled in the Order button text field in the module settings.

Other plugins may change the button text with higher priority:

// WPify Woo uses default priority 10
add_filter( 'woocommerce_order_button_text', ... );

To use HTML entities in the button text you must:

  1. Enable the Change order button HTML option
  2. Save changes

If using Custom position, make sure that:

  1. The hook exists in your theme
  2. The hook is called on the correct page
  3. The priority is not conflicting with other actions

Some positions only work with classic checkout. Block checkout has a different structure.

WooCommerce styles require:

  1. Active WooCommerce CSS
  2. A theme supporting WooCommerce

If using a custom CSS class, make sure that:

  1. The class is defined in your CSS
  2. The CSS file is loaded
/* Example custom class */
.my-custom-notice {
background: #f7f7f7;
padding: 15px;
border-left: 4px solid #0073aa;
}
// Checking if hook exists
add_action( 'woocommerce_before_checkout_form', function() {
echo '<!-- Hook is working -->';
} );
$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' ) );

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>';
} );
}

WooCommerce block checkout (Gutenberg) has limited support for some hooks. We recommend using classic checkout for full compatibility.

Some page builders (Elementor, Divi) may have their own checkout templates that do not support WooCommerce hooks.