@spartacus/cart
Version:
`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.
95 lines (90 loc) • 3.03 kB
JavaScript
const quickOrderCartForm = {
/**
* @deprecated since 4.2, use entriesWereAdded instead
*/
entriesWasAdded: '({{ quantity }}) {{ product }} has been added to the cart',
entriesWereAdded: '({{ quantity }}) {{ product }} has been added to the cart',
entryWasAdded: '{{ product }} has been added to the cart',
noResults: 'We could not find any products',
stockLevelReached: 'The maximum stock level has been reached',
title: 'Quick Order',
productCodePlaceholder: 'Enter ID',
addToCart: 'Add',
product: 'Product',
products: 'Products',
productCodeLabel: 'Product ID',
quantityLabel: 'Qty',
};
const quickOrderForm = {
placeholder: 'Enter Product name or SKU',
listLimitReached: 'The product limit has been reached.',
id: 'ID {{ id }}',
noResults: 'We could not find any results',
addProduct: 'Add product {{ product }}',
};
const quickOrderList = {
addToCart: 'Add to cart',
emptyList: 'Empty list',
header: 'Add Products/SKUs',
subHeader: 'You can add up to {{ limit }} valid SKU at a time.',
errorProceedingToCart: 'Error proceeding to Cart.',
warningProceedingToCart: 'Warning proceeding to Cart.',
successfullyAddedToCart: 'Successfully added to Cart.',
errors: {
productIsOutOfStock: '{{ name }} (#{{code}}) is out of stock.',
reviewErrors: 'Please review these errors',
listIsFull: 'The list is full, add these {{ count }} products to Cart in order to continue.',
nonPurchasableError: 'Product {{ name }} cannot be purchased',
},
warnings: {
productWasReduced: 'Quantity for {{ name }} (#{{code}}) was reduced to {{ quantityAdded}}.',
reviewWarnings: 'Please review these warnings',
},
successes: {
productAddedToCart: '{{ name }} (#{{code}}) was added to cart.',
},
informations: {
addProductBeforeAddingToCart: 'Add products to the list before adding to the cart.',
},
undo: 'UNDO',
productWasDeleted: 'Product "{{ name }}" moved to trash.',
};
const quickOrderTable = {
product: 'Product',
id: 'ID',
price: 'Price',
quantity: 'QTY',
itemPrice: 'Item price',
qty: 'Qty',
inStock: 'In Stock',
lowStock: 'Low Stock',
outOfStock: 'Out of Stock',
listCleared: 'Quick order list has been cleared',
addedtoCart: 'Quick order list has been added to the cart',
};
const quickOrder = {
quickOrderCartForm,
quickOrderForm,
quickOrderList,
quickOrderTable,
};
const en = {
quickOrder,
};
const quickOrderTranslations = {
en,
};
// expose all translation chunk mapping for quickOrder feature
const quickOrderTranslationChunksConfig = {
quickOrder: [
'quickOrderCartForm',
'quickOrderForm',
'quickOrderList',
'quickOrderTable',
],
};
/**
* Generated bundle index. Do not edit.
*/
export { quickOrderTranslationChunksConfig, quickOrderTranslations };
//# sourceMappingURL=spartacus-cart-quick-order-assets.js.map