Magento 1.6.1:什么是 options_container?

发布于 2024-12-22 03:44:44 字数 458 浏览 3 评论 0原文

当我使用 Magento Product.info API 调用来获取特定产品的信息时,它似乎总是给出一个名为“options_container”的字段,其值为“container2”。

它是什么?

创建产品时在 GUI 控制面板中看不到它。

这里还有一些字段,如果有人能启发我,那就太好了:

  1. msrp_enabled
  2. msrp_display_actual_price_type
  3. msrp

我正在尝试通过product.create API 调用创建产品。因为我不知道这些字段的含义,并且默认情况下它们都有非空值(我似乎无法在 GUI 中设置),所以我不知道如果我将它们留空会发生什么通过product.create API 调用创建产品 - 或者我应该为它们使用什么值...谢谢!

When I use the Magento product.info API call to get the information of a specific product it always seem to give a field named 'options_container' with a value 'container2'.

What is it?

Don't see it in the GUI control panel when creating the product.

And here's some more fields that if someone could enlighten me about, that'd be great:

  1. msrp_enabled
  2. msrp_display_actual_price_type
  3. msrp

I'm trying to create products via the product.create API call. As I don't know what these fields mean and they all have non-empty values by default (which I can't seem to be able to set in GUI), I don't know what would happen if I leave them blank when creating a product via the product.create API call - or what value I should use for them... Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

音盲 2024-12-29 03:44:44

在管理中查看目录>;属性>管理属性,您应该能够看到这些已定义的属性。

options_container 是可以显示产品选项的布局部分。这完全取决于所使用的主题,但通常“container1”位于页面较高位置,靠近价格。 “container2”位于更下方,位于描述下方,并且有更多的水平空间可供使用。

msrp 是“制造商建议零售价”。我不知道它在任何地方使用,但同样,各个主题可以自行决定将其显示在前端。

In the admin take a look at Catalog > Attributes > Manage Attributes, you should be able to see these attributes defined.

options_container is a section of layout where product options can be displayed. This depends entirely on the theme being used but typically "container1" is higher up the page, near the price. "container2" is further down, below the description and has more horizontal space to use.

msrp is "Manufacturer's Suggested Retail Price". I'm unaware of it being used anywhere but again, individual themes can show it on the frontend at their discretion.

贵在坚持 2024-12-29 03:44:44

options_container:GUI 管理面板 -> 产品数据页面 -> 设计选项卡 ->“显示产品选项”(Magento CE 1.9.1)

这些值如 Clockworkgeek 所描述。在较新的版本中,它们被称为“产品信息列”和“信息列后的块”

msrp 是制造商建议零售价

msrp_enabled 决定是否隐藏价格,如“点击显示价格”

msrp_display_actual_price_type 决定如何显示 msrp_enabled 的价格, “在购物车中”、“订单确认前”或“手势时”

请参阅此处 和 CTRL-F 搜索字段名称。

options_container: GUI admin panel->product data page->Design tab->"Display Product Options In" (Magento CE 1.9.1)

The values are as clockworkgeek described them. In the newer edition they are called "Product Info Column" and "Block After Info Column"

msrp is Manufacturer Suggested Retail Price

msrp_enabled decides whether the price is hidden as in "Click to Display Price"

msrp_display_actual_price_type decides how the price of msrp_enabled is displayed, "In Cart", "Before Order Confirmation" or "On Gesture"

see here and CTRL-F search for the field names.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文