Skip to content

Commit

Permalink
$itmes mispelled causing a lookup to Tweakwise not be used. (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorwulff committed Dec 8, 2023
1 parent f5f5f9a commit 2058f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Block/Checkout/Cart/Crosssell/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ public function afterGetItemCollection(Crosssell $crosssell, $result)
*/
private function getShoppingcartCrosssellItems(array $cartProductIds, array $result)
{
$itmes = [];
$items = [];

if ($cartProductIds) {
if ($this->lastAddedProduct) {
$itmes = $this->getShoppingcartCrosssellTweakwiseItems($this->lastAddedProduct, $result, $cartProductIds);
$items = $this->getShoppingcartCrosssellTweakwiseItems($this->lastAddedProduct, $result, $cartProductIds);
}

if (empty($items)) {
Expand Down

0 comments on commit 2058f5d

Please sign in to comment.