Ajax add to cart on single product page - by Daniel86

This topic has 2 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler

  • Avatar: Daniel86
    Daniel86
    Participant
    April 9, 2018 at 09:30

    Hello!

    If the ajax add to cart option (on single product page) turned on, the “continue-shopping/checkout” popup navigate to checkout page.
    Is it possible to set the navigation of the popup to cart page instead of checkout ?

    Thank you in advance,
    Daniel

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 10, 2018 at 08:55

    Hello,

    This requests additional customization in files.
    Please find etheme_init function in legenda/framework/theme-functions.php file
    http://prntscr.com/j37fra
    instead of wc_get_checkout_url() use wc_get_cart_url()
    Please make these changes via a child theme https://codex.wordpress.org/Child_Themes

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.