Skip to content

Commit

Permalink
Merge pull request #335 from sreichel/feature/events/checkout_cart_pr…
Browse files Browse the repository at this point in the history
…oduct_add_before

Fixed typo, fixes #334
  • Loading branch information
LeeSaferite committed Aug 29, 2017
2 parents 0adfff5 + 72488e9 commit 515eee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Checkout/Model/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function addProduct($productInfo, $requestInfo=null)
$product = $this->_getProduct($productInfo);
$request = $this->_getProductRequest($requestInfo);

Mage::dispatchEvent('checkout_cart_product_add_before', array('request' => $request', product' => $product));
Mage::dispatchEvent('checkout_cart_product_add_before', array('request' => $request, 'product' => $product));

/** @var Mage_Catalog_Helper_Product $helper */
$helper = Mage::helper('catalog/product');
Expand Down

0 comments on commit 515eee7

Please sign in to comment.