This section describes additions and modifications to the SKU
item descriptor.
giftWrapEligible
The giftWrapEligible
property is a Boolean that indicates whether an item is eligible for gift wrapping. The store.war/cart/gadgets/giftWrap.jsp
gadget invokes the /atg/store/droplet/ShowGiftWrap
servlet bean component to determine if the gift wrap options should be shown on the shopping cart page. At least one of the hardgood items in an order must have a giftWrapEligible
value of true
for Add Gift Wrap option to be rendered. The Add Gift note option is always rendered, regardless of the giftWrapEligible
property. The illustration below shows the gift wrap options the customer sees in her shopping cart.
taxStatus
The taxStatus
property tags items with different product codes that indicate whether a product should be taxed. Commerce Reference Store adds a gift_wrapping
code because, typically, gift wrapping charges should not be included when taxes are calculated. See Designating Tax Status of Products in the ATG Commerce Programming Guide for more details on using tax status codes.
type
type
is an enumerated property that classifies the type of SKU. store.war/global/util/displaySkuProperties.jsp
uses this value to determine what type of SKU it is rendering and, hence, what type of information should be provided. Possible values are:
sku
(0)clothing-sku
(1)furniture-sku
(2)configurableSku
(4001)
See Custom Item Descriptors in the Catalog Repository for more information on the clothing and furniture SKU sub-types.