The real lift here would be replicating Woocommerce pages like the cart and checkout using Inertia. Something I personally would not love to do.
The good news is that only templates where you return Inertia::render() are treated as Inertia pages. If you link to the cart or checkout page within an Inertia component using a standard <a> tag rather than the Inertia <Link> helper, all should work fine. Naturally, that click will perform a full page refresh, but not having to rebuild the complexity of those pages may be worth it.
You bet. Any data that can be pulled from WordPress and passed to Inertia will work.
The real lift here would be replicating Woocommerce pages like the cart and checkout using Inertia. Something I personally would not love to do.
The good news is that only templates where you return
Inertia::render()
are treated as Inertia pages. If you link to the cart or checkout page within an Inertia component using a standard<a>
tag rather than the Inertia<Link>
helper, all should work fine. Naturally, that click will perform a full page refresh, but not having to rebuild the complexity of those pages may be worth it.