Woocommerce decimal quantity. We have an issue with the quantity in the basket.


  1. Woocommerce decimal quantity. Mar 25, 2025 · Support Decimal Quantities in the Woocommerce Core to be compatible with all the plugins that support this kind of quantity. (Piece of Product). To allow customers to order in decimal quantity using the WooCommerce Advanced Product Quantity plugin, follow these steps: Go to WooCommerce > Settings > Advanced Product Quantity> Configurations tab. Jul 5, 2023 · In this guide, we will show you how you can replace the standard WooCommerce quantity input with a quantity input that accepts decimal numbers (fractions). It is always more th… Jun 25, 2015 · As standard WooCommerce does not allow to use decimal values in the quantity field, so we can only add 1, 2, 3, and so on to the cart. web. But at the same time, each Product / Categories can have its own Minimum Quantity value. 1] of Woo-Commerce, I am experiencing an issue where the cart item quantities are automatically converted to integers when navigating to the checkout page. We have an issue with the quantity in the basket. 5. Sep 29, 2025 · WPC Product Quantity for WooCommerce is a handy plugin for fully controlling the quantity number of products in your online store. Set: Min cart Quantity, Max cart Quantity, Step change Quantity, Default preset Quantity (default preset = 1). 2, where decimal item quantities worked as expected when overriding the default functionality. txt Isolating the problem I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin May 30, 2025 · Upload ‘decimal-product-quantity-for-woocommerce’ folder to the /wp-content/plugins/ directory. 5, 0. 5 Jul 2, 2025 · Plugin Description "WooCommerce Min Max Quantity Limits Manager" plugin allows store owners to set minimum, maximum, and default product quantities for customers to purchase. Decimal quantity plugin enabled 2. 01 etc. New Features Allow decimal quantities (configure this in Quantity Rule -> Advanced Rule -> Site Wide Step Value) Specify a unit of measurement for the quantity (ie lbs, kg, bag etc) Features: Jun 5, 2025 · By default, WooCommerce supports product quantities only in whole numbers. However, some businesses also need to sell their products in decimal quantities. These values will be used by all products in your store unless you specify unique values on a per-product basis. in_2024-08-03T07-52-20. 56 for quantity in woocommerce ? in calculate price quantity number convert to Integers value but i need price calculate with Values that Regarding the ability to use decimals in quantity fields for products, this is currently not a feature in WooCommerce core. alpha. Decimal Quantities in FooSales for WooCommerce After making changes to any of the decimal quantity values mentioned above, whether it be the default values or the values entered on a per-product basis, it is recommended that you resync your store’s data in the FooSales for WooCommerce app by clearing locally stored data from the Settings screen. And set restrictions. However, in the latest Version [9. You can create RSS Feed for WooCommerce. Activate the plugin through the ‘Plugins’ menu in WordPress. Decimal quantity should be supported. We have a bundle which includes 1 box of product ‘a’ and 0. It’s about creating an intuitive shopping experience that matches how your products are actually purchased and used. php theme file, we just added a few lines. We understand that this is a much-needed feature for businesses like yours that sell products by weight or volume. Set quantity-based product restrictions Dec 11, 2014 · can you help me to find a way for use decimal value like 3. 50). 5 boxes of product ‘b’. Can someone explain how I can do it? // Add min value to the quantity field (. The time to complete this entire tutorial is 10-15 minutes. Purchase it now! Aug 5, 2020 · I found the code what I want to use on my woocommerce shop, but I want to use it only for certain categories from my shop. 3K subscribers Subscribed Feb 25, 2025 · Issue with the quantity in the basket marcelldk (@marcelldk) 7 months, 3 weeks ago Thanks for the fixes you already have made. Jan 3, 2025 · I previously used WooCommerce version 9. See full list on wpdesk. WordPress Environment SystemStatusReport_dev1. 3 miligrams of Vitamin-C. They can also specify how many pieces of that length they want. Min, Max, Step & Default preset Quantity. It offers flexibility in managing product quantities, helping prevent customers from ordering too few or too many items. Some specialized industries might need three decimal places for extremely precise measurements. 5 steps specifically). Description WPC Product Quantity for WooCommerce is a handy plugin for fully controlling the quantity number of products in your online store. net Oct 11, 2025 · Setting up decimal place settings in your quantity slider isn’t just a technical checkbox to complete. Support: “Google Merchant Center” (Product data specification) for “Price_Unit_Label” -> [unit_pricing_measure], separate hierarchy Categories -> Products. Live Oct 2, 2025 · Define a min/max, step, decimal & default quantity for products, show a dropdown and much more on WooCommerce stores. A bit like in Set quantity minimum, maximum and step at product level in Add min/max, fixed, step & decimal quantity limitations on product purchases with WooCommerce Product Quantity addon. Give customers flexibility in buying products by weight or volume. Control min/max limits, decimals, steps & user roles to optimize order handling. Using smart product quantity extension for WooCommerce merchants can sell products in decimal quantities & restrict the checkut for the minimum & maximum quantity limit. You can set the Minimum product Quantity for all Products by default (preset = 1). Jun 16, 2025 · Installation Upload ‘decimal-product-quantity-for-woocommerce’ folder to the /wp-content/plugins/ directory. for example: with Booster plus we can use decimal quantities in simple a variables products, but is we need to use decimal quantities in Product Bundle or Composite Products, this plugins does not allow decimal […] Aug 15, 2023 · WooCommerce Advanced Quantity is a ready-to-use product with unlimited downloads, use, and lifetime updates. Decimal Product Quantity for WooCommerce Products like: Pizza, Liquid on the filling, Custom weight, etc. The decimal quantity will not be updated correctly. May 7, 2025 · I would like to adjust quantity step for specific product categories to allow decimal numbers (0. 4. We had a project, where we would change that, so we came up with a really simple fix. Acceptable values can be any decimal number such as 1, 0. fishmeat. Update Minicart quantity . Jul 10, 2018 · It would be fantastic if the ‘Quantity Min’ and ‘Quantity Max’ fields (in basic settings) accepted decimal values (such as 0. How To Change Number Of Decimals In WooCommerce Marcus Stone 34. Aug 3, 2024 · Steps to reproduce 1. Nov 29, 2016 · Quantities and Units also bring decimal quantity support to WooCommerce. Most stores work well with two decimal places (like 2. However, you can change this behavior by using a filter to set the minimum stock quantity to 0. com/use-decimal-in-quantity-fields-in-woocommerce-wordpress/ Feb 27, 2023 · Learn how to allow WooCommerce decimal quantity inputs for your store. Apr 16, 2025 · Learn how to setup advanced product quantity for WooCommerce. Variable Supported. If you have any problems – please ask for support. Go to Settings: Products -> Decimal Quantity. It assists shop owners in setting min/max quantity and defining the steps for the selection. My plugin code (see below) successfully allows the inputs to be decimals in 0. Dec 11, 2014 · I have written a tutorial, for this functionality, with some extra fixes an explanation at: http://codeontrack. I have used already found code as a basis ( Set quantity minimum, maximum and step at product level in Woocommerce ), as different products in my store have different min/max values and quantity increments. The fix In the functions. tbdev. Sell WooCommerce products with decimal quantity values! Add min/max, fixed, step, decimal quantity limitations on product purchases with WooCommerce Product Quantity addon. 5). However, the use of decimal quantities in WooCommerce can be beneficial in various scenarios: Products Sold by Weight or Length: If you sell products that are measured by weight or length, such as fruits, vegetables, fabric, or liquids, decimal quantities allow customers to purchase Jun 21, 2013 · With WooCommerce Measurement Price Calculator, the customer is shown the price per metre, and selects how many metres they want to buy. Enable WooCommecre quantity increment buttons on the shop, product, and cart page to sell more products and encourage customers to make further purchases. Nov 3, 2023 · I have products with quantity in decimal but cart page does not support it. This determines how many decimal places are displayed and accepted in the quantity field. Aug 20, 2025 · Boost WooCommerce with advanced product quantities and new units of measure. 75 or 3. This plugin works great with Rapid Order, a fast ordering system for WooCommerce. g. Remarkably, users are able to turn on or off the decimal quantities on their site and choose among three selector interfaces: default/select/radio buttons. Oct 16, 2023 · WooCommerce uses a default stock quantity of 1 as the minimum because it typically deals with whole, discrete products. 1. You can set separate Minimum Product Quantity, Step of Changing the Quantity & Default preset Quantity – for each Variable Product Variation. Could you please suggest a solution to resolve this issue and Here's a quick solution on how to add decimal places to your prices on WooCommerce Min and Max Quantity for WooCommerce - set limits for cost of products in orders and in groups and limits for quantity of products, product variations … Dec 19, 2020 · Sometimes you have products which are qualified by weight. May 5, 2024 · I have been trying to get decimal quantities to work in WooCommerce, and I am at a loss for why it's not working. Jul 19, 2023 · The case for decimal quantities By default, WooCommerce only allow whole numbers for the quantity fields. Based on Decimal quantity step for specific product categories in WooCommerce answer code, try the following revisited code: Oct 11, 2025 · Decimal precision is slightly different but equally important. E. By default, the minimum cart quantity is 1 which is the minimum amount that can be added to the cart for products. Feb 6, 2025 · I'm looking for a way to set a decimal product quantity for each product in my woocommerce store. you want to order 5. klq5ex o8 gtuj mo p0ntyf pr4 wfvf lawjk 631ah y7jelyg