how to output the value?
<pre><code>$i = 1;
 foreach ($product-&gt;getOptions() as $o) {
     $values = $o-&gt;getValues();
     foreach ($values as $v) {
            print_r($v-&gt;getData());
     }
     $i++;
 }
</code></pre>

<p>The above code outputs the following result:</p>

<pre><code>Array
(
    [option_type_id] =&gt; 9
    [option_id] =&gt; 3
    [sku] =&gt; 
    [sort_order] =&gt; 0
    [default_title] =&gt; Black
    [store_title] =&gt; 
    [title] =&gt; Black
    [default_price] =&gt; 0.0000
    [default_price_type] =&gt; fixed
    [store_price] =&gt; 
    [store_price_type] =&gt; 
    [price] =&gt; 0.0000
    [price_type] =&gt; fixed
)
Array
(
    [option_type_id] =&gt; 7
    [option_id] =&gt; 3
    [sku] =&gt; 
    [sort_order] =&gt; 0
    [default_title] =&gt; Red
    [store_title] =&gt; 
    [title] =&gt; Red
    [default_price] =&gt; 0.0000
    [default_price_type] =&gt; fixed
    [store_price] =&gt; 
    [store_price_type] =&gt; 
    [price] =&gt; 0.0000
    [price_type] =&gt; fixed
)
Array
(
    [option_type_id] =&gt; 8
    [option_id] =&gt; 3
    [sku] =&gt; 
    [sort_order] =&gt; 0
    [default_title] =&gt; White
    [store_title] =&gt; 
    [title] =&gt; White
    [default_price] =&gt; 0.0000
    [default_price_type] =&gt; fixed
    [store_price] =&gt; 
    [store_price_type] =&gt; 
    [price] =&gt; 0.0000
    [price_type] =&gt; fixed
)
</code></pre>

<p>I want to output the <code>[title]</code> value. How do I do that? Thank you. I've tried to use <code>$v-&gt;getData()['title']</code>, but it did not work.</p>
