I'm trying to show the product image is if the variant image doesn't exist.
Using this mapped value on the image column doesn't load the product image even though the value is found.
{{ self === '' ? 'currentRow.product_image' : currentRow.src }}
@jason3w
I don't see product_image as a column in the table.
Additionally, self and currentRow.src are one and the same....
Also, simply adding the image URL in the src column should suffice.
I fixed it actually. Should have been
{{ self === null ? currentRow.product_image : currentRow.src }}
and as you mentioned
{{ self === null ? currentRow.product_image : self }}
works too.
Cheers!