Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New product widget #27741

Open
wants to merge 5 commits into
base: 2.4-develop
Choose a base branch
from

Conversation

ajithkumar-maragathavel
Copy link
Contributor

@ajithkumar-maragathavel ajithkumar-maragathavel commented Apr 11, 2020

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)

Resolved issues:

  1. resolves [Issue] New product widget #30195: New product widget

@m2-assistant
Copy link

m2-assistant bot commented Apr 11, 2020

Hi @ajithkumar-maragathavel. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@sidolov sidolov added Priority: P3 May be fixed according to the position in the backlog. Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. labels Sep 25, 2020
@sidolov
Copy link
Contributor

sidolov commented Sep 25, 2020

@magento create issue

@orlangur
Copy link
Contributor

@magento run all tests

@ajithkumar-maragathavel
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Component: Catalog Partner: Ziffity partners-contribution Pull Request is created by Magento Partner Priority: P3 May be fixed according to the position in the backlog. Progress: review Release Line: 2.4 Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”.
Projects
Status: Review in Progress
Development

Successfully merging this pull request may close these issues.

[Issue] New product widget
4 participants