使用 magento 商店添加自定义属性
你好 我需要在 magento 中的商店中添加自定义属性。现在,当我们向网站添加新商店时,它只需询问 1) 网站 2) 名称 3) 根类别。除此之外,我还需要添加有关商店的额外信息,例如有关商店的描述等。
即,我需要在商店中添加邮政编码,以告知商店实际上位于特定区域。这样我就可以查询使用邮政编码存储在特定区域。 提前致谢.....
Hi
I need to add a custom attribute with the store in magento. Now when we are adding a new store to website it just ask 1) Website 2) Name 3) Root Category. Along with these i need to add an extra info about the store for example description about the store etc..
ie I need to add zip code with the store to inform the store is actually placed in the particular region.So that i can query the stores in a particular region using the zip code.
Thanks in advance.....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很难描述 Magento 新手如何向商店添加新属性 :( 尽管对于经验丰富的开发人员来说这并不难:
但是有好消息!:)我认为您的问题可以更容易解决 - 每个商店都有运输来源地址,该地址是在系统中设置的->配置->销售->运输部分部分。因此,您可以为每个商店进行设置,并按该值显示邮政编码。
此解决方案不起作用的唯一情况是发货地与您商店的办公地点不匹配。在这种情况下,您确实需要添加办公地址作为商店属性。如果这是您的情况 - 我建议您在 oDesk 或其他地方雇用一些 Magento 开发人员来描述和向您展示添加、存储和检索这些属性的过程。这确实无法用 StackOverflow 上的一条短信来描述。
It's hard to describe Magento novice how to add new attribute to a store :( Although for an experienced developer it's not hard:
But there are good news! :) I think, that your problem can be solved much more easier - every store has Shipping origin address, that is set up in System -> Configuration -> Sales -> Shipping section section. So you can setup it for each of your stores and show zip code by that value.
The only case when this solution doesn't work - it's when shipping origin doesn't match your store's office location. In such a case you really need to add office address as store's attribute. If this is your case - I recommend you to hire some Magento developer at oDesk or somewhere else to describe and show you the process of adding, storing and retrieving these attributes. It really cannot be described in one text message at StackOverflow.