Home Forums WoodMart support forum How to change the continue shopping link

How to change the continue shopping link

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #545077

    refa
    Participant

    Hi,

    I want to change the continue shopping link and view cart label after the add to cart action.
    How to do that?

    Currently, it is not redirecting to anywhere, I want to redirect it to the home page.
    Also, if the window is coming on the home page only the window should close.

    Thank you,

    Attachments:
    You must be logged in to view attached files.
    #545267

    Hung Pham
    Keymaster

    Hi refa,

    Thanks for reaching to us.

    Open class-redirect.php file, located in \inc\integrations\woocommerce\modules\quick-buy\ https://prnt.sc/4qbJfgw8RoaP

    And you can update shop link.

    Regards,

    • This reply was modified 4 months, 4 weeks ago by Hung Pham.
    #545302

    refa
    Participant

    I am using the child theme, on which folder do I have to override the template file? If I change the parent category it will affect after the theme update.

    #545313

    Hung Pham
    Keymaster

    Hi refa,

    Currently, there is no way to override this with child theme.

    Regards,

    #545320

    refa
    Participant

    Are there any php custom functions to change the “continue shopping” URL? Because I don’t want it to get removed after the theme update.

    Also as I mentioned earlier, when I click the continue shopping from the home page, then it shouldn’t get redirected.

    #545381

    Hung Pham
    Keymaster

    Hi refa,

    Unfortunately, it is not possible.

    Regards,

    #545419

    refa
    Participant

    Changed the link, still not working.
    Please check the screenshot below for your reference.

    #545620

    Hung Pham
    Keymaster

    Hi refa,

    Please remove previous and add below code to Theme Settings > Custom JS

    jQuery(document).on('click', '.popup-added_to_cart .close-popup', function(e) {
    	setTimeout(function () {
    window.location.replace('https://danubedecor.me/');
    	}, 500);
    });

    Regards,

    #545923

    refa
    Participant

    It worked, thank you.
    Is there a way to disable the redirection if I am already on the homepage?

    #546188

    Hung Pham
    Keymaster

    Hi refa,

    There is no such an options by default, unfortunately.

    Regards,

Viewing 10 posts - 1 through 10 (of 10 total)