> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.custompricecalculator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# My Calculator Isn't Showing: App Embed vs App Block, and the Full Checklist

<h2>App Embed vs App Block: which does what, and why you need both</h2>

<p>Custom Price Calculator has two separate switches in your Shopify theme. Turning on only one is the single most common cause of &ldquo;my calculator isn&rsquo;t showing&rdquo;.</p>

<ul>
<li><strong>The App Embed</strong> loads the CPC script across your storefront. It renders nothing visible &mdash; it switches the power on.</li>
<li><strong>The App Block</strong> is what you place on your product template in the theme editor. It renders the calculator and controls where it sits.</li>
</ul>

<p>The embed alone is not enough: the script loads, calculates nothing, shows nothing.</p>

<h3>The 60-second check</h3>

<p>In order. Most cases are fixed by step 2 or step 5.</p>

<ol>
<li><strong>App Embed is on.</strong> On your live theme: <strong>Online Store &rarr; Themes &rarr; Customize &rarr; App embeds</strong>, turn <strong>Custom Price Calculator</strong> ON, <strong>Save</strong>.</li>
<li><strong>App Block is on the product template.</strong> Still in Customize, open a product page, click <strong>Add block</strong>, choose <strong>Custom Price Calculator</strong> under <strong>Apps</strong>, drag it into position, <strong>Save</strong>.</li>
<li><strong>The product is assigned to the calculator</strong> &mdash; in the app, open the calculator, <strong>Products</strong> tab, tick the product, save. See <a href="https://support.custompricecalculator.com/en/article/adding-a-calculator-to-product-pages-1u1kvw7/" target="_blank" rel="noopener noreferrer">Adding a calculator to Product Pages</a>.</li>
<li><strong>The theme&rsquo;s native Add to Cart block is still there.</strong> The calculator mounts onto Shopify&rsquo;s native product form (<code>form[action="/cart/add"]</code>). Delete the <strong>Buy buttons</strong> block and there is nothing to attach to, so nothing renders even with the embed and block in place. Add Buy buttons back and save.</li>
<li><strong>Check the live product page, not a preview.</strong> Open the real product URL and hard-refresh (<code>Ctrl + Shift + R</code>, or <code>Cmd + Shift + R</code> on Mac), or use an incognito window.</li>
</ol>

<h3>It never renders in the theme editor or a preview</h3>

<p>Normal, not a fault. In Customize, in the app&rsquo;s own preview and on theme preview links you see only a placeholder block. The calculator builds itself only on a live, publicly loaded product page.</p>

<h3>Only the embed carries over between themes</h3>

<p>The embed setting generally follows you when you switch or publish a theme. <strong>The block does not</strong>: it lives in one theme&rsquo;s product template, so a newly published, duplicated or freshly installed theme has none. &ldquo;The calculator broke after I published a new theme&rdquo; is nearly always just that; your calculators and data are untouched. Set every theme up fully before a switch or A/B test &mdash; one merchant lost roughly six weeks of testing to a second theme that never had the block.</p>

<p>On a backup, duplicate or unpublished theme the calculator may load but show <code>NaN</code> or <code>0</code>, because the embed registers per theme. Toggle that theme&rsquo;s embed off, then on, and <strong>Save</strong>.</p>

<h3>&ldquo;Failed to render app block&hellip; does not exist&rdquo;</h3>

<p>The calculator vanishes overnight, you changed nothing, and the page source may show that message. After an app update the block saved in your theme can still point at an older version of the extension, so Shopify silently refuses to render it. It looks like the app deleting itself; it isn&rsquo;t, and your calculators and product assignments are untouched.</p>

<p><strong>Fix:</strong> in <strong>Customize &rarr; App embeds</strong>, toggle <strong>Custom Price Calculator</strong> off then on, <strong>Save</strong>, re-check the live page. Still missing? Remove the old CPC block from the product template, add it again, save.</p>

<h3>Old calculator.js script tags must be removed</h3>

<p>Legacy setup meant pasting a <code>&lt;script&gt;</code> tag for <code>calculator.js</code> into <code>theme.liquid</code>. If one is still there the calculator loads twice and the copies conflict &mdash; usually a price that won&rsquo;t update. In <strong>Online Store &rarr; Themes</strong>, open the <strong>&hellip;</strong> menu, choose <strong>Edit code</strong>, open <code>layout/theme.liquid</code>, search <code>calculator.js</code>, and delete that <code>&lt;script&gt;</code> line plus any old CPC snippet pulled in with <code>{% include %}</code> or <code>{% render %}</code>. Do this in every theme, duplicates included. Never add a script tag to fix a display problem &mdash; that approach is retired and now causes faults. If it still loads twice, contact support rather than editing further.</p>

<h3>Three more limits</h3>

<ul>
<li><strong>Page builders.</strong> On a PageFly or Instant product page the native product form is often missing, so the calculator can&rsquo;t mount &mdash; use your theme&rsquo;s native product template. For non-product landing or quote pages, use the <strong>Non-products</strong> feature: <a href="https://support.custompricecalculator.com/en/article/how-to-add-a-calculator-to-a-non-product-page-1vqnyew/" target="_blank" rel="noopener noreferrer">Adding a Calculator to a Non-Product Page</a>.</li>
<li><strong>The embed can&rsquo;t be scoped to certain products for page speed.</strong> It loads site-wide, as Shopify&rsquo;s app embed system requires; narrowing it needs unsupported custom theme development. Scoping it to product pages is a logged feature request.</li>
<li><strong>Which products show a calculator is set in the app, not the theme.</strong> A calculator appears only on products you assign it to, so to hide one, don&rsquo;t turn the embed off &mdash; that breaks every other calculator on the store. Unassign the product, or archive the calculator.</li>
</ul>

<h3>Still nothing? Two more checks</h3><p><strong>Test for a theme or app conflict.</strong> Temporarily switch to Shopify&rsquo;s Dawn theme and open the product page. If the calculator appears in Dawn but not in your own theme, the cause is a conflict in that theme or with another app, not the calculator setup.</p><p><strong>Check where it is set to appear.</strong> Open the calculator in the app, go to Settings and review the Calculator Placement setting. If you are not sure which option you need, choose the default placement and save.</p><h3>Still not showing?</h3><p>Start a chat from the app and include four things, which is usually enough for us to diagnose it without a back-and-forth: the live product page URL, your theme name, whether that theme is published or a duplicate or a backup, and a screenshot of the product template showing the CPC block.</p>
