Get Variation ID By Attribute
User How to get variation id based on if ($attribute->is_taxonomy()) { $terms = wc_get_product_terms($product_id, $attr_name, ['fields' => 'names']); foreach ($terms as $term) { $filterOption .= '' . esc_html($term) . ''; } } attr term value Assistant To get the **variation ID** based on the selected attribute term value, you need to match the attribute term […]