From d3154c640986724aa50afb7e773cd4ac58413357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 21 Feb 2024 18:00:10 +0100 Subject: [PATCH] Add conditional rendering for optional products label --- resources/views/billing-portal/v3/cart/cart.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/billing-portal/v3/cart/cart.blade.php b/resources/views/billing-portal/v3/cart/cart.blade.php index 00bb7523367c..39c846df96c8 100644 --- a/resources/views/billing-portal/v3/cart/cart.blade.php +++ b/resources/views/billing-portal/v3/cart/cart.blade.php @@ -9,7 +9,9 @@ :context="$context" /> -

{{ ctrans('texts.optional_products') }}

+ @if($this->showOptionalProductsLabel()) +

{{ ctrans('texts.optional_products') }}

+ @endif