const db = require("./config/database"); async function addCustomerServicePages() { try { console.log("Adding customer service pages to database...\n"); // Helper function to insert or update page async function upsertPage(slug, title, html, metatitle, metadescription) { const existing = await db.query("SELECT id FROM pages WHERE slug = $1", [ slug, ]); if (existing.rows.length > 0) { await db.query( ` UPDATE pages SET pagecontent = $1, content = $1, title = $2, metatitle = $3, metadescription = $4, updatedat = NOW() WHERE slug = $5 `, [html, title, metatitle, metadescription, slug] ); console.log(`✓ ${title} page updated`); } else { await db.query( ` INSERT INTO pages (id, slug, title, content, pagecontent, metatitle, metadescription, ispublished, isactive, createdat, updatedat) VALUES (gen_random_uuid()::text, $1, $2, $3, $3, $4, $5, true, true, NOW(), NOW()) `, [slug, title, html, metatitle, metadescription] ); console.log(`✓ ${title} page added`); } } // 1. Shipping Info Page const shippingHTML = `
Everything you need to know about our shipping policies and delivery
We currently ship to all 50 states in the United States. International shipping is available to Canada, UK, and Australia. Additional fees may apply for international orders.
Orders are typically processed within 1-2 business days. You will receive a tracking number via email once your order ships. Custom or personalized items may require additional processing time (3-5 business days).
Our hassle-free return policy to ensure your satisfaction
We accept returns within 30 days of purchase. Items must be in original condition, unused, and in original packaging.
Once we receive your return, we will inspect the item and process your refund within 5-7 business days. Refunds will be issued to the original payment method. Shipping costs are non-refundable unless the return is due to our error.
Find answers to common questions about our products and services
Simply browse our shop, add items to your cart, and proceed to checkout. You can pay securely with credit card, debit card, or PayPal.
Yes! We offer custom commissions for paintings and artwork. Contact us with your vision and we'll provide a quote and timeline.
Standard shipping takes 5-7 business days. Express shipping (2-3 days) and overnight options are available. Processing time is 1-2 business days.
We accept all major credit cards (Visa, Mastercard, American Express, Discover), debit cards, and PayPal.
You can cancel or modify your order within 24 hours of placing it. Contact us immediately at contact@skyartshop.com.
Yes, we ship to Canada, UK, and Australia. International shipping costs vary by location and are calculated at checkout.
How we collect, use, and protect your information
We collect information you provide directly to us, including:
We use the information we collect to:
We do not sell your personal information. We may share your information with:
We implement appropriate security measures to protect your personal information. All payment information is encrypted using SSL technology. However, no method of transmission over the internet is 100% secure.
You have the right to:
If you have questions about this Privacy Policy, please contact us at:
Email: privacy@skyartshop.com
Phone: +1 (555) 123-4567
Last Updated: January 1, 2026