lillik/magento2-price-decimal

special price remains with 2 decimals

Parism opened this issue · 1 comments

Hello,

I face the issue of special price remaining with 2 decimal point accuracy regardless of your module's precision setting.

You can comment code or remove the below file.
code:

<virtualType name="Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Pool" type="Magento\Ui\DataProvider\Modifier\Pool">
    <arguments>
        <argument name="modifiers" xsi:type="array">
            <item name="pricetab" xsi:type="array">
                <item name="class" xsi:type="string">Lillik\PriceDecimal\Ui\DataProvider\Product\Modifier\Price</item>
                <item name="sortOrder" xsi:type="number">200</item>
            </item>
        </argument>
    </arguments>
</virtualType> 

app/code/Lillik/PriceDecimal/etc/adminhtml/di.xml
This code for product price in the backend.