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

Feature Request: Item Basket with Shopping Cart Widget #2

Open
1mak opened this issue Dec 19, 2018 · 1 comment
Open

Feature Request: Item Basket with Shopping Cart Widget #2

1mak opened this issue Dec 19, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@1mak
Copy link

1mak commented Dec 19, 2018

Here's and idea:

The current Item Basket widget could be extended with a quick overview of shopping cart items that are in the list. These items could be passed on in an array through a property. Additionally two optional links could be passed on via prop to display buttons that link to a cart items overview page and to a checkout page.

Example:

items: [{
  id: 1,
  title: 'Product A',
  price: '100.00',
  discount: '20.00',
  image: 'example.jpg',
  quantity: 2,
}]

links: [{
cart: {
  url: 'http://example.com/cart',
  variant: 'secondary'
},
checkout: {
  url: 'http://example.com/checkout',
  variant: 'primary'
}

Concerns: Not sure how to go about making the removal of individual items work in a generic way.

@Shreerang
Copy link
Owner

Thanks for the feature request @1mak. I am back to working on the library again in the new year after finishing up work-work 😄Happy new year to you and to the rest of Github 🎆

Picking up from where we left the conversation on Reddit.

This is a great idea and will be an excellent feature add. I am going to look at various popular e-commerce sites on how they implement this and then come up with a design for this. This might take some time, but I will definitely get this in.

@Shreerang Shreerang self-assigned this Jan 11, 2019
@Shreerang Shreerang added the enhancement New feature or request label Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants