Cloudflare setup for Dutchie E-Commerce Pro

E-Commerce Pro allows you to integrate your Dutchie storefront directly into your existing website structure. Instead of hosting your menu on a separate subdomain (e.g., store.yourdomain.com), this feature configures your storefront to load as a sub-path of your root domain (e.g., yourdomain.com/store).

Configuring your storefront as a sub-path unifies your domain structure. This consolidation improves Search Engine Optimization (SEO) by directing traffic to your primary root domain rather than splitting it between your main site and a subdomain.

Requirements and Setup

To enable E-Commerce Pro and the sub-path configuration, the following steps are required:

  1. Create a Cloudflare Account: Sign up for an account with Cloudflare with the Workers Paid plan.

    The free plan has limits on daily requests (page visits) which, if exceeded, will cause your menu to go down. The Workers Paid plan has no limits, avoiding service interruptions. See the steps below for more details. Learn more about Cloudflare's free and Workers Paid plan.
  2. Transfer Domain: Your website's domain must be transferred to Cloudflare.
  3. Grant Access: You must grant Dutchie access to your Cloudflare account.

Once access is granted, Dutchie will finalize the configuration to establish the storefront as a sub-path of your root domain."

Which hosting providers are compatible?

How to set it up

Screenshots reflect our best knowledge of Cloudflare's user interface at the time of publishing this article.

Following are directions on how to setup a reverse proxy in order to enhance the SEO of your Dutchie embedded menu and help search engines like Google index your menu content:

  1. Sign up for Cloudflare.
  2. Enter your domain: After signing up, enter your existing domain URL in the provided box.
    Cloudflare website interface with domain input.
  3. Choose the free version and click Continue
    cloudflare_choose free version.png

    Be careful not to exit or refresh the page during this process. 
    Note that you'll upgrade to the Workers Paid plan in a later step.
  4. Update your Domain Nameservers: Follow Cloudflare's instructions to update your Domain Nameservers, especially if your domain wasn't purchased through Cloudflare. In Cloudflare, navigate to Websites, select your website from the list shown, and follow the instructions on the screen. It can take up to 24 hours for your domain to be added to Cloudflare; you’ll receive an email from Cloudflare once it’s been added
    Text about Cloudflare and domain registration processes.

    Be sure to back up all DNS records before moving nameservers. You’ll want to migrate every record — including Dutchie Plus checkouts, if you’re transitioning away from Dutchie Plus — during the transition. Do not delete original records until your E-Commerce Pro migration is fully complete.
    If you need help, find help with your provider:

  5. Upgrade to the Workers Paid Plan: Once your account is created, upgrade to the Workers Paid plan plan to ensure optimal performance during peak traffic. 
    • This is a required step. Dutchie will not deploy your E-Commerce Pro URLs until you've upgraded to the Workers Paid plan.
    • You can check your current plan and upgrade if necessary by going to your Cloudflare dashboard and selecting Compute > Worker Plans.
    • This plan avoids possible service interruptions if you exceed the free plan's request (page visit) limits.
  6. Provide Dutchie with Cloudflare access: From your Cloudflare dashboard, select Manage Account > Members
  7. Under Invite Members, enter solutions.cloudflare@dutchie.com and click ADD.
  8. Under Define scope, include All Domains
    cloudflare permissions_define scope.png
  9. Under Account/Domain Scoped Roles, select Administrator
  10. Ensure the created user has access to Workers & Scripts in Cloudflare by providing the solutions.cloudflare@dutchie.com user that you created with Full Access.
  11. Update your website URL: The Dutchie team will then install a Cloudflare worker, finalize your Cloudflare configuration, and provide you with an updated menu URL to implement on your website. Redirect all links, buttons, etc. that direct users to your menu to the new link.
Was this article helpful?