lillik/magento2-price-decimal

Special price change on product save - multi store edit

vinazoom opened this issue · 3 comments

When i edit special price:
-- The global special price still using decimal exp: 59,000.00
-- The special price edit on a store view: first save to 59,000. Second save to 59

Please fix it

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.

Your solution does not work

The problem comes form the Currency class