Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2012 at 17:07 UTC
Updated:
4 Nov 2012 at 23:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
theo_ commentedHere is the patch
Comment #2
bojanz commentedGood.
Comment #3
rszrama commentedI was waiting for a new release of Views to come out to pursue this, and though I talked it over with bojanz in Paris, I can't remember the result of our conversation. However, looking at this again today, I don't see a reason to change the current behavior of the line item summary handler (it's meaningless if there are no line items in the result set) and I actually need to update the order total area handler to not try to render when a valid order couldn't be loaded. I can see why that might need to be displayed in the empty text area if perhaps some filter prevented results from appearing but a valid order argument was found.
So, I'll commit half of this and this some. : D
Oh, I also removed the
unset($form['empty']);from the options form for the order total handler. If we're going to support it, we may as well make the option available again (even if it's never used ; ).Commit: http://drupalcode.org/project/commerce.git/commitdiff/4b4fe4d
Comment #4
theo_ commentedThe issue is back on kickstart.
The fact is that we want to display the Line item summary in any case to have a consistent design.
How it used to & should be :

How it is actually :

That's why we need bring back the empty option on Line item summary.
Comment #5
theo_ commentedComment #6
joshmillerPer bojanz.
My concerns:
Patch does what it sets out to do.
Comment #7
bojanz commentedRerolled. rszrama and I agreed that Commerce shouldn't be unsetting $form['empty'] anywhere.
Comment #8
rszrama commentedAnd done.