Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Apologies if I have missed something obvious and double apologies for my noobieness- but how do we integrate line items into the SKU? For example, we do a lot of custom orders with unique line item text fields and I wondered whether it would be possible to auto-generate an SKU having these line item fields. Is there a token for each line item and if so how can it be passed to the AutoSKU module?
Comments
Comment #1
rbayliss CreditAttribution: rbayliss commentedI don't think this is conceptually possible. A SKU is generated before the product ever becomes a line item, and don't think it'd be possible to change it at the line item level. Theoretically, you could use rules to populate a new text field on the line item based on the SKU value + any other field values though.