Hide plugin download panel once a store is connected.
Deploy Ladill Woo Manager / deploy (push) Successful in 43s

The install/connect guide only shows on the Stores page when no stores exist.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-07 13:55:44 +00:00
co-authored by Cursor
parent e85ad97dda
commit 916538887f
+17 -15
View File
@@ -14,23 +14,25 @@
@endif @endif
</div> </div>
<div class="rounded-2xl border border-indigo-100 bg-indigo-50/60 p-6"> @if($stores->isEmpty())
<div class="flex flex-wrap items-start justify-between gap-4"> <div class="rounded-2xl border border-indigo-100 bg-indigo-50/60 p-6">
<div class="max-w-xl"> <div class="flex flex-wrap items-start justify-between gap-4">
<h2 class="text-sm font-semibold text-slate-900">Connect a WooCommerce store</h2> <div class="max-w-xl">
<ol class="mt-2 list-decimal space-y-1 pl-5 text-sm text-slate-600"> <h2 class="text-sm font-semibold text-slate-900">Connect a WooCommerce store</h2>
<li>Download the Ladill plugin and upload it in WordPress under <strong>Plugins Add New Upload Plugin</strong>.</li> <ol class="mt-2 list-decimal space-y-1 pl-5 text-sm text-slate-600">
<li>Activate <strong>Ladill Woo Manager</strong>, then open <strong>WooCommerce Ladill Woo</strong>.</li> <li>Download the Ladill plugin and upload it in WordPress under <strong>Plugins Add New Upload Plugin</strong>.</li>
<li>Click <strong>Connect with Ladill</strong> and sign in to link your store.</li> <li>Activate <strong>Ladill Woo Manager</strong>, then open <strong>WooCommerce Ladill Woo</strong>.</li>
</ol> <li>Click <strong>Connect with Ladill</strong> and sign in to link your store.</li>
</ol>
</div>
<a href="{{ asset('downloads/ladill-woo-plugin.zip') }}?v={{ @filemtime(public_path('downloads/ladill-woo-plugin.zip')) ?: '1' }}" download
class="inline-flex shrink-0 items-center gap-2 rounded-xl bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white hover:bg-indigo-700">
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 16v2a2 2 0 002 2h12a2 2 0 002-2v-2M7 10l5 5 5-5M12 15V3"/></svg>
Download plugin (.zip)
</a>
</div> </div>
<a href="{{ asset('downloads/ladill-woo-plugin.zip') }}?v={{ @filemtime(public_path('downloads/ladill-woo-plugin.zip')) ?: '1' }}" download
class="inline-flex shrink-0 items-center gap-2 rounded-xl bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white hover:bg-indigo-700">
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M4 16v2a2 2 0 002 2h12a2 2 0 002-2v-2M7 10l5 5 5-5M12 15V3"/></svg>
Download plugin (.zip)
</a>
</div> </div>
</div> @endif
<div class="overflow-hidden rounded-2xl border border-slate-200 bg-white"> <div class="overflow-hidden rounded-2xl border border-slate-200 bg-white">
@if($stores->isEmpty()) @if($stores->isEmpty())