Shopify

How to edit a theme

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme that you want to edit, and then click Customize.
  3. Select the template that you want to edit from the Template drop-down menu (on center top bar).
  4. Click + Add section, and then select a new section for your template.
  5. Click the new section to view its settings and options.
  6. Make your changes to the section or the blocks within it.
  7. When you’re satisfied with your section, click Save.

How to translate a theme

  1. Install and activate Shopify Translate & Adapt.
  2. Go to Apps > Translate & Adapt.
  3. Click Section Groups to translate header and footer.
  4. Click Templates to translate pages.
  5. If you use Boost AI Search & Discovery, go to the app and click Tool > Translation. Change language from the dropdown and translate.

How to translate your liquid custom code

  1. First of all make sure that you add the code like this:
    <button>{{ 'products.product.find_more' | t }} </button>
  2. Then open default.json and add the find more lectic
    "products": {
    
    "product": {
    
    "find_more": "Find more"
    
    }
  3. Open the translation json and add the same lectic (with it’s translation).
  4. Now if you go to translate the theme, you will see your lectic there. If you change it and press save, it will also be changed in json.

Can I add a specific CSS for the translated store?

Yes you can by adding this CSS:

html[lang="it"] .myclass { ... }

How to get the page content inside a liquid template

{{ page.content }}

How to add a Facebook pixel to your shopify store

  1. Go to Online Store > Preferences.
  2. On Facebook Pixel section, click the Setup Facebook button.
  3. Click Add Sales Channel on the bottom.
  4. Click Continue.
  5. Enter your Facebook password.
  6. Click Continue as (your facebook name).
  7. On the Connect Shopify to Facebook popup click Continue.
  8. Here fill all 4 selections with your facebook page (Business Manager, Facebook page, catalogue, facebook pixel).

How to add a popup for free

You can use Pop Convert ‑ Pop Ups, Banners app.