You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Magento MAGMI自定义选项功能异常技术问询

Fixing MAGMI Custom Options Configuration Issues

Hey there, let's work through this MAGMI custom options problem you're hitting. The root issue here is misformatting the configuration string—MAGMI is strict about the colon-separated structure for custom options, so even small mistakes break the parsing.

First, let's recap the correct MAGMI custom options format

The standard structure for a single custom option is:

Option Title:type:required:price:price_type:sku:position

Each field has a specific purpose:

  • Option Title: The visible name of your option (e.g., "Choose your Size")
  • type: The input type (you're using field here, which is a text input)
  • required: 1 for mandatory, 0 for optional
  • price: The additional cost for this option (must be a valid numeric value like 0.00)
  • price_type: fixed for a flat amount, percent for percentage-based pricing
  • sku: The SKU identifier/suffix for the option
  • position: The display order (0 = first)

What went wrong with your two attempts

  1. First configuration string: Choose your Size:field:1:0 0.00:fixed:size:0

    • The problem is the 0 0.00 in the price field—MAGMI can't parse the space, so it misreads the entire string. This breaks the title rendering and skips loading associated SKU images because the option structure is invalid.
  2. Second configuration string: Choose your Size:field:1:0 :0.00:fixed:size:0

    • You added an extra colon, which splits the price field into two parts (0 and 0.00). MAGMI treats 0 as the price (which is invalid) and 0.00 as the price type, overriding your intended fixed value. That's why the price is missing, even though other parts seem to work.

The correct configuration string

To get a fully working option with the title, correct 0.00 price, and SKU image, use this properly formatted string:

Choose your Size:field:1:0.00:fixed:size:0

Quick validation tips

  • Double-check that each field is separated by exactly one colon—no extra spaces or colons.
  • Ensure the price field is a clean numeric value (no spaces, extra symbols).
  • If you switch to a different option type (like drop_down for multiple choices), the format will extend to include option values, but for your field type, this structure should work perfectly.

内容的提问来源于stack exchange,提问作者user2240778

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 08:34:55