=== Order Bump for WooCommerce ===
Contributors: molongui
Donate link: https://www.paypal.me/amitzy/
Tags: order bump, bump offer, one-time offer, upsell, sale funnels
Requires at least: 4.7.0
Tested up to: 6.8
Requires PHP: 5.5.0
Stable tag: trunk
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Boost sales by promoting products as upsells before payment. Customers can accept the deal from the Checkout page with just one click


== Description ==

Supercharge your WooCommerce checkout! Seamlessly introduce an irresistible order bump at the final step, delighting your customers with must-have extras right before they seal the deal.

Imagine this: Your customers are moments away from completing their purchase, and just before they click that 'Buy Now' button, they're presented with irresistible offers and must-have products they can't resist. With our plugin, you can effortlessly add an order bump to your WooCommerce checkout page, turning each transaction into an opportunity to boost your revenue.

It's never been this simple to create a checkout experience that leaves your customers delighted and coming back for more.

= Main Features =

- Seamless integration into your WooCommerce store
- Easily customize your order bumps to match your brand
- Tailor your order bumps and product offerings
- Effortlessly promote additional products
- Maximize your revenue potential
- Responsive design, mobile ready layout
- Live preview
- Simple and variable product support
- Multi-step checkout support
- CheckoutWC compatible

Three simple steps:

1. Pick a product to offer
2. Set a promotional price and enter a catchy copy
3. Add an image and choose a design

✅ That's it! Seat tight and watch as your average order value soars, all while enhancing your customer's shopping experience.

= Premium Features =

✨ Premium features **only available in [Order Bump for WooCommerce Pro](https://www.molongui.com/order-bump-for-woocommerce/ "Click to explore all features")**

> Different deal types to choose from:
>
> - **Price Deal**
> - **Buy One, Get One Free** (BOGO)
> - **Buy One, Save On Another**
> - **Flash Sale**
> - **Custom Deal**
> - **Free Shipping**
> - **Announcement and Notification Banner**
>
> Conditionally display your offers based on:
>
> - Cart item count
> - Cart value
> - Cart products
> - Cart categories
> - Customer country
>
> Display your offers where conversion is more likely:
>
> - **Checkout** page
> - **Cart** page
> - **MiniCart** widget
>
> And more:
>
> - Add and display as many deals as you need
> - Define the **quantity** to add to customer's order
> - Automatically add the deal to your customer's Cart. No customer action needed!
> - Hide the deal banner when configured to be added to customer's order automatically
> - Add a video instead of a static image
> - Pick the location where the deal is displayed on a given page
> - Display a deal anywhere with a simple shortcode
> - Third-party shortcodes support. Display whatever within the deal content

[Read more](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Explore all premium features") about the Molongui Order Bump for WooCommerce advanced features.

**In order this plugin to work, you need to have installed and active WooCommerce.**

= More Info =

🆚 **Why go Pro?** Check [here](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Features comparison") a Free VS Pro feature comparison

🔝 **Want to try the Pro version?** Click [here](https://demos.molongui.com/test-drive-molongui-deals-sales-promotions-and-upsells-pro/ "Click to try the Molongui Order Bump for WooCommerce Pro")

🤨 **Need help?** Click [here](https://www.molongui.com/help/deals/ "Click to read the plugin documentation")

✉ **Need support** Click [here](https://www.molongui.com/help/support/ "Click to open a support ticket with us")

👋 **Want to chat with us?** Click [here](https://www.tidiochat.com/chat/foioudbu7xqepgvwseufnvhcz6wkp7am "Click to live chat with us")

This plugin uses a third-party service to enable live chat communication with our support team, exclusively for administrators in the backend. You can disable this service via the plugin settings page. For more information about the live chat [service provider](https://www.tidio.com/) review their [privacy policy](https://www.tidio.com/privacy-policy/) and [terms](https://www.tidio.com/terms/).


== Installation ==

= Automatic Plugin Installation =

To install this plugin using the built-in plugin installer:

1. Go to: Plugins > Add New.
2. Type in **Molongui Order Bump for WooCommerce** in Search box.
3. Click on **Install Now** to install the plugin.
4. The resulting installation screen will list the installation as successful or note any problems during the install.
5. If successful, click **Activate Plugin** to activate it, or **Return to Plugin Installer** for further actions.

= Manual Plugin Installation =

To install a WordPress plugin manually:

1. Download the plugin to your computer.
2. Extract the plugin folder to your desktop.
3. With your FTP program, upload the extracted plugin folder to the **wp-content/plugins/** folder in your WordPress directory.
5. Go to **Plugins** screen and find the newly uploaded plugin in the list.
6. Click on **Activate** link to activate it.

If you need further assistance, please, read the [Installing Plugins](https://wordpress.org/support/article/managing-plugins/#installing-plugins "Installing Plugins") article on the WordPress Support site or write us an email so we can assist you.

= Requirements =

In order to run, Molongui Order Bump for WooCommerce requires:

* PHP 5.3.0 or greater. Considering that "[WordPress recommends](https://wordpress.org/about/requirements/ "WordPress requirements")" it to be 7.4 or greater, this should not be a problem.
* WordPress 5.2.0 or later.
* WooCommerce 2.5.0 or later.

That's really it. We recommend using PHP 7.4 and the latest versions of WordPress and WooCommerce.


== Frequently Asked Questions ==

= Which e-commerce plugins is Molongui Order Bump for WooCommerce compatible with? =

**Molongui Order Bump for WooCommerce** is fully compatible with WooCommerce, version 2.5.0 or greater.

= Is the plugin compatible with WooCommerce? =

Yes, version 2.5.0 or greater.

= Is the plugin compatible with multi-step checkout page plugins? =

Yes, as long as those multi-step checkout page plugins keep in place WooCommerce hooks.

= Can I have more than one deal? =

Yes! For that you need to purchase Molongui Order Bump for WooCommerce Pro. Check it out [here](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Get Molongui Order Bump for WooCommerce Pro").

= Can I configure the deal to be displayed only when there is a specific product in the Cart? =

Yes! For that you need to purchase Molongui Order Bump for WooCommerce Pro. Check it out [here](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Get Molongui Order Bump for WooCommerce Pro").

= I need to run a scheduled promotion. How can I configure that? =

For that you need the "scheduling" option that is available only on the Pro version of the plugin. Check it out [here](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Get Molongui Order Bump for WooCommerce Pro").

= Is it possible to have the deal checked by default? =

Yes! You can configure the deal to be checked by default, which means that the offered product will be automatically added to your client's Cart without any action required. That is a premium feature, though. You can check it out [here](https://www.molongui.com/deals-sales-promotions-and-upsells-for-woocommerce/ "Get Molongui Order Bump for WooCommerce Pro").


== Screenshots ==

1. Sample checkout page with a deal.
2. Deal edit screen.


== Changelog ==

= 2.6.4 (2025-11-25) =

* **Fixed**: Plain string comparison replaced with `version_compare()`.

= 2.6.3 (2025-11-25) =

* **Fixed**: Extra spacing issue with order bump display on some installations.
* **Changed**: Added compatibility with WordPress 6.8.
* **Changed**: Added compatibility with WooCommerce 10.3.

= 2.6.2 (2024-05-06) =

* Added WooCommerce 9.1 compatibility
* Added WordPress 6.6 compatibility

= 2.6.1 (2024-06-11) =

* Fixed fatal error when product offered in an order bump has been deleted

= 2.6.0 (2024-06-05) =

* Plugin renamed to "Order Bump for WooCommerce"
* Added WooCommerce HPOS support
* Added WooCommerce 8.9 compatibility
* Added WordPress 6.5 compatibility

= 2.5.2 (2023-12-28) =

* Fixed deal preview showing image twice
* Fixed minor PHP warnings

= 2.5.1 (2023-12-16) =

* Fixed misleading admin notice string

= 2.5.0 (2023-12-15) =

* Fixed issue removing the promoted product from the order
* Fixed issue with plugin settings
* Added WooCommerce 8.4 compatibility
* Updated readme file

= 2.4.9 (2023-12-04) =

* Fixed issue removing the promoted product from the order
* Fixed "Looks like your cart no longer contains what it takes to opt to the offer you picked and it has been removed" error
* Removed the 'exclude_bumps_from_contents' setting. Use the 'mbo/get_cart_content/exclude_deals' filter instead if needed
* Added WordPress 6.4 compatibility
* Added WooCommerce 8.3 compatibility

= 2.4.8 (2023-11-07) =

* Fixed some plugin settings being ignored
* Added WooCommerce 8.2 compatibility

= 2.4.7 (2023-10-02) =

* Fixed deal showing featured image twice
* Fixed columns width on the admin table listing deals
* Added WooCommerce 8.1 compatibility

= 2.4.6 (2023-09-11) =

* Fixed deal product quantity editable under some circumstances
* Updated framework files to version 2.4.1
* Added WooCommerce 8.0 compatibility
* Added WordPress 6.3 compatibility

= 2.4.5 (2023-05-02) =

* Improved compatibility with image optimization plugins
* Fixed deal showing when out of stock
* Fixed deal border showing when width set to 0
* Added WooCommerce 7.6 compatibility
* Added WordPress 6.2 compatibility

= 2.4.4 (2022-03-30) =

* Fixed critical error preventing the deal to show
* Added WooCommerce 6.3 compatibility
* Added WordPress 5.9 compatibility

= 2.4.3 (2021-12-05) =

* Updated framework files to version 2.1.0
* Added WooCommerce 5.9 compatibility
* Raised minimum PHP version to 5.5... come on, you should be running 7.4 already
* Raised minimum WP version to 5.2
* Minor code refactor

= 2.4.2 (2021-10-26) =

* Fixed PHP critical error when listing drafts with no data
* Fixed PHP warning regarding undefined constant
* Fixed other minor PHP warnings
* Added WooCommerce 5.8 compatibility

= 2.4.1 (2021-10-12) =

* Fixed saved alt lead text not loading on edit-screen
* Fixed HTML tags in lead text causing issues

= 2.4.0 (2021-10-11) =

* Added option to make the deal take regular or sale price from product sheet
* Added ability to display a different text towards the checkbox when checked
* Minor code changes
* Added WooCommerce 5.7 compatibility
* Plugin renamed to "Molongui Deals, Sales Promotions and Upsells for WooCommerce"

= 2.3.1 (2021-07-28) =

* Fixed install link in the notice displayed when WooCommerce not installed
* Fixed other minor issues

= 2.3.0 (2021-07-15) =

* Unlocked option to add an image into the bump offer
* Unlocked all image styling settings
* Added more styling settings
* Fixed bump offer preview
* Added WordPress 5.8 compatibility
* Added WooCommerce 5.5 compatibility
* Renamed CSS class name 'mbo-promo' to 'mbo-deal'
* Deprecated CSS class name 'molongui-bump-image-above'. Will be removed in the future. Use 'molongui-bump-media-above'
* Deprecated CSS class name 'molongui-bump-image-right'. Will be removed in the future. Use 'molongui-bump-media-right'
* Deprecated CSS class name 'molongui-bump-image-below'. Will be removed in the future. Use 'molongui-bump-media-below'
* Deprecated CSS class name 'molongui-bump-image-left'. Will be removed in the future. Use 'molongui-bump-media-left'

= 2.2.2 (2021-06-12) =

* Fixed fatal error when trying to retrieve a variation from simple products
* Fixed some styles
* Reduced frontend stylesheet file size
* Minor code changes

= 2.2.1 (2021-05-24) =

* Added new option to configure box border radius
* Added new option to configure box inner padding
* Added preview of new premium settings
* Updated database schema
* Deprecated CSS class name 'molongui-bump'. Will be removed in the future. Use 'mbo-promo'
* Deprecated CSS class name 'molongui-bump-container'. Will be removed in the future. Use 'mbo-wrap'
* Deprecated CSS class name 'molongui-bump-content'. Will be removed in the future. Use  'mbo-content'

= 2.2.0 (2021-05-17) =

* Enhancements:
    * Restyled plugin settings page
    * Added option to export plugin settings
    * Reduced PHP memory usage
    * Reduced server load by loading resources only where needed
    * Reduced page load by loading script and stylesheet files only where needed
    * Reduced page load by reducing script and stylesheet files size
* Bugfixes:
    * Fixed plugin data not being removed upon plugin uninstall
* Compatibility:
    * Added WordPress 5.7 compatibility
    * Added WooCommerce 5.3 compatibility
* Other:
    * Major code refactor
    * Added minimum PHP version check
    * Updated Molongui Framework to version 2.0.0
    * Removed several hooks: molongui_order_bump_before_register_post_type, molongui_order_bump_after_register_post_type...

= 2.1.5 (2020-11-24) =

* Bugfixes:
    * Fixed upsell image responsiveness.
* Compatibility:
    * Added compatibility with the CheckoutWC plugin.
    * Added compatibility with the WPML plugin.
    * Added Loco Translate bundle config XML.
	* Added WooCommerce 4.7.0 compatibility.

= 2.1.4 (2020-10-15) =

* Enhancements:
    * 1-click upsell offer won't display if non-discounted offered product is already in Cart/Order.
    * [PREMIUM] Added setting to make image responsive.
* Bugfixes:
    * Fixed ability to purchase upsell offer alone.
    * Fixed image being stretched on Apple phones.
* Compatibility:
	* Added WordPress 5.5 compatibility.
	* Added WooCommerce 4.6.0 compatibility.

= 2.1.3 (2020-07-07) =

* Bugfixes:
    * Fixed some PHP notice displaying when some settings were not defined.
* Compatibility:
	* Added WooCommerce 4.2.2 compatibility.

= 2.1.2 (2020-07-06) =

* Bugfixes:
    * Fixed PHP notice displaying when some settings were not defined.

= 2.1.1 (2020-06-24) =

* Bugfixes:
    * Fixed activation error that appeared on some installations.

= 2.1.0 (2020-06-14) =

* Enhancements:
    * Full order bump customization is now available for free.
    * Removed page selector.
    * Now you can offer products for free (bump offer price = 0).
    * [PREMIUM] Added option to replace 0.00 price tag with "Free!".
    * [PREMIUM] Added option to change image placement.
    * [PREMIUM] Added option to change image placement.
    * [PREMIUM] Added option to change image color.
    * [PREMIUM] Added option to show/hide bump offer based on customer's country.
    * [PREMIUM] Added option to display bump offer on Mini-cart.
    * [PREMIUM] Added shortcode to display bump offer wherever you like.
    * [PREMIUM] Added global settings that will be used as defaults when adding a new offer.
    * [PREMIUM] Added option to hide quantity controls on the Cart page.
    * [PREMIUM] Added option to clone/duplicate a bump.
* Bugfixes:
    * Fixed regular instead of discounted price displayed on Mini-cart.
* Compatibility:
	* Added WordPress 5.4.2 compatibility.
	* Added WooCommerce 4.2.0 compatibility.

= 2.0.4 (2020-03-16) =

* Settings:
    * Added a button linking to the upsells edit-screen for convenience.
* Compatibility:
	* Added WordPress 5.3.2 compatibility.
	* Added WooCommerce 4.0.0 compatibility.
* Other:
    * Plugin renamed to "Molongui One Click Upsell For WooCommerce".

= 2.0.3 (2019-11-10) =

* Bugfixes:
    * Fixed issue preventing other plugin's Ajax calls to work properly.
    * Fixed issue preventing WP Cron jobs to work properly.
* Compatibility:
	* Bumped version for WP 5.2.4
    * Bumped version for WC 3.8.0

= 2.0.2 (2019-10-07) =

* Other:
    * Updated plugin's database schema to version 4.

= 2.0.1 (2019-10-02) =

* Bugfixes:
    * Fixed PHP warning displaying on Checkout page.

= 2.0.0 (2019-09-26) =

* Enhancements:
    * Load time enhancement by loading plugin assets only on required screens.
    * [PREMIUM] Now you can configure the Order Bump to be displayed if Cart value is above the amount you configure.
    * [PREMIUM] Now you can configure the Order Bump to be displayed if Cart contains more items than a given value.
    * [PREMIUM] Enhanced Order Bump display control. Now you can choose display conditions relationship.
    * [PREMIUM] Added option to automatically have the Bump Offer added to the Cart by default.
    * [PREMIUM] Added option to set bump background transparent.
    * [PREMIUM] Added option to set lead background transparent.
    * [PREMIUM] Added options to control intro vertical spacing.
    * [PREMIUM] Added options to control body spacing.
    * [PREMIUM] Added option to add a shadow to the checkbox.
* Bugfixes:
    * [PREMIUM] Fixed underline styles not applying to the offer text.
* Other:
    * Plugin renamed to "Molongui Order Bump For WooCommerce".
    * Several strings, functions, hooks and files renamed accordingly to plugin name change.
    * Updated plugin's database schema to version 3.
    * Bumped minimum WP version requirement to 4.7.0.
* Compatibility:
	* Bumped version for WP 5.2.3
    * Bumped version for WC 3.7.0

= 1.1.8 (2019-07-13) =

* Enhancements:
    * Added control to prevent inconsistent states due to double/multiple click on the checkbox.
    * [PREMIUM] Added setting to control whether added bump products should be taken into account when displaying other bumps.
    * Updated framework to version 1.3.1
* Bugfixes:
    * Fixed bump offer not being unchecked when bump product removed from Cart using the "X" button.
* Compatibility:
	* Bumped version for WP 5.2.2
    * Bumped version for WC 3.6.5

= 1.1.7 (2019-05-09) =

* Enhancements:
    * Removed quantity input for added products from an order bump.
* Bugfixes:
    * [PREMIUM] Fixed bump offer selection handling when displaying multiple bumps on the same page.
    * Fixed order bump preview not showing default data when contents were not set yet.
    * Fixed some PHP notices when values not defined.
* Compatibility:
	* Bumped version for WP 5.2.

= 1.1.6 (2019-04-30) =

* Enhancements:
    * [PREMIUM] Added support for some common HTML tags (a, b, br, em, del, i, s, small, sub, sup) also in the lead and intro text of the bump.
    * [PREMIUM] Added support for "s" HTML tags within the bump (body) text.
* Bugfixes:
    * [PREMIUM] Fixed order bump being displayed regardless of the schedule set.
* Compatibility:
    * Bumped version for WC 3.6.2.

= 1.1.5 (2019-04-19) =

* Enhancements:
    * Added 'Product' and 'Price' fields to the Quick Editor of order bumps.
    * [PREMIUM] Added 'Page' and 'Position' fields to the Quick Editor of order bumps.
* Bugfixes:
    * [PREMIUM] Fixed order bump not being displayed regardless of meeting product Cart conditions.

= 1.1.4 (2019-04-18) =

* Enhancements:
    * Added support for break lines within the bump (body) text.
    * [PREMIUM] Added support for some common HTML tags (a, b, br, em, del, hr, i, ol, ul, li, small, sub, sup) within the bump (body) text.
    * [PREMIUM] Added support for shortcodes within the bump (body) text.
    * [PREMIUM] Added setting to customize order bump box width.
    * [PREMIUM] Added setting to customize order bump box alignment.
    * [PREMIUM] Added setting to customize order bump box vertical spacing.
    * [PREMIUM] Added setting to customize order bump box horizontal spacing.
    * [PREMIUM] Added several settings to customize order bump text styling.
* Bugfixes:
    * Fixed order bump not remembering checkbox state if Cart/Checkout page is reloaded.
    * Fixed order bump product not being automatically removed from Cart when condition to be displayed ceases to exist.
    * Fixed page reload by enter hit when adding/editing an order bump.
    * [PREMIUM] Fixed order bump not being displayed when configured to be displayed for product variations.
    * [PREMIUM] Fixed order bump preview not removing current image when replaced.
* Compatibility:
    * Bumped version for WC 3.6.1

= 1.1.3 (2019-04-15) =

* Enhancements:
    * Improved page rendering by loading plugin scripts in the footer of the page.
    * Ajax variables are now retrieved from 'woocommerce_params' variable.
* Compatibility:
    * Bumped version for WP 5.1.1
    * Bumped version for WC 3.5.7

= 1.1.2 (2019-03-11) =

* Bugfixes:
    * Fixed admin notices not being dismissed.
* Compatibility:
    * Bumped version for WC 3.5.5

= 1.1.1 (2019-03-08) =

* Enhancements:
    * Updated framework to version 1.3.0.
    * [PREMIUM] Added 'After Checkout Form' position where order bump can be displayed at.
* Bugfixes:
    * Fixed bump's checkbox not staying checked after adding bump offer to the order when bump placed into checkout's order form.
    * Fixed not having the option to remove added bump offer because of the checkbox not staying checked after addition.

= 1.1.0 (2019-03-06) =

* Enhancements:
    * Reduced server load by getting vendor scripts from CDN.
    * Reduced page load by loading backend scripts only where needed.
    * Updated framework to version rc.1.3.0.
    * [PREMIUM] Added option to include an image into the bump.
* Bugfixes:
    * Fixed attribute id on link elements (CSS includes) containing a whitespace.
* Compatibility:
	* Bumped version for WP 5.1
	* Bumped version for WC 3.5.5
* Other:
    * Plugin renamed to "Molongui Bump Offer For WooCommerce".

= 1.0.2 (2019-01-23) =

* Enhancements:
    * Customized cpt update messages.
    * Homogenized disabled input styles.
    * Updated framework to version 1.2.6.
* Bugfixes:
    * Fixed schedule settings not being marked as only Premium available settings.
    * [PREMIUM] Fixed bump box being displayed on Cart and Checkout pages regardless of the configuration set.
* Compatibility:
    * Bumped version for WooCommerce 3.5.4

= 1.0.1 (2019-01-10) =

* Bugfixes:
    * Fixed PHP warnings being displayed after installation.
    * Fixed PHP error being displayed when no product associated to default bump.
* Other:
    * Plugin renamed to "Molongui Bump Offer for WooCommerce".

= 1.0.0 (2019-01-04) =

* Initial release.


== Upgrade Notice ==

= 1.0.1 =
This version fixes some PHP warnings and errors when no configuration set. Please, update.

= 2.0.0 =
Premium users MUST update in order to keep getting automatic updates!

= 2.4.0 =
Plugin renamed to "Molongui Deals, Sales Promotions and Upsells for WooCommerce"
