Adapt theme for markets

Adapt theme for markets

Start your free trial
Start your free trial

General

Online store speed
Online store speed
Accessibility
Accessibility
Theme updates
Theme updates

Theme styles

Style presets
Style presets
Colors
Colors
Fonts
Fonts
Animation
Animation
Social media
Social media

Header

Announcement bar
Announcement bar
Mobile menu
Mobile menu
Search bar
Search bar

Sections

Products

Product listings
Product listings
Product badges
Product badges
Quick view
Quick view
Quick add
Quick add

Product page

Product template
Product template
Variant chips
Variant chips
Sticky add-to-cart bar
Sticky add-to-cart bar
Sibling product swatches
Sibling product swatches
Product recommendations
Product recommendations

Collection page

Collections template
Collections template
Banner
Banner
Product grid
Product grid
Filters and sorting
Filters and sorting

Cart

Quick cart
Quick cart
Cart page
Cart page
Added-to-cart popup
Added-to-cart popup
Cross sells
Cross sells
Free shipping bar
Free shipping bar
Low inventory warning
Low inventory warning

Pages

Templates
Templates
Home page
Home page
About page
About page
Blogs page
Blogs page
Blog post
Blog post
Collections list
Collections list
Contact page
Contact page
Password page
Password page
Search page
Search page
404 page
404 page

Support

Support policy
Support policy
Shopify vs Theme issues
Shopify vs Theme issues
Store access requests
Store access requests

Show unique content for Shopify markets

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 your theme appears for specific markets or B2B customers. Get started by watching the video tutorial below.

image
Admin | 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 Store contextualization guide for more information.

Watch 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, and 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.

Note | The context will automatically switch if you change the language or country selector within the theme edtior. If you accidentally edit the wrong context, you can reset your context to the default.
icon
STEPS

In your theme editor (Customize):

  1. Select the market or B2B that you want to edit from the Context dropdown menu.
  2. 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 Shopify’s support team who can walk you through this.

  3. Edit your templates and theme settings in the selected context.
  4. 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.

  5. 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.jsonfooter-group.context.ca.jsonoverlay-group.context.it.json.

See our guide on Updating your theme for more information.