@extends('layouts.ecommerce_admin') @section('title', 'Marketplace Connections') @section('page_heading', 'Marketplace Connections') @section('content')

Marketplace connections

Securely store provider setup and synchronization preferences for Shopify, WooCommerce, Lazada, and Shopee.

Safe activation: credentials are encrypted, and a connection stays inactive until it passes a provider test. Lazada and Shopee also require an approved partner application and seller OAuth authorization.

Add or update connection

@csrf
Leave blank when editing to retain the saved secret.
@foreach(['sync_products'=>'Products','sync_orders'=>'Orders','sync_inventory'=>'Inventory'] as $key=>$label)
@endforeach
@forelse($connections as $connection)

{{ $connection->name }}

{{ ucfirst($connection->provider) }} ยท {{ $connection->store_url ?: 'No store URL' }}
{{ $connection->is_active?'Active':'Inactive' }}

Status: {{ ucfirst(str_replace('_',' ',$connection->connection_status)) }}@if($connection->last_synced_at)
Last synchronized: {{ $connection->last_synced_at->diffForHumans() }}@endif

@if($connection->last_error)

{{ $connection->last_error }}

@endif
@csrf
@csrf @method('DELETE')
@empty
No marketplace connections have been configured.
@endforelse
@endsection @section('scripts') @endsection