{"id":231044,"date":"2025-07-03T17:43:59","date_gmt":"2025-07-03T17:43:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wc-preview-calculator\/"},"modified":"2025-07-03T17:43:30","modified_gmt":"2025-07-03T17:43:30","slug":"wc-preview-calculator","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wc-preview-calculator\/","author":23220413,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"trunk","tested":"6.8.5","requires":"5.5","requires_php":"7.4","requires_plugins":null,"header_name":"Preview Calculator for WooCommerce","header_author":"SOTFSDAPPS","header_description":"Create customizable reverse (or additive) calculators with WooCommerce subtotal support.","assets_banners_color":"","last_updated":"2025-07-03 17:43:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":201,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1.0":"<p>Upgrade required to enable multiple calculators and WooCommerce cart subtotal integration.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin screen showing multiple calculators and settings.","2":"Frontend calculator using manual input.","3":"Frontend calculator using WooCommerce cart subtotal."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[244442,15800,15432,286],"plugin_category":[45],"plugin_contributors":[240422],"plugin_business_model":[],"class_list":["post-231044","plugin","type-plugin","status-publish","hentry","plugin_tags-cart-subtotal","plugin_tags-finance","plugin_tags-price-calculator","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-sotfsdapps","plugin_committers-sotfsdapps"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wc-preview-calculator.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>WC Preview Calculator<\/strong> is a powerful and flexible calculator plugin for WooCommerce-based sites. It allows you to:<\/p>\n\n<ul>\n<li>Create multiple calculators, each with a unique shortcode.<\/li>\n<li>Set custom deduction fields (label + percentage) for each calculator.<\/li>\n<li>Choose between reverse (deduction) and additive (markup) modes.<\/li>\n<li>Toggle whether the calculator should use a manually entered value or the WooCommerce cart subtotal.<\/li>\n<li>Easily manage calculators and their settings from the WordPress admin.<\/li>\n<\/ul>\n\n<p>Perfect for sites that want to show transparent cost breakdowns, such as transaction fees, shipping, or operational margins.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Supports multiple independent calculators.<\/li>\n<li>Each calculator has its own shortcode.<\/li>\n<li>Add\/remove deduction fields dynamically in the admin.<\/li>\n<li>Toggle between reverse (net \u2192 gross) or additive (gross \u2192 net) modes.<\/li>\n<li>Pull WooCommerce cart subtotal (excluding shipping) with a checkbox toggle.<\/li>\n<li>Fully Elementor-compatible and shortcode-friendly.<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later. See https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\n.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/wc-preview-calculator<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the \"Plugins\" screen in WordPress.<\/li>\n<li>Go to <strong>Settings &gt; Preview Calculators<\/strong> to configure and create your calculators.<\/li>\n<li>Use the generated shortcode <code>[preview_calculation_slug]<\/code> where you want the calculator to appear.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20work%20with%20elementor%3F'><h3>Does this plugin work with Elementor?<\/h3><\/dt>\n<dd><p>Yes, the calculator works well inside Elementor or any shortcode-compatible area.<\/p><\/dd>\n<dt id='can%20i%20use%20the%20woocommerce%20cart%20subtotal%20for%20calculations%3F'><h3>Can I use the WooCommerce cart subtotal for calculations?<\/h3><\/dt>\n<dd><p>Yes. Each calculator has a toggle to allow the user to pull the cart subtotal instead of entering a manual amount.<\/p><\/dd>\n<dt id='how%20do%20i%20switch%20between%20additive%20and%20reverse%20deduction%20modes%3F'><h3>How do I switch between additive and reverse deduction modes?<\/h3><\/dt>\n<dd><p>In the admin settings for each calculator, use the checkbox labeled \"Additive Mode?\" to switch logic modes.<\/p><\/dd>\n<dt id='what%20does%20the%20shortcode%20look%20like%3F'><h3>What does the shortcode look like?<\/h3><\/dt>\n<dd><p>Each calculator will have its own shortcode in the format: <code>[preview_calculation_slug]<\/code>. The slug is defined automatically in the admin panel.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Renamed plugin to WC Preview Calculator.<\/li>\n<li>Added support for multiple calculators via dynamic shortcodes.<\/li>\n<li>Added WooCommerce cart subtotal toggle support.<\/li>\n<li>Switched fields input to dynamic add\/remove inputs.<\/li>\n<li>Fixed subtotal issue when cart is empty or unavailable.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version: single reverse calculator with custom labels and percentages.<\/li>\n<\/ul>","raw_excerpt":"WC Preview Calculator lets you create custom WooCommerce calculators with deductions, markups, and cart subtotal options\u2014perfect for cost breakdowns.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/231044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=231044"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sotfsdapps"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=231044"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=231044"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=231044"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=231044"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=231044"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=231044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}