import type { LoaderFunctionArgs, MetaFunction } from "react-router";
import { redirect } from "react-router";
import styles from "./styles.module.css";
export const meta: MetaFunction = () => [
{ title: "Datewise: Delivery & Pickup scheduling for Shopify" },
{ name: "description", content: "Let customers choose store pickup, local delivery or shipping, then a date and time, right in the Shopify cart." },
];
export const loader = async ({ request }: LoaderFunctionArgs) => {
const url = new URL(request.url);
if (url.searchParams.get("shop")) throw redirect(`/app?${url.searchParams.toString()}`);
// App Store requirement 2.3.1: never ask merchants to type their shop domain.
// Installs start from the Shopify App Store; this is a public landing page only.
return null;
};
const CONTACT = "info@metatroncubesolutions.com";
export default function Landing() {
return (
Let customers choose when their order arrives.
Datewise adds a delivery and pickup scheduler to your Shopify cart. Customers pick store pickup, local delivery or
shipping, then a date and time. You set the hours, cutoffs, capacity and fees.
Every slot has a limit. A chosen time is held while the customer checks out, so two customers
can't take the last place.
Ready for rush days. Festivals and holidays get their own limits, earlier cutoffs and a waitlist.
Checked at checkout, on every plan. Orders need a valid time, including Buy it now and express
checkouts.
Fewer “can I change my time?” emails. Customers reschedule from their order page, and get
reminders by email, SMS or WhatsApp.