Skip to content

Commit

Permalink
Remove debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Oct 24, 2023
1 parent 9748053 commit 156022e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,17 +271,6 @@ public function init(): void
}

Craft::setAlias('@commerceLib', Craft::getAlias('@craft/commerce/../lib'));

Event::on(
BaseFrontEndController::class,
BaseFrontEndController::EVENT_MODIFY_CART_INFO,
function(ModifyCartInfoEvent $e) {
$cartArray = $e->cartInfo;
$cartArray['anotherOne'] = 'Howdy';
$e->cartInfo = $cartArray;
}
);

}

/**
Expand Down

0 comments on commit 156022e

Please sign in to comment.