Skip to main content

shop.getThemeSettings()

Returns the currently published theme settings for the shop. Use this to apply the shop owner’s customizations — colors, fonts, section visibility, and layout preferences — dynamically at runtime.

Response

Returns null if no theme is published yet.

Example — Apply CSS variables

Example — Section visibility

The shape of settings depends on what your theme defines. Design your theme’s settings schema and document it for shop owners who install your theme.