• Resolved mrretail

    (@mrretail)


    Hi, I love this plugin but can’t find where to turn off on cart and checkout pages, as it is not only pointless to have it showing on these pages but also very annoying when shopping on a mobile device. Please tell me how to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @mrretail ,

    Our developer is looking at your request. We’ll contact you when we release a new update. This might take several days because we’ve been quite busy lately due to the heavy workload. Please stay tuned.

    Thank you for your understanding.

    WPClever.

    Thread Starter mrretail

    (@mrretail)

    Hi @wpclever ,
    Thank you for looking at my request. I look forward to your update.

    @mrretail @wpclever

    Do this:

    /**
     * Do not show the floating cart on the Cart or Checkout pages
     * @return string
     */
    add_filter('pre_option__woofc_count', function ($option) {
        if (function_exists('is_cart') && is_cart()) {
            return 'no';
        }
        if (function_exists('is_checkout') && is_checkout()) {
            return 'no';
        }
        return $option;
    });
    Plugin Author WPClever

    (@wpclever)

    Hi,
    Thank you for sharing this. While we have been so busy with the heavy workload, we truly appreciate helps from other members like how you did. This helps to lighten the work for our team.
    Best wishes to you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Where is option to turn off on cart and checkout pages?’ is closed to new replies.