import { ShopifyCartWarningCode } from '@daffodil/driver/shopify'
The code for the cart warning.
enum ShopifyCartWarningCode {
DuplicateDeliveryAddress = ShopifyCartWarningCode.DuplicateDeliveryAddress,
MerchandiseNotEnoughStock = ShopifyCartWarningCode.MerchandiseNotEnoughStock,
MerchandiseOutOfStock = ShopifyCartWarningCode.MerchandiseOutOfStock,
PaymentsGiftCardsUnavailable = ShopifyCartWarningCode.PaymentsGiftCardsUnavailable,
}
DuplicateDeliveryAddress ShopifyCartWarningCode.DuplicateDeliveryAddress |
|---|
A delivery address with the same details already exists on this cart. |
MerchandiseNotEnoughStock ShopifyCartWarningCode.MerchandiseNotEnoughStock |
|---|
The merchandise does not have enough stock. |
MerchandiseOutOfStock ShopifyCartWarningCode.MerchandiseOutOfStock |
|---|
The merchandise is out of stock. |
PaymentsGiftCardsUnavailable ShopifyCartWarningCode.PaymentsGiftCardsUnavailable |
|---|
Gift cards are not available as a payment method. |