Updating

If you’re manually updating a live site, we recommend you follow these instructions to minimize the time your site is down:

  1. Backup your entire Craft database.
  2. Rename the plugins/commerce/ folder in the latest release zip to “commerce-new”.
  3. Upload plugins/commerce-new to the craft/plugins folder on your server, alongsite the old plugins/commerce folder.
  4. Once commerce-new folder is done uploading proceed to the next step.
  5. Rename the old craft/plugins/commerce folder to craft/plugins/commerce-old.
  6. Rename commerce-new to “commerce”.
  7. Point your browser to your Craft control panel. You will be prompted to proceed with a database update. Click “Finish up” and let the database updates run.
  8. If all is well, delete the commerce-old folder, otherwise restore this folder as "commerce" and restore your database from backup and contact support.

Upgrading from Market Commerce #

Craft Commerce is the successor to Market Commerce. To upgrade from Market Commerce to Craft Commerce, follow these instructions.

Preparations

Before you perform the upgrade, make sure you are prepared.

Upgrade Instructions

To perform the upgrade, follow these instructions.

  1. Upload the ‘commerce’ folder to ‘craft/plugins’.
  2. Go to Settings → Plugins within the Control Panel.
  3. Click on the “Install” button beside “Craft Commerce”.
  4. Ensure that Craft Commerce is now installed, and Market Commerce is uninstalled.
  5. Delete your ‘craft/plugins/market’ folder.

Updating your Templates

Updating your front end templates for Craft Commerce should be as simple as performing a series of find-and-replace operations based on the following table:

Find Replace
craft.market. craft.commerce.
cart.shippingMethodId cart.shippingMethodHandle
|marketCurrency |commerceCurrency
name="action" value="market/cart/setEmail" name="action" value="commerce/cart/updateCart"
name="action" value="market/cartAddress/chooseAddresses" name="action" value="commerce/cart/updateCart"
name="action" value="market/cart/setShippingMethod" name="action" value="commerce/cart/updateCart"
name="action" value="market/cart/add" name="action" value="commerce/cart/updateCart"
name="action" value="market/cart/remove" name="action" value="commerce/cart/removeLineItem"
name="action" value="market/cart/removeAll" name="action" value="commerce/cart/removeAllLineItems"
name="action" value="market/cart/applyCoupon" name="action" value="commerce/cart/updateCart"

The product.implicitVariant, in all cases, has been replaced with a product.defaultVariant, but there is no longer the need to check if the product type has multiple variants before accessing it. For non variant products, the first variant is always the default. For products with multiple variants, the variant selected with the ‘default’ toggle is the defaultVariant.

Buy Craft Commerce

Craft Commerce site license

Includes

  • Standard tech support
  • Unlimited app updates
  • 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, with just one limitation: you won’t be able to charge credit cards. Until Craft Commerce has been purchased and activated, it’s limited to a single dummy gateway.

Will there be recurring/upgrade fees?

Nope, it’s just a one-time license fee per site.

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), just flip that “Include a Craft Pro license” switch in the purchase form, and we’ll drop the price to $700.

Is Craft Pro required?

Craft Commerce does not require Craft Pro; it works perfectly fine on Craft Client and Personal editions 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, with just one limitation: you won’t be able to charge credit cards. Until Craft Commerce has been purchased and activated, it’s limited to a single dummy gateway.

Will there be recurring/upgrade fees?

Nope, it’s just a one-time license fee per site.

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), just flip that “Include a Craft Pro license” switch in the purchase form, and we’ll drop the price to $700.

Is Craft Pro required?

Craft Commerce does not require Craft Pro; it works perfectly fine on Craft Client and Personal editions as well!