Change link in checkout popup - by Openstream

Solved10 replies4 participantsUpdated by Eva Kemp

  • Avatar: NickW
    Openstream
    Participant

    Hi

    can I change the links in the modal that opens when I added a product to cart? I wanna change the link to checkout and replace it with a link to cart.

    Can you provide the hook I have to use or another snippet, thats right for the functions.php of the child theme?

    thx in advance.

    10 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    We’re sorry but your request is a bit unclear for us. Could you please clarify us with more details or provide a sreenshot?

    Regards,
    Jack Richardson

    Avatar: NickW
    Openstream
    Participant

    Hi Jack

    sorry for beeing unclear. I added a screenshot here:
    http://www.screencast.com/t/Tv1HzWF30TV

    How do I change that link? Any hook or snippet provided?

    THX

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please provide us with FTP and wp-admin credentials in Private Content. Also please clarify what text should be instead “Checkout”.

    Regards,
    Jack Richardson

    Avatar: NickW
    Openstream
    Participant

    Hi Jack,

    thanks for fast reply. I added your details below. Will your change be safe for updates?

    EDIT: sorry, missed clear link text: Please replace the string “CHECKOUT” with the string “CART” (should remain translatable) and also link to cart (slug should be translatable, too).
    THX

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    I’ve made changes to your child theme. Please check your button now!

    Regards,
    Jack Richardson

    Avatar: NickW
    Openstream
    Participant

    Hi Jack, phantastic! Great job! Thanks a lot, your support is outstanding!!!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome and thank you very much for feedback!

    Regards,
    Jack Richardson

    Avatar: Filip Hosko
    Filip Hosko
    Participant

    I have the same problem/request, would it be possible for you to tell me which file to edit? I would like to customize it myself (change the text to ‘CART’ and change the link so it would point to cart instead of checkout). Thanks!

    Avatar: Filip Hosko
    Filip Hosko
    Participant

    Nevermind, I found the file, you can ignore my request.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello @Filip Hosko,

    We’re glad you have resolved the issue.

    Have a nice day.

    Regards,
    Eva Kemp.

The issue related to '‘Change link in checkout popup’' has been successfully resolved, and the topic is now closed for further responses