Skip to content

Is there a way to override resource models? #4001

Discussion options

You must be logged in to vote

To override a resource model, here Mage_Reports_Model_Resource_Product_Collection, you must use reports_resource and not reports:

<models>
<reports>
<class>Mage_Reports_Model</class>
<resourceModel>reports_resource</resourceModel>
</reports>
<reports_resource>
<class>Mage_Reports_Model_Resource</class>

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@csl-schlewitz
Comment options

Comment options

You must be logged in to vote
3 replies
@csl-schlewitz
Comment options

@kiatng
Comment options

kiatng May 24, 2024
Collaborator

@csl-schlewitz
Comment options

Answer selected by csl-schlewitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants