Skip to main content

How to assign an attachment to the page

You can add more than one attachment to a single page in the following way.

From attachments settings

  1. Create a new attachment by following the guidelines above or navigate to an existing attachment and click Edit in the rightmost part of the grid.
  2. Expand the Products section, click Add Products and select the product pages where you would like to add the attachment.
    Note

    If you would like to further customize how attachments are displayed on the product page, follow the guidelines here.

  3. Expand the Categories section, click Add Categories and choose the category pages where you would like to add the attachment.
  4. Expand the Cms Pages section, click Add Pages and choose the CMS pages where you would like to add the attachment.
  5. Click Save in the top right.
  6. Clear Magento cache.

Below is an example of how attachments appear on the product page:

Product page attachment

Product page attachment

From the relevant page

Alternatively, you can assign several attachments to a page while changing product, category or CMS page settings:

  1. Start editing the relevant page.
  2. Scroll down to the bottom.
  3. Expand the Attachments section.
  4. Click Assign Attachments.
  5. Check all attachments that apply.
  6. Click Save in the top right.
  7. Clear Magento cache.

Via widget

You can make a widget with several attachments. It will help you to streamline the content update.

Note

Make sure you have already set up all the necessary attachments.

  1. Click the Content tab in the top left of your admin panel.

  2. Click Widgets in the pop-up.

  3. Click Add Widgets in the top right. The widgets creation page will be displayed.

    Widgets

    Widgets

  4. Select Attachments in the Type field.

  5. Select the theme you would like to use in Design Theme field.

  6. Click Continue.

  7. Set up the widget's location in the Storefront Properties tab.

  8. Click the Widget Options tab in the top left.

    Widget options

    Widget options

  9. Enter the widget's name in the Title field.

  10. Click Select Attachments near the Attachment Ids field.

  11. Click on the attachments you would like to add in the popup.

  12. Close the popup.

  13. Click Save in the top right.

Below is an example of how widgets appear on the frontend page:

Page with widget

Page with widget