# WooCommerce

## Adding Custom Fields to Products

<figure><img src="https://1282161482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaM4ziYXleKyU4z7WZJJc%2Fuploads%2FvTaKNTF0DSoR2wIZBnig%2Fproduct-settings.png?alt=media&#x26;token=bee864c6-22ef-4f56-ae63-0fd46bc34ec4" alt=""><figcaption></figcaption></figure>

* Navigate to any WooCommerce product edit page.
* In the `Shipping` tab, add values for `Free Space` to specify extra space around the product. This ensures better fit and protection.
* Select the `Allow Rotation` option to determine whether the product can be rotated during packing. Options include using global settings, keeping the product flat, or allowing the best fit.

## **Packing Orders**

<figure><img src="https://1282161482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaM4ziYXleKyU4z7WZJJc%2Fuploads%2FpkfcpiddPu8RTzs36hOf%2Forder-metabox.png?alt=media&#x26;token=bc72bf87-e630-4383-beac-b4d9a3431dc0" alt=""><figcaption></figcaption></figure>

* On the WooCommerce order edit page, you will find a `Packaging Fit` metabox on the right side.
* Click `Generate` to optimize the packing of the order items. This will calculate the best way to pack the items in the order based on the defined package and product settings.
