<?php
$totals = $block->getTotals() ;
?>
<table class="data table totals">
<tbody>
<?php foreach($totals as $key => $total) :?>
<?php if(!empty($total->getValue())) :?>
<tr>
<td><?= $total->getTitle()->getText() ?></th>
<td>
<span class="price"><?= $this->helper('Magento\Framework\Pricing\Helper\Data')->currency(number_format($total->getValue(),2),true,false) ?></span>
</td>
</tr>
<?php endif ?>
<?php endforeach ?>
</tbody>
</table>
In system.xml file field for multi select of category is like: NOTE: Use Select for Single item and multiselect for multiple in - <field id = "bannerlist" translate = "label" type = " multiselect " <group id = "bannerblock_setting" translate = "label" type = "text" delault = "1" sortOrder = "3" showInDefault = "1" showInWebsite = "1" showInStore = "1" > <label> Setting </label> <field id = "bannerlist" translate = "label" type = "multiselect" sortOrder = "10" showInDefault = "1" showInWebsite = "1" showInStore = "1" > <label> Select Category </label> <!-- <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>--> <source_model> Ipragmatech\Bannerblock\Model\Config\Source\C...
Comments
Post a Comment