Cethora

Guide · updated Nov 2026

Try-on for Shopify

How to add virtual try-on to a Shopify store

Short answer

Create a publishable Cethora key restricted to your store's domain, add one script tag to your Shopify theme, and put a button with data-cethora-tryon and the product image URL on your product template. Shoppers upload a photo and see the product on themselves in seconds, using your existing product images.

Steps

  • Choose the Business plan in Cethora and open API & Widget.
  • Create a publishable key and enter your store URL as the allowed website.
  • In Shopify: Online Store → Themes → Edit code → theme.liquid, add the widget script before </body>.
  • In your product template, add a button with data-cethora-tryon, data-garment set to the product's featured image URL, and data-category.
  • Save and test on a product page.

Snippet

<script src="https://cethora.com/widget.js" data-key="ck_pub_…" defer></script>

<button data-cethora-tryon data-garment="{{ product.featured_image | image_url: width: 1200 }}" data-category="tops">Try it on</button>

Costs

Each try-on uses one credit from your account. Business includes 2,000 credits a month, with overage at $0.14 per credit.

FAQ

Do I need 3D models of my products?

No. Cethora works from the 2D product photos you already have.

Does it work with WooCommerce or custom stores?

Yes. The widget is plain JavaScript and works on any website; the REST API works from any backend.

Free PDF · 13 pages

The Fashion Returns Playbook

24 fixes to cut apparel returns, a 30-day try-on pilot plan and copy-paste templates.

Try it on yourself

Start free with 10 credits. Plans from $24/month.

See plans

Keep reading