This project is not covered by Drupal’s security advisory policy.
Product Choice is a product management tool that works with Commerce Product Types. It helps you better control the uniformity and standardization of your product specification data.
Use case: you want to add a field to a Commerce Product type that requires users to select a value from a list of choices. You find that a Text List type field is too limiting, so perhaps you'll create a new Taxonomoy Vocabulary and use an Entity Reference field to link to this vocabulary. But...if you find that a taxonomy vocabulary doesn't quite meet your needs, then this Product Choice module might provide a good alternative.
When installed, you will be able to add to product types an entity reference field to a "product choice term." Each product choice list (bundle) of terms provides a set list of choices for the field input. Also, a custom "Product choice label" formatter lets you specify which form of the term you want to display: the default label, a shortened label, a formatted label, or an icon.
For example, a Storage Conditions product choice list could be created with term values such as:
label: Store at -20°C.
shortened label: -20°C
label: Store at room temperature.
shortened label:
label: Store at -20°C. PROTECT FROM MOISTURE.
shortened label: -20°C
label: Store in a sealed container at 2-8°C.
shortened label: 2-8°C
The default label might appear on a product description page, while the shortened version could be used on a product package label where space is more limited.
A formatted label option could be used for the case in which simple formatting such as italics is required.
Icons could be used as a way to "tag" products as "New!" or "BSE-free" (or "Peanut-free").
Features:
- A product choice list does not contain any duplicate "default label" values, which are required (no blanks).
- Options exist for handling blank "formatted" or "shortened" label values, including defaulting to the "default label" text.
- Optionally set Help Text for term data entry pages for each list.
- For the formatted label option, you can specify which text formats are available for term data entry.
- A Usage page lets you see all products (their product types, and published status) that currently use a particular product choice term.
- Deletion of both terms and lists is blocked if they are currently in use.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: E-commerce
- Created by lisastreeter on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.