I'm not sure if this is a Drupal Commerce issue or a Date/Calendar issue.
I'm able to see date fields of node types other than Commerce Product.
I've defined event type of products with a date field (start/end). I'm trying to show these on a Calendar. Without a conceptual filter, I am able to see events in the "Upcoming" display. However, in the Block, Year, Month, Day displays, I am not able to reference the correct date field because the date fields of commerce products are not presented as options.
A Relation to the event product is present and I am able to add a normal filter on any of the product's fields, including the date field.
Am I missing something? Or, is there a problem referencing Drupal Commerce Products in Views 3 Conceptual Filters?
Note: I am aware of the security problem with Views. I have granted the View any product of any type and disabled query rewrites. Still no success.
Configuration:
- Date: 7.x-2.0-rc1
- Calendar: 7.x-3.0-alpha2
- Drupal Commerce: 7.x-1.1
Comments
Comment #1
aidanlis commentedI think he means Contextual filter, and I think this is because Drupal Commerce does not implement hook_date_views_fields().
http://drupalcontrib.org/api/drupal/contributions%21date%21date_views%21...
Comment #2
maerys commentedHave some kind of same problem, but different in a small and not uninteresting point: The dates are shown when I look at the calendar as an admin. But all of the users and visitors are not able to see the dates in the calendar view. In my aka the admins view i am able to get the title of the product and it is also possible to link to the product display by adding a relationship.
Would be great, if we could solve this.
(Commerce 7.x.1.3, Views 7.x.3.3, Calendar 7.x.3.4, Date 7.x-2.5)
Comment #3
modctek commentedJust chiming in that I'm running into this same issue (I think). I'd like to create a calendar-based view of products. My product type has the date field, but I need to create the view based on the product display content type so that users can click the calendar entries and hit the product display (and not the product itself). I thought I had it solved, but as the OP pointed out, it looks like those date fields aren't passed through any relationship I can create.
Comment #3.0
modctek commentedCorrected spelling.