Adding a unit in WooCommerce is simple and straightforward. There are two methods to do this: via the WooCommerce Settings page or by using a shortcode.
Via the WooCommerce Settings Page
1. Log in to your WordPress Dashboard and go to WooCommerce > Settings. 2. Select the Products tab from the top menu. 3. Select the Units tab from the left-hand menu.
4. Select the Add Unit button. 5. Enter the unit name, abbreviation, and choose the weight and dimension units from the drop-down menus. 6. Save changes.
Via Shortcode
1. Log in to your WordPress Dashboard and go to Pages > Add New. Enter a title for your page, and then click on the shortcode button in the content editor toolbar.
3. Enter the following shortcode: [woocommerce_add_unit name=”Unit Name” abbr=”Unit Abbreviation” weight_unit=”Weight Unit” dimension_unit=”Dimension Unit”] 4.
Conclusion: How Do I Add a Unit in WooCommerce?
Adding a unit in WooCommerce is simple and straightforward, and can be done via the WooCommerce Settings page or by using a shortcode. To add a unit via the WooCommerce Settings page, log in to your WordPress Dashboard and go to WooCommerce > Settings > Products > Units > Add Unit.
Enter the unit name, abbreviation, and choose the weight and dimension units from the drop-down menus, then save changes. To add a unit via shortcode, log in to your WordPress Dashboard and go to Pages > Add New, enter a title for your page, then click on the shortcode button in the content editor toolbar and enter the following shortcode: [woocommerce_add_unit name=”Unit Name” abbr=”Unit Abbreviation” weight_unit=”Weight Unit” dimension_unit=”Dimension Unit”] save changes.