简体   繁体   中英

Magento 1.8 order product quantity per 0.1 decimals

I'm using Magento 1.8 and I am amazed that I cannot get the system to allow orders of 0.1 quantity. I'm building this stor to sell fabrics, per 10cm's. So that would be 0.1meters and I do not want the quantity to represent centimeters.

I've tried the qty_increment field in the Admin > System > Configuration > Inventory but it only accepts full integers. :-(

Anybody know how to solve this or is Magento simply not meant for this ?

I actually found the solution, you CAN do this in the Backend by going to Product > Manage products > Select a product > Inventory > Enable Inventory > Enable Quantity uses Decimals > Stepsize 0.1 !!! SIDENOTE: Product price MUST be over 1 euro/dollar/any currency, or it won't work.

You cant solve this out by changing the product type to configurable. Kindly follow these steps to resolve this,

  • Create an attribute "weight"(name as you wish) by ( Admin->Catalog->Attributes->Manage Attributes ).
  • Create a configurable attribute set "Configurable_Attribute_Set"(name as you wish) by ( Admin->Catalog->Attributes->Manage Attributes Sets ).
  • Assign the custom attribute(weight) to our new attribute set(Configurable_Attribute_Set).
  • Create new product with new configurable type/assign this new set to existing product.
  • Now, set the Inventory area default and set the quantity in the weight attribute(This allows you to enter decimal values).

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM