Checkout page on subsites for prosites

I'm using a multisite instillation with subdomains. Say my checkout page is http://rootdomain.example/prosites. I want to be able to mimic this on all the subsites, so I also want the checkout to work on http://subdomain.rootdomain.example/prosites. How do I accomplish this? I have attempted redirects with htaccess, but this has been unsuccessful. Can I include the checkout page on each subsite?

  • Ash
    • WordPress Hacker

    Hello @Alexander

    Welcome to WPMU community!

    I hope you are well today and thanks for asking the question.

    You can't include checkout page in each subsite, but you can include in one specific subsite instead of main site.

    To do that, you need to add a line in wp-config.php before "That's all...." message:

    define( 'PSTS_CHECKOUT_SITE', 'XX' );

    Where XX is the subsite ID that you want to include the checkout.

    Hope it helps :slight_smile: Please feel free to ask more question if you have any.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.