Shipping Insurance & Package Protection for WooCommerce

Opis

Codenitive Shipping Insurance adds a configurable package-protection option to WooCommerce. Customers can enable or disable insurance from the cart or checkout page. The selected state is stored in the WooCommerce session and remains synchronized while order totals refresh.

The plugin provides independent display-location settings for the cart and checkout pages. The insurance fee is added to the WooCommerce totals only when the customer enables the option.

Features

  • Enable or disable shipping insurance globally.
  • Set a custom heading, option label, and description.
  • Choose between a single-fee toggle and tiered coverage choices.
  • Configure a fixed fee or manage multiple coverage and fee levels with repeatable rows.
  • Choose whether the insurance fee is taxable.
  • Choose whether insurance is enabled by default.
  • Restrict insurance to selected shipping classes or selected shipping methods.
  • Optionally restrict each coverage level to selected shipping classes and shipping methods.
  • Restrict general, single-fee, and individual coverage choices by user role, including guests.
  • Set fixed or percentage-based fees for the single-fee toggle and individual coverage choices.
  • Select the insurance location on the classic cart page.
  • Select the insurance location on the classic checkout page.
  • Hide the insurance option independently on the cart or checkout page.
  • Synchronize the selected state during WooCommerce AJAX updates.
  • Add optional shipping instructions when using tiered coverage.
  • Save the insurance selection, coverage, fee, and instructions in order metadata.
  • Display the selected insurance fee in WooCommerce order administration.
  • Support WooCommerce High-Performance Order Storage (HPOS).
  • Include compatibility handling for CheckoutWC checkout updates.

Configuration

Enable

Turns the shipping-insurance feature on or off across the store.

Insurance type

Choose “Single fee toggle” for the original package-protection switch or “Coverage choices” for radio-button coverage levels with an explicit decline option.

Cart location

Choose where the insurance option appears on the classic WooCommerce cart page. Select “Do not display on cart page” to hide it from the cart.

Checkout location

Choose where the insurance option appears within the classic WooCommerce checkout form. For CheckoutWC, “After billing form” is the recommended location. Select “Do not display on checkout page” to hide it from checkout.

Heading, option label, and description

Customize the text displayed in the insurance panel.

Fee

Choose a fixed amount in the store currency or a percentage of the discounted product total (excluding shipping and tax). The calculated fee appears in the totals when insurance is selected.

Coverage choices

Add coverage levels in the settings screen. Each row can use a fixed customer fee or a percentage of the discounted product total; existing coverage|fee rows remain fixed-fee levels. Each level can also be restricted by shipping class, selected shipping method, and user role. Empty selections mean no restriction for that rule.

Shipping instructions

Optionally show a checkout textarea in Coverage choices mode. Instructions are sanitized and saved with the order.

Default state

When enabled, insurance is initially selected for a customer who does not already have a saved state in the current WooCommerce session.

Tax

Enable this setting if WooCommerce should calculate tax on the insurance fee.

Slike ekrana

Instalacija

  1. Upload the codenitive-shipping-insurance folder to /wp-content/plugins/, or install the ZIP through Plugins > Add New > Upload Plugin.
  2. Activate Codenitive Shipping Insurance from the Plugins screen.
  3. Go to WooCommerce > Shipping Insurance.
  4. Configure the content, fee, tax setting, default state, and display locations.
  5. Save the settings and test the cart and checkout pages.

ČPP

Does this plugin support WooCommerce Cart and Checkout blocks?

No. Version 2.0.0 is designed for the classic WooCommerce cart and checkout templates.

Does it work with CheckoutWC?

Yes. The plugin includes support for CheckoutWC checkout refreshes. Use the “After billing form” location for the most reliable compatibility because available hooks can vary between CheckoutWC layouts and versions.

Can customers remove insurance after enabling it?

Yes. The checkbox updates the WooCommerce session for both enable and disable actions and then recalculates the totals.

Can I show insurance only on the cart or only on checkout?

Yes. Set the unwanted page location to “Do not display” under WooCommerce > Shipping Insurance.

Is the insurance fee saved with the order?

Yes. The selection and configured fee are saved as order metadata and are compatible with WooCommerce HPOS.

Does changing the display location change the fee?

No. Display locations control only where the selector appears. The configured fee and the customer's session selection remain unchanged.

Recenzije

Nema recenzija za ovaj dodatak.

Saradnici i programeri

“Shipping Insurance & Package Protection for WooCommerce” is open source software. The following people have contributed to this plugin.

Doprinositelji

Zapis promijena

2.0.1

  • Renamed Codenitive Shipping Insurance to Shipping Insurance & Package Protection for WooCommerce.
  • Added native cart AJAX updates with an optional page-reload mode.
  • Expanded display locations and added custom hooks.
  • Improved frontend layouts and added color controls.
  • Added default coverage selection and shipping instructions for both insurance types.
  • Simplified settings and eligibility controls.
  • Improved update handling and reorganized plugin code.

1.1.1

Update plugin URL

1.0.3

  • Added customizable text for the tiered insurance fee shown in totals.
  • Added clearer controls for changing the decline-option text.
  • Added customizable coverage-choice text with {coverage} and {fee} placeholders.
  • Removed the predefined coverage amounts and fees from new installations.
  • Existing custom coverage choices are preserved during the upgrade.

1.0.2

  • Redesigned the settings screen with a professional card-based layout.
  • Added General, Display, Coverage Choices, and Advanced settings tabs.
  • Replaced the coverage|fee textarea with user-friendly repeatable coverage rows.
  • Added controls to add, remove, and drag coverage choices into the preferred order.
  • Added conditional settings so only fields relevant to the selected insurance type are shown.
  • Added clearer setting descriptions, currency prefixes, and a sticky save panel.