foreach($optionValue['productOptionValue'] as $value): // error here
endforeach;
The index already exists. Don't know what am I doing wrong.
Array
(
[optionValues] => Array
(
[34] => Array
(
[id_product_option] => 1
[option_value] => Hello
[required] => 1
[productOptionValue] => Array
(
[0] => Array
(
[id_product_option_value] => 1
[id_option_value] => 88
[quantity] => 12
[subtract] => 1
[price] => 232.0000
[price_prefix] => r
[weight] => 23.00000000
[weight_prefix] => k
)
)
)
Please help!!