{"id":457,"date":"2026-06-29T11:28:57","date_gmt":"2026-06-29T11:28:57","guid":{"rendered":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/"},"modified":"2026-06-29T15:23:30","modified_gmt":"2026-06-29T15:23:30","slug":"insert-document-library-into-shopify","status":"publish","type":"doc","link":"https:\/\/documentlibrary.pro\/fr\/docs\/insert-document-library-into-shopify\/","title":{"rendered":"Comment ins\u00e9rer une biblioth\u00e8que de documents dans Shopify"},"content":{"rendered":"<p>Document Library Pro lets you add a searchable, filterable library of documents to your Shopify store: inside a product, on a page, or as its own page in your store menu. This guide covers every way to do it, whether or not you are using the Document Library Pro Shopify app.<\/p>\n<h2 id=\"insert-into-a-product-or-page\">Insert a library into a product or page<\/h2>\n<p>If you installed Document Library Pro from the Shopify App Store, you can add a library to any product or page in a couple of clicks.<\/p>\n<ol>\n<li>Open the product or page you want to add a library to.<\/li>\n<li>Click <strong>More actions<\/strong> at the top right, then <strong>Insert document library<\/strong>.<\/li>\n<li>Choose which library to add (see below), then click <strong>Insert<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg\" alt=\"Opening Insert document library from the More actions menu in the Shopify product editor\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<p>The library is added to the product or page description and appears on your storefront straight away. There is nothing else to switch on.<\/p>\n<p><strong>Which library is added:<\/strong> by default, this inserts a library that lists all of your documents. If you have created additional libraries that list a specific set of documents, those also appear in the list for you to choose from. To build a new library, click <strong>Create a library<\/strong> in the picker, which opens the Document Library Pro platform where you create it.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Shopify-select-library-to-insert-into-product.jpg\" alt=\"Choosing which document library to insert into a Shopify product\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<h3 id=\"moving-the-library\">Moving the library within the description<\/h3>\n<p>The library is always added at the end of the description. To move it somewhere else:<\/p>\n<ol>\n<li>In the description editor, click the code view button (<strong>&lt;&gt;<\/strong>) in the toolbar.<\/li>\n<li>Find the <code>&lt;iframe&gt;...&lt;\/iframe&gt;<\/code> block, which is at the very end of the code.<\/li>\n<li>Cut it and paste it where you want the library to appear among your other content, then save.<\/li>\n<\/ol>\n<h3 id=\"document-library-card\">Adding the Document library card<\/h3>\n<p>To add document libraries to products more easily, you can also add a <strong>Document library card<\/strong> to the product editing screen itself, so you do not have to open the More actions menu each time. We recommend <strong>pinning<\/strong> it (the pin icon on the card) so it appears on the editing screen of every product, not just one. The card appears in the <strong>Blocks<\/strong> section toward the bottom of the editing screen, and Shopify keeps app cards there, so it cannot be moved higher up the page.<\/p>\n<p>Scroll to the <strong>Blocks<\/strong> section at the bottom of a product or page, click <strong>Add block<\/strong>, choose <strong>Document library card<\/strong>, then pin it.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-card-to-Shopify-product-editor.jpg\" alt=\"Adding the Document library card block in the Shopify product editor\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Document-library-card-on-product-editor.jpg\" alt=\"The Document library card in the Shopify product editor with a library dropdown and Insert button\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<h2 id=\"different-library-per-product\">Showing a different library on each product<\/h2>\n<p>You can show a different library on every product. Insert the library you want on each product using the steps above. For example, you could create a separate library of spec sheets for each product and insert the matching one on each product page.<\/p>\n<h2 id=\"add-to-your-menu\">Adding your whole library to your store menu<\/h2>\n<p>The app creates a ready-made page called <strong>Documents<\/strong> that lists all of your documents. To add a link to it in your store navigation:<\/p>\n<ol>\n<li>In your Shopify admin, go to <strong>Content &rarr; Menus<\/strong>.<\/li>\n<li>Open the menu you want (for example, your main menu) and click <strong>Add menu item<\/strong>.<\/li>\n<li>In the <strong>Link<\/strong> field, search for and select the <strong>Documents<\/strong> .<\/li>\n<li>Give it a name such as &#8220;Documents&#8221; and click <strong>Save menu<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Add-document-library-page-to-menu-Shopify.jpg\" alt=\"Selecting the Documents page when adding it to a Shopify store menu\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<p>The Documents page is a normal Shopify page, so you have full control over it. Under <strong>Online Store &rarr; Pages<\/strong> you can rename it, and add your own text and images above or below the library, for example a short introduction. If you only want to show documents on specific products and do not need a central library page, you can simply delete the Documents page.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Shopify-edit-main-library-page.jpg\" alt=\"Editing the auto-created Documents page in the Shopify admin\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<h2 id=\"add-to-your-theme\">Adding a document library to a theme section<\/h2>\n<p>If you want a library to appear in a fixed spot in your theme rather than inside a product or page description (for example below the Add to cart button), you can add it as a theme block.<\/p>\n<ol>\n<li>Go to <strong>Online Store &rarr; Themes<\/strong> and click <strong>Customize<\/strong>.<\/li>\n<li>Open the template you want (such as the product template), click <strong>Add block<\/strong> in the section where you want the library, and choose the <strong>Document Library<\/strong> block.<\/li>\n<li>Enter the slug of the library you want to show, then save.<\/li>\n<\/ol>\n<p>Because a theme block is placed on the template, it shows the <strong>same<\/strong> library on every product or page that uses that template. So this method is best for a single shared library. To show a <strong>different<\/strong> library on each product, use the insert method above, which adds the library to that one product only.<\/p>\n<p>If you are comfortable with theme code and want a different library per product in a fixed theme position, you can add a Shopify <strong>Custom Liquid<\/strong> block that reads a product metafield, then set that metafield (the library slug) on each product. This is an advanced setup and is not required for the methods above.<\/p>\n<h2 id=\"embed-code\">Adding a document library with the embed code<\/h2>\n<p>Every library has an embed code (an <code>&lt;iframe&gt;<\/code>). You can paste it anywhere you can add HTML. This is the method to use if you signed up at documentlibrary.pro without the Shopify app, or if you want to place a library somewhere the steps above do not cover. To get your embed code, open <strong>Publier la biblioth\u00e8que<\/strong> in your Document Library Pro dashboard and copy it.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/shopify-embed-on-page-iframe.jpg\" alt=\"Pasting a document library embed code into the code view of a Shopify page\" style=\"max-width:100%;height:auto;border:1px solid #e3e8ee;border-radius:8px;margin:8px 0;\" \/><\/p>\n<p>You can paste the embed code into:<\/p>\n<ul>\n<li><strong>A product description:<\/strong> open the product, click the code view button (<strong>&lt;&gt;<\/strong>) in the description toolbar, and paste the embed code where you want it.<\/li>\n<li><strong>A page:<\/strong> go to <strong>Online Store &rarr; Pages<\/strong>, open or create a page, click the code view button (<strong>&lt;&gt;<\/strong>) in the content toolbar, and paste the embed code.<\/li>\n<li><strong>A theme section:<\/strong> in <strong>Online Store &rarr; Themes &rarr; Customize<\/strong>, add a <strong>Custom Liquid<\/strong> block to a section and paste the embed code into it.<\/li>\n<li><strong>Any other website:<\/strong> the same embed code works on any website, not just Shopify.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Document Library Pro lets you add a searchable, filterable library of documents to your Shopify store: inside a product, on a page, or as its own page in your store menu. This guide covers every way to do it, whether or not you are using the Document Library Pro Shopify app. Insert a library into [&hellip;]<\/p>\n","protected":false},"menu_order":0,"template":"","meta":{"footnotes":""},"doc_category":[13],"class_list":["post-457","doc","type-doc","status-publish","hentry","doc_category-shopify"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to insert a document library into Shopify<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/documentlibrary.pro\/fr\/docs\/insert-document-library-into-shopify\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to insert a document library into Shopify\" \/>\n<meta property=\"og:description\" content=\"Document Library Pro lets you add a searchable, filterable library of documents to your Shopify store: inside a product, on a page, or as its own page in your store menu. This guide covers every way to do it, whether or not you are using the Document Library Pro Shopify app. Insert a library into [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/documentlibrary.pro\/fr\/docs\/insert-document-library-into-shopify\/\" \/>\n<meta property=\"og:site_name\" content=\"Document Library Pro\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-29T15:23:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/\",\"name\":\"How to insert a document library into Shopify\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Insert-document-library-link.jpg\",\"datePublished\":\"2026-06-29T11:28:57+00:00\",\"dateModified\":\"2026-06-29T15:23:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/#primaryimage\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Insert-document-library-link.jpg\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/Insert-document-library-link.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/insert-document-library-into-shopify\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to insert a document library into Shopify\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"name\":\"Document Library Pro\",\"description\":\"Searchable document libraries for any website\",\"publisher\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/documentlibrary.pro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\",\"name\":\"Document Library Pro\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Document Library Pro\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"description\":\"Document Library Pro is hosted document library software that lets you publish searchable, filterable libraries of PDFs, documents and resources on any website or platform.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comment ins\u00e9rer une biblioth\u00e8que de documents dans Shopify","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/documentlibrary.pro\/fr\/docs\/insert-document-library-into-shopify\/","og_locale":"fr_FR","og_type":"article","og_title":"How to insert a document library into Shopify","og_description":"Document Library Pro lets you add a searchable, filterable library of documents to your Shopify store: inside a product, on a page, or as its own page in your store menu. This guide covers every way to do it, whether or not you are using the Document Library Pro Shopify app. Insert a library into [&hellip;]","og_url":"https:\/\/documentlibrary.pro\/fr\/docs\/insert-document-library-into-shopify\/","og_site_name":"Document Library Pro","article_modified_time":"2026-06-29T15:23:30+00:00","og_image":[{"url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/","url":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/","name":"Comment ins\u00e9rer une biblioth\u00e8que de documents dans Shopify","isPartOf":{"@id":"https:\/\/documentlibrary.pro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/#primaryimage"},"image":{"@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/#primaryimage"},"thumbnailUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg","datePublished":"2026-06-29T11:28:57+00:00","dateModified":"2026-06-29T15:23:30+00:00","breadcrumb":{"@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/#primaryimage","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/Insert-document-library-link.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/documentlibrary.pro\/docs\/insert-document-library-into-shopify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/documentlibrary.pro\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/documentlibrary.pro\/docs\/"},{"@type":"ListItem","position":3,"name":"How to insert a document library into Shopify"}]},{"@type":"WebSite","@id":"https:\/\/documentlibrary.pro\/#website","url":"https:\/\/documentlibrary.pro\/","name":"Document Library Pro","description":"Biblioth\u00e8ques de documents consultables pour tout site web","publisher":{"@id":"https:\/\/documentlibrary.pro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/documentlibrary.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/documentlibrary.pro\/#organization","name":"Document Library Pro","url":"https:\/\/documentlibrary.pro\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","width":512,"height":512,"caption":"Document Library Pro"},"image":{"@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/"},"description":"Document Library Pro est un logiciel de biblioth\u00e8que de documents h\u00e9berg\u00e9 qui vous permet de publier des biblioth\u00e8ques consultables et filtrables de PDF, de documents et de ressources sur tout site web ou plateforme."}]}},"_links":{"self":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":6,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/457\/revisions"}],"predecessor-version":[{"id":491,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/457\/revisions\/491"}],"wp:attachment":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/media?parent=457"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc_category?post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}