shopware / shopware

Shopware 6 is an open commerce platform based on Symfony Framework and Vue and supported by a worldwide community and more than 1.500 community extensions
https://shopware.com
MIT License
2.75k stars 1k forks source link

Export generates empty rows #4370

Open shopwareBot opened 4 weeks ago

shopwareBot commented 4 weeks ago

Steps to reproduce:

So your template should end up looking like:

{%- if product.customFields.zusatzfeld_option is defined and product.customFields.zusatzfeld_option is not empty and product.customFields.zusatzfeld_option != "0" -%}

{#- Default Template starts here -#}

"{%- if product.categories.count > 0 -%} 
    {{ product.categories.first.getBreadCrumb|slice(1)|join(' > ')|raw }}{#- -#}
{%- endif -%}",{#- -#}
"{{ product.manufacturer.translated.name }}",{#- -#}
"{{ product.translated.name }}",{#- -#}
{% set price = product.calculatedPrice %}
{%- if product.calculatedPrices.count > 0 -%}
    {% set price = product.calculatedPrices.last %}
{%- endif -%}
.
.
.
{%- endif -%}

Unfortunately, this generates empty rows in the export file, see screenshot attached.

shopware-issue-bot[bot] commented 4 weeks ago

We found the following existing issues which may help or are related to your topic:

shopwareBot commented 4 weeks ago

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-36709.

[created from NEXT-36709, comment 486644]