@extends('layouts.app') @section('title', 'Deal of the Day – Setting') @section('content')

← Setting

Deal of the Day

Test email for previewing Deal of the Day templates. Real reports (deal started, deal ended, PDFs) are sent to the address configured in .env (DEALS_NOTIFICATION_EMAIL) and are not changed here.

@csrf
When you send a test email below, it goes here. Default: colonia7421@gmail.com
@if(! empty($metaConnected) && ! empty($metaCampaigns)) @else @endif @if(empty($metaConnected)) Connect Meta Ads in Setting → Ad platforms to pick a campaign. You can still paste a campaign ID. @else Linked campaign used when a new Deal window is applied. A second Deal on the same window never turns it On. @endif
Uncheck to disable auto-start without unlinking the campaign or raising the day threshold. Manual Pause during a Deal keeps the campaign Off until you Turn it on, or until the window ends.
Default 15. A 20-day Deal auto-starts; a 5-day Deal does not touch Meta. Hours count as days × 24 (15 days = 360 hours).

Test messages

Send a test email to preview the content of each Deal of the Day template. Emails go to the Test email above.

@csrf
@if($hasDealsTheme ?? false)

Theme (section and block)

Add or remove the deal section on the home page and the countdown block on product pages. Requires at least one active deal.

Section (home page) Adds or removes the "Deal of the Day" section on the storefront home.
@csrf
@csrf
Block (product page) Adds or removes the "Limited time deal" countdown in the Main product section; only visible on products in the active deal.
@csrf
@csrf
@endif
@push('styles') @include('setting.partials.section-styles') @endpush @endsection