I hope all is well. I'd like to ask if you have a filter to disable the fly-in-cart on specific pages. I am about to optimize my landing page and I don't need the cart there at all. If I disable your scripts and css however, I still got the (now visible) woof-area visible on the bottom of the page. Is there an elegant solution (without CSS display: none) to get rid of your cart on a specific page?
Thanx for your help
Kind Regards
Florian
P.S. Capital Plugin, by the way. A bit bloaty css, though.
//replace id with the id of page ?><style>div#woofc-count, .woofc-overlay, #woofc-area,.menu-item-type-woofc{display: none!important;}</style><?php } } add_action( 'wp_head', 'hidden_woofc_fly_cart');
Thank you for the feedback. We're glad we have been able to help you out.
If you're satisfied with our support and the quality of our plugin, please reward us with a full five-star rating ⭐⭐⭐⭐⭐ and a few good words in the review on WordPress repository to let others know. Kindly find the link to our plugin below:
Hi there
I hope all is well. I'd like to ask if you have a filter to disable the fly-in-cart on specific pages. I am about to optimize my landing page and I don't need the cart there at all. If I disable your scripts and css however, I still got the (now visible) woof-area visible on the bottom of the page. Is there an elegant solution (without CSS display: none) to get rid of your cart on a specific page?
Thanx for your help
Kind Regards
Florian
P.S. Capital Plugin, by the way. A bit bloaty css, though.
Hi Florian,
Thanks for contacting WPClever Support Forum. We've had a short vacation so today I am able to process your ticket.
We’ve assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.
Best regards.
Janilyn T. - WPClever Support Agent
Hi Florian,
You can try adding the code to your theme's function.php
<?php
function hidden_woofc_fly_cart() {
//Use is_page(id) for Pages. https://prnt.sc/vosxyh
if(is_page(id)){
//replace id with the id of page
?><style>div#woofc-count, .woofc-overlay, #woofc-area,.menu-item-type-woofc{display: none!important;}</style><?php
}
}
add_action( 'wp_head', 'hidden_woofc_fly_cart');
?>
Best regards,
Henry N.
Hi there Triston,
Thank you for the snippet!
I appreciate your help!
Kind Regards
Florian
Hi Florian,
Thank you for the feedback. We're glad we have been able to help you out.
If you're satisfied with our support and the quality of our plugin, please reward us with a full five-star rating ⭐⭐⭐⭐⭐ and a few good words in the review on WordPress repository to let others know. Kindly find the link to our plugin below:
WPC Fly Cart for WooCommerce
Your support is the motivation for us to keep up the good work and further improve our plugin.
We will close your ticket now. Feel free to contact us at any time when you need further help.
Best wishes from WPClever Team.
Best regards,
Henry N.