New answers tagged

0 votes

How to get from_date and to_date of cart_rule and catelog_rule in magento 2?

$rules is array public function beforeApplyRules($item, $rules, $skipValidation, $couponCode) { foreach ($rules as $rule) { $fromdate = $rule->getFromDate(); ...
Alexander Bobylev's user avatar

Top 50 recent answers are included