Caloplo Smart Cart for WooCommerce

وەسف

Caloplo Smart Cart for WooCommerce is a professional plugin that provides a complete, fully customizable shopping cart experience, including:

Key Features:

🛒 Floating Cart Icon — A professional cart icon with a dynamic counter that updates automatically via AJAX, with 24 built-in styles to choose from.

🔲 Slide-in Drawer (Mini Cart) — Slides in smoothly from the side with full RTL support.

📄 Full Cart Page — Available at /cart2/ with a professional, responsive design.

Instant Updates Without Reload — Change quantities and remove products via AJAX.

☑️ Selective Checkout — Buy only selected products while keeping the rest in the cart.

🏷️ Coupon Section — Apply and remove discount coupons interactively, with an option to hide it entirely.

🎨 24 Floating Icon Styles with Live Preview — Pick an icon design from the settings page and instantly preview the matching colors on a live mini cart mockup, with no need to check the live site.

⚙️ Full Admin Settings Page — Control every aspect of the cart from one screen: enable/disable the cart, choose the cart type (popup, full page, or both), auto-open the cart after “Add to Cart”, set icon visibility rules, icon size and content (count, subtotal, both, or icon only), and free-form or fixed-corner icon positioning.

🧩 Manual Placement Shortcode — Use [cart2_icon] to place the floating cart icon exactly where you want on any page or template.

🌐 Full RTL Support — Designed specifically for Arabic and right-to-left websites.

📱 Fully Responsive — Works on all devices and screen sizes.

🔒 Secure Checkout Badge — Displays common payment method logos and a security badge.

🔌 WooCommerce HPOS & Cart/Checkout Blocks Ready — Declares full compatibility with High-Performance Order Storage and the WooCommerce Cart/Checkout blocks.

Selective Checkout Strategy:
When specific products are selected for purchase, Caloplo Smart Cart:
1. Saves unselected products in the session.
2. Temporarily removes them from the cart.
3. Completes the checkout for the selected products.
4. Automatically restores the saved products after the order is placed.

Admin Settings at a Glance:
Go to Caloplo ▸ Cart in your WordPress dashboard to configure:
* General — enable/disable the cart, cart type, auto-open behavior, and icon visibility.
* Icon — choose from 24 icon styles with live preview, icon size, content, and position (free or fixed-corner).
* Advanced — shipping notice, coupon field, and order summary rows (subtotal/discount) visibility.
* About — plugin info, support links, and ways to contribute.

Support Development

If you find this plugin useful and would like to support future development, you can make a voluntary donation:
Donate via PayPal

سکرین شۆتەکان

دامەزراندن

  1. Upload the caloplo-smart-cart folder to the /wp-content/plugins/ directory.
  2. Activate the plugin from the WordPress dashboard.
  3. Make sure WooCommerce is activated first.

پهد

Does this work with caching plugins like LiteSpeed Cache or WP Rocket?

Yes. The cart’s icon, count, and security token re-sync live with the
server on every page load, so they stay accurate even on pages served
straight from your cache plugin’s storage instead of freshly generated
by WordPress. If you use LiteSpeed Cache specifically, saving this
plugin’s settings also clears its page cache automatically so any
icon style/position change shows up right away, without waiting for
your cache’s normal expiry or purging it by hand.

پێداچوونەوەکان

هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.

بەشداربووان و گەشەپێدەران

“Caloplo Smart Cart for WooCommerce” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

ڕووداوتۆمارگەریی گۆڕین

1.0.4

  • Fixed compatibility with full-page cache plugins (LiteSpeed Cache,
    WP Rocket, and similar): on cached sites, the cart’s quantity +/-
    buttons could fail with a connection error, the floating icon’s
    count could be stuck on an old number or differ from page to page,
    and a newly saved icon style/position could take a while to show up
    on already-cached pages. The cart now silently re-syncs its count,
    items, and security token with the live server on every page load,
    independently of how old the page’s cached HTML is, and saving
    settings now automatically clears LiteSpeed Cache’s page cache (with
    a general hook other cache plugins can use too).
  • On cached pages, the count/price re-sync above could very briefly
    flash the old, stale value before correcting itself. The floating
    icon’s count and price now fade in only once they’re confirmed
    correct instead, and returning visitors see this happen instantly
    (no flash at all) thanks to a small same-session local memory of
    the last known values.

1.0.3

  • Added a full admin settings page (Caloplo ▸ Cart) with four tabs —
    General, Icon, Advanced, and About.
  • Added a “Settings” link next to Deactivate on the Plugins screen.
  • General settings: enable/disable the entire cart, choose the cart
    type (popup, full page, or both), auto-open the popup cart after
    “Add to Cart”, and control floating icon visibility (all pages,
    WooCommerce pages only, or hidden).
  • Added a [cart2_icon] shortcode to place the floating icon manually
    when automatic placement is turned off.
  • Icon settings: 24 built-in floating icon styles with an instant
    live preview (colors and icon glyph update on a miniature mock cart
    as you click through styles — no need to check the live site), plus
    icon size, icon content (count / subtotal / both / icon only), and
    two positioning modes — free-form X/Y percentage placement or a
    simpler fixed-corner mode.
  • The whole cart (drawer, full cart page, buttons, highlights, coupon
    and checkout accents) now automatically re-colors to match whichever
    icon style is chosen, so each style feels like a genuinely different
    cart design. Button text color automatically adjusts for readability
    on very bright styles.
  • Advanced settings: toggle the shipping notice, the coupon field, and
    the Subtotal/Discount rows in the order summary independently.
  • “Auto-Open Cart” now also triggers correctly from the main “Add to
    Cart” button on single simple-product pages (previously only worked
    from shop/archive buttons), by routing through WooCommerce’s own
    core AJAX add-to-cart endpoint.
  • General UI polish across the popup cart drawer and its live preview:
    tighter, more consistent spacing; a custom-drawn Select-All checkbox
    matching the per-item checkboxes; a fixed-color count badge that no
    longer shifts with the chosen icon style; and layout fixes for the
    coupon toggle, summary rows, and secure-checkout badge.
  • Added translations for all new strings in every bundled language
    file.

1.0.2

  • Fixed text domain to match plugin slug
  • Added Requires Plugins header for WooCommerce
  • Improved output escaping

1.0.1

  • Code cleanup and stability improvements
  • Improved compatibility with PHP 8.3
  • Improved compatibility with WooCommerce 10.x

1.0.0

  • Initial release
  • Slide-in drawer with professional design
  • Full cart page at /cart2/
  • AJAX quantity updates
  • Selective product checkout system
  • Interactive coupon section
  • Full RTL support
  • Fully responsive design