WooCommerce: Create Order From Contact Form Submission

So, I’ve built my own event management system for WooCommerce.

My objective was to embed a form on the event registration page, and then programmatically create a free WooCommerce order for that customer – so I can track the number of attendees (orders) and follow up with email automations (customers).

You can already see the system in action on the How to Contribute to WooCommerce Core” event page: you can clearly see an email input and a “Register Now” button inside the “You’re invited” section. That’s the form – actually a Fluent Forms plugin contact form.

And then there is a simple snippet that hooks into the Fluent Form submission, and conditionally generates a WooCommerce order.

In this post, you’ll learn about a quick way to create a Fluent Forms form on your WordPress site, about the “fluentform/validate_input_item_input_email” hook, and finally about the wc_create_order() WooCommerce function that, of course, let us generate an order automatically. Enjoy!

Continue reading WooCommerce: Create Order From Contact Form Submission

WordPress: Create Forms Quickly with Forminator

Adding forms to your WordPress site will make it easy for site visitors to contact you or for you to create polls and quizzes.

It’ll also make your site more secure: instead of publishing your email address and getting loads of spam, you can use a form to control how you receive messages. Even better, you can specify who in your business form submissions will go to, so the right person gets the information they need.

Unfortunately, WordPress doesn’t come with forms functionality out of the box. To add forms to your site, you need to install a plugin.

It’s tempting to use a free forms plugin, but there’s a reason they’re free – most of them are frustrating to use, with an interface that leaves a lot to be desired.

So if you want forms that are easy to add, simple to customize and look great on your site, the best option is to pay for a premium forms plugin.

The Forminator Pro plugin is designed for professional WordPress site owners who want form building to be quick and easy. It includes advanced customization and styling options and lets you add not just contact forms, but polls and quizzes too.

It uses a drag and drop interface that means you don’t have to write any code or wade through complicated options to add forms to your site.

So let’s take a look at how it works.

Continue reading WordPress: Create Forms Quickly with Forminator

WooCommerce: How to Enable Catalog Mode?

One of the most common WooCommerce questions is: can I use WooCommerce to build a catalog of products (without add to cart, price… basically a product gallery)? Using WooCommerce for this case scenario is indeed very helpful – you can make the most of all the inbuilt features such as single product gallery and carousel, image zoom, product description tabs, attributes, categories, tags and related products. Basically a much better version than a standard image gallery.

Another question might be: can I disable the WooCommerce add to cart / cart / checkout functionality until the time I am able to sell my products? This is another common scenario that many WooCommerce store owners require.

Besides, certain products in your WooCommerce website might be for sale and others might not. In this case, you’d want to disable the add to cart functionality from specific categories or products.

Finally, you might want to restrict the cart / checkout functions to logged in, registered users only. This is if you run a wholesale business for example, and wish to hide your prices to the public.

Either way, when the “Add to Cart” button gets hidden, a contact form might be required – this is what I call a “Product Inquiry” form.

Good news is there are snippets and plugins that can make your life easier, your admin time more efficient and your product management simpler. And today we’re taking a look at the best options.

Continue reading WooCommerce: How to Enable Catalog Mode?