Initialise is_organic to avoid warning

This commit is contained in:
3wc 2024-07-10 19:48:04 -04:00
parent 7890a955ce
commit 5832b48479

View File

@ -107,9 +107,6 @@ if(!is_user_logged_in()){
right: 0; right: 0;
} }
.label .order-details p { .label .order-details p {
margin-block: 0.5mm; margin-block: 0.5mm;
} }
@ -154,6 +151,7 @@ if(!is_user_logged_in()){
$product_categories = get_the_terms($product_id, "product_cat"); $product_categories = get_the_terms($product_id, "product_cat");
$is_coffee = false; $is_coffee = false;
$is_subscription = false; $is_subscription = false;
$is_organic = false;
if ( if (
!empty($product_categories) && !empty($product_categories) &&