Hello Great plugin!
I’d like to move the free products select to be on top of the cart and checkout page.
I found the hook :
//Frontend hooks for ‘Select free gift’-form
add_action( ‘woocommerce_checkout_before_customer_details’, array( $this, ‘render_checkout_select_free_product’ ) );
add_action( ‘woocommerce_cart_contents’, array( $this, ‘render_cart_select_free_product’ ) );
and have changed it to:
add_action( ‘woocommerce_before_cart‘, array( $this, ‘render_cart_select_free_product’ ) );
This moved the free gift select to the top of the page which is great but unfortunately now it doesn’t work because the cart doesn’t update anymore after the free gift is selected.
You can see for yourself here with this link to our store:
https://es.sagear.com/cart?apply_coupon=TEST0293
this link will automatically add the coupon to the cart but you might need to add something to the cart like this product for example:
https://es.sagear.com/shop/5-face-shield-pack-2
Also for some reason the select free gift options do not show up on the checkout page 🙁
Are you able to help us out with this?