Prestashop 8.2: Missing JSON-LD Support for Combination Products and How to Fix It
While working with Prestashop 8.2, I noticed an issue that can negatively impact SEO for stores using product combinations (variants such as size, color, etc.).
By default, Prestashop generates JSON-LD structured data for product pages, but combination products are not handled properly. The standard product-jsonld.tpl file does not provide sufficient structured data for variants, meaning Google often cannot generate rich snippets because the necessary information is simply missing.
This can result in:
- Missing price information in search results
- Missing availability data in Google
- Reduced visibility in rich results
- Lower click-through rates (CTR)
The issue originates from the product-jsonld.tpl template file. The default implementation does not properly describe the relationship between a parent product and its variants. Search engines expect variant information to be included through properties such as hasVariant, allowing them to understand that a product may exist in multiple versions with different prices, stock levels, SKUs, or attributes.
The fix is straightforward: replace or override the default product-jsonld.tpl file with a customized version that adds support for hasVariant. The modified file should be placed in your theme’s /templates/_partials/microdata directory.
It is a bigger change and can have a noticeable impact on how Google understands your products and whether rich snippets are generated for combination products.
After applying the change, I strongly recommend testing the output with Google’s structured data tools: