Ubercart Attribute Per Role

Component ID

1329402

Component name

Ubercart Attribute Per Role

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

720

Component created

Component changed

Component body

What is Ubercart Attribute Per Role?

uc_attribute_per_role allows site administrators to define on a per-role basis which attributes should be hidden to the users of an Ubercart site. For example, the site administrator could have the a 'gift wrap' attribute hidden for members of the 'wholesale' role.

Hidden attributes are removed from the Ubercart product add to cart forms and thus do not display on the cart, checkout or order forms either.

Requirements

Known problems

  • Required attributes displayed in the form of form elements that get a default
    value set (for example, select boxes) may affect a product's price even though
    it is not actually displayed to the user.
  • Role weights is not implemented by design. Users who are members of multiple roles will simply have attributes hidden according to the matching attribute per role definitions for each of those roles.

Tutorials

For installation and configuration instructions, please see the module's README.txt file.

Credits

This module was generously sponsored by PALAS Jewellery and developed by Grindflow Management LLC.

Similar projects

The Ubercart Price Per Role module performs a similar function but sets the product price per role instead of hiding attributes based on role.