Support » Plugin: WooCommerce Hear About Us » Place under billing section

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author siteoptimo

    (@siteoptimo)

    Hi John,

    Thank your for using our plugin (and giving feedback).

    We’ve debated interally about the position of the field at the design phase of the plugin. We decided to position it right under the ‘order notes’, since that’s the most logical place. It has nothing to do with payment or addresses and every theme has it’s own variation of positioning the elements.

    You’re the first to ask, but I can imagine that in some situations it could come in handy to move the field.

    We’re willing to look into this feature and will be putting it on or “maybe”-list for our next release. Are there any other users who think this would come in handy? We welcome to bump this topic.

    So for now, it’s not a yes yet, but a maybe, depending on how much time we can spend on it the coming months. (a better way of reporting is higher on our todo-list)

    Regards,

    Pieter

    Thanks Pieter. Im surprised noone else has asked! 🙂 From a usability perspective & flow of checkout (if not clicking another address) it makes perfect sense as your going down the checkout page.

    Any way I can unhook it & place it at bottom now without editing core files? Sorry but we are launching on monday! 🙂

    cheers
    john

    Plugin Author siteoptimo

    (@siteoptimo)

    Hi John,

    We’ll look into it tomorrow morning (09 AM CET).
    (Sick kid to take care of for now)

    Regards

    Pieter

    Sorry to hear that Pieter, get well soon! Tomorrow is fine. Thanks

    Plugin Author siteoptimo

    (@siteoptimo)

    Hello John,

    We have made a minor change to the plugin (please update to version 1.5.1), allowing public access to the classes we use. As a result of that, you can now do the following:

    add_action( 'init', function () {
    	$wooCommerce_HearAboutUs = WooCommerce_HearAboutUs::instance();
    	remove_action( 'woocommerce_after_order_notes', array( $wooCommerce_HearAboutUs->customField, 'display_field' ) );
    	add_action( 'woocommerce_after_checkout_registration_form', array( $wooCommerce_HearAboutUs->customField, 'display_field' ) );
    }, 20 );

    This effectively changes the location of the “hear about us” field.

    I hope this solves your problem.

    Regards,

    Koen

    Thanks Koen, that worked like a dream! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Place under billing section’ is closed to new replies.