MAGENTO 2.1.9 API for Custome Attributes doesnt get the values- URGENT
min $50 USD / hour
Cerrado
Publicado hace más de 6 años
min $50 USD / hour
Hello,
Our developer is having a lot of trouble and we are in need of an expert high level developer with a lot of experience.
The error is : that the Magento API is not getting the values from custom_attributes when we try to add a product with the API : .'/[login to view URL]'
HERE IS THE CODE EXAMPLE:
/// attributes //
$custom_attributes = array(
array( 'attribute_code' => 'category_ids', 'value' => [ $category_id ] ),
array( 'attribute_code' => 'description', 'value' => $product['product_description'] ),
array( 'attribute_code' => 'short_description', 'value' => $product['product_name'] ),
array( 'attribute_code' => 'manufacturer', 'value' => $manufacturer_id ),
array( 'attribute_code' => 'upc_code', 'value' => $product['product_code'] ),
);
$requestUrl= $data['store_url'] .'/[login to view URL]';
$add = [
"product" => [
"sku" => $product['product_sku'],
"name" => $product['product_name'],
"price" => $product['retail_price'] ,
"status" => $product['status_magento'] ,
"visibility" => 4,
"type_id" => "simple",
"attribute_set_id" => 4,
"weight" => 1,
"custom_attributes" => $custom_attributes,
"extension_attributes" => array(
"stockItem"=> array("qty"=> $product['quantity'], "isInStock" => true)
),
]
];
$headers = array("accept: application/json","content-type: application/json","authorization: Bearer ".$data['token']) ;
$ch = curl_init();
$ch = curl_init($requestUrl);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($add) );
$result = curl_exec($ch);
$result = json_decode($result);
$result = (array) $result ;
Here is the error we are receiving:
Error occured during "custom_attributes" processing. A custom attribute is specified withou an attribute code.
If you have experience with this and know how to help us - I will gladly pay you well for your time.
Hello! , I'm a TOP 5th freelancer in this site.
as you see my profile(https://www.freelancer.com/u/kchg.html) I have much good experiences in Magento for 6+ years.
So I just say that I will provide you high quality of work.
Please don't waste your time to find other guy, this is right developer you are looking for.
I hope to work for you for a long time.
Looking for your reply
Best Regards.
kchg.
Hello, I can help you with your API problem. First I will analyze the source, then will prepare checkers if source data will be good. Then will tell you my conclusion about the reason and will describe way to solve this problem. After your confirmation of solution I will implement this.
Approximately that should take from couple hours to a day.
Just contact me by chat and we will discuss everything.
Thanks in advance.
Hi, I’m a Web Designer/Developer from the UK. My name is Mike. Your project description sounds interesting to me and I do have skills & experience that are required to complete this project. Let's have a quick chat when you're online.
Hello,
I have gone over your project requirements and exuberant to work on it. I have extensive experience for this kind of projects & I will customize and do the best in class IT solutions.
Expertise include .Net, Graphic designing, AJAX, Android/iOS app, PHP, laravel, Codeiginiter, YII, WordPress, Magento, Shopify, Woocommerce, Drupal 8, HTML5, CSS, Bootstrap, Javascript & much more.
Contact Us:
We can discuss details on chat here or on Skype.
Regards,
Novaturesol
Hello ,
Hope you're doing well.
I have checked the details mentioned in your project post and would like to confirm our interest in working for your project.
Please let me know ,if we can talk on $-k-y-p-e ca-ll ?
Also share NDA if you need to sign before sharing details.
Note- We are open for interview if required. We are one of the fast growing IT solution provider based in USA.
I read through the job details extremely carefully and I am absolutely sure that I can do the project very well.
Few questions would like to ask here.
1. Can you share detailed SOW ( scope of work) to review and we will add it in the sheet for the hours tracking?
2. Do you have your staging site where we can do our development? Also do we need to work on any existing web system , if yes please share their Cpanel, FTP, Db details too OR share code.
Please let us know what is the best time to chat and go ahead?
Thanks.
~S
I am flexible, good and expertise with Magento, and can troubleshoot problems and have quick solutions.
I did much work to adjust sites for their requirements doing PHP and Magento programming for e-mail subscriptions, pop-ups alerts, not standard registration forms and complicated pop-up menus.
I am also expertise with AWS and Linux as well.
Kindly get back to me
Thanks
NK
"" Magento Expert ""
Hello there,
We are a small but excellent team of designer and developer. If you will hire us then I am damn sure that you will be fully satisfied with my expertise.
I have extensive experience with magento 1 & 2 specifically into magento customization, theme integration, magento theme customization, scratch work on magento, magento extension development, custom product page design, etc.
I have more than 6+ years of extensive experience with PHP, Java, Microsoft.net, WordPress, Magento, Laravel, CI, Photoshop, Illustrator, etc.
I need one small meeting on personal message to discuss the complete requirements and then start the work ASAP.
Looking forward for your kind reply.
Regards,
Hina
Hey, how is it going today? My name is Michael, I'm a web designer/developer from Boston. I've had a look at your project description and feel that my skills match your requirements perfectly. In fact, I did a very similar project recently which I can share with you. Let me know when you have a minute to discuss.
Hello
We are a contemporary and excellent Website design and development team with a focus on user-centered design while helping clients to achieve the desired result.
We are a dynamic and outstanding team with 5+years Expertise in PHP, MYSQL, Shopping cart, Magento, E-commerce, Custom CMS, HTML5, CSS3, Jquery Etc, we can easily handle your task.
thank you
"" Magento Expert ""
Hello there,
We are a small but excellent team of designer and developer. If you will hire us then I am damn sure that you will be fully satisfied with my expertise.
I have extensive experience with magento 1 & 2 specifically into magento customization, theme integration, magento theme customization, scratch work on magento, magento extension development, custom product page design, etc.
I have more than 6+ years of extensive experience with PHP, Java, Microsoft.net, WordPress, Magento, Laravel, CI, Photoshop, Illustrator, etc.
I need one small meeting on personal message to discuss the complete requirements and then start the work ASAP.
Looking forward for your kind reply.
Regards,
sachin
Hii
I have lot of exp in magneto nd I can solve your issue within stipulated time. If you want to discuss about your query you can call me over the chat we will be discuss on there.
Dear Hiring Manager,
I am having a team of experienced Magento 1 & 2 developers. We are currently working for a company but want to establish ourselves as Freelancer.
We will be very pleased to hear from you.
NOTE: We might be a good as well as a cost effective resource for your requirement. Also, we will resolve this in 20 hours if in case this issue is not resolved in 20 hours we wouldn't charge for the additional hours , and can start from today our time UTC +5:30.
PLEASE BELIEVE ON US WE'LL NEVER LET YOU DOWN, & YOU CAN SEE THE RESULT IN JUST 2DAYS.
Thanks,
Yash Dave