Shopify模板中的可自定控制模块
2022-05-20 14:28:55
应用块
块是组成网页页面模板中的分区的可自定控制模块。您可以应用块来加上文字、照片、连接、按键等。
Shopify模板中包括您可以自己设计的分区和块。一些分区具备确定的块种类,这代表着只有从模板设计方案器为该分区给予的块中实现挑选。别的分区容许您挑选一切块,但会限定您可以增加到该分区的总块数。假如您分区中的块已实现较大可以用总数,则会表明一条信息,提醒已做到限定,而且在您删掉目前块以前, 加上块选择项将表明为深灰色。
加上块
PC:
在Shopify后台管理中,转到在线商店模板。
寻找您要编写的模板,随后点击自定。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击分区以将具体内容载入到浏览界面中,并浏览您可以用的选择项。
点击 加上块并选取一个新块,或点击检索栏以键入搜索关键词。
点击储存。
ios系统:
在Shopify运用中,轻触店铺。
在营销渠道一部分,轻触在线商店。
轻触管理方法模板。
寻找您要编写的模板,随后轻触自定。
轻触编写。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击分区以将具体内容载入到浏览界面中,并浏览您可以用的选择项。
点击 加上块并选取一个新块,或点击检索栏以键入搜索关键词。
点击储存。
安卓手机系统:
在Shopify运用中,轻触店铺。
在营销渠道一部分,轻触在线商店。
轻触管理方法模板。
寻找您要编写的模板,随后轻触自定。
轻触编写。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击分区以将具体内容载入到浏览界面中,并浏览您可以用的选择项。
点击 加上块并选取一个新块,或点击检索栏以键入搜索关键词。
点击储存。
应用元字段和动态性源
元字段可用来在您的在线商店中表明动态性信息内容。假如您有适用元字段的模板,您可以将元字段联接到模板编辑软件中的分区或块。
例如,焟烛商家很有可能想表明每一种在售焟烛的点燃时长。设定用以点燃的时间的元字段后,商家可以将用以点燃的时间的块加上到她们的商品模板中,随后将该块联接到元字段。为列举点燃的时间的页面布局系列产品元字段后,商家可以将块加上到她们的系列产品模板中,随后将此块联接到系列产品元字段。
提醒:
此作用必须适用JSON模板的模板。客户程序您的模板文本文档,掌握您的模板是不是与动态性模板设定兼容。相关应用元字段的其他信息,客户程序元字段文本文档。
留意
假如您有Shopify模板,则可以根据应用模板编辑软件来将大部分元字段联接到您的模板。假如您应用别的模板,或是您要加上您的模板不兼容的元字段种类,则可以编写您的模板编码,或聘用Shopify权威专家来协助您。并不是全部分区都适用动态性源。客户程序您的模板文本文档掌握详细资料。
您可以根据加上可应用动态性源的分区或块来在您的在线商店中表明动态性信息内容。动态性源可用作商品模板中的一切分区或块。在非商品模板中,动态性源可用来表明商品的分区或块。您必须先加上元字段,随后才可以在模板中联接它。客户程序动态性源,掌握相关在模板中应用元字段和动态性源的其他信息。
进行设定全过程后,请根据下列流程将动态性源插进模板:
PC:
在Shopify后台管理中,转到在线商店模板。
寻找您要编写的模板,随后点击自定。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击目前分区以将具体内容载入到浏览界面中并浏览您可以用的选择项,或点击 加上分区。
点击 添加块,随后联接动态性源:
假如表明联接动态性源标志,请点击该图标以挑选一个元字段:
假如联接动态性源标志表明 ,则点击该标记以挑选元字段(较多20个),随后一次加上一个元字段:
点击储存。
ios系统:
在Shopify运用中,轻触店铺。
在营销渠道一部分,轻触在线商店。
轻触管理方法模板。
寻找您要编写的模板,随后轻触自定。
轻触编写。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击目前分区以将具体内容载入到浏览界面中并浏览您可以用的选择项,或点击 加上分区。
点击 添加块,随后联接动态性源:
假如表明联接动态性源标志,请点击该图标以挑选一个元字段:
假如联接动态性源标志表明 ,则点击该标记以挑选元字段(较多20个),随后一次加上一个元字段:
点击储存。
安卓手机系统:
在Shopify运用中,轻触店铺。
在营销渠道一部分,轻触在线商店。
轻触管理方法模板。
寻找您要编写的模板,随后轻触自定。
轻触编写。
在下拉列表中,挑选在其中包括您要编写的分区的模板。
点击目前分区以将具体内容载入到浏览界面中并浏览您可以用的选择项,或点击 加上分区。
点击 添加块,随后联接动态性源:
假如表明联接动态性源标志,请点击该图标以挑选一个元字段:
假如联接动态性源标志表明 ,则点击该标记以挑选元字段(较多20个),随后一次加上一个元字段:
点击储存。
Shopify商家官方网站全文详细信息:
Workingwithblocks
Blocksarecustomizablemodulesthatmakeupthesectionsinyourpagetemplates.Youcanuseblockstoaddtext,images,links,buttons,andmore.
Shopifythemeshavesectionsandblocksthatyoucancustomize.Somesectionshavefixedblocktypes,whichmeansthatyoucanonlychoosefromtheblocksmadeavailabletothatsectionbythethemedesigner.Othersectionsallowyoutoselectanyblock,butlimitthetotalnumberofblocksthatyoucanaddtothesection.Ifyoursectionreachesthemaximumnumberofblocksavailable,thenamessagedisplaysthelimitreached,andthe Addblockoptionisgreyedoutuntilanexistingblockisremoved.
Addablock
PC:
FromyourShopifyadmin,gotoOnlineStoreThemes.
Findthethemethatyouwanttoedit,andthenclickCustomize.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickasectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou.
Click Addblockandselectanewblock,orclicktheSearchbartoenterasearchterm.
ClickSave.
iPhone:
FromtheShopifyapp,tapStore.
IntheSaleschannelssection,tapOnlineStore.
TapManagethemes.
Findthethemethatyouwanttoedit,andthentapCustomize.
TapEdit.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickasectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou.
Click Addblockandselectanewblock,orclicktheSearchbartoenterasearchterm.
ClickSave.
Android:
FromtheShopifyapp,tapStore.
IntheSaleschannelssection,tapOnlineStore.
TapManagethemes.
Findthethemethatyouwanttoedit,andthentapCustomize.
TapEdit.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickasectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou.
Click Addblockandselectanewblock,orclicktheSearchbartoenterasearchterm.
ClickSave.
Usingmetafieldsanddynamicsources
Metafieldsallowyoutodisplaydynamicinformationonyouronlinestore.Ifyouhaveathemethatsupportsmetafields,thenyoucanconnectametafieldtoasectionorblockinthethemeeditor.
Forexample,acandlesellermightwanttodisplayburntimesforeachtypeofcandleavailable.Aftersettingupaproductmetafieldforburntime,thesellercanaddablockforburntimetotheirproducttemplateandthenconnectittotheproductmetafield.Aftersettingupacollectionmetafieldforapagethatlistsburntimes,thesellercanaddablocktotheircollectiontemplateandthenconnectittothecollectionmetafield.
Tip
ThisfeaturerequiresathemethatsupportsJSONtemplates.Refertoyourthemedocumentationtofindoutwhetheryourthemeiscompatiblewithdynamicthemesettings.Formoreinformationaboutusingmetafields,refertotheMetafieldsdocumentation.
Caution
IfyouhaveaShopifytheme,thenyoucanconnectmostmetafieldstoyourthemebyusingthethemeeditor.Ifyoureusingotherthemes,orifyouwanttoaddmetafieldtypesthatyourthemedoesntsupport,thenyoucanedityourthemecodeorhireaShopifyExperttohelpyou.Notallsectionssupportdynamicsources.Refertoyourthemedocumentationformoreinformation.
Youcandisplaydynamicinformationinyouronlinestorebyaddingsectionsorblocksthatcanusedynamicsources.Dynamicsourcescanbeusedinanysectionorblockinaproducttemplate.Innon-producttemplates,dynamicsourcescanbeusedinsectionsorblocksthatshowproducts.Youneedtoaddyourmetafieldbeforeyoucanconnectitinyourtemplates.RefertoDynamicSourcesformoreinformationaboutusingmetafieldsanddynamicsourcesinyourtheme.
Afteryoucompletethesetupprocess,followthesestepstoinsertthedynamicsourceintoyourtemplate:
PC:
FromyourShopifyadmin,gotoOnlineStoreThemes.
Findthethemethatyouwanttoedit,andthenclickCustomize.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickanexistingsectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou,orclick Addsection.
Click Addblock,andthenconnectadynamicsource:
Iftheconnectdynamicsourceiconisdisplayed,thenclicktoselectasinglemetafield:
Iftheconnectdynamicsourceicondisplaysa ,thenclicktoselectupto20metafieldsbyaddingthemoneatatime:
ClickSave.
iPhone:
FromtheShopifyapp,tapStore.
IntheSaleschannelssection,tapOnlineStore.
TapManagethemes.
Findthethemethatyouwanttoedit,andthentapCustomize.
TapEdit.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickanexistingsectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou,orclick Addsection.
Click Addblock,andthenconnectadynamicsource:
Iftheconnectdynamicsourceiconisdisplayed,thenclicktoselectasinglemetafield:
Iftheconnectdynamicsourceicondisplaysa ,thenclicktoselectupto20metafieldsbyaddingthemoneatatime
ClickSave.
Android:
FromtheShopifyapp,tapStore.
IntheSaleschannelssection,tapOnlineStore.
TapManagethemes.
Findthethemethatyouwanttoedit,andthentapCustomize.
TapEdit.
Fromthedropdownmenu,selectthetemplatethatcontainsthesectionthatyouwanttoedit.
Clickanexistingsectiontoloadthecontentintothepreviewwindowandaccesstheoptionsavailabletoyou,orclick Addsection.
Click Addblock,andthenconnectadynamicsource:
Iftheconnectdynamicsourceiconisdisplayed,thenclicktoselectasinglemetafield:
Iftheconnectdynamicsourceicondisplaysa ,thenclicktoselectupto20metafieldsbyaddingthemoneatatime:
ClickSave.
文章内容由来:Shopify商户官方网站
部分文章来源于网络,如有侵权,请联系 caihong@youzan.com 删除。