Skip to content

Instantly share code, notes, and snippets.

@PechenkiUA
Created April 27, 2023 11:44
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PechenkiUA/018739374efc8beea64acdad98078922 to your computer and use it in GitHub Desktop.
Save PechenkiUA/018739374efc8beea64acdad98078922 to your computer and use it in GitHub Desktop.
merchants_google modx minishop 2
<?xml version="1.0"?>
<feed xmlns:g="http://base.google.com/ns/1.0" xmlns="http://www.w3.org/2005/Atom">
<title>Оздоровча cкандінавская ходьба</title>
<link href="[[~1?scheme=`full`]]uk" rel="alternate" type="text/html"/>
<description>[[*description:cdata]]</description>
[[!msProducts?
&includeContent=`1`
&parents=`89`
&limit=`999`
&includeTVs=`img`
&depth=`-1`
&sortdir=`ASC`
&depth=`10`
&limit=`9999`
&tpl=`tpl.google.feed`
&includeTVs=`brand,availability`
]]
</feed>
<entry>
<id>{$id}</id>
<title>{$pagetitle}</title>
<updated>{$publishedon | date}</updated>
<g:description>{$introtext}</g:description>
<link href="{$id | url}"/>
<g:image_link>{$thumb}</g:image_link>
<g:condition>new</g:condition>
<g:availability>in stock</g:availability>
{if $old_price?}
<g:price>{$old_price} UAH</g:price>
<g:sale_price>{$price} UAH</g:sale_price>
{else}
<g:price>{$price} UAH</g:price>
{/if}
</entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment