Skip to content

Commit

Permalink
fix: prevent warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias authored Nov 14, 2024
1 parent 157f070 commit abf8dd0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public static function get_item_data($cart_data, $cart_item = null) {
$custom_items = $cart_data;
}

if (!isset($cart_item["acore_item_sku"])) {
return $custom_items;
}

$itemId = self::getItemId($cart_item["acore_item_sku"]);
if (!$itemId) {
return $custom_items;
Expand Down

0 comments on commit abf8dd0

Please sign in to comment.