Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $collection = Mage::getModel('catalog/product')->getCollection()->addAttributeToSelect('*');
- $collection->getSelect()->join('my_designs', 'product_id=entity_id')->where('my_designs.customer_id','1');
- $collection->load();
- echo "<pre>";
- print_r($collection->getData());
- ?>
Add Comment
Please, Sign In to add comment