• Resolved StevenWoolston

    (@stevenwoolston)


    I have a WC store and most products are variable products. Products have 2 global attributes – scale and fabric. The price of every variation is based on the fabric attribute, no matter what the scale is. I can use the built-in functionality to create all the variations which creates all combinations of both attributes, but it would be great if the variation price could be automatically populated based on a custom field on the fabric attribute.

    Does anyone know if this is possible? Is there a create_variation hook that I can leverage to add a price?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there 👋

    At the moment, there’s no default option for that in WooCommerce, and setting that as the default would require quite a bit of additional coding. Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.

    If you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services, and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Cheers!

    Nicola Mustone

    (@nicolamustone)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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

The topic ‘Create variable product with prices based on attributes’ is closed to new replies.