Toolset lets you create forms for adding and editing WooCommerce products. Your users can submit products directly via front-end without accessing the WordPress admin.
You can create Toolset forms for adding and editing Simple Products and External/Affiliate products. You cannot create Toolset forms for Variable and Grouped products.
When you add a new product from the WordPress backend, you fill in different product fields and information. You can use almost all those fields in Toolset forms.
Some of these fields are available in Toolset forms out-of-the-box. This includes Product Name, Product Description, Product Short Description, Product Categories, Product Tags, and Product Image.
Other product fields like Sale Price and Stock Status don’t appear in the Forms interface automatically. Instead, you must register additional product fields for product forms.
When you create a new Toolset form for submitting new products, it will be auto-populated with available product fields. You can then rearrange these fields, change their labels, insert additional ones, and remove the ones you don’t need.
Use the following steps to create a form for submitting new WooCommerce Products:
- Make sure you have the Toolset WooCommerce Blocks and Toolset Forms plugins active.
- Go to Toolset → Post Forms and click Add New. A wizard will guide you through the steps.
- Give your form a name.
- In the next step, you need to select the main form options. For the post type select Products.
- Set up the status of the post created by the form, and other fields according to what you need.
In the next step, you design your form’s contents.
When you are done, click Continue to proceed to the final step and then save the form.
Once your form is ready, you need to display it to users.
To display a form for creating products it’s best to create a standard page. There, insert the Toolset Form block and select your form.
For more information check out the lesson about forms for adding content.
Adding a product form to a page
Product form displayed on a standard page
To display a form for editing products, you should add a link to them on your single-product template.
Editing forms are very similar to the ones for creating new items but have a slightly different workflow. To learn how to use them, check out the video and written material in the lesson about forms for editing content.
It’s very important to define who has permissions to use a form that can add content to your site. To set access permissions for Toolset forms you need to install and use the Toolset Access plugin.
Use these steps to set permissions for your product forms:
- Go to the Toolset → Access Control page and click the Toolset Forms tab.
- Click to expand the Post Forms Front-end Access section.
A table appears, with a lists of all user roles and their access to available front-end forms and permissions.
- Enabling Additional WooCommerce Fields in Product Forms
- Adding Toolset Blocks to the WooCommerce My Account Page
- Selecting WooCommerce Blocks Output Type
- Creating a Custom List of WooCommerce Products for a Taxonomy
- Building a Custom WooCommerce Shop Page
- Creating a Page with a Custom WooCommerce Product Search
- Creating a Custom List of Related WooCommerce Products
- Creating Custom Templates for WooCommerce Products
- Adding a Custom Taxonomy to WooCommerce Products
- Creating a Custom WooCommerce Product Slider
- Adding Custom Fields to WooComerce products
- Charge users for registering premium accounts
- Charge users for submitting content
- Custom WooCommerce Roles and Admin Capabilities