

the classic product card of a 100 product: typing 9.9 in the total sets the quantity to 0.099 at a 0.001 step
Total Cost Input for WooCommerce plugin lets customers enter the amount of money they want to spend. The matching product quantity is calculated for them and shown right next to the sum (and, in the PRO version, the customer can also type the quantity and the two numbers stay in sync).
This plugin is ideal to sell products that can not be counted in portions, like liquids, powders, gas, cryptocurrencies, etc.
With this plugin used, your customer can just enter a sum, like $100 for example, and buy some amount of product you are selling, in grams, litres, bitcoins, etc.
It can be a valuable addition to your crypto selling store with the Cryptocurrency WordPress Plugin for WooCommerce!
Total Cost Input is a per-product product type: tick the checkbox on a product and that product, and only that product, asks for a sum instead of a quantityTotal Cost Input field on the product page of an opted-in product: the customer enters the amount of money and the resulting quantity is calculated for them[total_cost_input_widget] shortcode and the Total Cost Input: Product Gutenberg block:
Buy button that adds the product to the cart and takes the customer straight to the checkoutorder attribute, in the block inspector, or site-wide on the settings screen1 to 12 columns (or full for all twelve, which is the default), set per shortcode/block with the widths attribute, with the width selects in the block inspector, or as one line on the settings screen. A field that spans 12 columns takes the whole row, so a card of default fields stacks vertically and smaller spans sit in a row; fields whose spans add up to more than 12 wrap onto the next line – there is no separate layout switchProduct Quantity Step setting – sell fractional quantities (enter 0.1 and the customer can buy 0.1, 0.2, 0.3 …), in the FREE version tooThe PRO version includes all FREE features, plus:
Total Cost Input and Quantity fields on the product pageBuyBlock-based product surfaces are not supported yet. The Total Cost Input field works on the classic single-product template and on the classic cart and checkout. The block versions of those pages (the Single Product block, the Cart and Checkout blocks) render the quantity field on the client side and therefore ignore the plugin’s field:
Total Cost Input field;Use the classic templates (or the [total_cost_input_widget] shortcode / block, which is unaffected) until a future release adds the block support.
This plugin is localization ready.
Languages this plugin is available now:
Feel free to translate this plugin to your language.