Product classes
fehin - March 21, 2009 - 17:57
| Project: | Ubercart Marketplace |
| Version: | 5.x-1.0-beta5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I checked the box under "Automatically calculate commission" in seller's settings page to hide the seller commission field in the product submission form and it works for product content type. However when I create product classes, the field shows and I don't know how to hide it.

#1
I believe I am taking into consideration product classes in my hook_form_alter. One important item to note, which you will have to confirm, is that even if the said setting is enabled, admins can still see the field. In other words, for the field to disappear, the user must not have administer products permission. If you are aware of this note, I am not sure ATM and will have to take a peak. Also, just to check, are you using the dev version?
#2
Please ignore. I cleared my cache and things seems to be looking fine now.