• Resolved Jenny Ragan

    (@djrmom)


    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 '';
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incompatibility with FacetWP’ is closed to new replies.