Initialise $is_new to prevent warning on live site
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2024-07-09 00:19:57 -04:00
parent 39ba56eca6
commit dfdf13cf6f

View File

@ -132,6 +132,8 @@ if(!is_user_logged_in()){
$j = 0;
$is_new = false;
foreach ($items as $item) {
// checking if product is a coffee
$product_id = $item->get_product_id();