Shopify 我们可以根据我们的要求创建类似于{{content\u for_index}}的东西,并在我们想要的页面中使用它吗?购物化主题
在我正在编辑的shopify主题中,我想创建一个包含如此多部分的页面。我正在寻找一种方法,允许管理员用户从customiser更改所有部分的顺序。找到了一种更改所有部分顺序的解决方法 [信贷] 此解决方案基于shopify社区的一篇帖子: 我已经创建了五个文件,您可以在其中看到我的解决方法 [档案]Shopify 我们可以根据我们的要求创建类似于{{content\u for_index}}的东西,并在我们想要的页面中使用它吗?购物化主题,shopify,Shopify,在我正在编辑的shopify主题中,我想创建一个包含如此多部分的页面。我正在寻找一种方法,允许管理员用户从customiser更改所有部分的顺序。找到了一种更改所有部分顺序的解决方法 [信贷] 此解决方案基于shopify社区的一篇帖子: 我已经创建了五个文件,您可以在其中看到我的解决方法 [档案] 模板/page.sequence.liquid 第/a.节 章节/b.液体 章节/c.液体 章节/顺序 模板/page.sequence.liquid {%capture one%}{%secti
{%capture one%}{%section'a%}{%endcapture%}
{%capture two%}{%b节'%}{%endcapture%}
{%capture three%}{%c节'%}{%endcapture%}
{%capture-collection\u-template\u-content%}
{%section'序列'%}
{%endcapture%}
{%assign one=one | replace:'class=“shopify section”','class=“shopify section嵌套”'%}
{%assign two=two | replace:'class=“shopify section”','class=“shopify section嵌套”'%}
{%assign three=three | replace:'class=“shopify section”','class=“shopify section嵌套”'%}
{%assign collection_template_content=collection_template_content |替换:%%a%%,one%%
{%assign collection_template_content=collection_template_content |替换:%%b%%,两个%}
{%assign collection_template_content=collection_template_content |替换:%%c%%,三%}
{{collection\u template\u content}}