Variation image not working when selecting the first dropdown variaiton
-
Hi,
We’re having issues that the product variation image doesnt appear if you select the first dropdown, and will only display after you select the other dropdown variations.
we tried to disabled plugins and swtich to default theme but didnt work.Any help would be appreciated.
Thanks.
-
Hi @darrenc4
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.
Is there a direct URL you can provide us with to see this behaviour when only WooCommerce core and the default Storefront theme are active?
Ill paste the system report and product url below.
### WordPress Environment ### WordPress address (URL): https://www.uniformsintime.com.au Site address (URL): https://www.uniformsintime.com.au 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_AU External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.2.19 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 3000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.24-MariaDB-cll-lve Max Upload Size: 32 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: wpdm_ Total Database Size: 1.55MB Database Data Size: 1.30MB Database Index Size: 0.25MB wpdm_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB wpdm_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB wpdm_woocommerce_log: Data: 0.00MB + Index: 0.00MB wpdm_commentmeta: Data: 0.00MB + Index: 0.00MB wpdm_comments: Data: 0.00MB + Index: 0.01MB wpdm_db7_forms: Data: 0.00MB + Index: 0.00MB wpdm_links: Data: 0.00MB + Index: 0.00MB wpdm_options: Data: 1.00MB + Index: 0.04MB wpdm_postmeta: Data: 0.12MB + Index: 0.06MB wpdm_posts: Data: 0.07MB + Index: 0.03MB wpdm_termmeta: Data: 0.00MB + Index: 0.01MB wpdm_terms: Data: 0.00MB + Index: 0.01MB wpdm_term_relationships: Data: 0.00MB + Index: 0.01MB wpdm_term_taxonomy: Data: 0.00MB + Index: 0.00MB wpdm_usermeta: Data: 0.01MB + Index: 0.01MB wpdm_users: Data: 0.00MB + Index: 0.01MB wpdm_wc_download_log: Data: 0.00MB + Index: 0.00MB wpdm_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB wpdm_wc_webhooks: Data: 0.00MB + Index: 0.00MB wpdm_wfblockediplog: Data: 0.00MB + Index: 0.00MB wpdm_wfblocks7: Data: 0.00MB + Index: 0.00MB wpdm_wfconfig: Data: 0.04MB + Index: 0.01MB wpdm_wfcrawlers: Data: 0.00MB + Index: 0.00MB wpdm_wffilechanges: Data: 0.00MB + Index: 0.00MB wpdm_wffilemods: Data: 0.00MB + Index: 0.00MB wpdm_wfhits: Data: 0.01MB + Index: 0.00MB wpdm_wfhoover: Data: 0.00MB + Index: 0.00MB wpdm_wfissues: Data: 0.00MB + Index: 0.01MB wpdm_wfknownfilelist: Data: 0.00MB + Index: 0.00MB wpdm_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB wpdm_wflocs: Data: 0.00MB + Index: 0.00MB wpdm_wflogins: Data: 0.01MB + Index: 0.00MB wpdm_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB wpdm_wfls_settings: Data: 0.02MB + Index: 0.00MB wpdm_wfnotifications: Data: 0.00MB + Index: 0.00MB wpdm_wfpendingissues: Data: 0.00MB + Index: 0.00MB wpdm_wfreversecache: Data: 0.00MB + Index: 0.00MB wpdm_wfsnipcache: Data: 0.00MB + Index: 0.00MB wpdm_wfstatus: Data: 0.00MB + Index: 0.00MB wpdm_wftrafficrates: Data: 0.00MB + Index: 0.00MB ### Post Type Counts ### acf-field-group: 1 attachment: 23 faq: 8 nav_menu_item: 36 page: 10 post: 3 product: 8 product_variation: 41 revision: 18 scheduled-action: 1 wpcf7_contact_form: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (1) ### WooCommerce: by Automattic – 3.6.4 ### Inactive Plugins (24) ### AddToAny Share Buttons: by AddToAny – 1.7.36 Advanced Custom Fields PRO: by Elliot Condon – 5.8.1 Akismet Anti-Spam: by Automattic – 4.1.2 All In One SEO Pack Pro: by Michael Torbert – 3.1.1 Anti-Spam by CleanTalk: by СleanTalk <[email protected]> – 5.120.2 Classic Editor: by WordPress Contributors – 1.5 Contact Form 7: by Takayuki Miyoshi – 5.1.3 Contact Form CFDB7: by Arshid – 1.2.4.6 Disable XML-RPC: by Philip Erb – 1.0.1 Duplicate Post: by Enrico Battocchi – 3.2.2 EffectIO Dashboard: by EffectIO – 3.0.6 Hello Dolly: by Matt Mullenweg – 1.7.2 Limit Login Attempts Reloaded: by WPChef – 2.9.0 LiteSpeed Cache: by LiteSpeed Technologies – 2.9.8.2 Post Types Order: by Nsp Code – 1.9.4.1 WooCommerce Additional Variation Images: by WooCommerce – 1.7.15 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.15 WooCommerce Variation Swatches: by Emran Ahmed – 1.0.57 WooCommerce Variation Swatches and Photos: by Lucas Stark – 3.0.12 Wordfence Security: by Wordfence – 7.3.4 WP Migrate DB Pro: by Delicious Brains – 1.9.8 WP Migrate DB Pro Media Files: by Delicious Brains – 1.4.14 WP Migrate DB Pro Theme & Plugin Files: by Delicious Brains – 1.0.5 WPS Hide Login: by WPServeur NicolasKulka tabrisrp – 1.5.2.2 ### Settings ### API Enabled: ? Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) 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: #81 - /shop/ Cart: #82 - /cart/ Checkout: #83 - /checkout/ My account: #84 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Storefront Version: 2.5.0 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: – ### Action Scheduler ### Complete: 1 Oldest: 2019-06-20 10:33:33 +0800 Newest: 2019-06-20 10:33:33 +0800 Pending: 0 Oldest: – Newest: – Canceled: 0 Oldest: – Newest: – In-progress: 0 Oldest: – Newest: – Failed: 0 Oldest: – Newest: –
—————–
you need this access for authorization,
webdev
qpY@F}3Yv0t;https://www.uniformsintime.com.au/shop/sportswear/test-product-three-variable-regular-price/
Thanks.
Hi @darrenc4
Thank you for providing the System Status report and the link to view the product.
I see in your status report that there are a number of plugins still active, and two seem to provide a similar function:
WooCommerce Variation Swatches: by Emran Ahmed – 1.0.57 WooCommerce Variation Swatches and Photos: by Lucas Stark – 3.0.12
I suspect that there could be a conflict happening with the way the images for the variations are displaying. Are those plugins active on the site that you provided access to?
Can you please provide a screenshot of the settings for this product’s variation images.
Hi,
Can you confirm the other active plugins. I double check the status report provided above and I only see woocommerce as active plugins?
I also double check on dashboard to check for active plugins and there are no other plugins active except woocommerce. see screenshot below.https://www.uniformsintime.com.au/wp-content/uploads/2019/06/s1.png
https://www.uniformsintime.com.au/wp-content/uploads/2019/06/s2.png
Also heres the screenshot of products setup even those two plugins you mentioned are disabled.
https://www.uniformsintime.com.au/wp-content/uploads/2019/06/s3.png
Thanks.
hi!
do you have any updates?
thanks.
Hi, sorry to ask again but do you have update or feedback with the issue?
Thanks.Hi @darrenc4,
I deeply apologize for the wait on this. We have since updated to WooCommerce ver.
3.7
. Ver.3.6
changed a *lot* on how products are seen and displayed, and might be able to resolve your item.If you have not, please update to ver.
3.7
. After doing this, go to WooCommerce > Status > Tools an run the tool for Product lookup tables. This will take a while, but it regenerates all of the product lookup tables, which includes re-setting Variations.Do this and if it still does not work please come back and let me know!
Hi,
We tried to update woocommerce but it doesnt fix the current issue? can you double check and confirm please thanks.
https://www.uniformsintime.com.au/shop/sportswear/test-product-three-variable-regular-price/
Hi @darrenc4,
Were you able to regenerate product tables? When I go to the product in question, I am able to see the variation images. The first variation image does appear to be the gentleman with the correct color shirt, as seen in this GIF:
https://g.recordit.co/CwypjbW4Mu.gif
Is that the correct variation image? If it is, then it does appear to work. If it is not, is that image the
Featured Image
set for the product as well as the variation image? If it is the Featured Image, it will show as the first image. Please let me know ??Hi,
The size dropdown should be set to “Choose an option” or set to default when you test.
Like when the page loads, both dropdown should be set to default option, then try to select the color dropdown first.
On the gif you sent, the size was pre-selected, then you just select different colours.
Our issue is that when you select only the colour dropdown or the colour dropdown first without selecting size yet, the image should change.Thanks.
Our issue is that when you select only the colour dropdown or the colour dropdown first without selecting size yet, the image should change.
This is not how WooCommerce works, unless there has been modification or a plugin added to change behavior. If there are 2 selectable attributes (2 drop downs), both need to be selected in order to have the variable image show. If only one is selected then there is no match for the selection, and the image would not change.
@darrenc4 We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
- The topic ‘Variation image not working when selecting the first dropdown variaiton’ is closed to new replies.