Create a WordPress Theme called wp-decoupled-theme
The styles and design of this theme will be similar to the next.js theme
We can register menus here.
Note:
We redirect the user to WordPress site after he/she fills up the checkout form then add a back to home button on the WordPress Order complete page. That way we can support all the WP WooCommerce payment gateway options, because it is handled by WordPress.
So when the user is redirect to WordPress because the design of the WP theme and Next.js theme will be the same, it will give a uniform experience to the user.
Create a WordPress Theme called wp-decoupled-theme
Note: We redirect the user to WordPress site after he/she fills up the checkout form then add a back to home button on the WordPress Order complete page. That way we can support all the WP WooCommerce payment gateway options, because it is handled by WordPress. So when the user is redirect to WordPress because the design of the WP theme and Next.js theme will be the same, it will give a uniform experience to the user.