Magento - 在特定产品页面上的价格后添加文本
我在 Magento 中的一个产品仅按打出售。我需要价格能够直观地向客户反映这一点。 Magento 默认处理的方式就是“$xx.xx”。我需要它来阅读,并且仅用于这个特定产品“每打$xx.xx”。我知道这是添加一个属性(也许)并以某种方式从给定产品 ID 的地方调用它的问题,但我不知道如何解决这个问题。目前我有一个名为 perdozen
的属性作为文本区域。就是这样。从这里我被困住了。
One of my products in Magento is sold only by the dozen. I need the price to reflect that visually for the customer. The way Magento handles that by default is simply "$xx.xx". I need it to read, and only for this one specific product, "$xx.xx Per Dozen". I know it's a matter of adding an attribute (maybe) and somehow calling it from somewhere given product ID, but I have no idea how to go about this. Currently I have an attribute called perdozen
as a text area. That's about it. From here I'm stuck.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
分级价格可能会以 12 件为最低数量,以 12 件为增量出售。您可以在产品上进行设置 - 如果是一件产品,额外的属性可能会显得过大。
另一个值得探索的途径是条件 CSS,产品标题中的“PACK of 12”也可能会说明这一点。
Tier prices might get you there with a minimum quantity of 12, sold in increments of 12. This you can setup on the product - an extra attribute might be overkill if one product.
Another avenue to explore is conditional CSS, 'PACK of 12' in the product title might make it clear too.