Drupal: Ubercart Product Presets
Customizing products with a lot of options can be quite annoying. Especially when you just want to buy a simple standard product. While Ubercart provides a way to create highly customizable products, it doesn't provide a way to store presets for them. At labor b designbüro I recently developed a module, which lets customers and admins store presets for products and even share them with other customers.
Ubercart Product Presets not only enables customers to store product configurations for later, it also enables admins to create publicly accessible user presets. This offers customers a more convenient way to buy highly customizable products without having to select every single option by themselves. This module is designed to work without any need for further configuration. Simply enable the module using your module management page or via drush.
Admins will now see a new tab Product presets on product forms. Also there will be a new button Save as preset, which enables users to store their current configuration as a product preset.
To create a preset you will have to fill out the product form first. In this example you will customize a T-Shirt with a small size in blue. Also your will add a custom text Test. Maybe you work as a software tester and want to have a personal shirt for our work. Who knows. In this example I just wanted to show you, that all Ubercart attribute types are supported.
After you click on the Save as preset button, you will be taken to a product preset creation form. You should now given the preset a descriptive name. Maybe something better than My preset. Also you can select, if you want to publish this product preset to all customers.
Product presets are primarily managed on a per product basis. The tab Product presets provides you with a list of all product presets you have created for this specific product. There is another way to access product presets, but for now you should return to the product form.
You will now see an additional block Product presets beneath the product form. This is a list of all stored, public product presets for this product.
When you click on one of the links, the previously stored attribute values will be loaded. You can now adjust the configuration to your needs or simply buy the product preconfigured for you.
All product presets that you personally created, are also available through an additional tab Product presets in your user profile. There you can access, edit or delete all product presets you created.
The module is currently available as a sandbox project on drupal.org.
There are no comments yet.