Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.1
Component:
Product
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2012 at 16:29 UTC
Updated:
10 Oct 2015 at 17:47 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedJust to clarify, since I don't recognize the hooks in there, is this integration with a uuid module? And is there any reason it must go into the product module instead of a module like Commerce Features?
Comment #2
matason commentedHi rszrama,
Yes it's integration with Universally Unique IDentifier - http://drupal.org/project/uuid so together with Deploy - http://drupal.org/project/deploy a deployment plan can be created and included in a Feature.
There's a handbook page outlining the process here - http://drupal.org/node/1406136
I guess the same result could be achieved by implementing hook_entity_info_alter() etc although I've not tried that approach.
Comment #3
rszrama commentedDoes Deploy require any additional integration, like we have in Commerce Features? I'm not opposed to the idea on principle, but if there's a viable solution through one of these contributed modules, it may be the best place to start. I'm guessing we'd want uuid support for more than just products (i.e. all of our other entities, too), and wouldn't this require schema updates to add the uuid related columns to our table? Or are those altered on by the uuid module after load?
Comment #4
matason commentedHi rszrama, apologies, I wasn't aware of commerce_features module. I've just have a quick look and it appears to support the exporting of the structure of entities which is great, I'll check it out further to see whether it supports exportable entity content which is what I am attempting to do.
If commerce_features module doesn't support exportable entity content then I'll also look at whether it makes more sense to focus a patch there rather than commerce.
Agreed, you'd want all entities exportable and yes those schema updates on done on an alter based on properties set on the entity by uuid module.
Comment #5
pcambraThis seems to me like a commerce_uuid module :)
Comment #6
matason commentedHi pcambra, so I started work on it over there - http://drupal.org/sandbox/matason/1421900
Comment #7
nvahalik commentedThe functionality can be found in Commerce UUID.