Zum Inhalt

Code Snippet

Versandkostenfrei ab 100 €

<g:shipping>
  <g:country>DE</g:country>
  <g:service>Standard</g:service>
  <g:price>
    {% if product.calculatedListingPrice.to.unitPrice < 100 %}
        {{ 3.90|currency }}{# change your default delivery costs #}
    {% else %}
        {{ 0.00|currency }}{# change your default delivery costs #}
    {% endif %}
  </g:price>
</g:shipping>
Anpassung Produkt-URL

Wenn du das Plugin “Conversion Booster” von Codegiganten nutzt, musst du im Feed die Produkt-URL anpassen:

Vorher:

<link>{{ seoUrl('frontend.detail.page', {'productId': product.id}) }}</link>
Nacher:
<link>
{% if product.categories.first is not null %}
  {{ seoUrl('frontend.navigation.page', {'navigationId': product.categories.first.id }) }}?qv={{ product.productNumber }}
{% else %}
  {{ seoUrl('frontend.detail.page', {'productId': product.id}) }}
{% endif %}
</link>