How to Embed a Widget on Shift4Shop

Shift4Shop (formerly 3dcart) is a feature-rich e-commerce platform that offers a free plan for US merchants. By embedding Embeddy widgets, you can add interactive calculators, product configurators, quizzes, and more to any page on your store. This guide covers three methods: the built-in page content editor (WYSIWYG), direct template page editing, and the global header/footer approach.

Beginner-Intermediate~8 min readUpdated 2026

Prerequisites

Before you start, have the following ready:

<iframe
  src="https://embeddy.ai/webhost/WIDGET_ID?widget_props_id=PROPS_ID"
  width="100%"
  height="500"
  frameborder="0"
></iframe>
  • Shift4Shop admin access. You need store owner or administrator access to edit pages, templates, and global site settings.
  • A Shift4Shop plan that supports HTML editing. The free End-to-End plan includes full template editing. Ensure your plan supports custom code editing for template page methods.

Always back up your templates before editing. In Shift4Shop, go to Settings > Design > Themes & Styles and use the File Editor to download copies of your template files before making changes.

Method 1: Page Content Editor (WYSIWYG)

Easiest — no code required

Shift4Shop's built-in page editor lets you add HTML content to any CMS page or extra page. This is the fastest way to embed a widget on a specific page.

  1. 1

    Open the page editor

    In the Shift4Shop admin, go to Content > Site Content. Create a new page or click Edit on an existing one.

  2. 2

    Switch to HTML source view

    In the WYSIWYG editor, click the "Source" or "</>" button to switch to raw HTML editing mode.

  3. 3

    Paste your embed code

    Paste the Embeddy iframe embed code at the position where you want the widget to appear in the page content.

  4. 4

    Save and preview

    Click Save and visit the page on your storefront to verify the widget renders correctly.

Tip: You can also embed widgets in product descriptions using the same approach. Edit the product and switch to HTML source view in the description editor.

Method 2: Edit Template Pages

Intermediate — requires HTML knowledge

Shift4Shop uses HTML template files that control the layout of each page type. By editing these files, you can embed widgets on specific page types (home, product, category, etc.) across your entire store.

  1. 1

    Open the File Editor

    Go to Settings > Design > Themes & Styles and click "File Editor" (or use the built-in Core Template Editor).

  2. 2

    Select the template page

    Common template pages include home.html (homepage), product.html (product pages), frame.html (global wrapper), and page.html (content pages).

  3. 3

    Add the embed code

    Place your iframe code at the desired location in the template:

<!-- Embeddy Widget -->
<div class="embeddy-widget-wrapper" style="max-width: 800px; margin: 2rem auto;">
  <iframe
    src="https://embeddy.ai/webhost/WIDGET_ID?widget_props_id=PROPS_ID"
    width="100%"
    height="500"
    frameborder="0"
    style="border: none; border-radius: 8px;"
    loading="lazy"
    title="Interactive Widget"
  ></iframe>
</div>
  1. 4

    Save and verify

    Click Save. Visit the corresponding page type on your storefront to confirm the widget appears.

Remember: Shift4Shop template pages use special tags like [content], [product_name], etc. Place your widget code around these tags, not inside them.

Embedding on Product Pages

Product pages are a great place for interactive Embeddy widgets. Common use cases:

  • Size guides — help shoppers find the right fit before purchasing
  • Product configurators — let customers customize options visually
  • Compatibility checkers — verify parts or accessories fit together
  • Savings calculators — demonstrate value for premium items

Edit the product.html template (Method 2) to add widgets to all product pages. For individual products, use the product description editor (Method 1 approach) to embed the widget code in a specific product's description.

Troubleshooting

The WYSIWYG editor strips my iframe

Shift4Shop's WYSIWYG editor may remove iframe tags when switching between visual and source view. Always save while in Source mode. If the issue persists, use Method 2 (template pages) or Method 3 (global footer) instead.

Widget shows blank or loading spinner

Verify your Widget ID and Props ID are correct. Copy the embed code fresh from the Embeddy dashboard and ensure the widget is published (not in draft mode).

Template changes broke the store layout

If your template edit introduced an error, go back to the File Editor and revert your changes. If you backed up the file before editing, upload the original version. You can also restore the default template from Settings > Design > Themes.

Widget is cut off on mobile

Ensure the iframe has width="100%". Add overflow: hidden to the wrapper div. Use the template's CSS file to add responsive styles as needed.

Frequently Asked Questions

Will embedding a widget affect my Shift4Shop store speed?

Iframes load independently from your page content. Adding loading="lazy" defers loading until the widget scrolls into view. Embeddy uses a global CDN for fast delivery worldwide.

Does this work with the free Shift4Shop plan?

Yes. The free End-to-End plan includes the content editor, template editing, and global header/footer HTML. All three methods work on the free plan.

Can I use Shift4Shop's built-in modules with Embeddy?

Shift4Shop's module system is separate from Embeddy. You embed Embeddy widgets via iframe HTML code, which can be placed in any area that accepts HTML — page content, template files, or the global footer. No Shift4Shop module or app installation is needed.

Ready to supercharge your Shift4Shop store?

Build a free interactive widget — size calculator, product configurator, quiz, or anything you need — and embed it on your store in minutes.

Create your free widget at embeddy.ai