Magento News
Magento Inherit EAV collection
I have created a custom module and tables for that.
1) How can I use EAV Collection functions on my custom table collection – addExpressionAttributeToSelect, I have to use Count, SUM functions .
for example say I have tableA and tableB
table A has some SKU data, tableB has sales data for SKUs(Multilines for a SKU)
`$collection = Mage::getModel('Module/tableA')->getCollection();`,
Now I need one more column(sum of total sale) in this collection from tableB IF sold date is between two dates.
2) How to write inner queries While preparing collection.
Magento Inherit EAV collection
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed