Add widgets to your webshop
Each widget has an embed code: one script line and one tag. Open the widget and choose Embed, then Copy snippet.
1. Allow your domains
Section titled “1. Allow your domains”Widgets only run on the domains you allow, so nobody else can show your videos. Go to Web › Website settings and add your webshop’s addresses, one per line, such as https://shop.example.com. While you build, the test key in the code also works on localhost.
2. Add the code
Section titled “2. Add the code”Shopify
Section titled “Shopify”- In Shopify, go to Online Store › Themes and choose Customize.
- On the page where the widget goes, add a Custom Liquid section.
- Paste the embed code and save.
For videos on product pages, add the section to the product template.
WooCommerce and WordPress
Section titled “WooCommerce and WordPress”Add a Custom HTML block where the widget goes and paste the embed code. To show a widget on every product page, paste it into your theme’s product template, or use a plugin that adds HTML there.
Any website
Section titled “Any website”Paste the code into your page’s HTML where the widget goes. The script line only needs to be on the page once, even with several widgets. See Embed a widget for every option.
3. Turn it on
Section titled “3. Turn it on”Back in the console, choose Turn on. Reload your shop: the widget appears.
Nothing showing? Add ?lumieo_debug=1 to your page’s address and open the browser console. It says what’s wrong and links to the fix. See Debugging.