• Hi

    Im trying to customize my checkout page. I want to fill out my shipping fields with some data i get from a webserivce. This works fine with a input field which populates a set of radio buttons, then the user select one option and my values gets copied to the shipping fields. BUT

    I dont know how to hide these fields form the user? They are not supposed to edit them after, only to fill them out with data from my selector.

    I tried

    $address_fields['shipping_company']['type'] = "hidden";

    This will remove the whole field from the form.

    I also tried

    $address_fields['shipping_company']['class'] = array('hide_me');

    Which is a class setting display to none. This way my elements do exist but my script filling out values dont work then.

    How can I make the shipping fields hidden?

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WooCommerce – excelling eCommerce] Add Hidden shipping fields?’ is closed to new replies.