=== Baksho Floating Cart for WooCommerce ===
Contributors: meshimul
Author: Tamjidul Azam
Author URI: https://www.techbaksho.com
Tags: woocommerce, cart, floating-cart, shopping-cart, cart-widget
Requires at least: 5.0
Requires PHP: 7.2
Tested up to: 7.0
Stable tag: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Floating shopping cart widget for WooCommerce with customizable position, custom icons, and real-time updates. By Tamjidul Azam.

== Description ==

**Baksho Floating Cart for WooCommerce** is a lightweight, professional floating cart widget for WooCommerce stores. It displays a beautiful, animated floating cart button that follows your visitors as they browse your site.

= Key Features =

* 🎯 **Customizable Position** - Place your cart in 6 different positions (left/right × top/middle/bottom)
* 🎨 **Custom Icon Upload** - Upload your own icon (PNG, JPG, SVG) or use the default cart icon
* 🔴 **Live Cart Count** - Real-time cart item counter that updates instantly
* 🎁 **Mini Cart Preview** - Beautiful hover effect showing products, prices, and quantities
* ⚡ **Lightweight** - Only ~15KB, doesn't slow down your site
* 📱 **Mobile Responsive** - Works perfectly on all devices and screen sizes
* 🔒 **Security** - Follows WordPress security best practices with sanitization and escaping
* 🎪 **Smooth Animations** - Professional hover transitions and effects
* 💛 **WooCommerce Compatible** - Works with WooCommerce 3.0+

= How It Works =

1. Once activated, a floating cart button appears on your website
2. The cart displays the current item count in a red badge
3. When visitors hover over the cart, a mini cart preview slides out
4. They can see all products, prices, remove items, or go to checkout
5. The cart count updates automatically as items are added/removed

= Admin Settings =

Control everything from WordPress admin:
* **Enable/Disable** - Turn the floating cart on or off
* **Horizontal Position** - Choose Left or Right side
* **Vertical Position** - Choose Top, Middle, or Bottom
* **Icon Source** - Use default cart icon or upload custom icon
* **Icon Color** - Pick any color for the default icon
* **Icon Upload** - Upload PNG, JPG, or SVG icons (recommended: 80×80px)

= Technical Details =

* **Language:** PHP 7.2+ with WordPress hooks and filters
* **CSS:** Custom CSS with smooth animations and responsive design
* **JavaScript:** jQuery-based with AJAX for real-time updates
* **Database:** Uses WordPress options table (no custom tables)
* **Performance:** Minimal footprint, no external dependencies
* **Security:** Input sanitization, output escaping, nonces for AJAX

= Developer Information =

**Developed by:** Tamjidul Azam
**Website:** https://www.linkedin.com/in/meshimul
**Support:** Get in touch with me for additional support

= Requirements =

* WordPress 5.0 or higher
* WooCommerce 3.0 or higher
* PHP 7.2 or higher
* jQuery (included with WordPress)

== Installation ==

= Method 1: From WordPress Plugin Directory =
1. Go to **Plugins → Add New** in WordPress admin
2. Search for "Baksho Floating Cart for WooCommerce"
3. Click **Install Now**
4. Click **Activate**
5. Go to **Baksho Floating Cart for WooCommerce** menu to configure

= Method 2: Manual Installation =
1. Download the plugin ZIP file
2. Go to **Plugins → Add New → Upload Plugin**
3. Choose the ZIP file and click **Install Now**
4. Click **Activate**
5. Go to **Baksho Floating Cart for WooCommerce** menu to configure

= Method 3: Via FTP =
1. Unzip the plugin file
2. Upload the `cart-baksho` folder to `/wp-content/plugins/`
3. Activate the plugin from **Plugins** menu
4. Go to **Baksho Floating Cart for WooCommerce** to configure

== Configuration ==

After activation:

1. Go to **WordPress Admin → Baksho Floating Cart for WooCommerce**
2. Check **Enable Floating Cart**
3. Choose **Horizontal Position** (Left or Right)
4. Choose **Vertical Position** (Top, Middle, or Bottom)
5. Select **Icon Source**:
   - Default: Use the built-in shopping cart icon
   - Custom: Upload your own icon (PNG, JPG, SVG)
6. If using default icon, choose **Icon Color**
7. Click **Save Settings**

That's it! Your floating cart is now live on your website.

== Frequently Asked Questions ==

= Will this slow down my website? =
No. Baksho Floating Cart for WooCommerce is highly optimized and only adds ~15KB of CSS and JavaScript to your site. It has no external dependencies.

= Can I customize the colors and positioning? =
Yes! The admin panel gives you full control over positioning, icon color (for default icon), and icon choice.

= Does it work with custom WooCommerce themes? =
Yes! Baksho Floating Cart for WooCommerce is compatible with all WooCommerce themes and uses standard WordPress and WooCommerce functions.

= Can I upload a custom icon? =
Yes! You can upload PNG, JPG, or SVG icons. We recommend square icons at 80×80 pixels for best results.

= Does it work on mobile devices? =
Yes! Baksho Floating Cart for WooCommerce is fully responsive and works perfectly on phones, tablets, and desktops.

= Can I change the cart count badge color? =
Yes! You can edit the CSS file to customize colors. By default, it uses a red badge (#ff5252).

= Will my settings be saved if I deactivate the plugin? =
Yes! Your settings are stored in the WordPress database. They will remain even if you deactivate the plugin. They will only be deleted if you remove (delete) the plugin entirely.

= Is it compatible with cache plugins? =
Yes, Baksho Floating Cart for WooCommerce uses AJAX for real-time updates, so it works correctly even with caching plugins.

= What payment methods does it support? =
Baksho Floating Cart for WooCommerce works with all payment methods supported by your WooCommerce store. It simply displays the cart and links to the checkout page.

== Screenshots ==

1. **Floating Cart Widget** - Beautiful floating cart button on your website
2. **Admin Settings Page** - Easy configuration with position and icon options
3. **Mini Cart Preview** - Hover effect showing cart contents
4. **Mobile Responsive** - Perfect on all screen sizes

== Changelog ==

= 1.0.0 =
* Initial release
* Floating cart with 6 position options
* Custom icon upload functionality
* Live cart count badge
* Mini cart preview on hover
* Real-time cart updates
* Mobile responsive design
* WordPress.org submission ready

== Support ==

For support, documentation, and updates, visit:
**https://www.techbaksho.com**

== License ==

Baksho Floating Cart for WooCommerce is licensed under the GPL v2 or later. You are free to use, modify, and distribute this plugin under the terms of the GPL.

== Upgrade Notice ==

= 1.0.0 =
Initial stable release. Install and activate to start using Baksho Floating Cart for WooCommerce on your WooCommerce store!

== Credits ==

**Developed by:** Tamjidul Azam
**Website:** https://www.techbaksho.com
**License:** GPL v2 or later

Thank you for using Baksho Floating Cart for WooCommerce! We hope it helps improve your WooCommerce store experience.
