Hub/Theme/Age Verification Popup
Task IntentTheme

Age Verification Popup

Free Shopify Sidekick prompts & skills for merchants

What This Sidekick Query Does

Free Shopify Sidekick prompts & skills for merchants

Prompt / Skill

Copy, adapt, and run this prompt or skill workflow directly in Shopify Sidekick.

Create an age verification popup section for my Shopify theme that displays a fullscreen overlay modal when a visitor first arrives on the store. The popup should block access to the site content until the visitor confirms they are at least [MINIMUM_AGE] years old. The modal should display a logo using an image_picker setting, a heading [POPUP_HEADING], a description paragraph [POPUP_DESCRIPTION], and two buttons: Confirm (I am [MINIMUM_AGE] or older) with background color [CONFIRM_BG_COLOR] and Deny (I am under [MINIMUM_AGE]) with background color [DENY_BG_COLOR]. If the visitor clicks Confirm, set a cookie named [COOKIE_NAME] with an expiry of [COOKIE_EXPIRY_DAYS] days and close the overlay. If the visitor clicks Deny, redirect them to [DENY_REDIRECT_URL]. The overlay background should use color [OVERLAY_BG_COLOR] with opacity [OVERLAY_OPACITY]. The modal card should have background color [MODAL_BG_COLOR], text color [MODAL_TEXT_COLOR], border radius [BORDER_RADIUS] pixels, max-width [MODAL_MAX_WIDTH] pixels, and padding [MODAL_PADDING] pixels. The popup should not display in the Shopify theme editor preview so merchants can work on the theme freely. Include a setting to enable or disable the popup globally. Provide complete Liquid, CSS, and JavaScript with no external dependencies.

Expected Output

Free Shopify Sidekick prompts & skills for merchants

Tips to Improve Results

Copy the prompt above
Open Shopify Sidekick in your Shopify admin
Paste the prompt and replace the bracketed placeholders with your details
Review Sidekick's response and apply the suggestions
Sidekick Skills & Magic Prompt icon

Sidekick Skills & Magic Prompt

Create & Manage AI skills for Sidekick. Discover AI skills from other merchants.

Build unlimited custom Sidekick skills, organize prompts into collections, and discover proven workflows shared by other Shopify merchants.