Skip to main content
3 of 7
added 2 characters in body
Init
  • 395
  • 6
  • 21

magento2 - how to create Scheduled Changes (Magento_CatalogStaging module) of product programmatically?

I want to set "Special Price" for product from date to date programmatically by code but don't know how. I can set in admin use

[![enter image description here][1]][1]

then [![enter image description here][2]][2]

but I want use code to set programmatically. If anyone know, please advice. [1]: https://i.sstatic.net/gbajF.png [2]: https://i.sstatic.net/avvWk.png

Init
  • 395
  • 6
  • 21