Brands
A Brands feed describes your brand pages. Like the Categories feed, it has
two roles: brand pages become searchable results, and the feed is the
lookup table that turns a product's <brand> name into a link. Each
product <brand> value is matched by name against this feed; on a match the
brand's url is attached to the product. Without a Brands source, product
brand names are still indexed but have no URL.
Register the feed as a source of type Brands.
<brands><brand> (zero or more)<?xml version="1.0" encoding="UTF-8"?><brands><brand><name>Bayer</name><url>https://shop.example.com/brands/bayer</url></brand><brand><name>Eucerin</name><url>https://shop.example.com/brands/eucerin</url></brand></brands>
<!ELEMENT brands (brand*)><!ELEMENT brand (name, url)><!ELEMENT name (#PCDATA)><!ELEMENT url (#PCDATA)>
Children must appear in the order shown above.
| Element | Required | Type | Searched | Meaning |
|---|---|---|---|---|
name | yes | text | yes | Brand name (e.g. "Bayer"). Full-text and prefix searchable. This is the value a product's <brand> is matched against. A brand with an empty name is skipped. |
url | yes | text | no | Link to the brand page. Attached to products whose <brand> matches this entry's name. A brand with an empty URL is skipped. |
Match products by exact brand name. A product's <brand> text must
equal this name for the link to resolve.