Turbo-Puppy schreef op woensdag 28 juni 2017 @ 23:33:
Zo leveren wij ze ook aan ja.
Wij gebruiken Magento met een Exact koppeling, in Exact boek je je voorraad in, Magento neemt deze over, en real time wordt dat verwerkt bij bestellingen. Ieder uur wordt er snel een nieuwe feed gedraaid en die laat je ophalen door Google of wie dan ook.
Zo'n feed is gewoon een XML waarin je een berg regels plaatst met welke content hij uit de tabellen mag trekken.
hier een voorbeeld (klein deel, niet alles wil ik posten)
<!-- Basic Product Information -->
<g:id>{{product.sku}}</g:id>
<g:gtin>{{product.upc}}</g:gtin>
<title>{{product.name}}</title>
<link>{{parent.url | product.url}}</link>
<description>{{product.description output="strip_tags($self)"}}</description>
<g:google_product_category>{{product.google_product_category | parent.google_product_category}}</g:google_product_category>
<g:product_type>{{product.categories index=0 | product.categories index=0 }}</g:product_type>
<g:product_type>{{product.categories index=1 | product.categories index=1 }}</g:product_type>
<g:product_type>{{product.categories index=2 | product.categories index=2 }}</g:product_type>
<g:product_type>{{product.categories index=3 | product.categories index=3 }}</g:product_type>
<g:product_type>{{product.categories index=4 | product.categories index=4 }}</g:product_type>
<g:product_type>{{product.categories index=5 | product.categories index=5 }}</g:product_type>
<g:product_type>{{product.categories index=6 | product.categories index=6 }}</g:product_type>
<g:product_type>{{product.categories index=7 | product.categories index=7 }}</g:product_type>
<g:product_type>{{product.categories index=8 | product.categories index=8 }}</g:product_type>
<g:product_type>{{product.categories index=9 | product.categories index=9 }}</g:product_type>
<g:image_link>{{parent.image_link index="0"| product.image_link index="0"}}</g:image_link>
<g:additional_image_link>{{parent.image_link index="1"| product.image_link index="1"}}</g:additional_image_link>
<g:additional_image_link>{{parent.image_link index="2"| product.image_link index="2"}}</g:additional_image_link>
<g:additional_image_link>{{parent.image_link index="3"| product.image_link index="3"}}</g:additional_image_link>
<g:additional_image_link>{{parent.image_link index="4"| product.image_link index="4"}}</g:additional_image_link>
<g:additional_image_link>{{parent.image_link index="5"| product.image_link index="5"}}</g:additional_image_link>
<!-- Availability & Price -->
<g:availability>{{product.availability}}</g:availability>
<g:price>{{product.price currency=EUR vat_rate=0 suffix=" EUR"}}</g:price>
<g:sale_price>{{product.sale_price currency=EUR vat_rate=21 suffix=" EUR"}}</g:sale_price>
<g:sale_price_effective_date>{{product.sale_price_effective_date}}</g:sale_price_effective_date>
<g:condition>{{product.condition}}</g:condition>
<!-- Unique Product Identifiers-->
<g:brand>{{product.brand}}</g:brand>
<g:mpn>{{product.mpn}}</g:mpn>
<g:identifier_exists>TRUE</g:identifier_exists>
Wat er dan uitrolt is dit bijvoorbeeld. (1 artikel ter illustratie)
<![CDATA[
https://
hierstaatjedomeindus/product/h/o/hotbath-laddy-wastafelmengkraan-003.jpg
]]>
</g:additional_image_link>
<!-- Availability & Price -->
<g:availability>
<![CDATA[ in stock ]]>
</g:availability>
<g:price>
<![CDATA[ 139.00 EUR ]]>
</g:price>
<!-- Unique Product Identifiers -->
<g:identifier_exists>
<![CDATA[ TRUE ]]>
</g:identifier_exists>
<!-- Apparel Products -->
<!-- Product Variants -->
<!-- Shipping -->
<g:shipping_weight>
<![CDATA[ 0.00kg ]]>
</g:shipping_weight>
<!-- AdWords attributes -->
</item>
<item>
<!-- Basic Product Information -->
<g:id>
<![CDATA[
hier de bestelcode ]]>
</g:id>
<g:gtin>
<![CDATA[ 8718924070963 ]]>
</g:gtin>
<title>
<![CDATA[ Hotbath Buddy B005 Chroom (inbouw) ]]>
</title>
<link>
Ik ken geen 1 partij die aan zgn. "scrapen" doet ...wij moeten alles aanleveren per prijsvergelijker in xml of csv in een bepaalde opbouw.
Goolgle is daar eigenlijk het makkelijkst in omdat die standaard regels gebruikt, volgorde maakt niet uit. Kieskeurig of Beslist zijn iets strikter daarin.
Heb je er zo een beeld bij?