Products with Variants in Prestashop: Parent Product Field Sources
Products with variants are items that share the same core attributes (such as name or description) but differ by at least one attribute, commonly size or color. For example, a t-shirt available in multiple colors is considered a product with variants.
Grouping products with variants as a single item keeps search results clean and easy to browse. Shoppers see one product with all its options, making it faster to find and choose the right variant.
When you group products by variants, Doofinder can display the selected variant, the default variant, or the main (parent) product depending on the attribute. The table below shows how products with variants appear in Doofinder when using Prestashop:
| Platform | Plugin Price | Sale Price | Link | Image | Availability | Default Variant? |
|---|---|---|---|---|---|---|
| PrestaShop | Cheapest variant | Cheapest variant | Parent product | Product cover | Any variant in stock | Yes |
Three details worth knowing when you compare what you see in Doofinder with the product in your store:
- The link of the parent product is its own plain product URL. It does not point to the default variant and carries no variant parameters.
- The image of the parent product is the image marked as cover on it. If your default variant uses a different image than the cover, the parent still shows the cover, not the one from that variant.
- The stock quantity of the parent product is the sum of the stock of all its combinations.