Entityreference Instead of Product Reference

Component ID

1679844

Component name

Entityreference Instead of Product Reference

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

You can't always use modules built for entityreference to elicit designed behaviors of a product_reference. This patch and module allow you to use an entityreference as the field to which to apply the add_to_cart_form field formatter. The module does this with awkward/intrusive alter hook implementations, which is what motivates the patch.