File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
app/code/Magento/Catalog/Model/Product/Attribute/Backend Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -165,19 +165,6 @@ protected function modifyPriceData($object, $data)
165165 /** @var \Magento\Catalog\Model\Product $object */
166166 $ data = parent ::modifyPriceData ($ object , $ data );
167167 $ price = $ object ->getPrice ();
168-
169- $ specialPrice = $ object ->getSpecialPrice ();
170- $ specialPriceFromDate = $ object ->getSpecialFromDate ();
171- $ specialPriceToDate = $ object ->getSpecialToDate ();
172- $ today = time ();
173-
174- if ($ specialPrice && ($ object ->getPrice () > $ object ->getFinalPrice ())) {
175- if ($ today >= strtotime ($ specialPriceFromDate ) && $ today <= strtotime ($ specialPriceToDate ) ||
176- $ today >= strtotime ($ specialPriceFromDate ) && $ specialPriceToDate === null ) {
177- $ price = $ specialPrice ;
178- }
179- }
180-
181168 foreach ($ data as $ key => $ tierPrice ) {
182169 $ percentageValue = $ this ->getPercentage ($ tierPrice );
183170 if ($ percentageValue ) {
You can’t perform that action at this time.
0 commit comments