Last active
August 6, 2019 09:39
-
-
Save maltehelmhold/08bfcf058022bc7539d3b3ca95e2e0a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<g:id>{$sArticle.articleID|escape}</g:id> | |
<title>{if $sArticle.attr5}{$sArticle.attr5|strip_tags|strip|truncate:80:"...":true|escape}{else}{$sArticle.name|strip_tags|strip|truncate:80:"...":true|escape}{/if}</title> <description>{$sArticle.description_long|strip_tags|strip|truncate:900:"..."|escape}</description> | |
<g:product_type>{$sArticle.articleID|category:" > "|escape}</g:product_type> | |
<link>{$sArticle.articleID|link:$sArticle.name|escape}</link> | |
<g:image_link>{$sArticle.image|image:1}</g:image_link> | |
<g:condition>new</g:condition> | |
<g:availability>{if $sArticle.esd}auf Lager{elseif $sArticle.instock>0}auf Lager{elseif $sArticle.releasedate && $sArticle.releasedate|strtotime > $smarty.now}vorbestellbar{elseif $sArticle.shippingtime}bestellbar{else}nicht auf Lager{/if}</g:availability> | |
<g:price>{$sArticle.price|format:"number"} EUR</g:price> | |
<g:brand>Demoshop</g:brand> | |
<g:identifier_exists>no</g:identifier_exists> | |
<g:gtin>{$sArticle.suppliernumber|replace:"|":""}</g:gtin> | |
<g:mpn>{$sArticle.suppliernumber|escape}</g:mpn> | |
<g:google_product_category>bitte dynamisches feld implementieren</g:google_product_category> | |
<g:shipping> | |
<g:country>DE</g:country> | |
<g:service>Standard</g:service> | |
<g:price>{$sArticle|@shippingcost:"prepayment":"de"|escape:number} EUR</g:price> | |
</g:shipping> | |
{if $sArticle.changed}<pubDate>{$sArticle.changed|date_format:"%a, %d %b %Y %T %Z"}</pubDate>{/if} | |
</item> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment