Replace FAB cart icon

You can replace the FAB cart icon by using the snippet below. Just replace the Font Awesome icon type to the one you desire.

Code Example

 * Replace FAB cart icon.
 * @param string $fab_button FAB.
add_filter( 'conversions_fab', 'conversions_fab_cart_icon' );
function conversions_fab_cart_icon( $fab_button ) {

    // Replace shopping cart icon with shopping bag icon.
    $fab_button = str_replace( 'fas fa-shopping-cart', 'fas fa-shopping-bag', $fab_button );

    return $fab_button;

Get started today!

Conversions is on mission to improve the future of web. Are you ready to join us?