Initialise $is_new to prevent warning on live site
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
39ba56eca6
commit
dfdf13cf6f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user