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

@ -105,10 +105,7 @@ if(!is_user_logged_in()){
bottom: 5.9mm; /* Adjust this value to set the distance from the bottom of the label */
left: 0;
right: 0;
}
}
.label .order-details p {
margin-block: 0.5mm;
@ -154,6 +151,7 @@ if(!is_user_logged_in()){
$product_categories = get_the_terms($product_id, "product_cat");
$is_coffee = false;
$is_subscription = false;
$is_organic = false;
if (
!empty($product_categories) &&