Exactly like you can with auto_nodetitle and auto_entitylabel. Is this in the works?

Comments

superjerms’s picture

Issue tags: -auto_nodetitle
savinsur’s picture

I 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.

superjerms’s picture

Actually, 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."

thirdender’s picture

Issue summary: View changes

Actually, it'd be nice to be able to alter the generated SKU with a hook_, something similar to what Pathauto provides with hook_pathauto_alias_alter. Would it make sense to implement drupal_alter?

zmove’s picture

+1. It would be helpful to have a textarea zone accepting php to generate the sku you want.