Viewing 10 posts - 1 through 10 (of 10 total)
  • #150909
    tomeronen
    Member
    Post count: 153

    Hi,

    we wanted to add a checkbox at the checkout after the customer fill all the details that would say that he/she agrees to our policy etc….

    is there any quick way to do this inside the theme?

    it should be not checked automatically but he/must check it before continue.

    possible? 🙂

    thank you!!

    T

    #150935
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I think there’s a WooCommerce extension you can get for this. It’s not something that can be done with the theme

    – Kyle

    #151016
    tomeronen
    Member
    Post count: 153

    Hi Kyle,

    we know it’s probably a woocommerce thing but we did find a plugin called: Woocommerce Checkout Add-ons and it did add us a checkbox like we wanted…

    the silly thing is it adds it in the top of the form instead of below and there is a fix for that:

    // Move Checkout Addons to under Order Notes
    function sv_wc_move_checkout_addons() {
    remove_action( ‘woocommerce_checkout_after_customer_details’, array( $GLOBALS[‘wc_checkout_add_ons’]->frontend, ‘render_add_ons’ ) );
    add_action( ‘woocommerce_after_order_notes’, array( $GLOBALS[‘wc_checkout_add_ons’]->frontend, ‘render_add_ons’ ) );
    }
    add_action( ‘init’, ‘sv_wc_move_checkout_addons’ );

    But, whenever we add it to the functions.php it doesn’t work and return with an error (image attached).

    Please please please if you could take a look at it for us, we are that close to finish this and this is the final part.

    Thank you so much,

    T

    Attachments:
    You must be logged in to view attached files.
    #151077
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will need ftp access to check your functions.php and be able to change it in case something goes wrong.

    -Rui

    #151093
    tomeronen
    Member
    Post count: 153
    This reply has been marked as private.
    #151139
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me website url to check the checkout page.
    Thanks
    Mohammad

    #151141
    tomeronen
    Member
    Post count: 153
    This reply has been marked as private.
    #151198
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please refer this article http://www.templatemonster.com/help/woocommerce-how-to-add-terms-and-conditions-checkbox-to-the-checkout-page.html. Hope that should resolve the issue.
    Thanks
    Mohammad

    #151206
    tomeronen
    Member
    Post count: 153

    omg it’s so easy, how did we missed that?!

    as always, thank you so much!!

    T

    #151208
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks Mohammad

    – Kyle

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register