Fluorescent
Spark
Spark
  • Spark Help Center
    • Start using Spark
      • Migrate your theme
      • Theme licenses
    • FAQs
    • Changelog
  • General
    • Editing themes
      • Adding sections
      • Using templates
      • Accessibility
      • Customizing your site
      • H1 headings tags
      • SEO for Shopify themes
      • Online store speed
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • Adapting theme content
      • Edit default theme content
      • Multiple languages
      • Dynamic content with metafields
      • Unique content for markets
    • Update your theme
      • Upgrade to OS2
  • Theme styles
    • Theme settings
    • Style presets
    • Fonts
    • Colors
    • Animation
    • Buttons
  • Pages
    • Templates
      • About page
      • Blogs page
      • Blog posts template
      • Collections list page
      • Contact page
      • FAQ page
      • Lookbook page
      • Password page
      • Search page
      • 404 page
      • Home page
    • Sections
      • Blog posts
      • Collection list
      • Countdown banner
      • Events
      • Featured collection
      • Featured collection row
      • Featured product
      • Image with features
      • Image with text
      • Inline features
      • Logo list
      • Map
      • Mosaic grid
      • Newsletter
      • Questions and answers
      • Quotes
      • Rich text
      • Shoppable feature
      • Shoppable image
      • Slideshow
      • Social proof
      • Testimonials
      • Text columns with images
      • Video
      • Video hero
    • Popups
  • Header
    • Header
      • Logo
      • Layout and style
      • Transparent header
      • Customer account link
    • Announcement bar
    • Quick search
  • Footer
    • Footer
      • Links block
      • Newsletter block
      • Text and image block
      • Payment icons
      • Language selector
      • Country selector
      • Social media icons
      • Footer text
  • Products
    • Product listings
    • Hover add-to-cart
  • Cart
    • Cart page
    • Fly-out cart
  • Product pages
    • Product template
      • Pre-order template
      • Alternate product template
    • Layout and style
      • Breadcrumbs
      • Navigation buttons
      • Media gallery
      • Quick purchase bar
      • Gift recipient form
    • Product overview blocks
      • Default blocks
        • Title
        • Price
        • Description
        • Variant selector
        • Quantity selector
        • Buy buttons
        • Local pickup banner
        • Share icons
      • Accordion block
      • Complementary products
      • Custom text field
      • Information popup
      • Payment accordion
      • Security accordion
      • Shipping accordion
      • Stock level indicator
      • Text block
      • App blocks
    • Product page sections
      • Product reviews
      • Recommended products
    • Variant options
      • Variant chips
      • Variant swatches
        • Use default colors
        • Use custom colors
        • Use custom images
        • Show on product cards
        • Dynamic option availability
      • Sibling product swatches
  • Collection pages
    • Collection template
    • Banner
    • Product grid
    • Filters and sorting
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • For developers
    • Custom CSS
    • Custom fonts
    • Custom Liquid
    • Custom JavaScript events
    • Edit Theme JavaScript
Powered by GitBook
On this page
  • Watch video tutorial
  • Editing contexts
  • Updating themes with edited contexts

Was this helpful?

  1. General
  2. Adapting theme content

Unique content for markets

Last updated 1 year ago

Was this helpful?

With Shopify Contexts, you can adapt your theme to display unique content for different customers. For example, you can showcase promotions or collections for specific countries. Or you might want to display different shipping policies for international customers.

In your theme editor, switch contexts to edit how syour theme appears for specific markets or B2B customers. Get started by watching the video tutorial below.

Shopify | Since Shopify Markets and Contexts are not theme features, please direct all support-related questions to the Shopify team who will be able to assist you. See Shopify's for more information.

Watch video tutorial

Watch our video tutorial to learn how to use contexts. The video includes examples for setting up:

  • Unique announcement bars

  • Promoting seasonal items for specific markets

  • Showing the correct shipping details for international customers

Editing contexts

If you have multiple markets or use B2B on Shopify, they will appear in the 'Context' dropdown menu of your theme editor.

Your Default context provides the default content and layout for all other contexts. Editing a contexts for a market will override the default settings.

Once you've overridden default settings in a context, you won't be able to change those settings by editing the default view. You will need to edit those settings in the updated context.

STEPS

In your theme editor (Customize):

  1. Select the market or B2B that you want to edit from the Context dropdown menu.

  2. Edit your templates and theme settings in the selected context.

    You’ll see a warning popup to let you know you’re are overriding the Default context. Go ahead and click ‘Continue’.

    Once you override the Default context, it will show a green diamond indicator here to let you know that this section in the context will now need to be edited separately.

  3. Click Save.

Updating themes with edited contexts

If you are manually updating your theme, you will need to transfer any files for your customized contexts.

New theme files are automatically created when you edit a context. These files include the word 'context' in the name, as well as the country code. For example: header-group.context.eu.json, footer-group.context.ca.json, overlay-group.context.it.json.

The context will automatically switch if you change the language or country selector within the theme editor. If you accidentally edit the wrong context, you can .

You can add and edit your markets through your Shopify admin. Go to Settings > Markets, then click ‘Add new market’. If you need help setting up markets, please reach out to who can walk you through this.

See our for more information.

reset your context to the default ↗
Shopify’s support team ↗
Theme updates guide
Store contextualization guide ↗