메소드 | 설명 | |
---|---|---|
AssetContentLink ( this media, IPermanentLinkMapper permanentLinkMapper ) : EPiServer.Core.ContentReference | ||
AssetImageUrls ( this entry ) : List |
||
AssetSwatchUrl ( this entry ) : string | ||
AssetUrls ( this entry ) : List |
||
GetCommerceMedia ( this entry ) : CommerceMedia | ||
GetCommerceMedia ( this entry, int index ) : CommerceMedia | ||
GetDefaultImage ( this productContent, string preset = null, string groupName = null ) : string |
Gets the default image for a product. If none can be found, returns /globalassets/system/no-image.png (with a preset if specified)
|
|
GetImage ( this productContent, string preset = null, string groupName = null ) : string |
public static AssetContentLink ( this media, IPermanentLinkMapper permanentLinkMapper ) : EPiServer.Core.ContentReference | ||
media | this | |
permanentLinkMapper | IPermanentLinkMapper | |
리턴 | EPiServer.Core.ContentReference |
public static AssetSwatchUrl ( this entry ) : string | ||
entry | this | |
리턴 | string |
public static GetCommerceMedia ( this entry ) : CommerceMedia | ||
entry | this | |
리턴 | CommerceMedia |
public static GetCommerceMedia ( this entry, int index ) : CommerceMedia | ||
entry | this | |
index | int | |
리턴 | CommerceMedia |
public static GetDefaultImage ( this productContent, string preset = null, string groupName = null ) : string | ||
productContent | this | Content of the product. |
preset | string | The preset. |
groupName | string | Name of the group. |
리턴 | string |
public static GetImage ( this productContent, string preset = null, string groupName = null ) : string | ||
productContent | this | |
preset | string | |
groupName | string | |
리턴 | string |