Woocommerce opens the wrong featured image

[ad_1]

Hi @michaelgs,

I’ve reviewed your site and found the issue with the featured images, only with your coffee mugs and only when a capacity is selected. It even happens using the quick view option, too, and it also shows the wrong image on the cart and checkout pages.

I tested for other products and categories, and I didn’t find this behavior, so it seems isolated to the coffee mugs category only.

This one is quite interesting. To learn more, can you please share the System Status Report with us? You can find it via WooCommerce > Status > Get system report > Copy for support.
 
Furthermore, can you please run a conflict test to find out if something external is interfering? Maybe a plugin for WooCommerce or your products. Let’s test this!

To do a conflict test you’ll need to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

Some important considerations:
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality, or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
 
— Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community, and it is helpful to disable plugins without affecting your current site visitors.
 
— It is important to consider staging functionality as well in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging to spin up a new test site quickly.
 
You can find more about this in this guide.
 
Please let us know about your findings.

` WordPress Environment

WordPress address (URL): https://magicalduck.com<br>Site address (URL): https://magicalduck.com<br>WC Version: 8.6.1<br>REST API Version: ✔ 8.6.1<br>WC Blocks Version: ✔ 11.8.0-dev<br>Action Scheduler Version: ✔ 3.7.2<br>Log Directory Writable: ✔<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 768 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment

Server Info: Apache<br>PHP Version: 7.4.33<br>PHP Post Max Size: 256 MB<br>PHP Time Limit: 120<br>PHP Max Input Vars: 1000<br>cURL Version: 8.2.1<br>OpenSSL/3.1.1

SUHOSIN Installed: –<br>MySQL Version: 5.7.44-48-log<br>Max Upload Size: 256 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database

WC Database Version: 8.6.1<br>WC Database Prefix: 3GF5x4_<br>Total Database Size: 354.61MB<br>Database Data Size: 260.18MB<br>Database Index Size: 94.43MB<br>3GF5x4_woocommerce_sessions: Data: 4.02MB + Index: 0.14MB + Engine InnoDB<br>3GF5x4_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>3GF5x4_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>3GF5x4_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_actionscheduler_actions: Data: 14.25MB + Index: 13.78MB + Engine InnoDB<br>3GF5x4_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_actionscheduler_logs: Data: 7.20MB + Index: 6.67MB + Engine InnoDB<br>3GF5x4_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>3GF5x4_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB<br>3GF5x4_gla_merchant_issues: Data: 6.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_gpf_feeds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_mailerlite_checkouts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_mailerlite_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_ml_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_options: Data: 37.09MB + Index: 2.42MB + Engine InnoDB<br>3GF5x4_pmr_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_postmeta: Data: 61.56MB + Index: 8.91MB + Engine InnoDB<br>3GF5x4_posts: Data: 11.52MB + Index: 2.33MB + Engine InnoDB<br>3GF5x4_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_rank_math_analytics_ga: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>3GF5x4_rank_math_analytics_inspections: Data: 2.48MB + Index: 0.17MB + Engine InnoDB<br>3GF5x4_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_rank_math_analytics_objects: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>3GF5x4_rank_math_internal_links: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_sgs_log_events: Data: 111.13MB + Index: 55.75MB + Engine InnoDB<br>3GF5x4_sgs_log_visitors: Data: 0.20MB + Index: 0.20MB + Engine InnoDB<br>3GF5x4_termmeta: Data: 0.34MB + Index: 0.47MB + Engine InnoDB<br>3GF5x4_terms: Data: 0.27MB + Index: 0.31MB + Engine InnoDB<br>3GF5x4_term_relationships: Data: 1.50MB + Index: 0.41MB + Engine InnoDB<br>3GF5x4_term_taxonomy: Data: 0.25MB + Index: 0.27MB + Engine InnoDB<br>3GF5x4_tinvwl_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_tinvwl_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_tinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>3GF5x4_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>3GF5x4_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>3GF5x4_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>3GF5x4_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>3GF5x4_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>3GF5x4_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wc_product_download_directories: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wc_product_meta_lookup: Data: 0.27MB + Index: 0.47MB + Engine InnoDB<br>3GF5x4_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>3GF5x4_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>3GF5x4_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>3GF5x4_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>3GF5x4_wpil_report_links: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>3GF5x4_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>3GF5x4_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts

astra-advanced-hook: 1<br>attachment: 5691<br>custom_css: 5<br>customize_changeset: 44<br>elementor_library: 3<br>nav_menu_item: 16<br>oceanwp_library: 1<br>oembed_cache: 1<br>page: 24<br>post: 37<br>product: 509<br>product_variation: 1734<br>revision: 858<br>rm_content_editor: 1<br>shop_coupon: 3<br>shop_order_placehold: 1<br>wp_global_styles: 2<br>wp_navigation: 1<br>wp_template: 2<br>wpcf7_contact_form: 1<br>wpforms: 2 Security

Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (27)

Astra Pro: by Brainstorm Force – 4.6.4<br>Contact Form 7: by Takayuki Miyoshi – 5.8.7<br>Duplicate Page: by mndpsingh287 – 4.5.3<br>Google Listings and Ads: by WooCommerce – 2.6.0<br>Head, Footer and Post Injections: by Stefano Lissa – 3.2.7<br>Link Whisper Free: by Link Whisper – 0.6.9<br>MailerLite - Signup forms (official): by MailerLite – 1.7.5<br>Phoenix Media Rename: by crossi72 – 3.11.6<br>Pinterest for WooCommerce: by WooCommerce – 1.3.22<br>Payment Plugins for PayPal WooCommerce: by Payment Plugins<br>[email protected] – 1.0.45

Rank Math SEO PRO: by Rank Math – 3.0.56<br>Rank Math SEO: by Rank Math – 1.0.213<br>Speed Optimizer: by SiteGround – 7.4.6<br>Security Optimizer: by SiteGround – 1.4.12<br>TikTok: by TikTok – 1.2.4<br>Spectra: by Brainstorm Force – 2.12.4<br>Variation Swatches for WooCommerce: by CartFlows – 1.0.7<br>CTX Feed: by WebAppick – 6.4.13<br>WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.26<br>Discount Rules Core: by Flycart – 2.6.3<br>MailerLite - WooCommerce integration: by MailerLite – 2.1.3<br>WP Sheet Editor - WooCommerce Products (Premium): by WP Sheet Editor – 1.8.9<br>Payment Plugins for Stripe WooCommerce: by Payment Plugins<br>[email protected] – 3.3.59

Pixel Manager for WooCommerce: by SweetCode – 1.40.0<br>WooCommerce Google Analytics Integration: by WooCommerce – 1.8.14<br>WooCommerce Shipping & Tax: by WooCommerce – 2.5.1<br>WooCommerce: by Automattic – 8.6.1 Inactive Plugins (0) Settings

API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)

Connected to Woo.com: ✔<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature screen enabled: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – WC Pages

Shop base: #4500 - /shop-2/<br>Cart: #4486 - /cart-2/<br>Checkout: #4487 - /checkout-2/<br>My account: #5913 - /my-account/<br>Terms and conditions: #608 - /terms-of-service/ Theme

Name: Astra Child<br>Version: 1.0.0<br>Author URL: http://wpastra.com/about/<br>Child Theme: ✔<br>Parent Theme Name: Astra<br>Parent Theme Version: 4.6.5<br>Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>WooCommerce Support: ✔ Templates

Overrides: – Admin

Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page

Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2024-03-02 07:28:14 -06:00<br>Options: ✔<br>Notes: 77<br>Onboarding: completed Action Scheduler

Canceled: 123<br>Oldest: 2024-02-07 05:49:18 +0000<br>Newest: 2024-02-26 17:19:14 +0000

Complete: 33,292<br>Oldest: 2024-01-30 21:08:15 +0000<br>Newest: 2024-03-01 21:00:13 +0000

Failed: 812<br>Oldest: 2024-01-03 06:11:26 +0000<br>Newest: 2024-03-01 05:52:35 +0000

Pending: 13<br>Oldest: 2024-03-01 21:19:22 +0000<br>Newest: 2024-03-11 00:00:42 +0000 Status report information

Generated at: 2024-03-01 15:03:37 -06:00<br>`

I did the standard trouble shooting and reactivated my plug ins one by one.
of course nothing at all worked until I activated Woocommerce, as soon as I do that I can get back to the website and still have the problem.
I can only pray that you can find and fix the problem. If you need access to my website or my host (Siteground) please let me know and I will give you the required credentials

Hi @michaelgs,

If you need access to my website or my host (Siteground) please let me know and I will give you the required credentials

Please never share (or offer to share) log in credentials here. This is a public forum, and for the best interest of your site’s security, this should never be shared. Just to add, it can result in your account being banned, as seen in the forum guidelines.

I did the standard trouble shooting and reactivated my plug ins one by one.
of course nothing at all worked until I activated Woocommerce, as soon as I do that I can get back to the website and still have the problem.

Please keep in mind for the troubleshooting to disable everything but WooCommerce and try that way first. If your featured images work fine then, you may enable all the plugins one by one. If it still doesn’t work, with only WooCommerce enabled, you may reenable everything right at once as the problem may lay elsewhere.

To avoid disruption on your live site, could you please try creating a Staging site, using Storefront, and disabling all other plugins but WooCommerce there? Since you mentioned you’re on Siteground, here’s a nice guide to follow to create one: https://world.siteground.com/tutorials/staging/create-staging/.

All the best,
Omar

Thank you for your gentle reprimand, now that I Know I won’t do it again
I set up a staging for you
https://staging2.magicalduck.com/
it is still exactly like the main site.

How do I get into the backend?

P.S. I installed storefront and deactictivated all plugins sans Woocommerce on the staging site

  • This reply was modified 38 minutes ago by michaelgs.
  • This reply was modified 25 minutes ago by michaelgs.

I found the culprit, for some reason or another every mug variation has the same featured image in the backend. thank God the parent is correct and I can manually fix this. thank you for your help.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer