error code: 1015 {%- for el in item.value -%} {{ el.value }} {%- unless el.price == '0' -%} ( {%- if el.price > 0 -%} + {%- else -%} - {%- endif -%} {{ el.price | money }} ) {%- endunless -%} {%- unless forloop.last -%} , {%- endunless -%} {%- endfor -%} {% elsif item.type == "public_image" %} {%- if item.price_type == '1' -%} {%- for el in item.value -%} {{el.value}} {%- if el.price != 0 -%}( {%- if el.price > 0 -%}+{%- else -%}- {%- endif -%} {{el.price | money }} ) {%- endif -%} {%- unless forloop.last -%}, {%- endunless -%} {%- endfor -%} {%- else -%} {%- for el in item.value -%} {{el.value}} {%- if forloop.last -%} {%- if item.price != 0 -%}( {%- if item.price > 0 -%}+{%- else -%}- {%- endif -%} {{ item.price | money }} ) {%- endif -%} {%- endif -%} {%- unless forloop.last -%}, {%- endunless -%} {%- endfor -%} {%- endif -%} {% elsif item.type == "image_gallery" %} {{ item.value }} {%- unless item.price == '0' -%} ( {%- if item.price > 0 -%} + {%- else -%} - {%- endif -%} {{ item.price | money }} ) {%- endunless -%} {%- elsif item.type == "checkbox" or item.type == "block_text" or item.type == "image" -%} {%- for el in item.value -%} {{ el.value }} {%- unless el.price == '0' -%} ( {%- if item.price > 0 -%} + {%- else -%} - {%- endif -%} {{ el.price | money }} ) {%- endunless -%} {%- unless forloop.last -%} , {%- endunless -%} {%- endfor -%} {% else %} {{ item.value }} {%- unless item.price == '0' -%} ( {%- if item.price > 0 -%} + {%- else -%} - {%- endif -%} {{ item.price | money }} ) {%- endunless -%} {% endif %} {% endfor %}