Ektron CMS400.NET API Documentation
|
Set to true if you want to the Add to Cart button to appear. The default is True. Setting this property to false allows you to show details of an item, but not offer it for sale. For example, you have an item that is no longer for sale, but you want to allow people who purchased the item to view its details. Also, by using code behind to dynamically set the property, you could create code that looks at your inventory system and hides the button depending on whether a product is in stock.
[Bindable(true)] [Category("Ektron")] [DefaultValue(true)] [Description("Set to true if you want to the Add to Cart button to appear. The default is True. Setting this property to false allows you to show details of an item, but not offer it for sale.")] public bool ShowAddToCart;
<Bindable(true)> <Category("Ektron")> <DefaultValue(true)> <Description("Set to true if you want to the Add to Cart button to appear. The default is True. Setting this property to false allows you to show details of an item, but not offer it for sale.")> Public Property ShowAddToCart() As bool
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|