CyberStore E-Payment 2023 Documentation
FallbackToCategoryPhoto Property (CatalogItemImageControl)


Dovetail.Ecommerce.Controls Namespace > CatalogItemImageControl Class : FallbackToCategoryPhoto Property
Gets or sets whether to fallback to the category photo if no item photo image exists.

Property Value

Type: Boolean

A boolean value that specifies whether to fallback to the category photo if no item photo image exists.

The default value is true.

Remarks

By default a Category photo will be used as a fallback for the item image if no featured photo can be found in the specified featured photo folder. To turn off this behavior and force the control not to use the category photo as a fallbac, simply ensure that the FallbackToCategoryPhoto property is set to false.

See Also

Reference

CatalogItemImageControl Class
CatalogItemImageControl Members