{% layout none %}"Navn";"Varenummer";"Pris inkl moms";"Vægt";"Lager";"Automatisk lagerstyring";"Kan bestilles ved 0 lager";"Billeder";"SKU";"EAN";"Mærke";"WWW-adresse";"Varekategori";"Valgmulighed1 Navn";"Valgmulighed1 Værdi";"Valgmulighed2 Navn";"Valgmulighed2 Værdi";"Valgmulighed3 Navn";"Valgmulighed3 Værdi";"Kort beskrivelse"; {% capture newLine -%}"; {% endcapture -%} {% paginate collection.products by 10000 -%} {% for product in collection.products -%} {% for variant in product.variants -%} {% assign inventory_auto = 1 -%} {% assign inventory_allow_below_zero = 0 -%} {% if variant.inventory_policy == 'continue' -%} {% assign inventory_allow_below_zero = 1 -%} {% endif -%} {% assign canonical_url = variant.url | split: '?variant=' -%} {% assign url = canonical_url[0] -%} {% assign description = product.description | replace: '"' , '""' -%} {% assign description2 = "abc" -%} {% assign images = '' -%} {% for image in product.images -%} {% assign image_now = image.src | product_img_url: 'grande' -%} {% assign images = images || append:"https:" -%} {% assign images = images || append:image_now -%} {% assign images = images || append:" " -%} {% endfor -%} {% if product.variants.size > 1 and product.selected_or_first_available_variant.id == variant.id -%} {% assign images = '' -%} {% endif -%} {% if product.selected_or_first_available_variant.id == variant.id -%} "{{ product.title }}";{{-}} "{{ variant.sku }}";{{-}} "{{ variant.price | money_without_currency | replace: '.' , ',' }}";{{-}} "{{ variant.weight }}";{{-}} "{{ variant.inventory_quantity }}";{{-}} "{{ inventory_auto }}";{{-}} "{{ inventory_allow_below_zero }}";{{-}} "{{ images | strip }}";{{-}} "{{ variant.sku }}";{{-}} "{{ variant.barcode }}";{{-}} "{{ variant.brand }}";{{-}} "{{ url }}";{{-}} "{{ product.type }}";{{-}} "";{{-}} "";{{-}} "";{{-}} "";{{-}} "";{{-}} "";{{-}} "{{ description | append:newLine -}} {% endif -%} {% if product.variants.size > 1 -%} {% assign url = '' -%} {% assign description = '' -%} {% assign weight = "" -%} {% if variant.weight > 0 -%} {% assign weight = variant.weight -%} {% endif -%} "";{{-}} "{{ variant.sku }}";{{-}} "{{ variant.price | money_without_currency | replace: '.' , ',' }}";{{-}} "{{ weight }}";{{-}} "{{ variant.inventory_quantity }}";{{-}} "{{ inventory_auto }}";{{-}} "{{ inventory_allow_below_zero }}";{{-}} "https:{{variant.image.src | product_img_url: 'grande' }}";{{-}} "{{ variant.sku }}";{{-}} "{{ variant.barcode }}";{{-}} "{{ variant.brand }}";{{-}} "{{ url }}";{{-}} "";{{-}} "{{ product.options[0] }}";{{-}} "{{ variant.options[0] }}";{{-}} "{{ product.options[1] }}";{{-}} "{{ variant.options[1] }}";{{-}} "{{ product.options[2] }}";{{-}} "{{ variant.options[2] }}";{{-}} "{{ description | append:newLine -}} {% endif -%} {% endfor -%} {% endfor -%} {% endpaginate -%}