Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6678239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:13:08+00:00 2026-05-26T04:13:08+00:00

I am attempting to load products using the Magento Core API product.create method. Magento

  • 0

I am attempting to load products using the Magento Core API product.create method.

Magento Enterprise 1.10

I am actually having great success with the exception of inserting values for dropdown attributes. It’s my understanding that you simply add the attribute code and it’s associated value as part of the “Params” array when you call the product.create method. I have set up the attributes as dropdowns so they can be included as filter, and I have added the options or “values” before trying to insert the products via the API. No matter what I do the value is not selected after a successful product upload.

Here are examples of my attempted syntax:

'resolution'  => '3000',
'resolution'  => 1,
'resolution'  => array(1),
'resolution'  => array('3000'),
'resolution'  => 3000,

Values of YES/NO are accepted for boolean attributes, and I have no problem passing values to regular text fields. Any insight would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:13:09+00:00Added an answer on May 26, 2026 at 4:13 am

    Ok – so after much trial and error – it appears that you must enter the Attribute Option ID as the value when passing information to dropdown attributes.

    You can use the product_attribute.options method along with the attribute ID to get these IDs – or just check your database.

    Soo – if attribute ‘test-dropdown’ has a dropdown option of ‘orange’ and that option’s ID is ‘220’:

    ‘test-dropdown’ => 220,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to load a dll into MSSQL with: USE dbname GO CREATE ASSEMBLY
I'm attempting to load data from an undocumented API (OsiriX). Getting the NSManagedObject like
I am attempting to load document files into a document library in SharePoint using
I am using Magento 1.5 and am attempting to include a small box in
I'm attempting to load a dll using the System.loadLibrary(myDllFile) that I built on a
I am attempting to load classes dynamically into a component. I am using a
Im attempting to load a hex literal from an xml settings file, I can
I am attempting to load multiple images in AS3 and I'm exploring different options
I'm attempting to use Mono to load a bitmap and print it on Linux
I am attempting to load a dll into a console app and then unload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.