{"id":150444,"date":"2021-11-25T14:39:23","date_gmt":"2021-11-25T14:39:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/price-calculator\/"},"modified":"2026-07-26T11:53:01","modified_gmt":"2026-07-26T11:53:01","slug":"price-calculator","status":"publish","type":"plugin","link":"https:\/\/fr-ca.wordpress.org\/plugins\/price-calculator\/","author":22028296,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"7.0.4","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Price Calculator - Block","header_author":"bplugins","header_description":"Calculate price of products based on quantity","assets_banners_color":"f7c3e4","last_updated":"2026-07-26 11:53:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.buymeacoffee.com\/abuhayat","header_plugin_uri":"","header_author_uri":"https:\/\/bplugins.com","rating":4.5,"author_block_rating":4.462962962963,"active_installs":200,"downloads":8701,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":50,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"charlescormier","date":"2021-11-27 02:50:20"},"1.0.1":{"tag":"1.0.1","author":"charlescormier","date":"2022-01-27 11:02:16"},"1.0.2":{"tag":"1.0.2","author":"charlescormier","date":"2022-02-02 05:08:15"},"1.0.3":{"tag":"1.0.3","author":"charlescormier","date":"2022-02-22 07:47:52"},"1.0.4":{"tag":"1.0.4","author":"charlescormier","date":"2022-04-12 11:12:38"},"1.0.5":{"tag":"1.0.5","author":"charlescormier","date":"2022-04-17 03:59:04"},"1.0.6":{"tag":"1.0.6","author":"charlescormier","date":"2022-05-10 09:38:06"},"1.0.7":{"tag":"1.0.7","author":"charlescormier","date":"2022-07-17 05:44:12"},"1.0.8":{"tag":"1.0.8","author":"charlescormier","date":"2023-04-11 08:16:37"},"1.0.9":{"tag":"1.0.9","author":"charlescormier","date":"2024-02-29 17:45:53"},"1.1.0":{"tag":"1.1.0","author":"charlescormier","date":"2026-05-21 04:51:17"},"1.1.1":{"tag":"1.1.1","author":"bplugins","date":"2026-07-26 11:53:01"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":1},"assets_icons":{"icon-128x128-old.png":{"filename":"icon-128x128-old.png","revision":3623328,"resolution":"128x128","location":"assets","locale":"old","width":640,"height":640},"icon-128x128.png":{"filename":"icon-128x128.png","revision":3623328,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3623328,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3623328,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3623328,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3623328,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"pclb\/price-calculator":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"pclb\/price-calculator","title":"Price Calculator","description":"Calculate price of products based on quantity.","version":"1.1.1","category":"widgets","keywords":["calculate price","price of products","product price calculate"],"textdomain":"price-calculator","attributes":{"align":{"type":"string","default":""},"currency":{"type":"string","default":"$"},"maxQuantity":{"type":"number","default":500},"unitPrice":{"type":"number","default":15},"unitPriceQuery":{"type":"array","default":[{"afterQuantity":20,"unitPrice":10}]},"quantityLabel":{"type":"string","default":"Product Items:"},"totalPriceLabel":{"type":"string","default":"total price"},"width":{"type":"string","default":"60%"},"alignment":{"type":"string","default":"center"},"background":{"type":"object","default":{"color":"#e3edf1"}},"textAlign":{"type":"string","default":"left"},"padding":{"type":"object","default":{"vertical":"25px","horizontal":"30px"}},"border":{"type":"object","default":{"radius":"3px"}},"shadow":{"type":"object","default":{}},"heading":{"type":"string","default":"Price Calculator","selector":".pclbPriceCalculator .pclbHeading"},"headingTypo":{"type":"object","default":{"fontSize":{"desktop":28,"tablet":24,"mobile":20}}},"headingColor":{"type":"string","default":"#40444f"},"numberTypo":{"type":"object","default":{"fontSize":{"desktop":20,"tablet":18,"mobile":16},"fontWeight":700}},"labelTypo":{"type":"object","default":{"fontSize":{"desktop":15,"tablet":15,"mobile":15}}},"numberLabelColor":{"type":"string","default":"#40444f"},"rangeWidth":{"type":"string","default":"50%"},"rangeTrackBG":{"type":"object","default":{"type":"gradient","gradient":"radial-gradient(#70777f, #40444f)"}},"rangeThumbBG":{"type":"object","default":{"type":"gradient","gradient":"radial-gradient(#70777f, #40444f)"}}},"supports":{"align":["wide","full"],"html":false},"example":{"attributes":{"preview":true}},"editorScript":["file:.\/index.js","lodash"],"editorStyle":"file:.\/index.css","style":"file:.\/view.css","render":"file:.\/render.php","viewScript":["file:.\/view.js","lodash"]}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1"],"block_files":["\/tags\/1.1.1\/build\/index.js","\/tags\/1.1.1\/build\/index.css","\/tags\/1.1.1\/build\/view.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2636187,"resolution":"1","location":"assets","locale":"","width":800,"height":380},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2636187,"resolution":"2","location":"assets","locale":"","width":800,"height":380},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2636187,"resolution":"3","location":"assets","locale":"","width":800,"height":380},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2636187,"resolution":"4","location":"assets","locale":"","width":1280,"height":720}},"screenshots":{"1":"Default","2":"Customize Range","3":"Customize","4":"Settings"}},"plugin_section":[172757],"plugin_tags":[1220,151844,205430,15432,205431],"plugin_category":[],"plugin_contributors":[183994,226291,198811],"plugin_business_model":[],"class_list":["post-150444","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-block","plugin_tags-gutenberg-block","plugin_tags-price-calculate","plugin_tags-price-calculator","plugin_tags-quantity-calculator","plugin_contributors-abuhayat","plugin_contributors-bplugins","plugin_contributors-charlescormier","plugin_committers-abuhayat","plugin_committers-bplugins","plugin_committers-charlescormier","plugin_support_reps-charlescormier"],"banners":{"banner":"https:\/\/ps.w.org\/price-calculator\/assets\/banner-772x250.png?rev=3623328","banner_2x":"https:\/\/ps.w.org\/price-calculator\/assets\/banner-1544x500.png?rev=3623328","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/price-calculator\/assets\/icon.svg?rev=3623328","icon":"https:\/\/ps.w.org\/price-calculator\/assets\/icon.svg?rev=3623328","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/price-calculator\/assets\/screenshot-1.png?rev=2636187","caption":"Default"},{"src":"https:\/\/ps.w.org\/price-calculator\/assets\/screenshot-2.png?rev=2636187","caption":"Customize Range"},{"src":"https:\/\/ps.w.org\/price-calculator\/assets\/screenshot-3.png?rev=2636187","caption":"Customize"},{"src":"https:\/\/ps.w.org\/price-calculator\/assets\/screenshot-4.png?rev=2636187","caption":"Settings"}],"raw_content":"<!--section=description-->\n<p><strong>Let customers slide to a quantity and see their price instantly \u2013 including your bulk discounts \u2013 right on the page.<\/strong><\/p>\n\n<p><a href=\"https:\/\/bblockswp.com\/demo\/price-calculator\/\"><strong>Demos<\/strong><\/a><\/p>\n\n<h3>Why Price Calculator Block?<\/h3>\n\n<p>Nobody likes emailing back and forth just to learn a price. <strong>Price Calculator Block<\/strong> lets you create and display pricing calculator sliders on your website, so visitors get an instant estimate based on the quantity they choose.<\/p>\n\n<p>You can create different pricing rules for different quantities. For example, if you sell 1 unit for 10 and offer a discount when a customer buys 5, simply set a pricing rule based on quantity \u2013 the calculator applies it automatically. All the options related to a price calculator are supported, and everything is configured visually in the Gutenberg editor.<\/p>\n\n<h3>Free Features<\/h3>\n\n<ul>\n<li><strong>Quantity-Based Pricing Rules:<\/strong> Set different prices for different quantity ranges, including bulk discounts.<\/li>\n<li><strong>Interactive Slider:<\/strong> Visitors drag a range slider to pick a quantity and see the price update.<\/li>\n<li><strong>Currency Option:<\/strong> Choose the currency shown with the calculated price.<\/li>\n<li><strong>Fully Customizable:<\/strong> All the options you need to arrange the showcase to your liking.<\/li>\n<\/ul>\n\n<h3>How to Use<\/h3>\n\n<ol>\n<li>Install and activate the <strong>Price Calculator<\/strong> block plugin.<\/li>\n<li>Open a post or page in the Gutenberg editor.<\/li>\n<li>Add the <strong>Price Calculator<\/strong> block from the \"Widgets\" block category.<\/li>\n<li>Set your pricing rules and adjust the design from the right-side settings sidebar.<\/li>\n<li>Publish \u2013 your calculator is live!<\/li>\n<\/ol>\n\n<h3>Use Cases<\/h3>\n\n<ul>\n<li><strong>Product Sellers:<\/strong> Show quantity discounts for bulk orders.<\/li>\n<li><strong>Service Providers:<\/strong> Let clients estimate costs based on units, hours, or seats.<\/li>\n<li><strong>Print &amp; Manufacturing Shops:<\/strong> Give instant quotes for different order sizes.<\/li>\n<\/ul>\n\n<p>Did you like this plugin? Do you have a feature request? <a href=\"mailto:support@bplugins.com\" title=\"Send feedback\">Please share your feedback with us<\/a>.<\/p>\n\n<h3>Check out the Parent Plugin of this plugin-<\/h3>\n\n<p><a href=\"https:\/\/bblockswp.com\"><strong>B Blocks<\/strong><\/a> \u2013 A blocks collection and page building tool for Gutenberg.<\/p>\n\n<h3>Check out our other WordPress Plugins-<\/h3>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/html5-video-player\/\"><strong>Html5 Video Player<\/strong><\/a> \u2013 Display videos as single and playlist in multiple skins.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/pdf-poster\/\"><strong>PDF Poster<\/strong><\/a> \u2013 Display\/Embed PDF files with different styles.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/html5-audio-player\/\"><strong>Html5 Audio Player<\/strong><\/a> \u2013 Listen audios with awesome visuals.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/streamcast-radio-player\/\"><strong>StreamCast<\/strong><\/a> \u2013 Customizable radio player with different skins.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/3d-viewer\/\"><strong>3D Viewer<\/strong><\/a> \u2013 Embed 3D models and 3D products with interaction.<\/p>\n\n<p><a href=\"https:\/\/bplugins.com\/products\/advanced-post-block\/\"><strong>Advanced Post Block<\/strong><\/a> \u2013 Show posts and custom posts in different layouts.<\/p>\n\n<h3>Source Code<\/h3>\n\n<p>You can find the source code, report bugs, and contribute to the development of this plugin on our GitHub repository:\n<a href=\"https:\/\/github.com\/bPlugins\/price-calculator\"><strong>Price Calculator on GitHub<\/strong><\/a><\/p>\n\n<h3>Third-Party Libraries<\/h3>\n\n<p>This plugin bundles the following third-party JavaScript libraries.<\/p>\n\n<h4>bpl-tools<\/h4>\n\n<ul>\n<li>Source \/ GitHub: https:\/\/github.com\/bPlugins\/bpl-tools<\/li>\n<li>License: GPL-2.0-or-later \u2013 https:\/\/www.gnu.org\/licenses\/gpl-2.0.html<\/li>\n<li>Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls.<\/li>\n<li>External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https:\/\/github.com\/bPlugins\/bpl-tools#external-requests--why-they-are-made<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p><strong>From your WordPress dashboard (recommended):<\/strong><\/p>\n\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Search for <strong>\"Price Calculator\"<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong>, then <strong>Activate<\/strong>.<\/li>\n<li>Add the <strong>Price Calculator<\/strong> block to any post or page in the Gutenberg editor.<\/li>\n<\/ol>\n\n<p><strong>Manual installation:<\/strong><\/p>\n\n<ol>\n<li>Download the <strong>Price Calculator<\/strong> block plugin (.zip file).<\/li>\n<li>In your admin area, go to <strong>Plugins \u2192 Add New<\/strong> and click <strong>Upload Plugin<\/strong>.<\/li>\n<li>Choose the <code>price-calculator.zip<\/code> file and click <strong>Install Now<\/strong>.<\/li>\n<li>Activate the plugin, then add the block from the Gutenberg editor.<\/li>\n<\/ol>\n\n<p>Alternatively, upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory and activate it through the <strong>Plugins<\/strong> menu in WordPress.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20the%20price%20calculator%20block%20free%3F\"><h3>Is the Price Calculator block free?<\/h3><\/dt>\n<dd><p>Yes, the Price Calculator block is a free Gutenberg block plugin.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20any%20wordpress%20theme%3F\"><h3>Does it work with any WordPress theme?<\/h3><\/dt>\n<dd><p>Yes, it works with any standard WordPress theme.<\/p><\/dd>\n<dt id=\"can%20i%20create%20quantity-based%20discounts%3F\"><h3>Can I create quantity-based discounts?<\/h3><\/dt>\n<dd><p>Yes. You can create different pricing rules for different quantities \u2013 for example, a lower unit price when a customer buys 5 instead of 1.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20currency%3F\"><h3>Can I change the currency?<\/h3><\/dt>\n<dd><p>Yes, the block includes an option to set the currency displayed with the price.<\/p><\/dd>\n<dt id=\"can%20i%20change%20block%20settings%3F\"><h3>Can I change block settings?<\/h3><\/dt>\n<dd><p>Yes, you can change all block settings from the Gutenberg block editor's right sidebar.<\/p><\/dd>\n<dt id=\"how%20many%20times%20can%20i%20reuse%20the%20block%3F\"><h3>How many times can I reuse the block?<\/h3><\/dt>\n<dd><p>You can use the block an unlimited number of times across your site.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>You can post your questions on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/price-calculator\/\">support forum here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1 - 14 Jun 26<\/h4>\n\n<ul>\n<li><strong>Update:<\/strong> Block API Version 3<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li><strong>Fix:<\/strong> render issue<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Reduce assets loads<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Add translate feature<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Fix Width<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Fix HTML Render<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Reduce PHP Code<\/li>\n<li>Performance Improvement<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Reduce PHP Code.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Add option for currency.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Performance upgrade.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix Range Style.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Add a price calculator slider to WordPress. Set quantity-based pricing rules and discounts so customers see their price instantly \u2013 Gutenberg block.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/150444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=150444"}],"author":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bplugins"}],"wp:attachment":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=150444"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=150444"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=150444"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=150444"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=150444"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=150444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}