Hey,

thank you for developing such a useful bulk upload tool/ module. We have saved stupid amounts of time using this in combination with commerce product entity creation; which requires a unique image per product variation xD. To achieve the above I have extended upon your admin settings and added the ability for a product display to be set. After a bulk upload has been completed the product entity id's are automatically referenced by the newly created product display node. Further we needed to accesses & add additional field data to the product display. One solution would be to take the selected entity type & bundle and generate a form with that entities currently active fields. Unfortunately this would be rather time intensive and could be prone to problems as the entities fields could change. Instead I have added a basic hook which allows accesses to the node object before it is saved. This allows access to altering or adding field data to the node object.

While of course rather ad hoc to commerce_product entities; a similar method could be used to alter / add data to other entity fields. I see a few issues in this queue which are requesting such functionality.

Please feel free to cherry pick what you do or don't want from the patch.

Cheers,

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swim’s picture