Question

I've store in Magento ver. 2.1.4 Enterprise. I am trying to add News to date and special date for products. I can't see it in admin. I've checked and attribute is available but its doesn't show in admin product page.

There is also 1 another problem. I can't set special price for configurable product.

See below screenshot for more detail.

enter image description here enter image description here Anyone got this kind of issue?

Update:

I've already run below commands.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
php bin/magento cache:clean
php bin/magento indexer:reindex

Update:

When i use mass update for update product attribute i can see dates. see screenshot below. only problem when add/edit product. enter image description here

Was it helpful?

Solution

Magento intentionally hid these values in Enterprise Edition (see vendor/magento/module-catalog-staging/etc/adminhtml/di.xml).

<type name="Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav">
    <arguments>
        <argument name="attributesToEliminate" xsi:type="array">
            <item name="news_from_date" xsi:type="string">news_from_date</item>
            <item name="news_to_date" xsi:type="string">news_to_date</item>
            <item name="custom_design_from" xsi:type="string">custom_design_from</item>
            <item name="custom_design_to" xsi:type="string">custom_design_to</item>
            <item name="special_from_date" xsi:type="string">special_from_date</item>
            <item name="special_to_date" xsi:type="string">special_to_date</item>
        </argument>
    </arguments>
</type>

Per their documentation, they want you to use Scheduled Updates for special price

http://docs.magento.com/m2/ee/user_guide/catalog/product-price-special.html

OTHER TIPS

Run

php bin/magento indexer:reindex
php bin/magento cache:flush
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top