Saltar navegación

Using WooCommerce Fields in Product Forms

WooCommerce provides many fields for different types of product information. Toolset automatically recognizes these fields and you can use them inside product forms.

Toolset registers all WooCommerce product fields so you don’t have to do anything. You can even see them by going to the Toolset Custom Fields page and clicking the Toolset WooCommerce field group.

Use the following mapping table as a reference for all product fields. You can see the type and default value for each WooCommerce field.

Type

Field in WooCommerce interface

Field in Forms Manage non-Toolset Post Fields screen

Toolset type to choose in the Set Field Type pop-up

Virtual

Download limit

_download_limit

Number

Virtual

_virtual

Checkbox

Value to store when Checked: yes

Downloadable

_downloadable

Checkbox

Value to store when Checked: yes

Download expiry

_download_expiry

Number

Download type

_download_type

Radio

Label: Standard Product, Value: (leave empty)

Label: Application, Value: application

Label: Music, Value: music

General

Regular price

_regular_price

Number

Sale price

_sale_price

Number

Sale price dates

_sale_price_dates_from, _sale_price_dates_to

Date field

Inventory

SKU

_sku

Single line

Manage stock

_manage_stock

Checkbox

Value to store when Checked: yes

Stock status

_stock_status

Radio

Label: In stock, Value: instock

Label: Out of stock, Value: outofstock

Stock quantity

_stock

Number

Allow backorder

_backorders

Radio

Label: Do not allow; Value: no

Label: Allow but notify customer; Value: notify

Label: Allow, Value; yes

Sold individually

_sold_individually

Checkbox

Value to store when Checked: yes

Shipping

Dimensions width

_width

Number

Dimensions length

_length

Number

Dimensions weight

_weight

Number

Advanced

Purchase note

_purchase_note

Single line or Multiple lines