Attached patch allows product types to add an ftypes key to their info array.

CommentFileSizeAuthor
ec_product.module_DRUPAL-6--4.patch715 bytesdarren oh

Comments

darren oh’s picture

Status: Needs review » Fixed

No objections, so added in CVS commit 196836.

darren oh’s picture

Patch created an infinite loop during installation. Fixed in CVS commit 198150.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gordon’s picture

Status: Closed (fixed) » Active

I 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.

darren oh’s picture

Status: Active » Fixed

That works perfectly. Removed in CVS commit 216558.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.