export const lang = 'en' // Change to 'fr'for french version.
The language file is inside the src/i18n directory (fr.js)
Timeout settings
1
2
export const typingTimeout = 500 // Used for searching. e.g. search.vue
export const loadingTimeout = 200 // Used for showing the loading indicator for each page
Clear Cart Settings
1
export const clearCart = false // Whether to clear the cart after order is placed. Useful while testing
Enable / Disable demo mode
Restricts users from saving data if enabled
1
export const demo = false
User Roles
1
export const userRoles = ['user', 'vendor', 'manager', 'admin'] // This should be in ascending order of authority. e.g. In this case guest will not have access to any other role, where as admin will have the role of guest+user+vendor+manager+admin
Review Settings
1
2
3
4
export const reviewSettings = {
enabled: true, // Enables review for products
moderate: false // If enabled, the review will be visible to public after admin approval
}
List of order and payment status for Order Management