Get Placeholder image url in Magento 2.

Native Magento 2 has four types of placeholder image called, small_image, image, thumbnail, and swatch_image.

Placeholder image URL used when you want to display default images for a site.
Magento 2 get placeholder image URL using below simple code snippet. Continue reading “Get Placeholder image url in Magento 2.”