Docs
  • INTRO
    • Welcome to Shoplift
    • What to Test
    • Quickstart
      • Install Shoplift
      • Create a Test
      • Edit Your Variant
      • Launch Your Test
  • TEST
    • Template Testing
      • Overview
      • Guides
        • Guide: How to Use Shopify Magic to Generate New Theme Blocks for Testing
        • Guide: Testing Individual Pages
        • Guide: Testing One-Click Payment Methods
        • Guide: Testing App Blocks
        • Guide: Testing Different Template Types
      • Theme Compatibility
      • Template Management
      • Switching Themes
      • Shopify Markets
      • Shopify Translate & Adapt
    • Theme Testing
      • Overview
      • Guides
        • Guide: Testing a Navigation Menu
        • Guide: Testing a Mini Cart
      • Theme Management
      • Theme Development
      • Switching Themes
    • URL Testing
      • Overview
      • Guides
        • Guide: Testing URLs
        • Guide: Testing Product Properties
    • JavaScript API Testing
      • isHypothesisActive
      • setAnalyticsConsent
      • getVisitorData
    • Lift Assist™
      • What is Lift Assist™?
      • How To Use Lift Assist™
      • Brand Styles
    • Audience Targeting
      • Devices
      • New and Returning Visitors
      • Custom Audiences (UTMs, Referring Domains, and Geo-targeting)
    • Test Management
      • Test Compatibility
      • Mutual Exclusion
      • QA Checklist
      • Scheduling Tests
      • Pausing Tests
      • Implementing Winning Tests
    • Performance
      • Pagespeed
      • Shopify Caching
      • CDNs and Edge Delivery
  • ANALYZE
    • Reports
      • Overview
      • Metrics
        • Goals & Reporting Metrics
        • Metric Views
      • Test Progress
      • Statistical Significance
      • Channel Groups
    • Tracking
      • Visitor Attribution
      • Web Pixel
      • Liquid Snippet
      • Anti-Flicker
      • Analytics Discrepancies
  • integrate
    • Integrations and Tooling
      • GA4 (Beta)
        • Integrate GA4 (Shopify)
        • Integrate GA4 with Google Tag Manager
        • Integrate GA4 with Elevar
        • Analyze Test Data In Google Analytics
        • Disabling the GA4 Integration
      • Subscription Apps
      • Page Builder Apps
      • Reporting Tools
      • Heatmapping Tools
      • Custom Integrations
  • ADMIN
    • Plans and Billing
      • Subscription Plans
      • Uninstalling Shoplift
    • Users and Permissions
      • Managing Team Access
      • Managing User Notifications
    • Privacy and Compliance
      • Customer Data and GDPR
  • PARTNERS & DEVELOPERS
    • Shoplift Partner Program
    • Testing on Development Stores
  • SUPPORT
    • Frequently Asked Questions
    • Get Help
    • Give Feedback
Powered by GitBook

Contact Us

  • Get help
  • Give feedback
  • Request a feature

Helpful Links

  • Shoplift
  • Shopify App Store
On this page
  • Why use Shopify Magic + Shoplift?
  • FAQ

Was this helpful?

  1. TEST
  2. Template Testing
  3. Guides

Guide: How to Use Shopify Magic to Generate New Theme Blocks for Testing

PreviousGuidesNextGuide: Testing Individual Pages

Last updated 1 day ago

Was this helpful?

Shopify’s AI-powered theme block generator is a fast and intuitive way to create new, customizable content blocks for your storefront — no coding required. Combined with Shoplift’s template testing capabilities, this becomes a powerful way to rapidly build and test new experiences before rolling them out broadly.

This guide walks you through how to use Shopify Magic to generate new blocks, and how to quickly set them up in Shoplift for testing.

1

Set up a template test in Shoplift

  1. Log into Shoplift and click Create Test.

  2. On the Test Draft page, select Test a template and select the template you want to test from the drawer. This will be your Original (A).

  3. Now create a variant. This will be the template that you generate a new theme block for. You can either duplicate your Original (A), or select an existing template from your theme to create your Variant (B).

  4. Once you have a Variant (B) set in the draft, click Edit in Shopify to navigate to the theme editor and make changes to your variant template.

2

Generate a theme block with Sidekick

  1. In the Shopify Theme Editor, confirm you are on your variant template by referencing the template drop-down menu in the top navigation.

  2. Click the section you want to generate a new block for.

  3. Click Add Block.

  4. Click Generate.

  5. Enter a prompt for the type of block that you want to generate. The more clear you are with your instructions, the better the result will be. For example: "Create a product grid section with cards that display a drop shadow and slightly elevate when hovered over. Each card should contain the product image, title, price, and an add to cart button."

If you don't see the Generate button, click the Sidekick button in the Theme Editor (looks like a superhero, and is located next to the Interact and Device View buttons. When the Sidekick chat window opens, enter your prompt here.

  1. Submit your prompt, and Shopify Magic will begin to generate your new theme block. You can follow along as it generates new liquid code for your theme in realtime.

  2. When your new block is finished generating, add content and adjust the styling as you see fit. You can also continue to play with Follow up instructions to continue to tweak your new block.

3

Launch your test!

  1. Once your variant is ready for testing, return to Shoplift and configure the rest of your test settings, including device targeting, visitor targeting, and any custom audiences.

  2. When everything looks good, click "Launch now". Or, if you want to schedule your launch for later, click the Schedule test button to set a schedule for an automated start and end time.

Why use Shopify Magic + Shoplift?

Using Shopify Magic to build new blocks allows for rapid experimentation without engineering involvement. With Shoplift, you can confidently test these new experiences and make data-backed decisions on what drives real impact.

This combo is perfect for:

  • Testing promotional banners

  • Creating custom product highlights

  • Trying new layouts for upsells or bundles

  • Adding content blocks for education or storytelling

FAQ

Can I edit the block code after using Shopify Magic?

Yes. Generated blocks are added as editable Liquid sections. You can customize them like any other block.

What if my theme doesn’t support Shopify Magic?

Shopify Magic block generation is only available in 2.0 themes. Consider upgrading your theme if you don’t see the options to generate blocks with Shopify Magic.

To learn more about how to generate new theme blocks with Shopify Magic, check out Shopify's guide .

here