Welcome to our Help Center 👋

Embed Product Page Gallery

How to add the Product Page Gallery to your WooCommerce Product page template
Written by Totte
Updated 1 month ago
  1. Visit the Gallery page in the Cevoid platform and press "Product page gallery"
  2. Press the 'Copy code' button like in the screenshot and you will get the correct code that you need to paste into your product page template page where you want the gallery to be displayed.

Make sure to get the correct ID into the data-product attribute and the gallery will automatically display the correct posts.

The product page gallery code has this format where the data-gallery attribute is the ID for the product page gallery. This is needed to fetch the correct styling.

<div id="cevoid-container" data-gallery="{ENTER_GALLERY_ID}" data-product="<?= get_the_ID() ?>" />
Did this answer your question?