I have a client that needs to submit a product feed to wine app VIVINO
I have created a collection with no layout that generates an XML feed based on products selected within the collection in the format VIVINO requires, and have used an app for the creation of extra product info needed.
{% layout none %}
{%- paginate collection.products by 2000 -%}
{%- assign CountryCode = 'GB' -%}
{%- if shop.currency == 'CAD' -%}{%- assign CountryCode = 'CA' -%}{%- endif -%}
{%- assign PriceAdjustment = 1.0 -%}
{%- assign PriceAdjustmentEffectiveDate = '20181226T080000-0500/20190102T235900-0800' -%}
{% endpaginate %}
The only issue I have is I need the collection name to have a .xml extension at end of file so it formats correctly.
Is there a way to achieve this? I had a solution using an app but vivino rejected it. I now have the above solution that provides what required in terms of XML, it just doesn’t have the required .xml extension
Can I achieve this some how?