2

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

4
  • first of all you have to check attribute set, above is for only set in default attribute set product. first check product attribute set run indexing command. Commented May 9, 2017 at 8:47
  • @RakeshJesadiya I've only 1 attribute set: Default and i've run reindex lots of time.
    – Kul
    Commented May 9, 2017 at 8:49
  • Try with just remove var folder and check Commented May 9, 2017 at 8:57
  • @RakeshJesadiya Thanks I've tried that as well.
    – Kul
    Commented May 10, 2017 at 10:29

2 Answers 2

7

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

1
  • 1
    Highly recommend checking out @mpchadwick's detailed blog post on the reasoning for this, for those interested: maxchadwick.xyz/blog/…
    – Leland
    Commented Jul 19, 2018 at 15:51
-1

Run

php bin/magento indexer:reindex
php bin/magento cache:flush
3
  • I've already run this commands. See updated question.
    – Kul
    Commented May 9, 2017 at 8:56
  • Try to unassign save reindex & then do reassign & check
    – Jackson
    Commented May 9, 2017 at 9:01
  • Ankit Thanks. I've tried this as well. but no luck
    – Kul
    Commented May 10, 2017 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.