购物车的“操作”部分中某些操作员处于状况中。
/**
* Default operator options getter
* Provides all possible operator options
*
* @return array
*/
public function getDefaultOperatorOptions()
{
if (null === $this->_defaultOperatorOptions) {
$this->_defaultOperatorOptions = [
'==' => __('is'),
'!=' => __('is not'),
'>=' => __('equals or greater than'),
'<=' => __('equals or less than'),
'>' => __('greater than'),
'<' => __('less than'),
'{}' => __('contains'),
'!{}' => __('does not contain'),
'()' => __('is one of'),
'!()' => __('is not one of'),
];
}
return $this->_defaultOperatorOptions;
}
我想了解针对自定义属性和基于类别的条件(可配置产品)的特定运算符功能
'==' => __('is'),
'!=' => __('is not')
如果有人知道..请给我解释