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

  • 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. – Rakesh Jesadiya May 9 '17 at 8:47
  • @RakeshJesadiya I've only 1 attribute set: Default and i've run reindex lots of time. – Kul May 9 '17 at 8:49
  • Try with just remove var folder and check – Rakesh Jesadiya May 9 '17 at 8:57
  • @RakeshJesadiya Thanks I've tried that as well. – Kul May 10 '17 at 10:29
5

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

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

Run

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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