diff --git a/src/BigCommerce/Templates/Cart_Items.php b/src/BigCommerce/Templates/Cart_Items.php index 0bd48178..dcf33b41 100644 --- a/src/BigCommerce/Templates/Cart_Items.php +++ b/src/BigCommerce/Templates/Cart_Items.php @@ -18,7 +18,12 @@ class Cart_Items extends Controller { protected function parse_options( array $options ) { $defaults = [ self::CART => [], - self::IMAGE_SIZE => Image_Sizes::BC_SMALL, + /** + * Filter the image size used for cart item image + * + * @param string $IMAGE_SIZE The image size to use + */ + self::IMAGE_SIZE => apply_filters( 'bigcommerce/template/cart_items_image/size', Image_Sizes::BC_SMALL ), ]; return wp_parse_args( $options, $defaults );