When we are using the commerce_autosku module, inline_entity_form doesn't display the pattern used to generate the sku.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

theo_’s picture

Status: Active » Needs review
FileSize
1.55 KB

Here is the patch to handle that.

GuGuss’s picture

FYI: Some more infos in that closed issue: #1695892: SKU auto-generated message is confusing

Chris Matthews’s picture

Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Assigned: theo_ » Unassigned
Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs reroll

The 6 year old patch to commerce_product.inline_entity_form.inc does not apply to the latest inline_entity_form 7.x-1.x-dev and if still applicable needs a reroll.

Checking patch includes/commerce_product.inline_entity_form.inc...
error: while searching for:
        $entity_form['sku']['#access'] = FALSE;
      }
      else {
        $entity_form['sku']['#description'] = t('Will be auto-generated when the form is saved.');
      }
    }
    // Hide the title field if it is auto-generated.

error: patch failed: includes/commerce_product.inline_entity_form.inc:195
error: includes/commerce_product.inline_entity_form.inc: patch does not apply