自定义目录属性类型 [英] Custom catalog property type

查看:92
本文介绍了自定义目录属性类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是Commerce Server的新用户。


我需要根据自定义类型创建产品专业版。例如,我想将产品与支持相关联。支持不仅仅是一个文本,它是一个复杂的对象,具有Id,名称,图片的URL,....在经典的数据库应用程序中,我将创建一个
的新表和一个外键,但是商业服务器呢?


谢谢。


Yaume

解决方案

Yaume,


如果我没有错,你想创建一个支持对象(与属性)和assoicate到产品。理想情况下,我们会与其他目录一起做这些事情。这些目录是内部的,客户不可见。因此,创建一个新的目录(可能是supportmetadata)
,它包含支持的元数据(每个支持将是一个产品),并使用产品关系将这些支持产品映射到实际的产品。


<希望这会有所帮助。


关心,

-Ravi Kanth Koppala


Hello, i'm new with Commerce Server.

I need to create product proerty based on custom type. For exemple, I want to associate product with a support. Support is not just a text, it's a complex object with Id, name, url of a picture, ... . In classical Database application, i'll create a new table and a foreign key but what about commerce server ?

Thanks.


Yaume

解决方案

Yaume,

If I am not wrong, you want to create a support object (with attribute) and assoicate to a product. Ideally we will do such things with other catalogs. These catalogs are internal and not be visible to customers. So, create a new catalog (may be supportmetadata) which holds meta data of support (each support will be a product) and map these support products to actual produtsion using product relationships.

Hope this helps.

Regards,
-Ravi Kanth Koppala


这篇关于自定义目录属性类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆