Condition/Action Rule Price Validation Magento 2

by BotGun   Last Updated September 14, 2018 15:09 PM

I want create action/condition to validate

if "Final Price" == "Regular Price" coupon accept product (product without any discount)

if "Final Price" != "Regular Price" coupon exclude product (product with any another discount) like on photo

Is there any option to set "regular_price" attribute in "value_select_option"?

I try something like that

public function getValueSelectOptions()

    if ($this->getAttribute() === 'regular_price') {
       $options = [
                    'Regular Price' => $this
        $this->setData('value_select_options', $options);
    return $this->getData('value_select_options');

enter image description here

Related Questions

How can I display catalog rule price in invoice pdf

Updated March 15, 2016 08:03 AM

how to create discounts based on order total?

Updated May 30, 2016 08:03 AM