Attached patch allows product types to add an ftypes key to their info array.
| Comment | File | Size | Author |
|---|---|---|---|
| ec_product.module_DRUPAL-6--4.patch | 715 bytes | darren oh |
Attached patch allows product types to add an ftypes key to their info array.
| Comment | File | Size | Author |
|---|---|---|---|
| ec_product.module_DRUPAL-6--4.patch | 715 bytes | darren oh |
Comments
Comment #1
darren ohNo objections, so added in CVS commit 196836.
Comment #2
darren ohPatch created an infinite loop during installation. Fixed in CVS commit 198150.
Comment #4
gordon commentedI am now reopening this as I have just added hook_ec_ptypes_alter() which allows you alter the ptypes, which includes adding new features.
I am currently using this in ec_anon to load up the anonymous feature, which also doesn't show this feature as being attached which I think is less confusing.
Also with the new no_cart and no_buynow attributes it is very easy to add additional functionality from other modules without needing to complicate the user side.
If this new hooks can be used to cover the stuff that was committed then we could remove it.
Comment #5
darren ohThat works perfectly. Removed in CVS commit 216558.