Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Additional Properties

Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of pet products.


Pets

The "pets" element must be inside the "offer" element.

<offer ...>
    ...
    <pets>
        ...
    </pets>
</offer>



Type

The "pet_type" element must be inside the "pets" element and can have one of the following values:

ValueDescription
dogProducts for dogs
catProducts for cats
birdProducts for birds
fishProducts for fish

Don't use this element for products made for other pets.


<offer ...>
    ...
	<pets>
	    <pet_type>cat</pet_type>
	</pets>
</offer>


Breed

The "breed" element must be inside the "pets" element.

Specify the pet breed code (EMS) if the product relates to a specific pet breed. If the product relates to more than one breed, don't use this element.


<offer ...>
    ...	
	<pets>
        <!-- ANA - the Anatolian cat (Turkish Shorthair) -->
	    <breed>ANA</breed>
	</pets>
</offer>


Size

The "pet_size" element must be inside the "pets" element and can have one of the following values:

ValueDescription
smallFor small pets
mediumFor medium-sized pets
largeFor big pets

<offer ...>
    ...
	<pets>
	    <pet_size>small</pet_size>
	</pets>
</offer>


Age

The "pet_age" element must be inside the "pets" element and can have one of the following values:

ValueDescription
youngKittens, pups and other cubs
middleMid-aged pets
oldOld pets

<offer ...>
    ...
	<pets>
	    <pet_age>old</pet_age>
	</pets>
</offer>


Periodic

The "periodic" element must be inside the "pets" element and can have one of the following values:

ValueDescription
1Product is purchased frequently
0Product is purchased occasionally. The default value.

<offer ...>
    ...
	<pets>
	    <periodic>1</periodic>
	</pets>
</offer>

Page Navigation




Related Pages

  • No labels