I am getting error while uploading customer in magento - magento

when importing customer into magento (magento 1.2.0.0) I dnt get any error when i upload the following data with other magento customer data.
It seems magento usually skip this raw. But when i only put the following rows then i got error Email is not specific.
_address_middlename,firstname,lastname,email,password_hash,middlename,_address_firstname,_address_lastname,_address_street,_address_postcode,_address_city,_address_country_id,_address_region,_address_telephone,created_at,_website,_store,created_in,group_id,reward_update_notification,reward_warning_notification
25422:25566:1800wc,nelsdon,carddona,test#yahoo.com,nelcar082,,Elizabeth,Pollack,2512 Candle Ridge Drive,21702,Frederick,US,Maryland,301-695-8390, X307,2006-03-22 18:47:00,base,default,"Default Store View",1,0,0
anyone can give me solution.

You might want to take a look at this:
Magento Email validation on Customer Import
Then be sure to examine whether or not test#yahoo.com is a valid e-mail according to the Zend e-mail validator in /app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php as the link above indicates.

Related

Magento SOAP API - getting product attachments

I am using SOAP API for Magento to get every data about products made in Magento. So far, everything went juuust fine, you get get everything using API commands which are in Magento documentation.
However, I am stuck with attachments. There is a attribute in Magento called "Attachments" for each product and it contains links to pdf files. I tried every API and trick including exports and filters and I can't get that data. Unfortunately, I can work only with API and SOAP v1.
I tried "product_downloadable_link.list" of course, but I get an error: "Caught exception: Incorrect product type. Downloadable content, can be added only to "downloadable" products."
Any advice would be appreciated. Thanks!
Magento 1 or Magento 2?
Also if will be helpful if you provide the API endpoint that you are using, and if this is a Magento 2, the custom attributes are retrievable via extension attributes.

Magento Invoice auto email not sent

Magento 1.9 Community version. I enable invoicing in the system configuration but when a customer purchases a item (virtual) the new order email goes out but not the invoice. Am I missing something?
When you ask magento to invoice you order you need to check near the butto "Send copy of mail"
The sample code works in magento 1.9 sample code
The problem was that I had compilation enabled which did not allowed for any of changes to the code to take place.

Add BCC to Magento sendNewAccountEmail()

I've usually been able to find the Magento answers I need either here or at the Magento forums, but I've tried all the solutions I've found thus far, to no avail.
We have a preliminary screening form for company customers. Only when they've been approved by Sales will we create a Magento storefront account for them. I've rewritten the account creation pages and have that working fine, including sending the new customer their New Account Email. I simply can't get the system to send us a BCC for our records to confirm that registration.
The information in the following post seems outdated, at least I can't find the quoted lines of code in /app/code/core/Mage/Customer/Model/Customer.php or in a search of the app folder:
http://www.magentocommerce.com/boards/viewthread/25535/
I've also tested solutions in /app/code/core/Mage/Core/Model/Email but no luck. Can anybody direct me towards a current solution for Magento Community 1.7 to add a BCC to a New Account email?
Thank you.
In Mage_Customer_Model_Customer::_sendEmailTemplate() check this lines:
$emailInfo = Mage::getModel('core/email_info');
$emailInfo->addTo($this->getEmail(), $this->getName());
Mage_Core_Model_Email_Info has a method addBcc, too.

In magento retrive the details of a single product by REST url

As I am new to magento, I have downloaded magento sample data to mysql database. In the browser if i give the REST URL like this: http://192.168.1.101:8010/magento/api/rest/products it returns the list of products in XML format. But i want the details of a single product. Then what I have to do??
http://192.168.1.101:8010/magento/api/rest/products is the url I got from the magento site.. But they havent give for the product details.
Do i need to wirte any code for my reqiurement??
For http://192.168.1.101:8010/magento/api/rest/customers it shows access denied... How can i get resolve of this..
please go thoroughly wiki of magento, it might help you.here is the link.
For single product your REST request would be as follows
magentohost/api/rest/products/8 where 8 is the id of product.
For second question i.e "Accessed denied" is this due to permission , you have create consumer for admin or customer to get that resource. please check here

How to find which admin user posted the product?

Currently Im working on a magento project and it have a plugin developed by another team. This project have merchant logins also. But the issue I am facing now is. When I add a product from merchant panel, it is not getting displayed in his product list. It is shown in admin product list. I want to track down what userid is entering corresponding to that record inserting from merchant login.
In which table I have look? After searching a lot I believe they are not storing any userid corresponding to each product. But I am not sure about that. How can I confirm that?
Please help me
Thanks in advance
There is no such functionality in magento admin, as far as I know. But you can write your own module to controller_action_predispatch or to core_abstract_model_save_after(or something like this) events. And you will be able to see who did what.
UPDATE 1
If I am right, meaning this is not implemented, then you should your own custom logging module.
Module should use Observer functionality. If you want particullarly catch the product save, then you should catch the events of product saving.
here.
To compare product data you can see an example here.
Well to get current user you can read this example.
Moreover in case it is not enough, you may watch here, something might be interestring for you.

Resources