@ -38,12 +38,6 @@ if (function_exists('is_product') && is_product()) {
];
}
$attributes[wc_attribute_label($taxonomy)] = $attr_values;
if ($_GET["gp-test"]) {
// ?gp-test=1
echo '<pre>';
print_r($attr_values);
echo '</pre>';
} else {
$attributes[wc_attribute_label($taxonomy)] = $attribute->get_options();