Skip to content

Commit 2cb892d

Browse files
committed
ACP2E-1923: Cart Price Rules > Store View Specific Labels are being removed after Schedule updates
1 parent 39ec4fa commit 2cb892d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/SalesRule/Model/Rule/DataProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ public function getData()
103103
$rule->setDiscountQty($rule->getDiscountQty() * 1);
104104

105105
$this->loadedData[$rule->getId()] = $rule->getData();
106+
$labels = $rule->getStoreLabels();
107+
$this->loadedData[$rule->getId()]['store_labels'] = $labels;
106108
}
107109
$data = $this->dataPersistor->get('sale_rule');
108110
if (!empty($data)) {

0 commit comments

Comments
 (0)