Product Attachments
  • Overview
  • Installation process
  • Updating plugin
  • Create new attachment
  • Embeded YouTube
  • Importing via CSV
  • Importing via ZIP
  • Widget Zones
  • Download plugin
  • Contact Us
Powered by GitBook
On this page
  • How to create CSV file for import
  • Structure of import file

Importing via CSV

You can import a lot of attachments via CSV file at the same time

PreviousEmbeded YouTubeNextImporting via ZIP

Last updated 2 years ago

How to create CSV file for import

Even though you can use any utility to create CSV files, the best option is to use Microsoft Excel.

We would recommend creating several attachments manually, then exporting the file to CSV to understand the structure of the file. Alternatively, you can download sample file below.

When you import CSV file, attachments will be added to existing attachments. If you want to overwrite old attachments, make sure to delete old attachments via Delete All button next to Import buttons.

Structure of import file

Column name
Explanation

Published

True or False

Icon

Filename of the icon. Default icons have names with .png extension. For example for pdf icon use pdf.png

File name

Fill only if importing File. This is only for the display in admin pannel.

AttachmentMode

File FileUrl HTML5Video EmbedYoutube

File URL

Name

Display name for the attachment. Will be shown on product page.

ProductSource

To which entity map attachment. Products, Categories, or Manufacturers

Ids

Language

Fill language Id (number). 0 means all languages.

Width

Fill only if using HTML5Video.

Height

Fill only if using HTML5Video.

If you are importing YouTube video, do not use Width and Height parameters. Use width and height in iframe directly.

If importing File, type URL on your store. Usually it would be https://yourstore.com/files/attachments/file_name.pdf If importing FileUrl, type URL If importing HTML5Video, type URL to the video. If importing YouTube Video, type .

If mapping to Products, use SKUs of the products separated with SPACE If mapping to Categories, use separated with SPACE If mapping to Manufacturers, use separated with SPACE

iframe tag
Category Ids
Manufacturer Ids
509B
attachments_20230221_224610.csv
Sample file