Viewing 1 replies (of 1 total)
  • Hey @ggus03,

    I saw you already resolved this via the BigCommerce Community, but I just wanted to make sure to post the solution here for visibility.

    Creating your own template and removing $quick_view modal in the code won’t work. You’ll need to apply a filter:

    add_filter( 'bigcommerce/template/wrapper/attributes', function( $attributes, $template ) {
      if ( $template === 'components/products/product-card.php' ) {
        unset( $attributes[ 'data-js' ] );
      }
      return $attributes;
    }, 10, 2 );
Viewing 1 replies (of 1 total)
  • The topic ‘Disabling Quick View’ is closed to new replies.