Skip Navigation

[Resolved] WooCommerce Checkout Page problems when Toolset Activated

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by janeC-2 4 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#1551827
woo toolset ok.jpg
woo toolset 1.jpg

I have an online store using Divi and WooCommerce.
I want to create a Stockist's membership area

When I enable Toolset Types, the fields on the Checkout page squash up and customers can't enter data.

#1551899

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Jane

This is caused by Bootstrap.

If you are not actually using Bootstrap on your site you can disable it at Toolset > Settings, but if you need it elsewhere you can dequeue Bootstrap on just the checkout page by adding a PHP snippet, at Toolset > Settings > Custom Code:

/**
 * Don't enqueue Bootstrap on WC Products archive
 */
function dequeue_bootstrap(){

  if ( is_page( 'checkout' ) ) { // edit if checkout page slug is different


    // dequeue Bootstrap CSS
    function dequeue_bootstrap_css(){
      wp_dequeue_style( 'toolset_bootstrap_styles' );
      wp_dequeue_style( 'toolset_bootstrap_4' );
    }
    add_action( 'wp_print_styles', 'dequeue_bootstrap_css' );

    // dequeue Bootstrap JS 
    function dequeue_bootstrap_js(){
      wp_dequeue_script( 'toolset_bootstrap' );
      wp_dequeue_script( 'toolset_bootstrap_4' );
    }
    add_action( 'wp_print_scripts', 'dequeue_bootstrap_js' );    

  }

}
add_action( 'wp_enqueue_scripts', 'dequeue_bootstrap', 100 );
#1555571

My issue is resolved now. Thank you!
Thank you for good clear answers Nigel