How to Change the Logo URL in Flux Checkout Header

By default if your customer clicks on the checkout page logo, they are redirected to the shop page of your site. However, there may be scenarios where you’d prefer to redirect users to a different URL. Fortunately, achieving this customization is a straightforward process with the use of a simple code snippet.

Add the following code snippet to the functions.php of your active child theme, or use a Code Snippet plugin and replace CUSTOM_URL with the URL of your choice.

/**
 * Flux checkout - change the URL of the logo on the header.
 *
 * @param string $url URL.
 *
 * @return string
 */
function iconic_flux_change_logo_link( $url ) {
	// Replace CUSTOM_URL with your URL.
	return 'CUSTOM_URL';
}
add_filter( 'flux_checkout_logo_href', 'iconic_flux_change_logo_link' );

Change logo URL to the home page

If you wish to set the logo URL to redirect to the home page, you can achieve this by implementing the following code snippet.

/**
 * Flux checkout - change the URL of the logo on the header.
 *
 * @param string $url URL.
 *
 * @return string
 */
function iconic_flux_change_logo_link( $url ) {
	return site_url();
}
add_filter( 'flux_checkout_logo_href', 'iconic_flux_change_logo_link' );

Flux Checkout for WooCommerce

Prevent abandoned carts with a slick multi-step checkout experience, designed for your customer’s device.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.