Preview Calculator for WooCommerce

Kuvaus

WC Preview Calculator is a powerful and flexible calculator plugin for WooCommerce-based sites. It allows you to:

  • Create multiple calculators, each with a unique shortcode.
  • Set custom deduction fields (label + percentage) for each calculator.
  • Choose between reverse (deduction) and additive (markup) modes.
  • Toggle whether the calculator should use a manually entered value or the WooCommerce cart subtotal.
  • Easily manage calculators and their settings from the WordPress admin.

Perfect for sites that want to show transparent cost breakdowns, such as transaction fees, shipping, or operational margins.

Features

  • Supports multiple independent calculators.
  • Each calculator has its own shortcode.
  • Add/remove deduction fields dynamically in the admin.
  • Toggle between reverse (net gross) or additive (gross net) modes.
  • Pull WooCommerce cart subtotal (excluding shipping) with a checkbox toggle.
  • Fully Elementor-compatible and shortcode-friendly.

License

This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html
.

Asennus

  1. Upload the plugin files to the /wp-content/plugins/wc-preview-calculator directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ”Plugins” screen in WordPress.
  3. Go to Settings > Preview Calculators to configure and create your calculators.
  4. Use the generated shortcode [preview_calculation_slug] where you want the calculator to appear.

UKK

Does this plugin work with Elementor?

Yes, the calculator works well inside Elementor or any shortcode-compatible area.

Can I use the WooCommerce cart subtotal for calculations?

Yes. Each calculator has a toggle to allow the user to pull the cart subtotal instead of entering a manual amount.

How do I switch between additive and reverse deduction modes?

In the admin settings for each calculator, use the checkbox labeled ”Additive Mode?” to switch logic modes.

What does the shortcode look like?

Each calculator will have its own shortcode in the format: [preview_calculation_slug]. The slug is defined automatically in the admin panel.

Arvostelut

There are no reviews for this plugin.

Avustajat & Kehittäjät

“Preview Calculator for WooCommerce” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

Käännä “Preview Calculator for WooCommerce” omalle kielellesi.

Oletko kiinnostunut kehitystyöstä?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Muutosloki

1.1.0

  • Renamed plugin to WC Preview Calculator.
  • Added support for multiple calculators via dynamic shortcodes.
  • Added WooCommerce cart subtotal toggle support.
  • Switched fields input to dynamic add/remove inputs.
  • Fixed subtotal issue when cart is empty or unavailable.

1.0.0

  • Initial version: single reverse calculator with custom labels and percentages.