Active
Project:
Commerce AutoSKU
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2012 at 21:06 UTC
Updated:
1 Jun 2015 at 12:06 UTC
Jump to comment: Most recent
Exactly like you can with auto_nodetitle and auto_entitylabel. Is this in the works?
Comments
Comment #1
superjerms commentedComment #2
savinsur commentedI used bulkops in views and now my converted Product SKUs all say "Clone of widget A".
Would what you propose help me by allowing a dynamic link to a SKU number? Because I am desperately trying to make my SKU = [Nid]
I have 1,000 records to fix.
Comment #3
superjerms commentedActually, what you're trying to do should work in VBO already. If you have an automatic token set on the product, then it should update correctly as soon as you try to change the item's sku to anything arbitrary. It shouldn't add "clone of."
Comment #4
thirdender commentedActually, it'd be nice to be able to alter the generated SKU with a
hook_, something similar to what Pathauto provides withhook_pathauto_alias_alter. Would it make sense to implementdrupal_alter?Comment #5
zmove commented+1. It would be helpful to have a textarea zone accepting php to generate the sku you want.