Why can't I add dynamic sources to page content in template editor?

When using the template editor, we can add dynamic sources only to product pages.

if we try to add something like {{ page.title }} on a “page” content the system refuses it (even when editing template code).

1 Like

@IcanDivideBy0

json file doesn’t support

@KetanKumar

Can you check your answers please … it works fine for {{ product.title }} (same block type)

this is just the config of the live editor saved as json. The page variable just isn’t injected when doing the sanity check before saving. The same error appears in the live editor

1 Like

shopify theme 2.0 page title doesn’t assing

again … check the doc : https://shopify.dev/api/liquid/objects/page#page-title , to me it’s pretty clear page object should be defined (on a page template), plus it is indeed defined and working when i’m using it in the .liquid file

what do you mean by “assing” ?

on a side note, none of the page.* attributes are defined , except at runtime

may be something missing

indeed, do shopify dev are checking this forum or should we reach support ?

depend on theme section code sorry