91 $this->selection = $saleableItem;
102 if (
null !== $this->
value) {
106 $bundleSelectionKey =
'bundle-selection-' 107 . ($this->useRegularPrice ?
'regular-' :
'')
110 if (
$product->hasData($bundleSelectionKey)) {
111 return $product->getData($bundleSelectionKey);
118 ->getPrice($priceCode)
122 $selectionPriceValue = $this->selection->getSelectionPriceValue();
123 if ($this->product->getSelectionPriceType()) {
125 $price = $this->bundleProduct->getPriceInfo()
130 $this->eventManager->dispatch(
131 'catalog_product_get_final_price',
132 [
'product' =>
$product,
'qty' => $this->bundleProduct->getQty()]
138 $value = $this->priceCurrency->convert($selectionPriceValue);
141 if (!$this->useRegularPrice) {
142 $value = $this->discountCalculator->calculateDiscount($this->bundleProduct,
$value);
144 $this->
value = $this->priceCurrency->round(
$value);
158 $bundleSelectionKey =
'bundle-selection' 159 . ($this->useRegularPrice ?
'regular-' :
'')
162 if (
$product->hasData($bundleSelectionKey)) {
163 return $product->getData($bundleSelectionKey);
188 return parent::getProduct();
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if( $block->displayPriceExclTax()||$block->displayBothPrices())(__('Excl. Tax')) ?>"> <?php if ($block -> displayPriceWithWeeeDetails()): ?> <span class="cart-tax-total" data-mage-init=' Magento Weee Helper Data Magento Weee Helper Data title amount
__construct(Product $saleableItem, $quantity, CalculatorInterface $calculator, \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, SaleableInterface $bundleProduct, ManagerInterface $eventManager, DiscountCalculator $discountCalculator, $useRegularPrice=false, $excludeAdjustment=null)