remove debug info

pull/36/head
parent fb31f44bc1
commit 2e4273165f
  1. 6
      wp-content/themes/cosmopet/modules/shop/components/single-product/component-controller.php

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

Loading…
Cancel
Save