We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4b276 commit 21ad13fCopy full SHA for 21ad13f
app/code/Magento/Tax/Pricing/Render/Adjustment.php
@@ -183,8 +183,8 @@ public function displayPriceExcludingTax()
183
*/
184
public function getDataPriceType()
185
{
186
- if ( $this->getData('price_type') !== 'finalPrice' && $priceType = $this->getData('price_type')){
187
- return 'base' . ucfirst($priceType);
+ if ($this->getData('price_type') && $this->getData('price_type') !== 'finalPrice') {
+ return 'base' . ucfirst($this->getData('price_type'));
188
}
189
return 'basePrice';
190
0 commit comments