@extends('layouts.app') @section('title', 'Marketing') @section('content') @php $marketingTz = config('app.deals_display_timezone', 'America/New_York'); $todayDate = now($marketingTz)->format('Y-m-d'); $discountDefaults = ($marketingSettings ?? \App\Models\MarketingSetting::get())->discountModalDefaults(); $defaultExpiryDays = (int) ($discountDefaults['coupon_default_expiry_days'] ?? 15); @endphp
Abandoned checkouts — contacts and products left at checkout. Use this list to follow up with customers (e.g. email or discount).
Counts match Shopify: only active discounts titled "Abandoned checkout" (created from this Marketing menu). Offers and other discounts are not included.
@elseCould not load counts from Shopify; showing active coupons from the local database instead.
@endifRecovered orders: all abandoned checkouts that were later completed (paid). Recovered with coupon: those that used a discount code created from the cards below. Expired: coupons created from these cards and deactivated after expiration (only Marketing coupons are counted; Shopify may show more if you have other discounts). Deleted: cumulative count of coupons deleted from Shopify (via the Settings button or the scheduled cleanup). Deactivated: coupons temporarily paused while the product is in Deal of the Day; they reactivate automatically when the deal ends. Notifications sent today: count of discount emails and SMS sent today; resets to 0 at midnight.
Refresh stats now to see the latest numbers immediately. Configure Marketing settings (coupon cleanup, test email/SMS) in Setting →
Choose which product(s) the discount will apply to:
This creates a discount code in Shopify. Rules applied: amount off selected products only; one-time purchase; valid for this customer only; no minimum; one use per customer; cannot be combined with other discounts.
Include these to see your net and set a fair discount. Defaults come from Setting → Fees & profit.
This customer has both email and phone. Choose how to notify them:
To maintain a professional experience for the customer, we recommend waiting at least one day before sending another notification.
Change the default fees below to see how they affect your profit (after fees).