drcvvkx914772
2013-11-26 23:17
浏览 28
已采纳

Magento 1.8订购产品数量/ 0.1小数

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 ?

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dpbrrczhlwbv849228 2013-11-27 14:43
    已采纳

    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.

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • doufeixuan8882 2013-11-27 05:46

    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.

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题