Files
Guitar-Ecommerce/server/models/WebsiteSettings.js
2026-09-16 17:36:46 +05:30

35 lines
2.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);