Solved

Two Modules, Foo and Moo, Both Rewrite the Catalog/product Model

Question 66

Multiple Choice

Two modules, Foo and Moo, both rewrite the catalog/product model, but only the Moo module's rewrite is being used. Both modules Foo and Moo reside in the community code pool. Which two approaches allow the functionality from both classes to be used? (Choose two)


A) Copy Foo_Model_Product to the local code pool.
B) Copy Moo_Model_Product to the local code pool and merge the logic from Foo_Model_Product into it.
C) Copy Moo_Model_Product to the local code pool and make it extend Foo_Model_Product, making sure the logic of both classes does not conflict.
D) Copy Moo_Model_Product to the local code pool.
E) Change the rewrite directive of the Moo module to rewrite foo/product instead of catalog/product.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents