Propono
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
- Plugin page: https://plogins.com/propono/
- Documentation: https://plogins.com/propono/docs/
- Author: WPPoland.com
- WordPress.org contributor: motylanogha
- Source: https://github.com/wppoland/propono
Propono adds a single order-bump offer to the WooCommerce checkout. It renders one high-visibility offer above the payment methods on the classic (shortcode) checkout. Ticking the checkbox adds your chosen product to the order; WooCommerce recalculates every total before payment, so the amount sent to the gateway already includes the bump. Unticking removes it just as fast.
The plugin is intentionally small: no external service, no tracking, no custom totals. It uses WooCommerce’s own cart and the update_checkout recalculation, keeps its styles scoped to the bump block, and puts the settings under WooCommerce > Order Bump.
Free edition
Section titled “Free edition”- One order-bump offer above the payment methods on the classic checkout.
- Any simple, purchasable product can be the bump.
- Optional special price for the bump line only.
- Native WooCommerce recalculation through the cart and
update_checkout, so there are no custom totals and no gateway surprises. - The bump line is tagged privately, so it is never confused with a copy the shopper added themselves.
- Configurable heading, checkbox label, description and accent colour.
- HPOS compatible; scoped styles with no layout shift.
How it works
Section titled “How it works”- Go to WooCommerce > Order Bump and choose a simple, purchasable product as the bump.
- Write the heading, checkbox label and description, and optionally set a special price for the bump line only.
- Enable the offer and save.
On the checkout, the offer appears above the payment methods. When the shopper ticks it, Propono adds the product through the WooCommerce cart and triggers update_checkout, so WooCommerce recalculates the order total before payment. Unticking removes the product and recalculates again.
Settings reference
Section titled “Settings reference”All settings live on WooCommerce > Order Bump (capability manage_woocommerce) and are stored in one option, bump_settings.
| Field | Key | Default | Notes |
|---|---|---|---|
| Enable order bump | enabled |
off | Master switch. Off means no output, script or style on the checkout. |
| Bump product | product_id |
0 (none) |
The list shows up to 200 published, simple, purchasable, in-stock products, sorted by title. 0 keeps the offer hidden. |
| Heading | heading |
empty | Empty shows “One-time offer”. |
| Checkbox label | checkbox_label |
empty | Empty shows “Yes, add this to my order!”. |
| Description | description |
empty | Optional text under the heading. |
| Override price | bump_price |
empty | Special price for the bump line, e.g. 19.00. A comma is accepted as the decimal separator and the value is rounded to the shop’s price decimals. Empty uses the product’s own price. |
| Accent colour | accent_color |
empty | Hex colour; the leading # is optional. Empty keeps the packaged orange, #d97706. |
If the saved product later loses its price or goes out of stock, the screen keeps it selected, marks it “not available on the checkout” and shows a warning; the offer stays hidden until you fix the product or pick another.
Rules the offer follows
Section titled “Rules the offer follows”- Simple products only. A variable product saved as the bump resolves to no offer.
- Not offered twice. When the shopper already has the bump product as a normal cart line, the offer is not shown.
- Quantity 1 with an override price. When an override price is set, the bump line is forced back to one unit on the next recalculation. Without one, a raised quantity stays.
- Special price needs another line. The override price applies only while the cart holds at least one other, non-bump product. If the bump is the only item left, it is charged at its normal price.
- Classic checkout only. The offer is rendered on
woocommerce_review_order_before_payment, a classic-checkout hook, so the Checkout block shows no bump.
Propono attaches to these WooCommerce hooks:
| Hook | Priority | Purpose |
|---|---|---|
woocommerce_review_order_before_payment |
10 | Renders the offer box |
woocommerce_before_calculate_totals |
20 | When an override price is set, applies it and resets the bump quantity to 1 |
wp_enqueue_scripts |
10 | Loads bump.css and bump.js on the checkout only, and only when a valid bump product is set |
wp_ajax_bump_toggle, wp_ajax_nopriv_bump_toggle |
10 | Adds or removes the bump line (nonce plogins_bump_toggle) |
The only hook Propono fires itself is the bump/booted action, with the plugin instance, after it has registered its hooks. There are no filters for the offer, the price or the product.
Under the hood, the bump line carries the private cart-item flag _plogins_bump. The checkbox sends an AJAX request, then the script triggers WooCommerce’s update_checkout event so totals are recalculated. The script uses jQuery, which the classic checkout already loads.
Troubleshooting
Section titled “Troubleshooting”- The offer does not appear. Check that Enable order bump is on, that a product is selected and is simple, priced and in stock, that the page uses the
[woocommerce_checkout]shortcode rather than the Checkout block, and that the bump product is not already in the cart as a normal item. - The special price is not used. It applies only while another product is in the cart. Check also that the field holds a number.
- The colour did not change. Enter a 3- or 6-digit hex value such as
#0a7c3f; anything else is saved empty and the default orange stays. - The checkbox un-ticks itself. The add or remove request failed and the script rolled the box back to the real cart state. The request needs a valid nonce from the checkout page, and a checkout served from a page cache can carry an expired one; exclude the checkout from page caching.
Data and uninstall
Section titled “Data and uninstall”Propono stores only the bump_settings option and a bump_db_version schema marker, and creates no tables. Deleting the plugin removes both options, on every site of a multisite network.
Requirements
Section titled “Requirements”- WooCommerce 8.0 or newer, active.
- The classic, shortcode-based checkout (
[woocommerce_checkout]). The newer block checkout is not supported. - WordPress 6.5 or newer and PHP 8.1 or newer.