Skip to content

Need Support?

Discover Themes

Need Support?

Discover Themes

Need Support?

Discover Themes

Getting Started

7
  • Theme Updates
  • Installing Required Plugins
  • Install Using FTP
  • Theme Installation & Activation
  • What We Offer (Downloaded Packages)
  • WordPress Installation
  • Server Requirements

Site Setup

4
  • Turn on Coming Soon / Maintenance Mode (Elementor)
  • Adding Coustom 404 Page
  • Customizing Your Menu
  • Adding a Favicon to your Site

Theme Options

16
  • Account Page 
  • Shop Page
  • Checkout Page
  •  Cart Page 
  •  AJAX Cart Sidebar
  • Single Product
  • Product Archive
  • Content Management
  • SEO Management
  • Cache Management
  • Back To Top
  • Typography & Custom Fonts
  • Back To Top (Scroll to Top Button)
  • Cursor / Mouse Movement Animation
  • Change Global Color
  • Enable Dark or Light Mode in Rakmyat Themes

Theme Builder

7
  • Single Product
  • Product Archive
  • Mega Menu 
  • Adding Coustom 404 Page
  • Template Builder
  • Footer 
  • Header Template

Portfolio

4
  • Creating a Single Portfolio Item
  • Creating a Portfolio Archive Page
  • Portfolio Display Name
  • Change Portfolio Slug

Services

4
  • Services Display Name
  •  Creating a Single Service
  •  Creating a Services Archive Page
  • Change Services Slug

WooCommerce Shop

7
  • Account Page 
  • Shop Page
  • Checkout Page
  •  Cart Page 
  •  AJAX Cart Sidebar
  • Single Product
  • Product Archive

How to

5
  • How to Give Access to Your WordPress Website
  • Change Global Color
  • Enable Dark or Light Mode in Rakmyat Themes
  • Adding Coustom 404 Page
  • Turn on Coming Soon / Maintenance Mode (Elementor)

Troubleshooting

5
  • Elementor Not Loading – Troubleshooting Guide
  • Demo Import Failed to Import in WordPress Theme
  • How to Fix the “Critical Error on Your Website”
  • WPML Not Detecting Custom Post Types
  • System Status

Demo Import

4
  • Demo Import Failed to Import in WordPress Theme
  • Manual Demo Import (OCDI + Elementor)
  • Importing Demo Locally from Theme Folder
  • Importing Demo (Default Method via Server HTTP Request)

Full Site Editing

9
  • Single Product
  • Product Archive
  • Adding Coustom 404 Page
  •  Creating a Services Archive Page
  •  Creating a Single Service
  • Creating a Portfolio Archive Page
  • Creating a Single Portfolio Item
  • Footer 
  • Header Template
View Categories
  • Home
  • Docs
  • Theme Options
  •  AJAX Cart Sidebar

 AJAX Cart Sidebar

5 min read

The AJAX Cart Sidebar options control a sliding, live‑updating cart panel that appears without reloading the page. It improves the shopping experience by letting users review and adjust their cart instantly from any page.​


General settings #

  • Enable AJAX Cart Sidebar
    Turns the sliding cart panel on or off. When enabled, adding a product updates the cart via AJAX and opens it in the sidebar instead of redirecting to the cart page.​
  • Auto-Open on Add to Cart
    Automatically opens the cart sidebar when a product is added. Recommended so customers clearly see that the item has been added.​
  • Auto-Close Delay
    Time in seconds before the sidebar closes by itself.
    • Set to 0 to never auto‑close and leave the cart open until the user closes it manually.
  • Sidebar Position
    Choose where the cart slides from:
    • Slide from Left
    • Slide from Right (most common for LTR sites)
      Left side is usually better for RTL layouts.​
  • Sidebar Width (px)
    Fixed pixel width of the cart panel on desktop.
    • Recommended: 400–500px so product details are readable without covering the entire page.
  • Mobile Sidebar Width (%)
    Width as a percentage of the screen on mobile devices.
    • Recommended: 85–100% for a full‑screen or near full‑screen cart on phones.
  • Animation Speed (ms)
    Slide‑in/out animation speed in milliseconds.
    • Lower values (e.g. 300ms) feel snappier, higher values (e.g. 500ms) feel smoother.

Color settings #

These options let you fully style the sidebar to match your shop branding.​

  • Sidebar Background Color – Main background of the cart panel.
  • Header Background Color – Background of the cart header (title area).
  • Header Text Color – Color of cart title and item count.
  • Product Title Color – Color of product names in the cart.
  • Product Price Color – Color of prices in the cart.
  • Subtotal Text Color – Color of subtotal label and amount.
  • Border Color – Color of separators and borders inside the cart.
  • Overlay Background Color – Color of the dark/transparent overlay behind the sidebar when it is open.

Button settings #

Configure the look of the main cart actions.​

  • View Cart Button Background / Text Color / Border
    Colors for the View Cart button (normal state).
  • Checkout Button Background / Text Color / Border
    Colors for the Checkout button (normal state). Usually styled as the primary call‑to‑action.
  • Button Hover Background / Text Color
    Colors applied when hovering over View Cart and Checkout buttons, giving clear visual feedback.

Text & labels #

Customize all important text strings shown in the cart sidebar.

  • Cart Title – Text in the header, e.g. “Your Cart” or “Shopping Bag”.
  • Empty Cart Message – Message shown when the cart is empty, e.g. “Your cart is empty. Start adding products!”.
  • Subtotal Label – Label before the subtotal amount, e.g. “Subtotal” or “Cart total”.
  • View Cart Button Text – Text for the View Cart button.
  • Checkout Button Text – Text for the Checkout button.
  • Continue Shopping Text – Link text that closes the cart and returns to browsing.
  • Success Message – Toast/inline message when a product is successfully added, e.g. “Product added to cart”.

Advanced settings #

  • Show Product Images
    Displays product thumbnails in the cart list for better visual recognition.
  • Product Image Size (px)
    Pixel size for those thumbnails (e.g. 60–100px).
  • Show Quantity Controls
    Allows customers to increase/decrease quantities directly in the sidebar without leaving the page.
  • Show Remove Button
    Adds a remove (X) button for each item so users can quickly delete products from the cart.
  • Show Free Shipping Progress Bar
    Displays a progress bar indicating how much more the customer needs to spend to reach free shipping, which can increase average order value.​
  • Close on Outside Click
    Closes the cart when the user clicks on the overlay/background area.
  • Close on ESC Key
    Allows closing the cart by pressing the ESC key.
  • Show Recommended Products
    Displays related or upsell products in the cart to encourage additional purchases.​
  • Loading Animation
    Visual indicator during AJAX operations:
    • Spinner
    • Dots
    • Pulse
    • None

Quantity controls spacing #

Fine‑tune the appearance of the quantity +/- buttons.

  • Vertical Padding (Top/Bottom) – Inner spacing above and below the button content.
  • Horizontal Padding (Left/Right) – Inner spacing on the left and right.
  • Quantity Input Width – Width of the numeric quantity field.
  • Button Border Radius – Corner roundness of quantity buttons (0 = square, 5 = slightly rounded, 15 = pill‑style).​

Cart buttons spacing #

Adjust View Cart and Checkout button sizing.

  • Button Height (Line Height) – Controls the vertical size/height of the buttons.
  • Button Horizontal Padding – Inner left/right padding, affecting button width.
  • Button Border Radius – Corner roundness (0 = square, 6 = normal, 20 = very rounded).
  • Button Font Size – Text size inside the cart buttons in pixels.​

Notifications (toast messages) #

Control small popup messages when items are added or removed.

  • Enable Notifications
    Shows toast messages for add/remove actions.
  • Notification Position
    Where notifications appear:
    • Top Right / Top Left
    • Bottom Right / Bottom Left
    • Top Center / Bottom Center
  • Notification Duration
    How long the toast stays visible (ms), for example:
    • 3000 = 3 seconds
    • 5000 = 5 seconds
  • Notification Max Width
    Maximum width of each notification box in pixels.
  • Notification Padding
    Inner spacing inside the notification box.
  • Notification Border Radius
    Corner roundness of notification boxes.
  • Notification Font Size
    Text size for notification content.
  • Animation Speed (ms)
    Speed of the slide‑in/slide‑out animation for notifications.
  • Success Message Border Color
    Left border color for success notifications (e.g. green accent).
  • Error Message Border Color
    Left border color for error notifications (e.g. red accent).
  • Notification Background Color
    Background color of the toast box.
  • Notification Text Color
    Text color inside notifications.
  • Notification Shadow
    Visual shadow style: Light, Medium, Heavy, or No Shadow.
  • Notification Offset from Edge
    Distance in pixels between the notification and the screen edge (top, bottom, or sides depending on position).

These settings together let you build a fully branded, UX‑optimized AJAX cart sidebar that works smoothly on both desktop and mobile, boosts clarity, and can help increase conversions.

Updated on December 20, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Single Product Cart Page 

Leave a Comment Cancel Reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • General settings
  • Color settings
  • Button settings
  • Text & labels
  • Advanced settings
  • Quantity controls spacing
  • Cart buttons spacing
  • Notifications (toast messages)

We design modern, performance‑focused WordPress themes that give you full control over your website – from visual identity to conversion‑driven layouts.

Helpful resources

  • Getting Started
  • How to
  • Site Setup
  • Theme Options
  • Theme Builder
  • Demo Import

Need help?

Our support team is here to assist with setup, customization questions, and technical issues. Open a support ticket any time and we’ll get back to you as soon as possible

Contact Us

Copyright © 2025 Rakmyat All Rights Reserved.