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."
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?
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.