Reply 232030 to: Change notice modal after adding to cart

Avatar: Rose Tyler
Rose Tyler
Support staff
March 28, 2020 at 09:06

Hello,

You can disable AJAX “Add To Cart” in Theme Options > E-Commerce > Single Product Page.
To change the link – copy etheme_enqueue_scripts function from wp-content/themes/classico/framework/theme-init.php into functions.php of your child theme > change
$etConf['checkoutUrl'] = esc_url( wc_get_checkout_url() );
to
$etConf['checkoutUrl'] = esc_url( wc_get_cart_url() );

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.