Initial commit
This commit is contained in:
34
server/models/WebsiteSettings.js
Normal file
34
server/models/WebsiteSettings.js
Normal file
@@ -0,0 +1,34 @@
|
||||
const mongoose = require('mongoose');
|
||||
|
||||
const websiteSettingsSchema = new mongoose.Schema({
|
||||
siteName: { type: String, default: 'Antigravity Guitars India' },
|
||||
tagline: { type: String, default: 'Crafted Sound. Pure Perfection.' },
|
||||
contactEmail: { type: String, default: 'support@antigravityguitars.in' },
|
||||
phone: { type: String, default: '+91 98765 43210' },
|
||||
businessName: { type: String, default: 'Antigravity Music Private Limited' },
|
||||
gstin: { type: String, default: '29ABCDE1234F1Z5' },
|
||||
addressLine1: { type: String, default: '100 Brigade Road, Ashok Nagar' },
|
||||
addressLine2: { type: String, default: 'Suite 400, Music Square' },
|
||||
city: { type: String, default: 'Bengaluru' },
|
||||
district: { type: String, default: 'Bengaluru Urban' },
|
||||
state: { type: String, default: 'Karnataka' },
|
||||
pincode: { type: String, default: '560025' },
|
||||
country: { type: String, default: 'India' },
|
||||
currencySymbol: { type: String, default: '₹' },
|
||||
currencyCode: { type: String, default: 'INR' },
|
||||
timezone: { type: String, default: 'Asia/Kolkata' },
|
||||
logoPrimary: { type: String, default: '/assets/logo-primary.svg' },
|
||||
logoDark: { type: String, default: '/assets/logo-dark.svg' },
|
||||
logoLight: { type: String, default: '/assets/logo-light.svg' },
|
||||
logoMobile: { type: String, default: '/assets/logo-mobile.svg' },
|
||||
favicon: { type: String, default: '/favicon.ico' },
|
||||
freeShippingThreshold: { type: Number, default: 5000 }, // ₹5,000 threshold
|
||||
codEnabled: { type: Boolean, default: true },
|
||||
maxCodAmount: { type: Number, default: 50000 }, // ₹50,000 max COD
|
||||
aboutUsText: { type: String, default: 'We are India’s premier music destination providing hand-crafted acoustic, electric, and custom shop guitars.' },
|
||||
privacyPolicy: { type: String, default: 'Your privacy is paramount to us under Indian IT Act regulations.' },
|
||||
termsConditions: { type: String, default: 'All sales governed by Antigravity Guitars warranty policies.' },
|
||||
returnPolicy: { type: String, default: '10-day hassle-free returns on all standard model guitars in original condition.' }
|
||||
}, { timestamps: true });
|
||||
|
||||
module.exports = mongoose.model('WebsiteSettings', websiteSettingsSchema);
|
||||
Reference in New Issue
Block a user