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.