How to Create WooCommerce Lucky Wheel Optin Forms with Divi

Last Updated on May 16, 2024 by 11 Comments

Editorial Note: We may earn a commission when you visit links on our website.
How to Create WooCommerce Lucky Wheel Optin Forms with Divi
Blog / Divi Resources / How to Create WooCommerce Lucky Wheel Optin Forms with Divi

Every week, we provide you with new and free Divi layout packs which you can use for your next project. For one of the layout packs, we also share a use case thatโ€™ll help you take your website to the next level.

This week, as part of our ongoing Divi design initiative, weโ€™re going to show you how to create WooCommerce lucky wheel optin forms with Divi and the WP Optin Wheel plugin. This tutorial will hopefully help you boost optin form conversion rates. The lucky wheel optin formโ€™s gamification feature will allow you to interact with visitors and reward them with a discount code that they can use on their online purchases.

Letโ€™s get to it!

Preview

Before we dive into the tutorial, letโ€™s take a quick look at the outcome on different screen sizes.

lucky wheel optin

Install WooCommerce

Search for Plugin & Install

The first thing you will need to do if you havenโ€™t already is to installย WooCommerce on your WordPress website. Weโ€™re also assuming that you have set up the Hardware Store Layout Pack on the Divi website youโ€™re working on.

Go to your plugins and search for WooCommerce. Once you find it, click on the โ€˜Install Nowโ€™ button.

lucky wheel optin

Activate

Make sure you activate the WooCommerce plugin right away.

lucky wheel optin

Setup WooCommerce

Then, WooCommerce will automatically redirect you to its setup form. Here, youโ€™ll have to fill out all the details to prepare your store to go live. Once you go through this process, all of the needed WooCommerce pages will automatically be added to your website.

lucky wheel optin

Install the WP Optin Wheel Plugin

Search for Plugin & Install

To create the lucky wheel optin form, weโ€™re going to use a free gamification plugin called WP Optin Wheel. Go back to your plugins and search for the WP Optin Wheel plugin. Then, click on the โ€˜Install Nowโ€™ button.

lucky wheel optin

Activate

Continue by activating the plugin.

lucky wheel optin

Add Products to WooCommerce

Add New Product

If you already run an eCommerce website, you can skip this part. If you, however, you are just trying things out, we recommend you add some products to your WooCommerce plugin. This will help you test the lucky wheel optin form afterward. To add a new product, go to Products > Add New.

lucky wheel optin

Add Product Details

Fill out all the product details. This includes, but isnโ€™t limited to, a product name, description, featured image, price and category. Publish the product page once youโ€™re done adding these details.

lucky wheel optin

Repeat for Each Product

Repeat the same step for each one of the products you want to add to your website.

lucky wheel optin

Add Coupons to WooCommerce

Go to Coupons

Now itโ€™s time to add coupons. Later on this post, weโ€™ll use the coupons we create in the lucky wheel optin form. Go to your WordPress Dashboard > WooCommerce > Coupons. Once youโ€™re there, go ahead and start creating your first coupon.

lucky wheel optin

Add Coupon #1: 5% OFF

General

In the lucky wheel of 12 slices, you can decide how many slices include a prize. You can, for instance, offer 4 prizes, and create a different coupon for each one of them. You can also use a coupon for multiple spots on the wheel. Once youโ€™ve created your first coupon, go ahead and enter the coupon code at the top of the page. Then, modify the general settings:

  • Discount Type: Percentage Discount
  • Coupon Amount: 5
  • Coupon Expiry Date: Enter the date of choice

lucky wheel optin

Usage Restrictions

Continue by switching over to the usage restriction tabs. Here, you can decide if thereโ€™s a minimum and maximum spend linked to the coupon. You can also tick off the following boxes:

  • Check this box if the coupon cannot be used in conjunction with other coupons.
  • Check this box if the coupon should not apply to items on sale. Per-item coupons will only work if the item is not on sale. Per-cart coupons will only work if there are items in the cart that are not on sale.

lucky wheel optin

Repeat Steps for 3 Other Coupons

Create as many coupons as you want by following the same steps that were mentioned above. Youโ€™re not limited to offering a percentage discount. You can also create a coupon that offers a fixed cart or product discount and includeย it in the lucky wheel.

lucky wheel optin

Create Lucky Wheel Optin Form

Go to Plugin Settings

Now that weโ€™ve gone through all the necessary steps to make the lucky wheel optin form work, we can start creating one! Go to your WordPress Dashboard > WP Optin Wheel.

lucky wheel optin

Add MailChimp API Key

Before you can start creating a lucky wheel, youโ€™ll have to add your MailChimp API key. The free version of the WP Wheel Optin plugin only offers integration with MailChimp. If you want to link the lucky wheel to another provider, youโ€™ll have to switch over to the premium version.

lucky wheel optin

Create New Wheel

Choose Theme

Letโ€™s start creating the wheel! Choose a color palette of your choice. For this tutorial, weโ€™re picking the orange one since it goes well with the Hardware Store Layout Packโ€˜s color palette.

lucky wheel optin

Setup Chances

The next step in creating your lucky wheel optin form is choosing a winning change percentage. This percentage indicates how often people win something when spinning the wheel. In this case, every visitor that spins the wheel has a 70% chance of winning a coupon code.

lucky wheel optin

Setup Slices

Continue by setting up the 12 different slices. You can dedicate each one of the slices to one of three options:

  • No Prize: visitor doesnโ€™t win anything
  • Coupon Code: visitor wins a coupon code
  • Link: visitors win an ebook, for instance

In this example, weโ€™re using 4 of the 12 slices to add a coupon code. Weโ€™re also settings up the chances for each one of these slices individually.

lucky wheel optin

Setup Form Builder

The next step helps you build the optin form itself. Youโ€™ll notice that thereโ€™s already an email field there. The only other type of field you can add to the optin form is a checkbox. Theyโ€™ve specifically added this type of field to make the form GDPR compliant.

lucky wheel optin

lucky wheel optin

Content Settings

Moving on, youโ€™ll be able to set up the lucky wheel optin formโ€™s written content. Go ahead and change all the content to make it match with your website.

lucky wheel optin

Design Settings

Open the design settings next and choose โ€˜No patternโ€™ for the background pattern option.

lucky wheel optin

Behavior Settings

You also get to choose when the lucky wheel optin form shows up in the behavior settings.

lucky wheel optin

GDPR

Last but not least, you can make sure that the data visitors shareย doesnโ€™t get saved unless theyโ€™ve ticked off the different boxes in your optin form and youโ€™re done! Save the lucky wheel optin form and go to your website to test it out.

lucky wheel optin

Preview

Now that weโ€™ve gone through all the steps, letโ€™s take a final look at the outcome on different screen sizes.

lucky wheel optin

Final Thoughts

This tutorial is part of our ongoing Divi design initiative where we try to put something extra into your toolbox each and every week. We hope this tutorial will help you build your email lists faster and in an interactive way. If you have any questions or suggestions, make sure you leave a comment in the comment section below!

Divi Black-friday Sale

It's The Divi Black Friday Sale! Save Big For A Limited Time ๐Ÿ‘‡

Save big on Divi and Divi products for a limited time.

Access The Sale
Divi Black-friday
Premade Layouts

Check Out These Related Posts

10 Surprising Ways Extend Attributes Saves You Time

10 Surprising Ways Extend Attributes Saves You Time

Posted on November 22, 2026 in Divi Resources

Changing a button color or adjusting a cardโ€™s spacing should be a quick task. But when that change needs to reach several elements on a page, you can spend more time reopening modules and entering the same values than deciding how the design should look. As the layout grows, even small revisions...

View Full Post
The Unique Advantage Of The Divi 5 Inspector

The Unique Advantage Of The Divi 5 Inspector

Posted on November 21, 2026 in Divi Resources

A finished page can still need a few small changes. Service descriptions may use different text colors, or an imported section may bring spacing that doesnโ€™t fit the layout. Finding the right settings can take longer than fixing them. The Divi 5 Inspector connects that overview to the settings...

View Full Post

11 Comments

  1. This is such a cool marketing tool, it makes it interesting for the visitors.

    Thanks for letting us know about this.

  2. very nice article, i love this informational content. I am using kindom theme for my client and working perfectly.

  3. I love these informational posts helping us wherever we get stuck. We use the themes by elegantthemes for our clients. I have loved these as a developer and our clients have loved them too.

  4. Great interctive tutorial for Divi. I.m going to try it. Thanks Donjete for so good post.

  5. I’m not using woocommerce on the site I’d like to have gamification opt-in. Is there a way to just issue them a coupon code to be used elsewhere?

    • Hi Laila,

      The plugin doesn’t require WooCommerce. It can be used without it as well :-).

      • Awesome – thankyou. Just want to take this opportunity to say – I love working with Divi. Thanks for all the ‘amazingness’.

  6. Thank You for this great article. There is lot to learn from it. Thanks once again

  7. This is strange…today I was just looking at this plugin from another site. Thanks for the info! – Mark

  8. Oooo la la! This, I like! Thank you very much for this tutorial! More, please!

  9. Very cool! Hope to see more like this.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

๐Ÿ‘‹ It's The Divi
Black Friday Sale!
Get The Deal
Before It's Gone!
Join To Download Today