Support » Plugin: WooCommerce » Duplicate Thumbnail in Cart Preview

  • Resolved Daniel Chan

    (@danielchan23)


    Hi there,

    After adding products to cart. Realised that there is always two duplicated thumbnails for a single product.

    Any way I could remove one of it? I’ve tried different css codes from the forum to remove it, doesn’t seem to help even after clearing cache etc.

    It is now also affecting my emails for purchases i.e. duplicated image in emails.

    Appreciate your help!

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Tseten a11n

    (@tibetanitech)

    Hi @danielchan23

    I added a product to the cart but I don’t see a duplicate product image. Here is a screenshot from the cart page:

    https://d.pr/i/ej41Uz
    Link to image: https://d.pr/i/ej41Uz

    Do you see the duplicate images only on the order notification emails?

    Could you please share a copy of your site’s System Status to understand how your site is configured? 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.

    Thread Starter Daniel Chan

    (@danielchan23)

    Hi there,

    Thanks for the quick response!

    It’s the cart preview. Link : https://snipboard.io/gdaXiW.jpg

    And somehow this happens to my purchase emails as well. Link : https://snipboard.io/y4o5PO.jpg (but this time the thumbnail is “?”)

    Here’s the System Status for your review :

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.sutrasilk.com
    Site address (URL): https://www.sutrasilk.com
    WC Version: 5.5.1
    REST API Version: ✔ 5.5.1
    WC Blocks Version: ✔ 5.3.2
    Action Scheduler Version: ✔ 3.2.1
    WC Admin Version: ✔ 2.4.1
    Log Directory Writable: ✔
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.21
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.9.2
    WC Database Prefix: wim_
    Total Database Size: 160.60MB
    Database Data Size: 146.22MB
    Database Index Size: 14.38MB
    wim_woocommerce_sessions: Data: 0.16MB + Index: 0.02MB + Engine InnoDB
    wim_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wim_woocommerce_order_itemmeta: Data: 0.19MB + Index: 0.19MB + Engine InnoDB
    wim_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_actionscheduler_actions: Data: 1.02MB + Index: 0.27MB + Engine InnoDB
    wim_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_actionscheduler_logs: Data: 0.19MB + Index: 0.19MB + Engine InnoDB
    wim_aepc_custom_audiences: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_aepc_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_cartflows_ca_cart_abandonment: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wim_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
    wim_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wim_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wim_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_fv_enteries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_fv_entry_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_fv_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_newsletters: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wim_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_scheduled_task_subscribers: Data: 0.22MB + Index: 0.08MB + Engine InnoDB
    wim_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_sending_queues: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wim_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_subscribers: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wim_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wim_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_nextend2_smartslider3_slides: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    wim_options: Data: 7.39MB + Index: 0.17MB + Engine InnoDB
    wim_postmeta: Data: 114.28MB + Index: 7.77MB + Engine InnoDB
    wim_posts: Data: 15.48MB + Index: 1.63MB + Engine InnoDB
    wim_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wim_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_usermeta: Data: 1.52MB + Index: 0.42MB + Engine InnoDB
    wim_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_wccs_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wccs_condition_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wc_product_meta_lookup: Data: 0.44MB + Index: 0.72MB + Engine InnoDB
    wim_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wim_wdp_orders: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wim_wdp_order_items: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wim_wdp_rules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wim_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wim_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 464
    custom_css: 3
    customize_changeset: 25
    elementor_font: 1
    elementor_icons: 1
    elementor_lead: 20
    elementor_library: 35
    envato_tk_import: 2
    lws-wre-event: 4
    lws-wre-pool: 1
    lws-wre-unlockable: 1
    mailpoet_page: 1
    nav_menu_item: 20
    page: 20
    post: 2
    product: 19
    product_variation: 541
    revision: 3466
    shop_coupon: 3
    shop_order: 195
    shop_order_refund: 2
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (37) ###
    
    Smart Variations Images for WooCommerce: by David Rosendo – 5.0.20
    EasyParcel: by EasyParcel – 2.0.0
    Automated FedEx live/manual rates with shipping labels.: by HITShipo – 3.0.6
    Advanced Dynamic Pricing for WooCommerce: by AlgolPlus – 3.2.5
    Astra Widgets: by Brainstorm Force – 1.2.8
    Code Snippets: by Code Snippets Pro – 2.14.1
    Custom Fonts: by Brainstorm Force – 1.3.2
    Disable auto-update Email Notifications: by Blogies Tools – 1.3.0
    Elementor Pro: by Elementor.com – 3.3.1
    Elementor: by Elementor.com – 3.3.0
    ElementsKit Lite: by Wpmet – 2.3.3
    Envato Elements: by Envato – 2.0.9
    Essential Addons for Elementor: by WPDeveloper – 4.8.1
    Facebook Chat Plugin - Live Chat Plugin for WordPress: by Facebook – 2.2
    Site Kit by Google: by Google – 1.36.0
    Kadence WooCommerce Email Designer: by Kadence WP – 1.4.7
    MailPoet 3 (New): by MailPoet – 3.65.0
    Make Column Clickable Elementor: by Fernando Acosta – 1.3.1
    Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC): by WebToffee – 2.0.7
    Pixel Caffeine: by AdEspresso – 2.3.3
    Points and Rewards for WooCommerce: by MakeWebBetter – 1.1.4
    Rank Math SEO: by Rank Math – 1.0.68
    SiteGround Optimizer: by SiteGround – 5.8.2
    Shortcode in Menus: by Gagan Deep Singh – 3.5.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.59
    
    Visibility Logic for Elementor: by StaxWP – 2.1.6
    WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.12
    Extra Product Options (Product Addons) for WooCommerce: by ThemeHigh – 3.0.6
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.9
    Stripe For WooCommerce: by Payment Plugins
    support@paymentplugins.com – 3.3.5
    
    Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.17
    WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.4.1
    WooCommerce Extra Product Sorting Options: by SkyVerge – 2.9.0
    WooCommerce Shipping & Tax: by WooCommerce – 1.25.17
    WooCommerce: by Automattic – 5.5.1
    Smush: by WPMU DEV – 3.8.7
    Smart Coupons for WooCommerce: by WebToffee – 1.3.1
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: Memcached
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: MYR (RM)
    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: #5240 - /collections/
    Cart: #2054 - /cart/
    Checkout: #2055 - /checkout/
    My account: #2056 - /account/
    Terms and conditions: #4218 - /terms-of-service/
    
    ### Theme ###
    
    Name: Astra
    Version: 3.6.2 (update to version 3.6.4 is available)
    Author URL: https://wpastra.com/about/
    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: /home/customer/www/sutrasilk.com/public_html/wp-content/plugins/points-and-rewards-for-woocommerce/public/woocommerce/checkout/form-coupon.php
    
    ### Action Scheduler ###
    
    Complete: 746
    Oldest: 2021-07-14 11:45:09 +0800
    Newest: 2021-07-19 21:20:36 +0800
    
    Pending: 2
    Oldest: 2021-07-20 16:54:06 +0800
    Newest: 2021-07-23 07:27:58 +0800
    
    ### Status report information ###
    
    Generated at: 2021-07-19 23:04:00 +08:00
    

    Thanks!

    Plugin Support nicw.a11n

    (@nicw)

    Hi there

    I can see what you mean: there is definitely a second image being generated in your mini-cart.

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
     
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    I would possibly start by considering disabling plugins that affect images, such as the Smart Variations Images for WooCommerce plugin which you have enabled.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @danielchan23,

    It’s been a while so we were checking in to see if you had any updates for us, especially regarding the conflict test.

    Thanks.

    Thread Starter Daniel Chan

    (@danielchan23)

    Hey guys,

    Thanks for following up constantly.

    Sorry for the slow update, found the issue. Which was always the same case from last time.

    It’s caused by the SiteGround Optimizer plugin (If it helps anyone)

    Disabling it, helped remove the duplicate image. May I ask, if I would like to keep the plugin active, possible to insert any css code to remove it from view?

    Thanks! 🙂

    Plugin Support gabrielfuentes

    (@gabrielfuentes)

    Hi @danielchan23 👋

    No worries and thank you for letting us know!

    Disabling it, helped remove the duplicate image. May I ask, if I would like to keep the plugin active, possible to insert any css code to remove it from view?

    We could try this to see if that lets you use the SG optimizer plugin. Please feel free to enable it to see if I can generate a custom code for that.

    Please kindly note that it sounds like the SG Optimizer plugin seems to be causing some conflicts with your theme. So it could probably be causing some issues on other sections of your site. That being said, I would recommend keeping it disabled and using another optimizer plugin for that matter.

    Cheers!

    Thread Starter Daniel Chan

    (@danielchan23)

    Hi @gabrielfuentes,

    Thanks for the quick response.

    I’ve reactivated the SG Optimizer plugin. Hope to hear from you soon!

    Appreciate your time 🙂

    Plugin Support gabrielfuentes

    (@gabrielfuentes)

    Oh! That was fast 😄

    This can be fixed with some custom CSS. Under Customize > Additional CSS, you can add the following code:
     

    /* Disable second image on minicart */
    .elementor-menu-cart__product-image a img.attachment-woocommerce_thumbnail ~ img {
        display: none !important;
    } 
    

    If you’d like to learn more about CSS, I highly recommend using the free tutorials at w3schools. Here, you can find the basics of selectors (how to target the right element on the page), and properties (how to change the element on the page).

    I hope that helps! 🙂

    Thread Starter Daniel Chan

    (@danielchan23)

    Hi @gabrielfuentes,

    That worked like a charm! Thanks for the help 🙂

    And also, thank you for the tutorial links. That’ll be super useful!

    Have a great day my man.

    Plugin Support gabrielfuentes

    (@gabrielfuentes)

    That’s wonderful! You are most welcome 😃

    Great! If you have any further questions, you can start a new thread.

    Cheers

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.