4. PREHEADER V3

PHOTO EMBED

Mon Aug 01 2022 10:32:40 GMT+0000 (Coordinated Universal Time)

Saved by @CK_Michael

%%[
/* IMPORTANT NOTES */
/*
 * Optional Bar requires a record in the content DE for blockName = 'Optional_Bar' (field COPY1_TEXT). To use a different blockName, edit the variable @OptionalBarName
 * Preheader and Header require a record in the content DE for blockName = 'header'
 * To show/hide the SALE menu item, it checks the DE Data Extensions>02.Projects>Sales Dynamic Banner>SDB_Config (BannerType=Sale)
 */

/* Show (1) or hide (0) the different blocks called by this block */
SET @showPreheader = 1
SET @showOptionalBar = 1
SET @showHeader = 1

SET @OptionalBarName = 'Optional_Bar'
]%%

%%[IF @showPreheader THEN]%%
%%=ContentBlockByName("Content Builder\2. My Contents\Localised Content Library 2019\Preheader_V3")=%%
%%[ENDIF]%%

%%[IF @showOptionalBar THEN]%%
%%=ContentBlockByName("Content Builder\2. My Contents\Localised Content Library 2019\Optional_Bar_V3")=%%
%%[ENDIF]%%

%%[IF @showHeader THEN]%%
%%=ContentBlockByName("Content Builder\2. My Contents\Localised Content Library 2019\Header_Block_V3")=%%
%%[ENDIF]%%
content_copyCOPY