0

I am working on Magento Enterprise 2.2.5, I want to set a special price for some products but Special Price From Date and Special Price To Date are not visible. Can someone have an idea how we can add these to products?

According to Magento docs, we should have a date https://docs.magento.com/m2/ce/user_guide/catalog/product-price-special.html

https://gmkr.io/s/5bb47cb8f30a05168c6836cb/0

6
  • maybe this link will help you
    – Hitesh
    Oct 3 '18 at 8:37
  • But they have done modification in mailchimp/mc-magento2 module. I am not sure how this module is related to backend part
    – Daniel_12
    Oct 3 '18 at 8:45
  • follow this link to add To date and From date in Enterprise Edition
    – Hitesh
    Oct 3 '18 at 8:47
  • I followed the link add schedule update for product but it still doesn't seem to work on frontend. Still have regular price
    – Daniel_12
    Oct 3 '18 at 9:10
  • you can add special price and from 2 to date in products via csv. adding these columns in your csv : special_price special_price_from_date special_price_to_date Date format is like : 3/21/19 Mar 22 '19 at 13:23
1

For enterprise Magento 2 versions, we need to schedule an update as mentioned here - https://docs.magento.com/m2/ee/user_guide/catalog/product-price-special.html

0

You can enable the special price dates in admin by overriding the attributesToEliminate param in Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav, via your custom module's di.xml:

    <virtualType 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>
            </argument>
        </arguments>
    </virtualType>

This excludes the special_from_date and special_to_date items that are normally included via vendor/magento/module-catalog-staging/etc/adminhtml/di.xml

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.