Ecommerce Shopify WordPress Discussion

Why alt text its added deafault on my product image DAWN theme

Im customizing Media gallery of Product page in Shopify DAWN theme, and here i added if condition to not show images that doesnt have same ALT text with the selected variant. However on this case i need that images that dont have ALT text dont include on this condition. But images without ALT text are included anyway because i see now that these images are getting as ALT text the name of product. In short description: My images that doesnt have ALT text ( are empty ) are getting Alt text the name of product. <li {% if product.selected_or_first_available_variant.featured_image.alt != media.alt and product.selected_or_first_available_variant.featured_image.alt != blank and media.alt != product.title %} style="display:none!important" {% endif %} thumbnail-alt="{{ media.alt }}" id="Slide-Thumbnails-{{ }}-{{ forloop.index }}{{ id_append }}" class="thumbnail-list__item slider__slide{% if section.settings.hide_variants and variant_images contains media.src %} thumbnail-list_item--variant{% endif %}" data-target="{{ }}-{{ }}" data-media-position="{{ media_index }}" > </li>
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.