Posted by pvhee on January 12, 2012 at 3:05pm
11 followers
| Project: | Commerce features |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Are there any plans to add support for exporting shipping services to this module, or would this need to be added in the Commerce Shipping module?
Comments
#1
Features integration for Shipping is in the scope of this module, could you please specify what components you can't export?
#2
I am using commerce_flat_rate, the services that I have created for this shipping method, and the associated rules, do not appear to be exportable.
#3
Should we change the title to "Commerce flat rate exportable with commerce features" ? or something like that ?
here is a patch to allow commerce_flat_rate (and only that) to be exported in commerce_features.
#4
Forgot to reset the shippings_services when we rebuild the features (the methods don't show unless we clear cache)
#5
I'd rather see a generic shipping export instead of having a file per service.
#6
This is #4 + the same fix I added to other files in #1572330: Don't cause excessive cache and menu rebuilds.
I will reroll to address feedback soon.
#7
Another try. Changed the default hooks used, from 'commerce_flat_rate_default_services' to 'commerce_shipping_service' and also add a key in the export that is generated to be able to identity this export as a features one. (that will help in an other path for commerce_shipping to not throw some code if we are importing a features - but not sure this is a correct approach)