He estado dando muchas vueltas a este tema y como no encuentro forma de hacerlo os pido vuestra ayuda.
Tengo este array:
Código PHP:
$this->products[$index]['attributes'][$subindex] = array('option' => $attributes['products_options_name'],
'value' => $attributes['products_options_values_name'],
'option_id' => $option,
'value_id' => $value,
'prefix' => $attributes['price_prefix'],
'code_suffix' => $attributes['code_suffix'],
'price' => $attributes['options_values_price'],
'products_id' => $attributes['products_id']);
¿Alguien sabe cómo podría hacerlo?
Muchas gracias!!