0

I am using Magento 2.2.6

while I try to add a widget with conditions like this.

I have only one condition is special price > 1

{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" 
show_pager="0" products_count="10" 
template="Magento_CatalogWidget::product/widget/content/grid.phtml" 
conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^],`1--1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Product`,`attribute`:`special_price`,`operator`:`>=`,`value`:`1`^]^]"}}

Than i am getting error like this

main.CRITICAL: Unknown condition operator {"exception":"[object] (Magento\Framework\Exception\LocalizedException(code: 0): Unknown condition operator at /vendor/magento/module-rule/Model/Condition/Sql/Builder.php:147)"}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.