Ну вот я перебрал только что в массиве массива в контроллере все опшенсы, затем засунул их как массив $options в массив $data. Получилось вот так:
Array
(
[products] => Array
(
[3] => Array
(
[product_id] => 30
[thumb] => https://mysite/image/cache/catalog/demo/canon_eos_5d_1-200x200.jpg
[name] => Canon EOS 5D
[model] => Product 3
[description] =>
Canon's press material for the EOS 5D states that it 'defines (a) new D-SLR category', while we'r..
[price] => 50.00р.
[special] => 80.00р.
[tax] =>
[rating] =>
[options] => Array
(
[product_option_id] => 226
[product_option_value] => Array
(
[0] => Array
(
[product_option_value_id] => 15
[option_value_id] => 39
[name] => Red
[image] =>
[price] =>
[price_prefix] => +
)
[1] => Array
(
[product_option_value_id] => 17
[option_value_id] => 41
[name] => Green
[image] =>
[price] => 10.00р.
[price_prefix] => +
)
[2] => Array
(
[product_option_value_id] => 16
[option_value_id] => 42
[name] => Yellow
[image] =>
[price] => 50.00р.
[price_prefix] => +
)
)
[option_id] => 5
[name] => Select
[type] => select
[value] =>
[required] => 1
)
[href] => https://soniya-shop/index.php?route=product/product&product_id=30
)
)
)
Далее в шаблоне в цикле по массиву `products` обращаюсь к массиву options вот так:
{% for product in products %}
{% if product.options %}
{% for option in product.options %}
{% if option.type == 'select' %}
...
Ошибок нет, но нифига не работает.