This topic has 4 replies, 3 voices, and was last updated 8 years, 2 months ago ago by Jack Richardson
Hi,
in the add-to-cart popup there are two standard buttons “continue shopping” and “checkout”.
I would like to send my customers to the “real” cart-page instead of the checkout page.
So the buttons would be “continue shopping” and “view cart”.
How can I change the destination of the button?
Best,
Christian
Hello,
In this case you need edit the \wp-content\themes\classico\framework\theme-init.php file on line 58.
Find and replace this code
$etConf['checkoutUrl'] = esc_url( WC()->cart->get_checkout_url() );
with
$etConf['checkoutUrl'] = esc_url( WC()->cart->get_cart_url() );
then change the button name in the same file on line 51
Regards,
Robert Hall
Amazing, thank you very much!
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Cart Popup Buttons’' has been successfully resolved, and the topic is now closed for further responses