@foreach($rows as $index => $row)
{{ $row['campaign_name'] ?: 'New Campaign' }} @if($row['store_created']) Store Created @elseif($row['mistral_generated']) Review Ready @elseif($row['name_locked']) Name Locked @else Draft @endif @if(!empty($row['coupon_code'])) {{ count(array_filter(explode(',', $row['coupon_code']))) }} Coupons @endif
CPA: {{ $row['target_cpa'] }}
Budget: {{ $row['budget'] }}
@if($row['accordion_open']) − @else + @endif
{{ $row['affiliate_url'] ?: 'No affiliate URL added' }}
@if(!empty($row['merchant_store_url'])) @endif @if(!empty($row['created_store_url'])) @endif
@if($row['accordion_open'])
@if(!empty($row['error_message']))
{{ $row['error_message'] }}
@endif
@if(!$row['name_locked']) @elseif(!$row['mistral_generated']) @elseif(!$row['store_created']) @else
@if($row['ad_created'])
Google Ad Created Successfully
@if(!empty($row['campaign_resource']))
Campaign: {{ $row['campaign_resource'] }}
@endif @if(!empty($row['adgroup_resource']))
Ad Group: {{ $row['adgroup_resource'] }}
@endif @if(!empty($row['ad_status']))
Status: {{ $row['ad_status'] }}
@endif
@endif @endif
Hold Ctrl (Windows) or Cmd (Mac) to select multiple.
Keywords
Headlines
Descriptions
Sitelinks
Callouts
Promotions
Negative Keywords
@endif
@endforeach
@if($reviewModalOpen && $reviewIndex !== null) @php $review = $rows[$reviewIndex]; $couponTitles = array_values(array_filter(preg_split("/\r\n|\n|\r/", $review['coupon_titles'] ?? ''))); $couponDescriptions = array_values(array_filter(preg_split("/\r\n|\n|\r/", $review['coupon_descriptions'] ?? ''))); $couponCodes = array_values(array_filter(array_map('trim', explode(',', $review['coupon_code'] ?? '')))); @endphp
@if(!empty($featuredImages[$reviewIndex])) @elseif(!empty($review['store_logo_url'])) @else {{ strtoupper(substr($review['campaign_name'] ?: 'S', 0, 1)) }} @endif
Review Store Page Before Publishing
{{ $review['campaign_name'] }} Coupon Code and Promo Codes {{ date('Y') }}
Editable Preview @if(!empty($review['logo_domain'])) Logo: {{ $review['logo_domain'] }} @endif @if(count($couponCodes)) {{ count($couponCodes) }} Coupons @endif
@if(!empty($review['error_message']))
{{ $review['error_message'] }}
@endif
Store Details
Basic Information
Step 1
Store Logo
Logo.dev Preview
@if(!empty($review['logo_domain'])) {{ $review['logo_domain'] }} @endif
@if(!empty($featuredImages[$reviewIndex])) @elseif(!empty($review['store_logo_url'])) @else
No logo available
@endif
Loading logo preview...
SEO
Google Preview
Step 2
{{ $review['seo_title'] ?: $review['campaign_name'] . ' Coupon Code' }}
scoopcoupons.com/store/{{ $review['slug'] }}/
{{ $review['seo_description'] ?: 'Find verified coupon codes and promo deals.' }}
Page Content
Store Description
Step 3
Editable HTML
Extra Info
Preview Below
{!! $review['extra_info'] !!}
Editable HTML
FAQ
Preview Below
{!! $review['faq'] !!}
Coupons
Coupon Titles
Coupons
Coupon Descriptions
Final Check
Coupon Card Preview
Step 4
@forelse($couponTitles as $couponIndex => $couponTitle)
{{ $couponTitle }}
{{ $couponDescriptions[$couponIndex] ?? '' }}
@if(!empty($couponCodes[$couponIndex])) {{ $couponCodes[$couponIndex] }} @endif
Destination: {{ $review['affiliate_url'] }}
@empty
No coupons generated. Add coupon titles/descriptions before publishing.
@endforelse
This will create the WordPress store page, upload the selected/logo.dev logo, and create coupon posts.
@endif