This commit is contained in:
parent
2bb5cf122c
commit
de601b4266
@ -126,6 +126,8 @@ if(!is_user_logged_in()){
|
|||||||
|
|
||||||
$order_subscription_coffees = get_field("coffees", $order_id);
|
$order_subscription_coffees = get_field("coffees", $order_id);
|
||||||
|
|
||||||
|
$j = 0; // Reset $j for each order (claude suggested this)
|
||||||
|
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
// checking if product is a coffee
|
// checking if product is a coffee
|
||||||
$product_id = $item->get_product_id();
|
$product_id = $item->get_product_id();
|
||||||
|
Loading…
Reference in New Issue
Block a user