My videos are not automatically appearing on PDPs (SKU-based distribution)
This troubleshooting guide is specifically for SKU-based automatic distribution, where videos are matched to products by their SKU (Product Reference). There are three methods for automatic playlists on PDPs:
- 2.1. By SKU scraping: Matches videos by product SKU found on the PDP (default method)
- 2.2. By tagging: Uses tags to control which videos appear on your pages
- 2.3. By explicit SKU: Explicitly specify the SKU in the query attribute to override scraped SKU
This guide covers requirements for methods 2.1 and 2.3. If you're using tag-based distribution (2.2), see the tag-based distribution guide instead.
If you're using query="sku:abc123" in your <bam-playlist> element (method 2.3), the specified SKU will override the SKU that would normally be scraped from the page. In this case, Requirements 1 and 2 below do not apply, as the SKU is explicitly set in the code rather than being scraped or matched. See method 2.3 documentation for more details.
To ensure your videos automatically appear on your Product Detail Pages (PDPs) using SKU-based distribution, all the requirements outlined below must be met. Each step is critical for video distribution to function seamlessly.
Requirements
-
The Bambuser Product Scraper retrieves the Product Reference from your PDP (Product Detail Page).
-
The Product Reference in Bambuser must match the one obtained through the Product Scraper.
How to Open the DevTools
- Chrome/Edge: Right-click on the page, select Inspect, and navigate to the Console or Network tab.
- Firefox: Right-click on the page, select Inspect Element, and open the Console or Network tab.
- Safari: Enable Develop Mode in Preferences, then use Develop > Show Web Inspector.
Checklist for Troubleshooting
1. Requirement 1: The Bambuser Product Scraper retrieves the Product Reference from your PDP.
Steps to verify:
- Navigate to Product Scraper Testing Tool.
- Enter your PDP URL in the tool.
- Confirm that the Bambuser Scraper retrieves the Product Reference automatically.
- If it fails to scrape the Product Reference, read more on how to fix it here.
Example:
We take https://demo.bambuser.shop/product/1737/bambuser-hoodie/ as an example.
When entering the URL into the Product Scraper tool, we see that the Product Reference is correctly scraped as 1737.

2. Requirement 2: Product Reference must match the one obtained through the Product Scraper.
Steps to verify:
- Navigate to your BamHub.
- Go to the Pages section.
- Add your product (if not already added).
- Check the "Product Reference" field for your product.
- Ensure it matches the reference retrieved via the Product Scraper.
Note: The Product Reference can be modified manually if needed.
Example:
We take https://demo.bambuser.shop/product/1737/bambuser-hoodie/ as an example again.
The Product Reference in BamHub is 1737, matching the reference obtained via the Product Scraper (Requirement 1)

3. Requirement 3: Product must be linked to at least one video.
Steps to verify:
- Navigate to your BamHub.
- Go to the Videos section.
- Click on the video you want to associate with a product.
- Scroll down to the Products section.
- Link the product to the video.
Example:
For the product Bambuser Hoodie, associated with the URL https://demo.bambuser.shop/product/1737/bambuser-hoodie/, it is linked to the "Fashion Video."

4. Requirement 4: Your playlist should not have query="none" attribute.
Steps to verify:
- Navigate to your PDP where
<bam-playlist>is integrated. - Inspect the HTML source code or use browser DevTools to find the
<bam-playlist>element. - Ensure that the
queryattribute is either not present, or if present, it should not be set to"none". - If
query="none"is found, remove it or change it to allow automatic distribution.
Note: The query="none" attribute disables automatic playlist population based on product SKU. For SKU-based automatic distribution to work, this attribute must not be set to "none".
Note: If you're using query="sku:abc123" to explicitly specify a SKU, this overrides the scraped SKU and Requirements 1 and 2 do not apply. The playlist will use the SKU specified in the query attribute instead.
Example:
<!-- ❌ This will prevent automatic distribution -->
<bam-playlist org-id="your-org-id" query="none"></bam-playlist>
<!-- ✅ This allows automatic distribution (uses scraped SKU) -->
<bam-playlist org-id="your-org-id"></bam-playlist>
<!-- ✅ This allows automatic distribution (uses explicit SKU, overrides scraped SKU) -->
<bam-playlist org-id="your-org-id" query="sku:abc123"></bam-playlist>
Related Articles
If you're experiencing the opposite issue—unwanted videos appearing on your PDPs—see Unwanted videos appearing on our PDPs to learn how to disable automatic distribution.