Displaying Attribute Term Images
-
I have configured an attribute ‘Leather Colors’ and configured attribute terms for my variable products in Woocommerce. Each attribute term (e.g blue, red, etc.) has an image configured. I expected that the attribute term images would be displayed on the front end when the drop down list for the particular attribute is selected. This is not happening. What am I missing?
-
Hi there,
I expected that the attribute term images would be displayed on the front end when the drop down list for the particular attribute is selected. This is not happening. What am I missing?
That’s indeed the default behaviour 🙂
If that’s not happening, it could mean the following:
- The theme you’re using is overriding the core WooCommerce templates with its own ones
- There’s a JavaScript conflict coming from one of your plugins or the theme you’re using.
To troubleshoot this further, please do the following:
- Share a copy of your system status report as found under **WooCommerce > System Status**
- Share a direct URL to the product where you’re seeing this
Thanks!
Hi RT,
Thank you for you response.
I’m using Storefront theme.
Here is a link to a product I’ve been using for testing:
http://www.myfeteish.com/product/single-strap-2/
I’ve copied the system status below.
### WordPress Environment ###WordPress address (URL): http://www.myfeteish.com
Site address (URL): http://www.myfeteish.com
WC Version: 3.6.4
Log Directory Writable: ✔
WP Version: 5.2.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 5.6.40 – We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
PHP Post Max Size: 64 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.65.1
OpenSSL/1.0.2sSUHOSIN Installed: –
MySQL Version: 5.6.41-84.1
Max Upload Size: 64 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔### Database ###
WC Database Version: 3.6.4
WC Database Prefix: dfc_
MaxMind GeoIP Database: ✔
Total Database Size: 4.02MB
Database Data Size: 3.54MB
Database Index Size: 0.48MB
dfc_woocommerce_sessions: Data: 0.15MB + Index: 0.01MB
dfc_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB
dfc_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB
dfc_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
dfc_woocommerce_log: Data: 0.00MB + Index: 0.00MB
dfc_commentmeta: Data: 0.00MB + Index: 0.01MB
dfc_comments: Data: 0.02MB + Index: 0.02MB
dfc_failed_jobs: Data: 0.00MB + Index: 0.00MB
dfc_links: Data: 0.00MB + Index: 0.00MB
dfc_mailchimp_carts: Data: 0.00MB + Index: 0.00MB
dfc_options: Data: 2.57MB + Index: 0.07MB
dfc_postmeta: Data: 0.42MB + Index: 0.13MB
dfc_posts: Data: 0.13MB + Index: 0.04MB
dfc_pum_subscribers: Data: 0.00MB + Index: 0.00MB
dfc_queue: Data: 0.00MB + Index: 0.00MB
dfc_sbi_instagram_feeds_posts: Data: 0.01MB + Index: 0.01MB
dfc_sbi_instagram_posts: Data: 0.10MB + Index: 0.00MB
dfc_termmeta: Data: 0.01MB + Index: 0.02MB
dfc_terms: Data: 0.00MB + Index: 0.02MB
dfc_term_relationships: Data: 0.01MB + Index: 0.03MB
dfc_term_taxonomy: Data: 0.01MB + Index: 0.01MB
dfc_tinvwl_analytics: Data: 0.00MB + Index: 0.00MB
dfc_tinvwl_items: Data: 0.00MB + Index: 0.00MB
dfc_tinvwl_lists: Data: 0.00MB + Index: 0.00MB
dfc_usermeta: Data: 0.08MB + Index: 0.06MB
dfc_users: Data: 0.01MB + Index: 0.01MB
dfc_wc_download_log: Data: 0.00MB + Index: 0.00MB
dfc_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB
dfc_wc_webhooks: Data: 0.00MB + Index: 0.00MB
dfc_wdi_feeds: Data: 0.00MB + Index: 0.00MB
dfc_wdi_themes: Data: 0.00MB + Index: 0.00MB
dfc_wpfm_backup: Data: 0.00MB + Index: 0.00MB### Post Type Counts ###
attachment: 113
gift_card: 1
jetpack_migration: 2
jp_img_sitemap: 1
jp_sitemap: 1
jp_sitemap_master: 1
page: 14
popup: 1
popup_theme: 6
post: 1
product: 33
product_variation: 22
revision: 45
scheduled-action: 18
shop_coupon: 6
shop_order: 32
wdi_instagram: 1### Security ###
Secure connection (HTTPS): ❌
Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ✔### Active Plugins (19) ###
Agile CRM: by Agile CRM – v1.2
Agile CRM WooCommerce: by Agile CRM Team – 1.0 – Not tested with the active version of WooCommerce
Custom Products for WooCommerce Premium: by Grega Radelj – 1.1.0
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.6.0
Instagram Feed Pro Personal: by Smash Balloon – 4.1.5
Jetpack by WordPress.com: by Automattic – 7.4
OptinMonster API: by OptinMonster Team – 1.6.8
Popup Maker – Advanced Targeting Conditions: by WP Popup Maker – 1.4.5
Popup Maker: by WP Popup Maker – 1.8.6
TI WooCommerce Wishlist Plugin: by TemplateInvaders – 1.12.3
Unlist Posts & Pages: by Nikhil Chavan – 1.0.4
UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 2.14.12WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.14 – 1.6.15 is available
WooCommerce Services: by Automattic – 1.20.0 – 1.21.0 is available
WooCommerce: by Automattic – 3.6.4 – 3.6.5 is available
WP File Manager: by mndpsingh287 – 4.8
WP Fusion Lite: by Very Good Plugins – 3.24
WPForms Lite: by WPForms – 1.5.2.3
YITH WooCommerce Gift Cards: by YITH – 1.3.5### Inactive Plugins (7) ###
Akismet Anti-Spam: by Automattic – 4.1.2
Custom Products for WooCommerce Premium: by Grega Radelj – 1.0.4
Hello Dolly: by Matt Mullenweg – 1.7.2
Instagram Feed: by Smash Balloon – 1.12
Mailchimp for WooCommerce: by Mailchimp – 2.1.14 – Not tested with the active version of WooCommerce
MOJO Marketplace: by Mike Hansen – 1.4.4
WooCommerce Blocks: by Automattic – 2.1.0### Must Use Plugins (3) ###
Endurance Browser Cache: by Mike Hansen – 0.4
Endurance Page Cache: by Mike Hansen – 1.5
SSO: by Garth Mortensen
Mike Hansen – 0.3### Settings ###
API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
gift-card (gift-card)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #9 – /shop/
Cart: #10 – /cart/
Checkout: #11 – /checkout/
My account: #12 – /my-account/
Terms and conditions: ❌ Page visibility should be public### Theme ###
Name: Storefront
Version: 2.4.3 – 2.5.1 is available
Author URL: https://woocommerce.com/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔### Templates ###
Overrides: –
### TI WooCommerce Wishlist Templates ###
Overrides: –
### Action Scheduler ###
Complete: 18
Oldest: 2019-06-12 22:05:13 +0000
Newest: 2019-07-05 15:45:36 +0000Pending: 0
Oldest: –
Newest: –Canceled: 0
Oldest: –
Newest: –In-progress: 0
Oldest: –
Newest: –Failed: 0
Oldest: –
Newest: –`
Hi @kaylesarchelle –
Thank you for providing that information. I looked at your site and see what you’re saying about the variation images not showing when you select one from the drop down list.
This looks like it’s most likely a conflict of some sort.
Here are some troubleshooting steps you can take to resolve this issue:
1.) To begin, please make sure that your theme and all plugins are up to date.
2.) Try to deactivate all the plugins except for WooCommerce to see if the issue persists. If the problem goes away, re-activate and test each plugin to see if you can determine which plugin the problem originates from.
We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.
The topic ‘Displaying Attribute Term Images’ is closed to new replies.