Problem/Motivation
The cart count in the block currently shows the unique amount of products. I some cases we might want to show the total quantity of alle the products.
Proposed resolution
Add a configuration on the block level to choose if we want to show the quantity of products or total items.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2989072-5.patch | 4.17 KB | mglaman |
| #3 | cart_flyout_config.patch | 3.12 KB | AlexeiK |
| #3 | counter-fix_interdiff.txt | 1.04 KB | AlexeiK |
Comments
Comment #2
harings_rob commentedComment #3
AlexeiK commentedThere was a small issue with counter implementation, the patch fixes this.
Comment #4
mglamanWe can use `.reduce` here since it is an array.
Also, there was no change in the schema.yml definition.:P there is no schema.yml, we'll need to add one.Comment #5
mglamanHere is an updated patch.
Comment #7
mglamanThanks!