Preview Calculator for WooCommerce

Description

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
.

Installation

  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.

FAQ

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.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Preview Calculator for WooCommerce » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal des modifications

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.