Skip to content

The CSS used for the "Order and Return" widget is incorrect and due to that widget fields are hidden behind the products on frontend #35806

Open
@csvikram44

Description

@csvikram44

Preconditions and environment

  • Magento Version - I have seen and reproduced an issue in Magento versions 2.4.4 and 2.4.0
  • Orders and Returns Widget - This is the default functionality of Magento that we are showing "Orders and Returns" widget on the front end. I set the admin configuration in my local system to show the "Orders and Returns" widget on the front end and its alignment doesn't seem to be proper. I think the style is not correctly added for the form used in "Orders and Returns".

Steps to reproduce

Example:

  1. Navigate to the admin panel
  2. Go to Content -> Elements -> Widgets and click on "Add Widget" button to create new widget
  3. In the Settings -> Select Widgets Type "Orders and Returns" and Design Theme to "Magento Luma" or "Magento Blank"
  4. Save information like "Widget Title", "Assign to Store Views" and "Layout Updates"
  5. Select "Layout Updates" to display the widget on the frontend of categories in the sidebar
  6. Clean cache and check the frontend

Screenshots:
Orders-Returns-Overlap
Orders-Returns-Wrong-CSS
Orders-Returns-Widget-Type

Expected result

My Suggestion:
I think the CSS that has been used for the form should be removed. Or it can be fixed by using the new CSS for the sidebar widget.

The issue is due to below CSS:
.form.form-orders-search { min-width: 600px; width: 50%; }

Expected result:
Orders-Returns-Expected-Result

Actual result

The problem is due to the below CSS and because of this the width of the widget (Order and Return) is coming more and it hides under the products which can be called an alignment issue.
.form.form-orders-search { min-width: 600px; width: 50%; }

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Area: CatalogComponent: WidgetIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: PR in progressReported on 2.4.4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions