src/Backend/Modules/Commerce/Domain/Product/Product.php
/**
     * Check if product has a special price going on at the moment.
     */
Check if product has a special price going on at the moment.
Check if product has a special price going on at the moment .
public function hasActiveSpecialPrice(): bool
    {
        $this->calculateActivePrice();
        return $this->hasActiveSpecialPrice;
    }
public function hasActiveSpecialPrice ( ) : bool { $ this -> calculateActivePrice ( ) ; return $ this -> hasActiveSpecialPrice ; }
Check if product has a special price going on at the moment.
Check if product has a special price going on at the moment .