Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RegularPrice.php
Go to the documentation of this file.
1 <?php
8 
11 
16 {
20  const PRICE_CODE = 'regular_price';
21 
27  public function getValue()
28  {
29  if ($this->value === null) {
30  $price = $this->product->getPrice();
31  $priceInCurrentCurrency = $this->priceCurrency->convertAndRound($price);
32  $this->value = $priceInCurrentCurrency ? (float)$priceInCurrentCurrency : 0;
33  }
34  return $this->value;
35  }
36 }
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
$price