Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Cart
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Apr 2015 at 10:08 UTC
Updated:
12 Feb 2016 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vasikehttps://github.com/commerceguys/commerce/pull/182
There is a pull request on this.
Comment #2
vasikepull request updated for the changes from https://github.com/commerceguys/commerce/pull/189
line_items instead of line_item
Comment #3
smccabe commentedThis has been merged in so I think it can be marked as closed now.
Comment #4
vasikeThe PR merged (https://github.com/commerceguys/commerce/pull/189) is not the pone for this issue (even it was API related).
Comment #5
vasikePR updated, using the Cart page approach
- Add new setting for the Order type to select the Cart block view
- Re-work the CartBlock plugin to use the CartProvider the same way Cart page does.
- (and ofcourse) Update the default Cart Block View.
https://github.com/drupalcommerce/commerce/pull/182
Comment #6
bojanz commentedI did research (about 25 ecommerce sites, other ecommerce software), to see what the expected UX is.
All of them have a cart icon showing the number of items in the cart (similar to the Kickstart cart block), and optionally show a div with the cart contents on click.
mglaman will continue working on vasike's patch to achieve that UX.
Comment #7
mglamanPicking up the baton
Comment #8
joshmillerAttached is a diff that is the same as the PR linked here: https://github.com/drupalcommerce/commerce/pull/315
It simple includes the cart icon sans Druplicon as requested by Matt Glaman.
Comment #10
mglamanPR: https://github.com/drupalcommerce/commerce/pull/318
Here is patch. Uses Josh's icons, provides a cart block with hover dropdown to show item details. Has two CSS files. One is base layout, another is theming. That way people can easily remove some of the CSS added so it looks okay out of the box with Bartik (and not need to drop !important or others.)
Comment #11
bojanz commentedBoom. Merged
Demonstration: https://s3-eu-west-1.amazonaws.com/uploads-eu.hipchat.com/42097/2402971/...