Ubercart Integration
This module provides several features to ubercart products on an Aegir platform.
Requirements
- Hostmaster 6.x-1.0 or higher
- Ubercart 6.x-2.4 or higher
- Patience
Installation
- Download the module and its dependencies into sites/all/modules on your hostmaster platform (
drush @hostmaster dl uc_hosting ubercart
should work) - Activate the clients feature for hostmaster (
admin/hosting/features
) - Enable the module uc_hosting_products. This should enable all dependencies (
drush @hostmaster en uc_hosting_products
)
Creating your first site product
N.B. A video introduction covering configuration is available from the DrupalCon London session Aegir-based Business Models (starting at 26:30).
- Create a product. Make sure it is not shippable. (
node/add/product
) - Edit the product. Go to the features tab.
- Choose the "Create a site and adjust quotas accordingly" feature. It should use the sku of your product automatically.
- Make sure, on the product feature form, to check off "Force clients to create their site on purchase" if you intend for this to be a key-in-hand purchase.
- Now all you need is a drupal platform that any user can create sites on and you are ready to go. (
node/add/platform
)
Creating more complex offerings using product kits
The method we recommend for creating complex offerings, including multiple site quotas and access to restricted platforms, is via Ubercart product kits.
- Enable uc_product_kit.
- Create one or more uc_hosting products.
- Create a product kit with these products in them in the appropriate quantities.
Support
You can report bugs, request support and propose patches via our issue queue on Drupal.org.
Development
If you would like to use uc_hosting to develop your own Aegir dependant product features, be sure to read the relevant documentation.
Check out the roadmap.
Other Resources
- Aegir community site
- Ubercart Documentation
- #aegir IRC channel on freenode