Skip to content

Defined conditions not visible in edit mode for widget Catalog Products List #2913

@twiking

Description

@twiking

Steps to repeat

  1. Go to Admin -> Content -> Pages, and edit a page.
  2. Add a new widget to the page
  3. Select Catalog Product Lists as the widget type.
  4. Create a condition
  5. Select Product attribute -> Category
  6. Click on ... and select a category
  7. Insert the widget
  8. Click on "Save and Continue Edit"
  9. Double click on the widget (with WYSIWYG editor mode enabled)

Expected result: The defined conditions should be shown.
Actual result: The defined conditions are not shown.

The conditions are saved correctly. Confirmed by looking at the source

{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Product Top List" products_count="10" template="product/widget/content/grid.phtml" conditions_encoded="a:2:[i:1;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Combine`;s:10:`aggregator`;s:3:`all`;s:5:`value`;s:1:`1`;s:9:`new_child`;s:0:``;]s:4:`1--1`;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Product`;s:9:`attribute`;s:12:`category_ids`;s:8:`operator`;s:2:`==`;s:5:`value`;s:1:`6`;]]"}}

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
JS errors: None

Metadata

Metadata

Assignees

Labels

Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions