Home Forums WoodMart support forum Custom fields for WooCommerce product variations instead of parent products

Custom fields for WooCommerce product variations instead of parent products

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #721793

    acoombspetcentre
    Participant

    We are using WooCommerce with the WoodMart theme.

    We need to add custom fields at the individual product variation level rather than only at the parent product level.

    For example, a product may have multiple size variations, and each variation needs its own custom field values.

    Could you advise on the best way to enable custom fields for product variations? We are happy to manage the field names and values ourselves once this functionality is available.

    Ideally, the solution should be update-safe and not require modifications to the theme files.

    #721819

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You can add custom data directly to each variation using the Product Data > Variations section. When you expand a variation (for example, Size: M, L, XL), WooCommerce allows you to store custom meta data per variation. This is the safest update-friendly method because it uses WooCommerce’s native structure.

    If you need more advanced fields (textareas, dropdowns, repeaters, etc.), you need to find a plugin to achieve more functionality that best suits you.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)