StreamCart
Integration Guide

WooCommerce Integration

WordPress plugin with one-click activation. Works with any WooCommerce theme and syncs your product catalog automatically.

WordPress PluginAuto product syncREST API

Requirements

  • WordPress 6.0 or later
  • WooCommerce 7.0 or later
  • PHP 8.0 or later
  • A StreamCart account (free trial available)

Installation Guide

Connect StreamCart to WooCommerce

1

Download the StreamCart plugin

Search for "StreamCart" in the WordPress Plugin Directory, or download the .zip file from your StreamCart dashboard under Settings → Integrations → WooCommerce.

2

Install and activate the plugin

Go to WP Admin → Plugins → Add New → Upload Plugin. Select the .zip file and click Install Now. Then click Activate Plugin.

3

Enter your Project ID

Go to Settings → StreamCart in your WordPress admin. Paste your Project ID (found in the StreamCart dashboard under Settings → Project) and click Save.

4

Embed script is added automatically

The plugin hooks into wp_head and injects the StreamCart embed script on every page. No manual code edits required.

5

Product catalog syncs via REST API

The plugin authenticates with the WooCommerce REST API and syncs your product catalog automatically on activation and on a daily schedule.

6

Configure widgets in the dashboard

Open the StreamCart dashboard, create a widget, associate videos to your WooCommerce products, and publish. Changes are reflected on your store immediately.

Manual Installation

Without the plugin

If you prefer not to use the plugin, add the embed using a WordPress action hook in your functions.php, or paste directly into header.php.

functions.php
// Add to functions.php or header.php (manual install)
function streamcart_add_embed() {
  echo '<script src="https://cdn.streamcart.it/embed.js"
    data-project-id="YOUR_PROJECT_ID" async></script>';
}
add_action('wp_head', 'streamcart_add_embed');
header.php
<!-- Paste before </head> in header.php -->
<script
  src="https://cdn.streamcart.it/embed.js"
  data-project-id="YOUR_PROJECT_ID"
  async>
</script>

Troubleshooting

Common issues and fixes

Plugin is active but embed script is not loading

Check that wp_head() is called in your theme's header.php. Some custom themes omit this hook. If missing, add <?php wp_head(); ?> just before </head>.

Products are not syncing

Go to WooCommerce → Settings → Advanced → REST API and verify that StreamCart has an active API key with Read permissions. Regenerate the key if needed.

Conflict with caching plugins

Exclude the StreamCart embed script URL from your cache plugin's JS minification and deferral settings (e.g., in WP Rocket or W3 Total Cache).

Need help?

Our support team can help with plugin installation, API key setup, and product sync issues.

Contact Support →

Ready to turn your videos
into revenue?

Start converting more with video commerce

Start Your Free Trial

7-day free trial · No credit card · Cancel anytime