Skip to content

Commit

Permalink
Merge branch 'integration' into release/5.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybeckr committed May 5, 2022
2 parents c390477 + 0b47686 commit 0e19c93
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Plugin/CustomerData/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class Cart
*/
public function __construct(
Session $checkoutSession
)
{
) {
$this->checkoutSession = $checkoutSession;
}

Expand All @@ -33,8 +32,7 @@ public function __construct(
public function afterGetSectionData(
\Magento\Checkout\CustomerData\Cart $subject,
$result
)
{
) {
$result['amzn_pay_only'] = $this->checkoutSession->getQuote()->isVirtual();

return $result;
Expand Down

0 comments on commit 0e19c93

Please sign in to comment.