cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom template?

Former Member
0 Kudos
 
former_member469962
Contributor
0 Kudos

Hello Selvaraj,

I am afraid you will need to clarify what you mean by a custom template. Do you mean custom recipe or a page template or something else?

-Shwetha

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Selvaraja,

You can create a custom template by using Impex and then running it in HAC. Find the example below:

 $contentCatalog=contentCatalogName
 $contentCV=catalogVersion(catalog(id[default=$contentCatalog]),version[default='Staged'])
 
 INSERT_UPDATE PageTemplate;$contentCV[unique=true];uid[unique=true];name;frontendTemplateName;restrictedPageTypes(code);active[default=true]
 ;;ThankYouPageTemplate;ThankYou Page Template;checkout/thankYouPage;ContentPage
 
 # ThankYou page template
 INSERT_UPDATE ContentSlotName;name[unique=true];template(uid,$contentCV)[unique=true][default='ThankYouPageTemplate'];validComponentTypes(code);compTypeGroup(code)
 ;SiteLogo;;;logo
Former Member
0 Kudos

page template