From 5832b48479a3980c0012617da2f842cfb64e963e Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Wed, 10 Jul 2024 19:48:04 -0400 Subject: [PATCH] Initialise is_organic to avoid warning --- wp-content/themes/mont58-coffee/template-order-label.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/mont58-coffee/template-order-label.php b/wp-content/themes/mont58-coffee/template-order-label.php index 1a767f4..f81cf00 100644 --- a/wp-content/themes/mont58-coffee/template-order-label.php +++ b/wp-content/themes/mont58-coffee/template-order-label.php @@ -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) &&