Insert an HTML file into a product page through custom snippet

Topic summary

Objective: Sell classroom training seats with each product representing a specific course and date, while avoiding duplicating the course outline across multiple product pages.

Context: The poster has strong VBA experience but is a beginner with Shopify. Liquid (Shopify’s templating language) will be used to insert shared content.

Proposed implementation: Save the course outline as an HTML file and insert it into product pages via a custom Liquid block, using an include-like approach. Logic with variables will determine which template to pull for each course.

Current progress: Variables within the custom Liquid block are working; confident about building the selection logic.

Open questions: Where to store the HTML course outline file(s) within Shopify, and what exact Liquid code/snippet to use to pull them into the product page.

Status: Seeking guidance to quickly reach a minimum viable site for launch, then learn Liquid more deeply over time.

Summarized with AI on February 24. AI used: gpt-5.

Hi guys,

I am a VBA developer with very little experience with Shopify development. Can someone please point me in the right direction…

I want my shopify store to sell seats on my classroom training courses. So I was thinking of my Product being a specific course and date. But as I will have multiple dates for a course I didn’t want to have to copy and paste the course outline to every date. So I was thinking of having the course outline saved somewhere as a html file and then maybe use the { include } within a custom liquid block to get it to insert the course outline into the product page. I’ve figured out how to use variables within the custom liquid, so should be fine building the logic to get it to know WHICH of the template files to pull in, it’s just knowing where to save the html course outline, and what code to use to “pull” it into the product page.

Does that make sense?? I plan to do a few courses on liquid, but ideally i’d like to get the site up to a minimum standard, release it so i can start selling my courses, and then slowly but surely learn how liquid works as a beginner.

Thank you!

Leanne