Scripts

_____Attributes___________
Array
(
    [id] => 3
    [name] => pa_ptype
    [options] => Array
        (
            [0] => 2154
            [1] => 2156
        )

    [position] => 0
    [visible] => 1
    [variation] => 1
    [is_visible] => 1
    [is_variation] => 1
    [is_taxonomy] => 1
    [value] => 
)
Array
(
    [id] => 2
    [name] => pa_potency
    [options] => Array
        (
            [0] => 2380
            [1] => 1883
            [2] => 2211
            [3] => 2130
            [4] => 1889
        )

    [position] => 1
    [visible] => 1
    [variation] => 1
    [is_visible] => 1
    [is_variation] => 1
    [is_taxonomy] => 1
    [value] => 
)
Array
(
    [id] => 1
    [name] => pa_weight
    [options] => Array
        (
            [0] => 1865
            [1] => 2128
            [2] => 1873
            [3] => 2129
            [4] => 1875
            [5] => 2134
        )

    [position] => 2
    [visible] => 1
    [variation] => 1
    [is_visible] => 1
    [is_variation] => 1
    [is_taxonomy] => 1
    [value] => 
)
Array
(
    [id] => 4
    [name] => pa_weight-ml
    [options] => Array
        (
            [0] => 2193
            [1] => 2179
        )

    [position] => 3
    [visible] => 1
    [variation] => 1
    [is_visible] => 1
    [is_variation] => 1
    [is_taxonomy] => 1
    [value] => 
)
_____ variations___________
Array
(
    [attribute_pa_ptype] => dilution
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 
    [attribute_pa_weight-ml] => 50
)
Array
(
    [attribute_pa_ptype] => dilution
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 
    [attribute_pa_weight-ml] => 100
)
Array
(
    [attribute_pa_ptype] => globuli
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 10
    [attribute_pa_weight-ml] => 
)
Array
(
    [attribute_pa_ptype] => globuli
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 20
    [attribute_pa_weight-ml] => 
)
Array
(
    [attribute_pa_ptype] => globuli
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 30
    [attribute_pa_weight-ml] => 
)
Array
(
    [attribute_pa_ptype] => globuli
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 40
    [attribute_pa_weight-ml] => 
)
Array
(
    [attribute_pa_ptype] => globuli
    [attribute_pa_potency] => 
    [attribute_pa_weight] => 50
    [attribute_pa_weight-ml] => 
)
_____Attributes to prod___________
Array
(
    [pa_ptype] => WC_Product_Attribute Object
        (
            [data:protected] => Array
                (
                    [id] => 3
                    [name] => pa_ptype
                    [options] => Array
                        (
                            [0] => 2154
                            [1] => 2156
                        )

                    [position] => 0
                    [visible] => 1
                    [variation] => 1
                )

        )

    [pa_potency] => WC_Product_Attribute Object
        (
            [data:protected] => Array
                (
                    [id] => 2
                    [name] => pa_potency
                    [options] => Array
                        (
                            [0] => 2380
                            [1] => 1883
                            [2] => 2211
                            [3] => 2130
                            [4] => 1889
                        )

                    [position] => 1
                    [visible] => 1
                    [variation] => 1
                )

        )

    [pa_weight] => WC_Product_Attribute Object
        (
            [data:protected] => Array
                (
                    [id] => 1
                    [name] => pa_weight
                    [options] => Array
                        (
                            [0] => 1865
                            [1] => 2128
                            [2] => 1873
                            [3] => 2129
                            [4] => 1875
                            [5] => 2134
                        )

                    [position] => 2
                    [visible] => 1
                    [variation] => 1
                )

        )

    [pa_weight-ml] => WC_Product_Attribute Object
        (
            [data:protected] => Array
                (
                    [id] => 4
                    [name] => pa_weight-ml
                    [options] => Array
                        (
                            [0] => 2193
                            [1] => 2179
                        )

                    [position] => 3
                    [visible] => 1
                    [variation] => 1
                )

        )

)

_____Set Attributes___________
Array ( [p] => 19707 )