Gift Card
How to Add the Gift Card Section to gift_card.liquid
gift_card.liquidThe Gift Card section (design_pack_v3_-_gift_card) is a static section and must be manually included in your Shopify theme’s gift_card.liquid template. This process is slightly different from adding dynamic sections, as it requires editing the template file directly.
Step-by-Step Instructions
Locate the
gift_card.liquidTemplateIn your Shopify theme, navigate to the
templatesfolder.Find the file named
gift_card.liquid.
Open the File for Editing
Open
gift_card.liquidin your code editor.

Insert the Section Tag
Find the opening
<body>tag in the file. This is usually near the top of the file.Directly below the
<body>tag, add the following line:{% section 'design_pack_v3_-_gift_card' %}Your file should look something like this:
<body> {% section 'design_pack_v3_-_gift_card' %} <!-- other content --> </body>
Save Your Changes
Save the file after adding the section tag.
Preview Your Gift Card Page
Go to your store’s gift card page to ensure the new section appears and functions as expected.
Why This Step Is Needed
Because the Gift Card section is a static section, it cannot be added through the theme editor’s “Add section” interface. Instead, it must be included manually in the template file using the {% section 'design_pack_v3_-_gift_card' %} tag. Placing it directly below the <body> tag ensures it loads at the top of the page, as intended.
Tip: If you ever update or replace the gift_card.liquid template, you’ll need to repeat this process to re-add the section, but all of your content will still be saved.
Last updated