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 8111607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:11:12+00:00 2026-06-06T02:11:12+00:00

I need to know how to retrieve each product’s custom options (name/value) in an

  • 0

I need to know how to retrieve each product’s custom options (name/value) in an order.

For example in my order I have 1x product of lets say “Coloured Crayon”.
This product has a custom option of “Colour” which the customer selects when adding the product to their basket.

When I process the customer’s order I would like to be able to retrieve the option name and option value.

Note 1
Using Magento 1.7 community edition, developing in .Net using SOAP with Magento API v2.

I discovered that a salesOrderEntity Items property called product_options contains what looks like a JSON encoded list of product option VALUES ONLY. This list contains no attribute names but instead has what looks like ID’s where I’d think to see option names.

salesOrderEntity theOrder = apiService.salesOrderInfo(sSessionId, "100000001");      
string sProductOptions = theOrder.items[0].product_options; // returns JSON like string syntax
  • 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-06-06T02:11:13+00:00Added an answer on June 6, 2026 at 2:11 am

    After further investigation I’ve discovered that the response I am getting from the product_Options property is serialised php (wth?).

    It looks something like this (similar to JSON) if you neaten it up:

    a:3:{s:7:"colours";a:3:{i:0;s:4:"pink";i:1;s:6:"orange";i:2;s:3:"red";}s:6:"intkey";i:1;s:6:"colour";s:4:"blue";}
    

    I’ve looked around and found a C# php serialiser/deserialiser and have successfully deserialised the response from the API.

    Here is the link to the C# deserialiser.

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

Sidebar

Related Questions

I need to retrieve a value from a website (can vary and I have
I need to know if all the client-side validator checks have succeeded, or if
I have situation in which i'm compelled to retrieve 30,000 records each to 2
Let say that for each customer you have to dynamically create a database when
I have a function that takes a parameter(key) to retrieve it's value from a
Say I have two tables, users and groups each of which has an auto-incrementing
I would like to know how to retrieve all results from each <p> tag.
I need to get(retrieve) updated cell value in controller. (MVC) So I tried this,
I have the following XML structure: <servers> <hostname>ABC01</hostname> <hostname>ABC02</hostname> </servers> I need to retrieve
Need to know this so that i could send DTMF and that is going

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.