Support » Plugin: MarketPress - WordPress eCommerce » Postcode label on checkout page bug

  • Resolved garrettlynch


    Hello, another bug report. Not dramatic, doesn’t stop anything working however the display of postcode in the checkout form is showing a users postcode as a label.

    The error is happening here in “class-mp-checkout.php”:

    // Display label?
    if ( ($label = mp_arr_get_value( 'label', $field )) && 'checkbox' != mp_arr_get_value( 'type', $field, '' ) )
    $required = ( mp_arr_get_value( 'validation->required', $field ) ) ? ' <span class="mp_field_required">*</span>' : '';
    $html .= '<label class="mp_form_label">' . mp_arr_get_value( 'label', $field, '' ) . $required . '</label>';

    However the issue is when $field[‘label’] is set for the postcode just prior to form_field() being called. I haven’t tracked where this is down yet but I’m in the process of doing so (if you read this soon after I post it do let me know where this occurs).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Oguz – WPMU DEV Support


    Hey ,

    Hope you’re well.

    I didn’t understand the problem completely. When I go to checkout page I am seeing Zip Code area like this;

    Are you seeing a different kind of things? If yes, can you check Store Settings > General > Zip/Postal Code Label* option?


    ahhhh that’s what that setting means. Apologies my mistake, no bug then. I thought the setting was asking for the shop’s post code. Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Postcode label on checkout page bug’ is closed to new replies.