Product Types

General #

Product Types are a way to distinguish products in your system. They can determine the URL format of a product, and also determine if the products has multiple variants, as well as configure other behaviors of the products.

You can also attach fields, and tab layouts to products and variants at the product type level, like you can with Craft’s entry types.

Product Type Entry Screen

Product Type Options #

Name #

This is the name of the product type as displayed in the control panel.

Handle #

The handle is how you will reference the product type in code. For example, in twig, to get product types with a handle of ‘clothes’, you would do:

{% set clothes = craft.commerce.products.type('clothes').find() %}

Automatic SKU Format #

What the unique auto-generated SKUs should look like, when a SKU field is submitted without a value. You can include tags that output properties, such as {product.slug} or {myCustomField}

The way you access properties within the SKU format will differ depending on whether or not the product type has variants. If your product type has multiple variants, then the SKU formats default object is the variant, otherwise it’s the product.

Show the Dimensions and Weight fields #

Allows you to hide the weight and dimensions fields if they are not necessary for products of this type.

Products of this type have multiple variants #

If you enable the product type to have multiple variants, you will see a new tab appear at the top of the screen which allows you to configure the variant field layout.

You also have the option to show the title input field or have it default to use a Title Format.

Products of this type have their own URLs #

This works the same way the standard Craft entry sections work.

When a site vistor hits the URL of a product, the product variable is automatically available to your templates, just like the entry variable for standard craft entries.

Buy Craft Commerce

Craft Commerce site license

Includes

  • Developer support
  • One year of updates ($199/year for updates after that)
  • Craft Pro site license
Buy now for $999
Can I try before buying?

Absolutely. Just download it from the “Download” button in the site header and follow our installation instructions. You’ll have the full feature set to experiment with, without any restrictions, as long as you’re running it from a development, testing, or staging domain.

Will there be recurring/upgrade fees?

Each Commerce license comes with one year of updates. After that, you can unlock additional updates for $199 per year.

Can I use this on an existing Craft site?

Yes! And if you already have a Craft Pro license (or you don’t need one), you can purchase Craft Commerce directly from the Plugin Store or just leave the switch off that says “Include a Craft Pro license” in the purchase form.

Is Craft Pro required?

Craft Commerce does not require Craft Pro; it works perfectly fine on Craft Solo as well!

Can I try before buying?

Absolutely. Just download it from the “Download” button in the site header and follow our installation instructions. You’ll have the full feature set to experiment with, without any restrictions, as long as you’re running it from a development, testing, or staging domain.

Will there be recurring/upgrade fees?

Each Commerce license comes with one year of updates. After that, you can unlock additional updates for $199 per year.

Can I use this on an existing Craft site?

Yes! And if you already have a Craft Pro license (or you don’t need one), you can purchase Craft Commerce directly from the Plugin Store or just leave the switch off that says “Include a Craft Pro license” in the purchase form.

Is Craft Pro required?

Craft Commerce does not require Craft Pro; it works perfectly fine on Craft Solo as well!