Dernières nouvelles de SeedProd

Tutoriels, astuces et ressources WordPress pour développer votre activité

comment mettre woocommerce en mode maintenance

How to Put WooCommerce in Maintenance Mode (Easy Guide)  

Écrit par : image de l'auteur Stacey Corrin
image de l'auteur Stacey Corrin
Stacey écrit sur WordPress et le marketing numérique depuis plus de 10 ans et sur d'autres sujets depuis bien plus longtemps. Parallèlement, elle est fascinée par la conception de sites web, l'expérience utilisateur et le référencement.
     Reviewed By : Turner John
image du réviseur Turner John
John Turner est le cofondateur de SeedProd. Il a plus de 20 ans d'expérience dans le domaine des affaires et du développement et ses plugins ont été téléchargés plus de 25 millions de fois.

Imagine launching a major update to your WooCommerce store, only to be hit with the dreaded downtime. Customers can’t access your products, orders get disrupted, and you start to panic about lost sales. No one wants that!

WooCommerce maintenance mode is the solution. It’s your secret weapon for making changes – big or small – without causing stress for you or your shoppers. This guide will show you how to create a custom WooCommerce maintenance page that keeps your business running smoothly.

How to Put WooCommerce in Maintenance Mode:

Why Your Store Needs Maintenance Mode

Imagine your physical store is closed for renovations, but customers keep trying to peek in. Confusing, right?

It’s the same for your online store without WooCommerce maintenance mode. This feature acts as a temporary “closed” sign, allowing you to work on your site behind the scenes.

When to Put Your WooCommerce Store in Maintenance Mode:

  • Website Updates: Put WordPress into maintenance mode to prevent conflicts and make the process seamless.
  • Design Changes: Redesigning your store? Test new layouts and features without impacting your customers’ browsing experience.
  • Product Management: Adding products, setting up shipping, or configuring payments? PPut WordPress in maintenance mode to ensure these changes won’t confuse your shoppers.
  • Scheduled Downtime: Need to optimize your database or do routine maintenance? Schedule downtime in advance and let customers know with a professional maintenance page.

WooCommerce maintenance mode is about respecting your customers’ time and providing a positive experience.

How to Enable Maintenance Mode Using SeedProd (Easy)

Enabling maintenance mode doesn’t have to be complicated.

While there are many WooCommerce maintenance services, free WordPress maintenance mode plugins, and some hosting dashboards that offer basic options, you need a solution that’s both powerful and user-friendly.

C'est là que SeedProd intervient.

SeedProd Constructeur de site web WordPress Drag and Drop

Why SeedProd is the Best WooCommerce Maintenance Mode Plugin:

  • One-Click Activation: Turning maintenance mode on and off is as simple as clicking a button.
  • Drag-and-Drop Page Builder: Create a custom maintenance page that matches your brand – no coding required.
  • Lead Generation Tools: Don’t let downtime mean lost opportunities. Capture leads with email opt-ins, contact forms, and more, directly on your maintenance page.
  • Seamless WooCommerce Integration: Display products, add “Buy Now” buttons, or even build a temporary checkout page—all within SeedProd’s intuitive interface.

Let’s walk through the steps to effortlessly put your WordPress website and WooCommerce store into maintenance mode using SeedProd.

Étape 1. Installer SeedProd

Ready to create your maintenance page? First, you’ll need to get SeedProd up and running on your WordPress site.

  1. Download SeedProd: Visit the SeedProd website and select the plan that best suits your needs. (There’s a free version available, too, but for the most powerful features, we recommend SeedProd Pro.)
  2. Install the Plugin: Once you’ve downloaded SeedProd, go to your WordPress dashboard, navigate to Plugins » Add New, and upload the plugin file.
  3. Activate SeedProd: After installation, click the “Activate” button.
  4. Start Building: You’ll see a new “SeedProd” menu in your WordPress dashboard. Click it, then click the “Set up a Maintenance Mode Page” button. Now you’re ready to create a maintenance page that wows your visitors.
mettre en place une page WooCommerce en mode maintenance seedprod

Step 2. Create a WordPress Custom Maintenance Page

A successful WooCommerce maintenance mode page does more than just say, “We’ll be back soon.” It’s an opportunity to engage your visitors, build excitement, and even capture leads. And with SeedProd’s easy-to-use tools, you can create a stunning maintenance page in minutes.

Choose a Template (Or Start from Scratch)

SeedProd offers a wide range of professionally designed maintenance mode templates, so you don’t have to start from scratch. Find a template that aligns with your brand, then customize it to your liking.

modèles de mode de maintenance

Vous pouvez également choisir un modèle vierge pour partir de zéro.

Survolez un modèle d'entretien qui vous plaît et cliquez sur l'icône de la coche pour l'utiliser.

Customize Your Maintenance Mode Page

The drag-and-drop builder makes designing your page a breeze. Add text, images, videos, countdown timers, and more – all without touching a single line of code.

seedprod visual builder

Par exemple, j'ai ajouté un compte à rebours à cette page de mode de maintenance en le faisant glisser sur le modèle. Vous pouvez ensuite cliquer sur le bloc pour choisir le style, définir la date et l'heure, ainsi que d'autres options de personnalisation.

compte à rebours par glisser-déposer

Vous pouvez également cliquer sur n'importe quelle section prédéfinie, comme l'en-tête, la FAQ, les caractéristiques ou l'appel à l'action, pour l'ajouter à votre page de mode de maintenance. Par exemple, vous pouvez offrir aux utilisateurs un bon de réduction pour qu'ils reviennent à la fin de la maintenance.

Essential Elements for Maintenance Mode in WooCommerce:

Crafting a compelling maintenance page involves using downtime to your advantage. Here’s how to make your WooCommerce maintenance page work for you:

  • Showcase Your Brand: Incorporate your logo, colors, and fonts to maintain brand consistency and reassure visitors they’re in the right place.
  • Communicate Clearly: Explain the reason for maintenance in simple terms. Be transparent about the estimated downtime, apologize for any inconvenience, and assure customers their data and orders are safe.
  • Add Engaging Visuals: Use high-quality images and graphics that reflect your brand and add visual interest.
  • Build Anticipation with a Countdown Timer: A countdown timer creates excitement and helps manage expectations.
  • Capture Leads with an Email Opt-In: Offer visitors a chance to stay updated on your progress and get notified the moment you’re back online. This is a golden opportunity to grow your email list.
  • Connect on Social Media: Encourage visitors to follow you on social media for updates and behind-the-scenes peeks.
  • Consider a Progress Bar: For longer maintenance periods, a progress bar can visually show visitors how far along you are.

Pro Tip: SeedProd’s easy-to-use blocks and sections let you add all of these elements and more. Experiment with different layouts and content to create a conversion-friendly maintenance page.

Once you’re happy with your masterpiece, hit that “Save” button at the top right of the SeedProd builder.

Step 3. Enable WooCommerce Maintenance Mode

Now that your maintenance page looks sharp, let’s protect your WooCommerce storefront while you work your magic.

Enabling maintenance mode is quite straightforward:

  1. Control Access: From the SeedProd builder, go to Page Settings » Access Controls. This is where you’ll tell SeedProd exactly which pages to put behind your maintenance mode screen.
Paramètres de la page seedprod
  1. Include WooCommerce URLs: Select the “Include URLs” option. Now, you can paste in the web addresses of the pages you want to hide during maintenance.
Restreindre l'accès à la page de la boutique WooCommerce
  1. Add Essential Pages: If you’re using a new WooCommerce installation, make sure to include these default pages (replacing “example.com” with your domain, of course):
  • https://example.com/shop
  • https://example.com/cart
  • https://example.com/checkout
  • https://example.com/my-account
  1. Protect Product Pages: If your store already has products, use these URL patterns to cover all your bases:
  • https://example.com/product/*
  • https://example.com/product-category/*
  • https://example.com/product-tag/*

(Don’t worry, the asterisk (*) is just a wildcard. It ensures that any URL starting with those patterns gets included.)

Now, when activating maintenance, SeedProd will automatically hide these WooCommerce pages, preventing any accidental access while you’re making updates.

Step 4. Publish Your Maintenance Page & Activate Maintenance Mode

It’s time to make it official. With your WooCommerce pages protected and your stunning maintenance page ready to go, here’s how to put your store into maintenance mode:

  1. Publish: Click the dropdown arrow next to the “Save” button in the SeedProd builder and select “Publish.”
Sauvegardez et publiez votre page de mode de maintenance WooCommerce
  1. Preview: SeedProd will let you know your page is live. Click the “See Live Page” button to double-check everything looks perfect.
publié voir page en direct
  1. Activate Maintenance Mode: Head back to your WordPress dashboard and go to SeedProd » Pages. Under the “Maintenance Mode” section, click the toggle to switch it from “Inactive” to “Active.” This will enable WordPress maintenance mode for your store.
Comment mettre WooCommerce en mode maintenance

And that’s it! Your WooCommerce store is now in maintenance mode. Your custom page will greet visitors, assuring them you’ll be back soon, and you’re free to make updates without worry.

Voici un exemple de l'apparence de ma page de mode de maintenance WooCommerce sur le front-end de mon site web de test :

page de mode de maintenance en direct woocommerce

Bien sûr, votre page de mode de maintenance sera probablement différente de celle-ci, grâce à toutes les options de personnalisation de SeedProd. Mais c'est ce que vos visiteurs verront lorsqu'ils arriveront sur la page de votre boutique WooCommerce.

Turning Maintenance Mode Off

Once you’re finished with your updates, you can take your site out of maintenance easily. Simply go back to SeedProd » Pages and toggle the “Maintenance Mode” switch back to “Inactive.”

Disable WordPress maintenance mode

That’s all it takes to reopen your WooCommerce store to the world!

Bonus Tip: Build Hype with a WooCommerce Waitlist

Launching something new and exciting in your WooCommerce store? Don’t just hide behind a maintenance page — build anticipation with a dedicated waitlist.

Page d'atterrissage de la liste d'attente avec formulaire d'inscription

SeedProd makes it easy:

  • Create a Buzz-Worthy Page: Design a waitlist landing page using SeedProd’s drag-and-drop builder.
  • Capture Leads: Add a signup form so eager customers can join your waitlist and be the first to know when you’re live.
  • Fuel Your Email Marketing: Use your waitlist to send targeted email newsletters about your launch, promotions, and more.
  • Amplify Your Reach: Include social sharing buttons on your waitlist page to encourage word-of-mouth marketing.

Turning downtime into an opportunity to connect with your audience — that’s the power of a well-crafted waitlist.

Put WooCommerce in Maintenance Mode Using Plugins

While SeedProd offers a robust and user-friendly solution for putting your WooCommerce store into maintenance mode, we understand you might want to explore other options. Here’s a quick look at some alternatives.

WooCommerce Maintenance Mode Plugins

  • Maintenance Mode for WooCommerce: This free plugin provides a basic way to toggle your WooCommerce store into maintenance mode, but it may lack advanced customization features.
  • WP Maintenance Mode: Another free option, this plugin lets you set up a coming soon or maintenance page for your entire WordPress site. However, its WooCommerce integration and design flexibility might be limited.

Note: SeedProd remains the optimal choice if you’re looking for a plugin that seamlessly integrates with WooCommerce, offers advanced design options, and includes powerful lead generation tools.

Using WPCode for WooCommerce Maintenance Mode

WPCode (formerly Insert Headers and Footers) is a popular WordPress plugin that allows you to add code snippets to your website without directly editing theme files. It’s a versatile tool that can handle various types of code, including HTML, CSS, JavaScript, and PHP.

Key features of WPCode include:

  • Easy implementation of custom code
  • No need to edit core WordPress files
  • Ability to manage multiple snippets in one place
  • Options to control where and when snippets run

For our purposes, WPCode offers a simple yet powerful way to enable WooCommerce maintenance mode without installing a dedicated maintenance mode plugin.

Here’s how to do it:

  • Install WPCode: First, install and activate the free WPCode plugin from the WordPress repository.
  • Create a New Snippet: In your WordPress dashboard, go to Code Snippets » Add Snippet.
Add custom code snippet in WPCode
  • Name Your Snippet: Give it a name like “WooCommerce Maintenance Mode”.
  • Choose Snippet Type: Select “PHP Snippet” from the dropdown menu.
Select the PHP snippet type in WPCode
  • Add the Code: Paste the following code into the code editor:
function wc_maintenance_mode() {
    if ( ! current_user_can( 'manage_woocommerce' ) ) {
        wp_die('<h1>Maintenance Mode</h1><p>Our store is currently undergoing maintenance. Please check back later.</p>');
    }
}

wc_maintenance_mode();
  • Configure Snippet Settings: Under “Insertion,” choose “Run Everywhere.”
Run maintenance mode snippet everywhere
  • Activate the Snippet: Toggle the snippet to “Active” and click “Save Snippet”.
Enable the WooCommerce maintenance mode snippet

To Deactivate Maintenance Mode: Simply go back to the snippet in WPCode and toggle it to “Inactive”.

WooCommerce Maintenance Mode FAQ

What exactly IS WooCommerce maintenance mode?
Think of it like this: you wouldn’t want customers browsing your store while you’re moving furniture and changing displays, right? Maintenance mode is like a temporary “closed” sign for your online store. It lets you work on updates behind the scenes without disrupting the shopping experience.
Can I password-protect my entire WooCommerce store?
Absolutely! Tools like SeedProd allow you to set up password protection for your entire WooCommerce site, not just during maintenance. It’s like having a VIP entrance for special occasions or when you’re working on major changes.
Pendant combien de temps dois-je maintenir mon magasin en mode maintenance ?
The duration depends on the complexity of your updates. A few hours might be enough for minor tweaks, while major overhauls could take a day or two. The key is to be transparent with your customers about the estimated downtime. Use your maintenance page to keep them informed.
Can customers still place orders during maintenance mode?
Not while your store is in maintenance mode. However, any orders placed before you activate maintenance mode will be processed as usual.
Can I customize the design and message on my maintenance page?
Definitely! With most maintenance mode plugins, including SeedProd, you have complete control over the design and messaging. Add your logo, change colors, include a countdown timer, and even incorporate lead generation forms – the possibilities are endless!
Will search engines still crawl my site in maintenance mode?
Yes, search engines can usually still access your site during maintenance. However, plugins like SeedProd often give you the option to temporarily block search engines from indexing your site. This can be helpful if you’re making major changes and don’t want your site to appear in search results until it’s ready.

Create a Maintenance Mode Experience That Wows

Now you know how to keep your WooCommerce store running smoothly during updates. But don’t stop there!

Get started with SeedProd today and create a stylish and strategic maintenance mode page. Your customers (and your peace of mind) will thank you.

Want more tips and tricks to boost your WooCommerce success? Check out these in-depth guides:

Merci de votre lecture ! Nous aimerions connaître votre avis, alors n'hésitez pas à laisser un commentaire pour nous faire part de vos questions et de vos réactions.

Vous pouvez également nous suivre sur YouTube, X (anciennement Twitter) et Facebook pour obtenir d'autres contenus utiles au développement de votre entreprise.

avatar de l'auteur
Stacey Corrin Rédacteur
Stacey écrit sur WordPress et le marketing numérique depuis plus de 10 ans et sur d'autres sujets depuis bien plus longtemps. Parallèlement, elle est fascinée par la conception de sites web, l'expérience utilisateur et le référencement.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, il se peut que nous recevions une commission. Nous ne recommandons que des produits dont nous pensons qu'ils apporteront une valeur ajoutée à nos lecteurs.