Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

Magento 2 Shopping Cart Configuration

Vinh Jacker | 10-01-2024

Magento 2 Shopping Cart Configuration Magento 2 Shopping Cart Configuration

The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

Imagine your Magento 2 shopping cart as the heart of your online store – it’s where the magic of converting browsers into buyers happens. Just like a physical store’s checkout counter, your online cart is the final step before a purchase is finalized. However, unlike customers who buy in a traditional store, those who shop online are only one click away from abandoning their shopping cart and leaving your website. That’s why a well-configured shopping cart is absolutely essential.

Think of it this way: a cluttered, confusing, or slow cart is like a long line at the checkout counter. Customers get frustrated, and impatient, ultimately deciding it’s not worth the hassle. On the other hand, a streamlined, intuitive, and efficient cart makes the checkout process a breeze, encouraging customers to complete their purchases and return for more.

magento-2-shopping-cart-configuration

In this guide, we’ll walk you through the key configurations of the Magento 2 shopping cart to ensure it’s user-friendly, optimized, and drives conversions.

Understand The Magento 2 Shopping Cart

Your Magento 2 shopping cart is where customers collect the products they intend to purchase. It’s a critical part of the customer journey, so it needs to be easy to use and understand. Key elements include:

  • Add to Cart: The process of adding items to the cart should be seamless.
  • Cart Page: This page displays all items added to the cart, along with product details, quantity options, and often related products or upsells.
  • Mini Cart: A compact version of the cart, typically located in the header, provides a quick overview of the cart’s contents.
  • Checkout: The gateway from the cart to the final purchase, where customers enter their shipping and payment details.

Where Does the Cart Lead? You can determine where customers land after adding an item to their cart. By default, it redirects to the shopping cart page.

Customization Options:

  • Stay Put: After adding an item, allow customers to remain on the current product page for further browsing.
  • Direct to Cart: Send them directly to the shopping cart page for a faster checkout experience.

Step 1: Access your Magento 2 admin panel > Stores > Settings > Configuration > Sales > Checkout

access-your-magento-2-admin-panel

Step 2: Expand the Shopping Cart section

expand-the-shopping-cart-section Step 3: Look for the After Adding a Product Redirect to Shopping Cart option. Choose one of the following options:

  • No: This keeps users on the product page after adding an item to the cart.
  • Yes: Redirects users to the shopping cart page immediately after adding a product.

Step 4: Click the Save Config button to apply your changes

2. Configuring The Mini Sidebar For Magento Cart

A Quick View for Busy Shoppers: The mini sidebar cart provides a compact view of items currently in the cart, accessible from any page.

a-quick-view-for-busy-shoppers

Customizing the Mini Cart:

  • Number of Items Displayed: Choose how many products appear in the sidebar.
  • Show a Scrollbar? Set whether to display a scrollbar if the cart holds more items than allowed for display.

How To Set Up The Mini Cart In Magento 2

Step 1: Continue on the Checkout section like in step 1 above when setting the redirect feature. Scroll down and expand the Mini Cart section

expand-the-mini-cart

Step 2: Configure settings such as:

  • Display Mini Cart: Choose whether to show just the number of items or also include the total price.
  • Number of Items to Display Scrollbar: Specify the number of items that can be displayed in the sidebar. The scrollbar may not activate before the items are displayed.
  • Maximum Number of Items to Display: Limit the number of items shown in the mini cart.

Step 3: Save Config.

Easy Cart Access: The cart link allows customers to quickly access the contents of their shopping cart from any page.

easy-cart-access

Customization Options:

  • Display item quantities: Displays the total number of products in the cart and the specific item amounts.
  • Display number of items: Simply display the count of items in the cart, regardless of quantity.

Step 1: Scroll up and expand the My Cart Link section above the Mini Cart settings.

expand-the-my-cart-link

Step 2: Choose how the cart summary is displayed in the link:

  • Display Item Quantities: Total number of items with their quantities.
  • Display Number of Items in Cart: Only the total number of unique items.

Step 3: After finishing adjusting, click Save Config.

4. Configuring The Gift Options For Magento 2 Cart

configuring-the-gift-options

Gift Options in Magento 2: When customers shop online, they often want to send items as presents. Just like buying a gift conventionally, they may desire gift wrapping or attaching a small wishing card. Magento 2’s Gift Options feature caters to these needs. Here’s how it works:

  • Gift Messages: Customers can add personalized gift messages to their orders and individual items. For example, they can express well wishes or include a special note.
  • Gift Wrapping: Shoppers can choose gift-wrapping options for each item in their cart.
  • Gift Receipts: You can include a gift receipt with the entire order.
  • Printed Cards: Customers can add greeting cards to their orders.

Steps To Enable Gift Options

Step 1: Go to Stores > Settings > Configuration > Sales > Sales > Gift Options.

expand-gift-options

Step 2: To activate gift messaging, Set Allow Gift Messages on Order Level and Allow Gift Messages for Order Items to Yes.

Step 3: Further customize the gift options:

  • Allow Gift Wrapping: Enable or disable gift wrapping.
  • Gift Wrapping Price: Set a price for gift wrapping if applicable.
  • Printed Card Price: Set a price for printed gift cards if offered.

Step 4: Save Config.

5. Configuring Persistent Magento 2 Shopping Cart

Remember the Cart: Enable the persistent shopping cart feature to have a customer’s cart contents saved for a specific timeframe, even if they close their browser. This helps them continue shopping later without losing their selections.

Customization Options:

  • Enable Persistence: Choose Yes to activate the persistent cart feature.
  • Persistence Lifetime: Set the duration (in seconds) for which the cart will be stored in the customer’s browser.
  • Enable Remember Me: Allow customers to choose if they want their cart saved upon checkout for future visits.

Steps To Configure Persistent Magento 2 Shopping Cart

Step 1: Go to Stores > Settings > Configuration > Customers > Persistent Shopping Cart.

expand-persistent-shopping-cart

Step 2: Adjust settings:

1, Enable Remember Me:

  • Yes: Displays the “Remember Me” checkbox on the login page, allowing customers to save cart information.
  • **No: Persistence is enabled, but customers can’t choose to save their information.

2, Clear Persistence on Log Out:

  • Yes: The cart is cleared when a logged-in customer logs out.
  • No: The cart is saved even when a logged-in customer logs out.

3, Persist Shopping Cart:

  • Yes: The cart is restored if a shopper logs in or creates a new account.
  • No: The cart is not saved for guests after their session expires.

4, Persist Wish List, Recently Ordered Items, etc.: Set each option to Yes or No to control whether these elements are saved when the session ends.

Step 3: Click Save Config to apply your changes.

Wrap up

Always keep in mind that the evolution of the world of e-commerce is ongoing. Customer expectations shift, new technologies emerge, and your business itself grows and changes. That’s why optimizing your Magento 2 shopping cart isn’t a one-time task but an ongoing process.

Revisit your cart settings regularly. As you add new products, change your marketing strategies, or notice trends in customer behavior, you may need to adjust your configurations. Don’t be afraid to experiment and test different options to see what works best for your specific audience. Lastly, a well-configured shopping cart is just one part of a successful e-commerce strategy. Combine it with compelling product enhancement, clear calls to action, and excellent customer service to create a truly outstanding online store!

Table of content
    Jacker

    With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services