Skip to content

Commit

Permalink
Remove duplicated code sample (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdfloyd authored Sep 26, 2024
1 parent 4aad66d commit 4c4b26f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/core/reference/carts.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,6 @@ foreach ($cart->shippingBreakdown->items as $shippingBreakdown) {
}


foreach ($cart->discountBreakdown as $discountBreakdown) {
$discountBreakdown->discount_id
foreach ($discountBreakdown->lines as $discountLine) {
$discountLine->quantity
$discountLine->line
}
$discountBreakdown->total->value
}

foreach ($cart->discountBreakdown as $discountBreakdown) {
$discountBreakdown->discount_id
foreach ($discountBreakdown->lines as $discountLine) {
Expand Down

0 comments on commit 4c4b26f

Please sign in to comment.