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.
Recently I had to upload a large number of commerce products with an already defined sku pattern. Commerce BPC offered sku generation but did not allow access to any singular tokens, only combinations.
Comment | File | Size | Author |
---|---|---|---|
#7 | commerce_autosku-commerce-bpc-support-1925850-7.patch | 1.32 KB | swim |
#1 | commerce_autosku-bpc-support-1925850-1968266.patch | 1.83 KB | swim |
Comments
Comment #1
swim CreditAttribution: swim commentedPlease find a patch attached.
Cheers,
Comment #2
rbayliss CreditAttribution: rbayliss commentedI'm not sure I understand exactly what this patch is for. You want Autosku to handle the sku generation instead of Commerce BPC?
Comment #3
swim CreditAttribution: swim commentedYes. Commerce BPC did not allow for fine grain picking of token values. Maybe it's too specific to my use case but I needed to use term descriptions & other odd token combinations. Not sure if this is actually helpful to other projects... It was a bespoke client request.
Comment #4
aquaphenixHas this patch been added to dev? I have tried to apply the patch and it doesn't work. I want to build the complete SKU from various taxonomies assign to a product type. I have 3 taxonomies that complete the SKU and I am unable to use them with BPC.
Comment #5
techn0guy CreditAttribution: techn0guy commentedaquaphenix Have you ever found an answer to your problem? I am in the same boat as you.
Comment #6
JosRuiz CreditAttribution: JosRuiz commentedI am interested in this patch, but it is not working. Is there a fix for it?
Comment #7
swim CreditAttribution: swim commentedRe-rolled patch.
Please try the most recently attached, hope it helps.
Comment #9
rbayliss CreditAttribution: rbayliss commentedSorry for the delay - patch applies and appears to work. Committed. Thanks!