[{"data":1,"prerenderedAt":242},["ShallowReactive",2],{"guide-shopify":3},{"id":4,"title":5,"body":6,"description":231,"extension":232,"meta":233,"navigation":234,"path":235,"seo":236,"stem":239,"videoId":240,"__hash__":241},"guides\u002Fguides\u002Fshopify.md","Shopify Setup Guide",{"type":7,"value":8,"toc":218},"minimark",[9,14,23,28,48,110,114,129,133,140,144,153,157,164,168,174,178,214],[10,11,13],"h2",{"id":12},"adding-an-estimate-calculator-to-shopify","Adding an Estimate Calculator to Shopify",[15,16,17,18,22],"p",{},"In Shopify you add your calculator with a ",[19,20,21],"strong",{},"Custom Liquid"," section in the theme editor and one line of code.",[24,25,27],"h3",{"id":26},"before-you-start","Before you start",[29,30,31,41],"ul",{},[32,33,34,35,40],"li",{},"A published calculator. New here? Follow the ",[36,37,39],"a",{"href":38},"\u002Fguides\u002F8-minute-setup","8 minute setup guide"," first.",[32,42,43,44,47],{},"Your calculator's code, from the ",[19,45,46],{},"Embed"," tab in the editor:",[49,50,55],"pre",{"className":51,"code":52,"language":53,"meta":54,"style":54},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript src=\"https:\u002F\u002Festimatecalculators.com\u002Fembed.js\" data-calculator=\"YOUR_ID\" async>\u003C\u002Fscript>\n","html","",[56,57,58],"code",{"__ignoreMap":54},[59,60,63,67,71,75,78,81,85,87,90,92,94,97,99,102,105,107],"span",{"class":61,"line":62},"line",1,[59,64,66],{"class":65},"sMK4o","\u003C",[59,68,70],{"class":69},"swJcz","script",[59,72,74],{"class":73},"spNyl"," src",[59,76,77],{"class":65},"=",[59,79,80],{"class":65},"\"",[59,82,84],{"class":83},"sfazB","https:\u002F\u002Festimatecalculators.com\u002Fembed.js",[59,86,80],{"class":65},[59,88,89],{"class":73}," data-calculator",[59,91,77],{"class":65},[59,93,80],{"class":65},[59,95,96],{"class":83},"YOUR_ID",[59,98,80],{"class":65},[59,100,101],{"class":73}," async",[59,103,104],{"class":65},">\u003C\u002F",[59,106,70],{"class":69},[59,108,109],{"class":65},">\n",[24,111,113],{"id":112},"step-1-open-the-theme-editor","Step 1 - Open the theme editor",[15,115,116,117,120,121,124,125,128],{},"In your Shopify admin, go to ",[19,118,119],{},"Online Store",", then ",[19,122,123],{},"Themes",", and click ",[19,126,127],{},"Customize"," on your current theme.",[24,130,132],{"id":131},"step-2-choose-the-page","Step 2 - Choose the page",[15,134,135,136,139],{},"Use the page selector at the top to open the page where you want your calculator. A good option is a page such as \"Get a quote\", created under ",[19,137,138],{},"Online Store > Pages",".",[24,141,143],{"id":142},"step-3-add-a-custom-liquid-section","Step 3 - Add a Custom Liquid section",[15,145,146,147,150,151,139],{},"Click ",[19,148,149],{},"Add section"," and choose ",[19,152,21],{},[24,154,156],{"id":155},"step-4-paste-your-code","Step 4 - Paste your code",[15,158,159,160,163],{},"Paste your one line of code into the ",[19,161,162],{},"Liquid code"," box. The preview updates with your calculator.",[24,165,167],{"id":166},"step-5-save","Step 5 - Save",[15,169,146,170,173],{},[19,171,172],{},"Save",", then check the live page.",[24,175,177],{"id":176},"troubleshooting","Troubleshooting",[29,179,180,198,208],{},[32,181,182,185,186,189,190,193,194,197],{},[19,183,184],{},"The calculator isn't showing."," Check it's ",[19,187,188],{},"Published"," in the editor. If you've filled in ",[19,191,192],{},"Allowed websites"," on the Embed tab, add your ",[56,195,196],{},"myshopify.com"," address and your custom domain.",[32,199,200,203,204,207],{},[19,201,202],{},"Custom Liquid isn't available."," Older (vintage) themes may not have it. Instead, edit the page's content, switch the editor to HTML (",[56,205,206],{},"\u003C>","), and paste the code there.",[32,209,210,213],{},[19,211,212],{},"It says \"This calculator is currently unavailable\"."," Publish it in the editor, and check nothing is left on the checklist.",[215,216,217],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":54,"searchDepth":219,"depth":219,"links":220},2,[221],{"id":12,"depth":219,"text":13,"children":222},[223,225,226,227,228,229,230],{"id":26,"depth":224,"text":27},3,{"id":112,"depth":224,"text":113},{"id":131,"depth":224,"text":132},{"id":142,"depth":224,"text":143},{"id":155,"depth":224,"text":156},{"id":166,"depth":224,"text":167},{"id":176,"depth":224,"text":177},"How to add an Estimate Calculator to a Shopify store with a Custom Liquid section.","md",{},true,"\u002Fguides\u002Fshopify",{"title":237,"description":238},"Add an Estimate Calculator to a Shopify store","How to add an Estimate Calculator to your Shopify store with one line of code in a Custom Liquid section. Step by step guide.","guides\u002Fshopify",null,"AwWlPtn-KEg63fZRj2vWvW8HwXPCHxMXGO5oabsmH-E",1795404681520]