Closed (duplicate)
Project:
Commerce (Product Display Manager)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2012 at 08:55 UTC
Updated:
31 Jan 2013 at 13:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
george esper commentedI ran into the same problem. Here's a quick fix that works for our site, which has two product display types.
I also folded in 2 patches:
- Problem with commerce_pdm_display_node_products_form and languages (http://drupal.org/node/1220286)
- Cloning a product via the display manager gives error's (http://drupal.org/node/1536842)
Comment #2
netsensei commentedHm. I can't reproduce this. I created a 2 product types: "Product" and "File" and linked them to the same product display type "product". Then I created Product products and File products referencing them to product display nodes. The product display manager works and shows all products regardless of product type.
I do agree, though, that the query should be rewritten. Perhaps it should rather use EntityFieldQuery (http://api.drupal.org/api/drupal/includes%21entity.inc/class/EntityField...) or even rely on the Entity API module for a more sane approach.
Not gonna fix this, unless someone can give me an exact procedure on how to reproduce this with a standard Commerce and pdm installation.
Comment #3
netsensei commentedOkay. I realised this is a duplicate of #1323376: No products and displays found when having multiple fields