How to get visual Swatch attribute image with image path of course

55 views Asked by At

I created a new phtml file and a custom Brands.php file located inside the Block folder. I also created a visual Swatch attribute and added some images. However, I am unsure how to display all the images. Currently, both the brands file and phtml file are empty. I previously attempted to retrieve the Label value and the option, but my issue lies in obtaining and displaying the image. How can I achieve this?

0

There are 0 answers