Incompatibility with FacetWP
-
Hi, we had a user with an issue using FacetWP also with SureCart. We fixed it by changing plugins/surecart/app/src/Cart/CartService.php in a couple of places in the cartTemplate method to add ob_end_clean() before return in a couple of places where you have ob_start() but the method can return without flushing the buffer. We would appreciate it if you could implement this or another fix. Thanks, FacetWP support
if ( empty( $form->ID ) ) {
ob_end_clean();
return '';
}
$cart = \SureCart::cartPost()->get();
if ( empty( $cart->post_content ) ) {
ob_end_clean();
return '';
}
- The topic ‘Incompatibility with FacetWP’ is closed to new replies.