File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
use Magento \Framework \Event \ObserverInterface ;
9
9
10
- class SetSpecialPriceStartDateObserver implements ObserverInterface
10
+ /**
11
+ * Set value for Special Price start date
12
+ */
13
+ class SetSpecialPriceStartDate implements ObserverInterface
11
14
{
12
15
/**
13
16
* @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface
@@ -24,7 +27,7 @@ public function __construct(\Magento\Framework\Stdlib\DateTime\TimezoneInterface
24
27
}
25
28
26
29
/**
27
- * Setting Special Price start date
30
+ * Set the current date to Special Price From attribute if it empty
28
31
*
29
32
* @param \Magento\Framework\Event\Observer $observer
30
33
* @return $this
Original file line number Diff line number Diff line change 52
52
<observer name =" legacy_categorytree_load_after" instance =" Magento\Framework\EntityManager\Observer\AfterEntityLoad" />
53
53
</event >
54
54
<event name =" catalog_product_save_before" >
55
- <observer name =" set_special_price_start_date" instance =" Magento\Catalog\Observer\SetSpecialPriceStartDateObserver " />
55
+ <observer name =" set_special_price_start_date" instance =" Magento\Catalog\Observer\SetSpecialPriceStartDate " />
56
56
</event >
57
57
</config >
You can’t perform that action at this time.
0 commit comments