Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _createProduct()
- {
- $product->setCreatedByCustomerId($customerId);
- $emaildate = Mage::getModel('core/date')->date('Y-m-d H:i:s');
- $data = array('product_id'=>$product->getId(),
- 'customer_id'=> $customerId , 'created_at' => $emaildate);
- $model = Mage::getModel('example/mydesign')->setData($data);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement