-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from magento-goinc/MAGETWO-35590
[GoInc] Private content rendering + Bugs + Define Public Api
- Loading branch information
Showing
332 changed files
with
4,492 additions
and
3,494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Bundle\CustomerData; | ||
|
||
/** | ||
* Bundle item renderer | ||
*/ | ||
class BundleItem extends \Magento\Checkout\CustomerData\DefaultItem | ||
{ | ||
/** | ||
* Gift card catalog product configuration | ||
* | ||
* @var \Magento\Bundle\Helper\Catalog\Product\Configuration | ||
*/ | ||
protected $bundleConfiguration; | ||
|
||
/** | ||
* @param \Magento\Catalog\Model\Product\Image\View $productImageView | ||
* @param \Magento\Msrp\Helper\Data $msrpHelper | ||
* @param \Magento\Framework\UrlInterface $urlBuilder | ||
* @param \Magento\Catalog\Helper\Product\Configuration $configurationHelper | ||
* @param \Magento\Checkout\Helper\Data $checkoutHelper | ||
* @param \Magento\Bundle\Helper\Catalog\Product\Configuration $bundleConfiguration | ||
*/ | ||
public function __construct( | ||
\Magento\Catalog\Model\Product\Image\View $productImageView, | ||
\Magento\Msrp\Helper\Data $msrpHelper, | ||
\Magento\Framework\UrlInterface $urlBuilder, | ||
\Magento\Catalog\Helper\Product\Configuration $configurationHelper, | ||
\Magento\Checkout\Helper\Data $checkoutHelper, | ||
\Magento\Bundle\Helper\Catalog\Product\Configuration $bundleConfiguration | ||
) { | ||
parent::__construct($productImageView, $msrpHelper, $urlBuilder, $configurationHelper, $checkoutHelper); | ||
$this->bundleConfiguration = $bundleConfiguration; | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function getOptionList() | ||
{ | ||
return $this->bundleConfiguration->getOptions($this->item); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
app/code/Magento/Bundle/view/frontend/layout/checkout_cart_sidebar_item_renderers.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ | |
*/ | ||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface AttributeSetManagementInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ | |
*/ | ||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface AttributeSetRepositoryInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ | |
|
||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface CategoryLinkManagementInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ | |
|
||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface CategoryLinkRepositoryInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
|
||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface CategoryManagementInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
|
||
namespace Magento\Catalog\Api; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface CategoryRepositoryInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
|
||
namespace Magento\Catalog\Api\Data; | ||
|
||
/** | ||
* @api | ||
*/ | ||
interface CategoryTreeInterface | ||
{ | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.