Update classic checkout selector
Co-authored-by: Justin Palmer <228780+layoutd@users.noreply.github.com>
This commit is contained in:
parent
0f8933e591
commit
55b3ab1ec5
|
@ -66,7 +66,7 @@
|
|||
/**
|
||||
* Add source values to the classic checkout.
|
||||
*/
|
||||
if ( $( '.woocommerce form.checkout' ) !== null ) {
|
||||
if ( $( 'form.woocommerce-checkout' ) !== null ) {
|
||||
const previousInitCheckout = document.body.oninit_checkout;
|
||||
document.body.oninit_checkout = () => {
|
||||
setFields();
|
||||
|
|
Loading…
Reference in New Issue