- Hiding Fields on the Checkout Page
- Installing WooCommerce
- Using WooCommerce
- Adding Products in WooCommerce
- Using Your Theme's Header & Footer in a Step
- Embedding a Checkout Form on the Checkout Page
- Hiding WooCommerce Pages and Products
- Using Pricing Tables
- Adding an Affiliate Program
- Setting a Funnel as the Homepage
- Dynamic Offers aka Rule Engine
- Instant Layout for Checkout and Thank You Step
- Adding Products from the URL to the Checkout Page
- Setting Up Split Testing for Steps
- Deleting Plugin Data During Uninstallation
- Importing Ready-Made Templates for Funnels and Steps
- Importing and Exporting Funnels and Step
- URL Parameters
- Replacing the Main Checkout Order with an Upsell or Downsell
- Rolling back to a Previous Version
- Google Address Autocomplete
- Flatsome UX Builder
- ActiveCampaign
- Paypal Reference Transactions
- How PaypPal/Stripe Works
- Enabling Enfold Avia Layout Builder
- Setting Up Authorize.net for Upsell & Downsell
- Supported Payment Gateways
- Setting Quantity and Discount for Products on the Checkout Page
- Adding Custom Payment Gateway Support for One-Click Upsell and Downsell
- Funnel in Test Mode
- Troubleshooting Plugin and Theme Conflicts
- Resolving the "Please Select a Simple, Virtual, and Free Product" Error
- Fixing Endless Loading on the Checkout Page
- Fixing the "We can't seem to find an order for you." Error on the Thank You Page
- Troubleshooting License Activation Issues
- Fixing the "Checkout ID Not Found" Error
- Fixing the "Session Expired" Error Message
- Resolving "Order Does Not Exist" Error on Upsell/Downsell Page
- Fixing the "Sorry, This Product Cannot Be Purchased" Error
- Disabling Auto-fill of Address Fields Based on Zip Code
- Enabling Theme's Scripts & Styles Without Changing Page Template
- Disabling Auto-fill of Checkout Fields
- Allowing Cache Plugins to Cache CartFlows Pages
- Changing the "Choose a Variation" Text
- VAT Field Not Displaying for WooCommerce EU/UK VAT Compliance Plugin
- Enabling the Product Tab on Store Checkout
- Displaying the Order Summary Open on Mobile Devices
- Refreshing the Checkout Page After CartFlows AJAX Calls
- Overview
- Installing Modern Cart Starter
- Installing Modern Cart Pro
- Activating License Key
- Customizing General Settings
- Customizing Cart Tray Labels
- Customizing Cart Icon Settings
- Customizing Cart Tray Styling
- Understanding the Product Recommendations Feature
- Controlling Product Recommendation Source for Empty Cart
- Controlling When the Cart Opens After Adding Products
- Enabling Free Shipping in WooCommerce
- Configuring Upsell and Cross-Sell Products in WooCommerce
- Using a Custom Image for the Floating Cart Icon
- Setting Custom Product Recommendations in the Cart
- Opening the Cart Using a Custom Button or Link
- Floating Icon Styling
- Cart Opening Direction
- Popup Cart Feature
- Using the In-Cart Coupon Field
- Free Shipping Progress Bar
- Enabling AJAX Add to Cart
- Compatibility with Popular Themes and Page Builders
- How to Enable/Disable Modern Cart on Specific Pages
- RTL Language Support in Modern Cart
- How to Show / Hide Product Images in the Cart Tray
- How to Add a Modern Cart Trigger to a WordPress Menu
- Common Issues and Fixes
How to Show / Hide Product Images in the Cart Tray
Modern Cart displays product images inside the cart tray by default. You can control whether images are shown and adjust their size from the plugin settings.
Configuring Product Image Size
- Go to Modern Cart > Settings in your WordPress dashboard
- Navigate to the Styling tab, and scroll to the Miscellaneous section
- Find the “Product Image Size” setting
- Choose from Small, Medium, or Large
- Save your changes

Hiding Product Images on Mobile (Pro)
Modern Cart Pro includes an option to hide product images on mobile devices to improve performance and save screen space.
- Go to Modern Cart > Settings, General tab
- Find the “Show Product Image In Mobile View” toggle
- Toggle it off to hide images on mobile
- Save your changes

Hiding Images via Code (Developer)
To hide product images programmatically, use the moderncart_woocommerce_cart_item_thumbnail filter:
add_filter( 'moderncart_woocommerce_cart_item_thumbnail', function( $html, $cart_item, $cart_item_key ) {
return ''; // Return empty string to hide the image
}, 10, 3 );
To replace the image with a custom one:
add_filter( 'moderncart_woocommerce_cart_item_thumbnail', function( $html, $cart_item, $cart_item_key ) {
return '<img src="' . get_template_directory_uri() . '/custom-image.png" alt="Product" />';
}, 10, 3 );
Please refer to this documentation to know how to add custom code to a website: https://cartflows.com/docs/add-custom-codes/
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.
Table of Contents