Next-generation platform

Applying and modifying gift options

A store associate can set a product in an order or the entire order to be a gift from the View cart page based on the request of the customer.

Apply gift option at the order line level

A store associate can mark an order line as a gift by clicking Gift options in the order line. In the Mark item as gift window, the store associate can enter the name and personalized message for the gift recipient.

If the value for the WSC_STORE_ALLOW_GIFT_WRAP rule is set to Y, the Gift wrap checkbox is displayed.

When you add recipient name and message and save changes, the GiftFlag attribute is set to Y, gift message is added in the Instruction element with InstructionType as Gift.

If the Gift wrap checkbox is selected, the GiftWrap attribute is set to Y.

These details are passed at the order line level to the changeOrder API for saving the changes.

Remove the gift option at the order line level

To remove the gift options at the order line level, click the Edit gift options link, and then click Remove gift. The changeOrder API is called to set the GiftFlag and GiftWrap attributes to N.

Apply or modify gift option at order level

You can click Gift options at the order level in the View cart page, and the Mark order as gift page is displayed. You can enter the name of the gift recipient and a personalized gift message.

When you add recipient name and message and save changes, the GiftFlag attribute is set to Y, gift message is added in the Instruction element with InstructionType as Gift.

If the Gift wrap checkbox is selected, the GiftWrap attribute is set to Y.

The changeOrder API is called to apply the gift option for each product in the order with the GiftWrap and GiftFlag attributes set to appropriate values.

The gift option for an individual product is overridden when you apply the gift option for the entire order.

Remove gift option at the order level

To remove the gift option at the order level, click Gift options at the order level. A confirmation message is displayed.

A confirmation message is also displayed when you click Gift options at the order level if the gift option is already applied at the order or order line level.

Clicking Yes on the confirmation message opens the Mark order as gift window. Click Remove gift and the gift option is removed from all lines of the order. After you confirm, the changeOrder API is called to set the GiftFlag and GiftWrap attributes to N.