•I am setting up a site using Drupal Commerce with three different product groups defined by both product and content type
•Each type has 80 individual products
•A portion of these products are variable – meaning that I am consolidating them by allowing multiple values in the product reference
•When I was in Drupal core version 7.19 I was able to see all 80 product references to select from when creating display nodes
•Now that I am in Drupal core version 7.2 the list of available product references cuts off after 50 items
•So for example if I delete product #1 then product #51 becomes visible – and it doesn’t seem to matter how many different product and related content types exist
•However if I create the products via a feed they still create just fine with all the relevant information
•I can see a work-around by fiddling with the sequence of the products listed in my .csv so that the “individual” products come after the 50 item cut off, but it seems less than perfect

This appears to be related to the file at: commerce/modules/product_reference/product_reference.module

at this line:
function commerce_product_reference_options_list($field, $instance = NULL) {

changing the line to this:
foreach (commerce_product_match_products($field, $instance) as $product_id => $data) {

addresses the problem on my local server, however does not work when attempted on a development site on a shared server

Comments

rszrama’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Closed (duplicate)