Hub/Theme/Generate Popup/Modal Section
Task IntentTheme

Generate Popup/Modal Section

Create a customizable popup modal for promotions, email capture, or announcements with timing controls and cookie-based frequency.

What This Sidekick Query Does

Create a customizable popup modal for promotions, email capture, or announcements with timing controls and cookie-based frequency.

Prompts

Copy, adapt, and run this directly in Shopify Sidekick.

Create a popup/modal section for my Shopify theme:

Features:

  Centered modal with overlay backdrop
  Close button (X) and click-outside-to-close
  Support for image + text + CTA button layout
  Email capture form option (integrates with Shopify customer list)
  Cookie-based frequency control (show once per session/day/week)


Settings:

  Popup delay (seconds before showing)
  Show frequency (every visit, once per day, once per week, once ever)
  Heading text, body text, button text, button URL
  Image upload
  Background color, text color, button color
  Enable/disable toggle
  Show only on homepage option


Requirements:

  Smooth fade-in animation
  Mobile responsive (full-width on small screens)
  Accessible: focus trap, ESC to close
  No impact on page load speed (lazy loaded)
  Generate as a Shopify theme section

Expected Output

Create a customizable popup modal for promotions, email capture, or announcements with timing controls and cookie-based frequency.

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