so i have commerce products and below i have several variations. On the page of the product there is a (html)table with these variation and some corresponding data of these variations (productnumber, title etc).
These variation dont have their own page. But i want the data added in these variation be indexed to their parent product. So if i search for a productnumber of a variation i want :
Which one is easier to implement.
Which approach can i use here to achieve this?
You can add a new property or an extension method for VariationContent, named probably "ProductUrl", which you can easily get during index. Then on search page, you use that ProductUrl as the link of the variant.