diff --git a/admin-spa/src/App.tsx b/admin-spa/src/App.tsx
index 5423d18..b2f2f1d 100644
--- a/admin-spa/src/App.tsx
+++ b/admin-spa/src/App.tsx
@@ -187,6 +187,9 @@ function useIsDesktop(minWidth = 1024) { // lg breakpoint
}
import SettingsIndex from '@/routes/Settings';
+import SettingsGeneral from '@/routes/Settings/General';
+import SettingsPayments from '@/routes/Settings/Payments';
+import SettingsShipping from '@/routes/Settings/Shipping';
function SettingsRedirect() {
return ;
@@ -279,13 +282,22 @@ function Header({ onFullscreen, fullscreen, showToggle = true }: { onFullscreen:
{window.WNW_API?.isDev ? 'Dev Server' : 'Production'}
{isStandalone && (
-
+ <>
+
+ {__('WordPress')}
+
+
+ >
)}
{showToggle && (
} />
- {/* Settings (SPA placeholder) */}
-
} />
+ {/* Settings */}
+
} />
+
} />
+
} />
+
} />
+
} />
+
} />
+
} />
+
} />
{/* Dynamic Addon Routes */}
{addonRoutes.map((route: any) => (
diff --git a/admin-spa/src/nav/tree.ts b/admin-spa/src/nav/tree.ts
index 028b52d..92cd68c 100644
--- a/admin-spa/src/nav/tree.ts
+++ b/admin-spa/src/nav/tree.ts
@@ -103,15 +103,21 @@ function getStaticFallbackTree(): MainNode[] {
path: '/settings',
icon: 'settings',
children: [
- { label: 'General', mode: 'bridge', href: `${admin}?page=wc-settings&tab=general` },
- { label: 'Products', mode: 'bridge', href: `${admin}?page=wc-settings&tab=products` },
- { label: 'Tax', mode: 'bridge', href: `${admin}?page=wc-settings&tab=tax` },
- { label: 'Shipping', mode: 'bridge', href: `${admin}?page=wc-settings&tab=shipping` },
- { label: 'Payments', mode: 'bridge', href: `${admin}?page=wc-settings&tab=checkout` },
- { label: 'Accounts & Privacy', mode: 'bridge', href: `${admin}?page=wc-settings&tab=account` },
- { label: 'Emails', mode: 'bridge', href: `${admin}?page=wc-settings&tab=email` },
- { label: 'Integration', mode: 'bridge', href: `${admin}?page=wc-settings&tab=integration` },
+ // WooNooW Settings
+ { label: 'WooNooW', mode: 'spa', path: '/settings' },
+
+ // WooCommerce Settings (Most Used First)
+ { label: 'General', mode: 'spa', path: '/settings/general' },
+ { label: 'Payments', mode: 'spa', path: '/settings/payments' },
+ { label: 'Shipping', mode: 'spa', path: '/settings/shipping' },
+ { label: 'Products', mode: 'spa', path: '/settings/products' },
+ { label: 'Tax', mode: 'spa', path: '/settings/tax' },
+ { label: 'Accounts & Privacy', mode: 'spa', path: '/settings/accounts' },
+ { label: 'Emails', mode: 'spa', path: '/settings/emails' },
+
+ // Less Common (Bridge to WP Admin for now)
{ label: 'Advanced', mode: 'bridge', href: `${admin}?page=wc-settings&tab=advanced` },
+ { label: 'Integration', mode: 'bridge', href: `${admin}?page=wc-settings&tab=integration` },
{ label: 'Status', mode: 'bridge', href: `${admin}?page=wc-status` },
{ label: 'Extensions', mode: 'bridge', href: `${admin}?page=wc-addons` },
],
diff --git a/admin-spa/src/routes/Settings/General.tsx b/admin-spa/src/routes/Settings/General.tsx
new file mode 100644
index 0000000..49fa64b
--- /dev/null
+++ b/admin-spa/src/routes/Settings/General.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { __ } from '@/lib/i18n';
+
+export default function SettingsGeneral() {
+ return (
+
+
{__('General Settings')}
+
+ {__('Configure general store settings including store address, currency, and more.')}
+
+
+
+
+ {__('Settings interface coming soon. This will replicate WooCommerce general settings.')}
+
+
+
+ );
+}
diff --git a/admin-spa/src/routes/Settings/Payments.tsx b/admin-spa/src/routes/Settings/Payments.tsx
new file mode 100644
index 0000000..744b6c8
--- /dev/null
+++ b/admin-spa/src/routes/Settings/Payments.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { __ } from '@/lib/i18n';
+
+export default function SettingsPayments() {
+ return (
+
+
{__('Payment Settings')}
+
+ {__('Configure payment gateways and options.')}
+
+
+
+
+ {__('Payment settings interface coming soon. This will include payment gateway configuration.')}
+
+
+
+ );
+}
diff --git a/admin-spa/src/routes/Settings/Shipping.tsx b/admin-spa/src/routes/Settings/Shipping.tsx
new file mode 100644
index 0000000..d8ef701
--- /dev/null
+++ b/admin-spa/src/routes/Settings/Shipping.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { __ } from '@/lib/i18n';
+
+export default function SettingsShipping() {
+ return (
+
+
{__('Shipping Settings')}
+
+ {__('Configure shipping zones, methods, and rates.')}
+
+
+
+
+ {__('Shipping settings interface coming soon. This will include zones, methods, and rates configuration.')}
+
+
+
+ );
+}
diff --git a/admin-spa/src/routes/Settings/index.tsx b/admin-spa/src/routes/Settings/index.tsx
index fd6a894..1fb8627 100644
--- a/admin-spa/src/routes/Settings/index.tsx
+++ b/admin-spa/src/routes/Settings/index.tsx
@@ -4,8 +4,29 @@ import { __ } from '@/lib/i18n';
export default function SettingsIndex() {
return (
-
{__('Settings')}
-
{__('Coming soon — SPA settings.')}
+
{__('WooNooW Settings')}
+
+ {__('Configure WooNooW plugin settings and preferences.')}
+
+
+
+
+
{__('Plugin Configuration')}
+
+ {__('Settings interface coming soon.')}
+
+
+
+
+
{__('Quick Links')}
+
+
+ {__('WooCommerce Settings:')}{' '}
+ {__('Use the navigation menu to access General, Payments, Shipping, and other WooCommerce settings.')}
+
+
+
+
);
}
\ No newline at end of file