Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move Checkout Add-ons
<?php
// Reposition Checkout Addons to under Order Notes
function sv_wc_checkout_addons_change_position() {
return 'woocommerce_after_order_notes';
}
add_filter( 'wc_checkout_add_ons_position', 'sv_wc_checkout_addons_change_position' );
@mhallor
Copy link

mhallor commented Nov 23, 2015

@tamarazuk I'm having some trouble setting this up, the original code just removes the addons altogether
and while the code provided by @Viure works, it makes the addons appear twice - it seems the remove_action doesn't work properly.

@torcat
Copy link

torcat commented Mar 2, 2016

Hi evryone

can someone help me,
if I want to move the checkout addons in to order details-shipping options table under shipping options
what code need to use?
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment