Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3725534
Hide fly cart in mobile view
Open

Comments

  • Hilal Habeeb started the conversation

    I'm currently using Fly Cart by WPC on my WooCommerce website, and it works perfectly on desktop screens. However, I would like to disable or hide the Fly Cart functionality entirely on mobile devices to enhance the mobile user experience.

    Could you please provide guidance or an option to completely disable or hide the Fly Cart on mobile screens? 

    I appreciate your support and look forward to your response.

  •  1,222
    Dustin replied

    Hi Hilal,

    Please add the custom code below. (How to add custom code? ↗):

    add_filter( 'woofc_disable', function ( $disable ) {
        if ( wp_is_mobile() ) {
            return true;
        }
        return $disable;
    } );

    Best regards,
    Dustin