Fix grouped product label

This commit is contained in:
Mike Jolley 2015-07-15 13:33:45 +01:00
parent 626b6c68ae
commit 0f7342a70d
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ class WC_Meta_Box_Product_Data {
<div class="options_group grouping show_if_simple show_if_external">
<p class="form-field">
<label for="parent_id"><?php _e( 'Cross-Sells', 'woocommerce' ); ?></label>
<label for="parent_id"><?php _e( 'Grouping', 'woocommerce' ); ?></label>
<input type="hidden" class="wc-product-search" style="width: 50%;" id="parent_id" name="parent_id" data-placeholder="<?php _e( 'Search for a product&hellip;', 'woocommerce' ); ?>" data-action="woocommerce_json_search_grouped_products" data-multiple="false" data-selected="<?php
$parent_id = absint( $post->post_parent );
$parent = wc_get_product( $parent_id );