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.