• Resolved Ibby

    (@ibby)


    Hi all,

    I’m having some strange issues I thought someone may be able to shed some light on.

    The first issue is using a hook to remove the coupon code area and add it back into another position. I can successfully move it, but for some reason, using remove_action to get rid of the original area doesn’t seem to work in this instance (I’m using Siteorigin’s Vantage theme with a Child).

    remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 );
    add_action( 'woocommerce_checkout_before_order_review', 'woocommerce_checkout_coupon_form' );

    The other issue is one that really has me scratching my head! If I change the billing country to ‘United States’ the State / County field correctly shift to a state selector field but for some reason, the country select then shifts its position almost as if it has broken out of its DIV. I can’t seem to find any reason why this could be happening, the shipping country is styled exactly the same and does not exhibit this behaviour when I do the same to it.

    Any help would be much appreciated!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Moving Checkout Coupon Code & Strange Field Behaviour’ is closed to new replies.