I'm trying to display a Klaviyo featured reviews carousel on my WooCommerce website using the Klaviyo shortcode, but the carousel is not showing after adding the required code snippet to my functions.php file.
The shortcode appears on the page as blank/no output, even though:
Klaviyo Reviews is connected properly
Reviews are synced and visible in Klaviyo
The shortcode is added correctly on the page
No PHP errors appear on the frontend
Cache has been cleared
Reviews have been selected as featured on klaviyo
I added the recommended snippet to functions.php, but the featured reviews carousel still does not render on the home page.
Current setup:
WordPress + WooCommerce
Theme: Astra
Using Gutenberg editor
Klaviyo Reviews enabled
Has anyone experienced this before or knows if:
the shortcode requires additional hooks/scripts,
there’s a conflict with WooCommerce templates,
or if the carousel only works with certain placement methods?
Any help would be appreciated.
Best answer by GabbyEsposito
@riquezamutibusinessgroup
Thanks for sharing all of that detail. From what I can tell, this doesn’t look like a WooCommerce or Astra-specific limitation so much as an installation-method issue.
For WooCommerce, the featured reviews carousel is supported, but the setup is a little particular:
If you’re using the raw widget HTML, that needs to be added to the HTML of the specific page where you want it to appear and not directly in functions.php.
If you want to use a shortcode instead, the shortcode has to be registered first in PHP, and then you’d place [klaviyo-featured-reviews-carousel] on the page itself.
Also worth checking: only reviews with text can be featured in the carousel.
A few practical things I’d verify next:
make sure you’re using one method cleanly (either page HTML or shortcode, not a mix of both)
confirm the shortcode registration snippet is active
inspect the live page to see whether the carousel container is actually rendering in the DOM
confirm the Klaviyo Reviews JS is loading on the page
rule out a theme/CSS conflict, since that can affect widget rendering
Let me know if that helps at all or if you were able to resolve yourself already.
Thanks for sharing all of that detail. From what I can tell, this doesn’t look like a WooCommerce or Astra-specific limitation so much as an installation-method issue.
For WooCommerce, the featured reviews carousel is supported, but the setup is a little particular:
If you’re using the raw widget HTML, that needs to be added to the HTML of the specific page where you want it to appear and not directly in functions.php.
If you want to use a shortcode instead, the shortcode has to be registered first in PHP, and then you’d place [klaviyo-featured-reviews-carousel] on the page itself.
Also worth checking: only reviews with text can be featured in the carousel.
A few practical things I’d verify next:
make sure you’re using one method cleanly (either page HTML or shortcode, not a mix of both)
confirm the shortcode registration snippet is active
inspect the live page to see whether the carousel container is actually rendering in the DOM
confirm the Klaviyo Reviews JS is loading on the page
rule out a theme/CSS conflict, since that can affect widget rendering
Let me know if that helps at all or if you were able to resolve yourself already.