Skip to content

[Issue] New product widget #30195

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #27741: New product widget


Description (*)

In Magento 2 New products widget can be added via Content -> Elements -> Widgets -> Add New Widget -> Widget Type -> Catalog New Products List

The widget can be displayed either in a Grid view or in a List view. When I click Add to Cart button in the new product widget, the page gets reloaded and adds the product to the cart.

Instead, I have implemented AJAX Add to Cart in the new product widget just like in the product listing page.

Manual testing scenarios (*)

  1. Created a new product widget in the Grid view and checked Add to cart functionality for all types of products like simple, configurable, etc.,
  2. Created a new product widget in the List view and checked Add to cart functionality for all types of products like simple, configurable, etc.,

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    Pull Request in Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions