People where confused about the fact that there is no useful information around the SKU that is auto generated. Especially for site builders its important to know what the SKU might look like. It would be ideal if we can provide the actual SKU, if not I would love if we could at least provide the token that is used.

| Comment | File | Size | Author |
|---|---|---|---|
| #8 | autosku pattern | 24.54 KB | theo_ |
| autogenerated-token.png | 100.22 KB | Bojhan |
Comments
Comment #1
guguss commentedI'm not sure if it's autoSKU or Inline Entity Form module related. The issue needs to be created to the correct queue and a patch should be applied.
The correct pattern should ideally be : "Will be auto-generated as follow [TOKEN]."
Comment #2
bojanz commentedThe token used is the node title.
That's why it is generated on main form save, when you save just the product form the node title might not be entered yet.
So, the message would look like:
"Will be auto-generated from: [node:title]"
Is that fine, Bojhan?
Comment #3
Bojhan commentedI thought its based on variation information? [node:title] is a little ambiguous, gives as little information as we do now.
Comment #4
bojanz commentedNo, sorry, I was wrong, it's based on PRODUCT title. But the product title is node title + all product attributes.
That's why it's only a single token, to avoid duplicating the attributes.
Comment #5
guguss commentedComment #6
theo_ commentedHere is the patch on the inline entity form, to display the pattern used when generating the sku.
#1698628: Display AutoSKU used pattern
https://code.drupalcommerce.org/207
Comment #7
Bojhan commentedCan you screen, what this turns into?
Comment #8
theo_ commentedActually it look like this :
Comment #9
jsacksick commentedLet's continue the discussion here #1698628: Display AutoSKU used pattern.