Media Format
Header Name | Supported Import Types | Implementation Class | Value Format |
---|---|---|---|
media |
Product, Category | MediaParsingCellProcessor | <key>:<value>\ |
Example Category import:
Name,URL,media
Home,/,primary:/cmsstatic/home1.png|alt1:/cmsstatic/home2.png
This will create the following items with the category.getCategoryMedia()
, or product.getSku().getSkuMedia()
:
Key | Value |
---|---|
primary | /cmsstatic/home1.png |
alt1 | /cmsstatic/home2.png |
Note that this just hooks up the association of a URL to a media item. Actually uploading the static assets themselves is handled differently, see [[Asset Import]].