=== WooCommerce Simple Cart Discount ===
Contributors: focuxtheme
Tags: woocommerce, discount, cart discount, free shipping, progress bar
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Automatically apply discounts based on cart total. Support fixed amount, percentage, or free shipping with a beautiful progress bar.

== Description ==

WooCommerce Simple Cart Discount helps you create effective cart-based discount rules with a beautiful progress bar to encourage larger purchases. Automatically apply discounts based on cart total. Support fixed amount, percentage, or free shipping with a beautiful progress bar.

= Key Features =

* Three discount types: fixed amount, percentage, or free shipping
* Customizable progress bar with multiple display positions
* Location-based restrictions
* New customer only option
* Product exclusions
* Mini cart support
* Multi-language support
* Cart Block (Gutenberg) compatible
* Developer friendly

= Progress Bar Display Options =

* Top Bar (fixed position)
* Bottom Bar (fixed position)
* Above Cart Table
* Above Cart Totals
* Mini Cart
* Custom position using shortcode or PHP function

= Customization =

* Customize progress bar colors
* Customize text messages
* Multiple position options
* Responsive design
* Theme compatibility

= Developer Friendly =

* Shortcode support
* PHP functions for theme integration
* Clean and well-documented code
* Filter hooks for customization

= Shortcode Usage =

Basic usage:
`[simple_cart_discount_progress_bar]`

With parameters:
`[simple_cart_discount_progress_bar class="my-custom-class" style="margin: 20px 0;" text_color="#000000" bar_color="#ff0000" bg_color="#ffffff" border_color="#dddddd"]`

= PHP Function =
<?php
if (class_exists('Simple_Cart_Discount')) {
    $wc_cart_discount = new Simple_Cart_Discount();
    echo $wc_cart_discount->simple_cart_discount_progress_bar('custom', array(
        'class' => 'my-custom-class',
        'style' => 'margin: 20px 0;',
        'text_color' => '#000000',
        'bar_color' => '#ff0000',
        'bg_color' => '#ffffff',
        'border_color' => '#dddddd'
    ));
}
?>

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/simple-cart-discount`, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to WooCommerce > Settings > Simple Cart Discount to configure the plugin

== Frequently Asked Questions ==

= Does this work with WooCommerce Cart Block? =

No, this plugin is only compatible with classic cart.

= Can I exclude specific products from the discount? =

Yes, you can select specific products to exclude from the discount calculation in the settings.

= Can I restrict the discount to specific countries? =

Yes, you can choose to apply the discount to all selling locations or select specific countries.

= Can I customize the progress bar colors? =

Yes, you can customize the background color, progress bar color, text color, and border color.

= Can I display the progress bar anywhere on my site? =

Yes, you can use either the shortcode or PHP function to display the progress bar anywhere in your theme.

== Changelog ==

= 1.0.0 =
* Initial release

== Support ==

For support please visit [our support forum](https://forum.focuxtheme.com/).