Referencing Page Content in Product Descriptions

Howdy.

On my site, I’ve edited a basic HTML tab script I found online and have entered it into my product descriptions in order to make a more organized product page.

PRODUCT TEST PAGE (with current script): Product Test Page

Theme: Venture

Is there a way that within these tabs, I can enter some code so that it references a page I’ve made on Shopify? For example, on the shipping tab, could I make it so that it automatically pulls the contents of a collegewares.com/pages/shipping (which doesn’t exist but for example)?

Any help would be gratefully appreciated and I’m willing to hear all available options. Thanks.

Hi there.

 {{ pages['cat'].content }}

Replace ‘cats’ with the Handle of your page.

https://shopify.dev/docs/themes/liquid/reference/objects/page

So this is code belongs to liquid, and it doesn’t work in the product description itself. Thank you for the attempt, would you possibly have any other ideas?

Thanks, this is just what I was looking for. For anyone wondering what ‘cat’ is… It’s the name you’ve given to your product page. As a newbie I had a few problems with special characters, so just renamed to avoid them.